libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fortran libraries on the Blue Gene with mpi


From: Ralf Wildenhues
Subject: Re: Fortran libraries on the Blue Gene with mpi
Date: Wed, 22 Apr 2009 20:39:01 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

Hello Christian,

* Christian Rössel wrote on Wed, Apr 22, 2009 at 11:21:27AM CEST:
> Ralf Wildenhues wrote:
> 
> > First, please ensure that you have Autoconf 2.63 and Automake 1.10.2
> > installed somewhere (below the same --prefix) and found early in $PATH.

> why do I need to install them below the *same* prefix. Is this a general
> requirement? What will happen if I use distinct prefixes but put both
> bindirs into my PATH?

You don't *have* to install all autotools below the same prefix.
However, we generally recommend this, because that way we avoid the
questions of what *exactly* can go wrong and how, and what to do in
those cases.  ;-)

I'll try a more precise description: it is usually possible to install
Autoconf, Automake, Libtool, and other packages that provide macro
files, below different prefixes.  If you do so, however, then you need
to ensure that aclocal (which is part of the Automake package) finds
those third-party macro files which can reside at
  LIBTOOL_PREFIX/share/aclocal
  OTHER_PACKAGES_PREFIXES/share/aclocal

The way I usually solve this is by using a "dirlist" file: I add the
lines
  LIBTOOL_PREFIX/share/aclocal
  OTHER_PACKAGE1_PREFIX/share/aclocal
  OTHER_PACKAGE2_PREFIX/share/aclocal

to the AUTOMAKE_PREFIX/share/aclocal/dirlist file, all prefixes suitably
expanded of course.

Subtle problems can appear if there is more than one set of Libtool
macro files among the directories that aclocal searches, and they came
from different Libtool releases; so please avoid that situation.
Likewise for other third-party packages that provide macro files.

Hope that helps.

Cheers,
Ralf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]