finding autotools during configure (was: Re: also: ploticus vs pl ...)

Joost van Baal joostvb at logreport.org
Wed Oct 30 09:59:59 CET 2002


Hi Edwin,

On Wed, Oct 30, 2002 at 09:26:24AM +1100, Edwin Groothuis wrote:
> On Tue, Oct 29, 2002 at 01:45:26PM +0100, Joost van Baal wrote:
> > 
> > Run configure as
> > 
> >  PATHTOPLOTICUS=/usr/local/bin/pl ./configure
> 
> This works fine, thanks. Long live the beauty of configure :-)
> 
> Well, nearly long live it :-)
> 
> When I run configure, it checks for aclocal, autoconf, automake and
> autoheader:
> 
>     checking for working aclocal-1.4... missing
>     checking for working autoconf... found
>     checking for working automake-1.4... missing
>     checking for working autoheader... found
> 
> aclocal-1.4. is indeed missing, but ${ACLOCAL} does exist and same
> with ${AUTOMAKE}:
> 
>     [/usr/ports/sysutils/lire-devel] edwin at k7>make -V ACLOCAL
>     aclocal14
>     [/usr/ports/sysutils/lire-devel] edwin at k7>make -V AUTOMAKE
>     automake14
> 
> I don't understand why configure doesn't look for the environment
> variables, maybe it's an 2.1.3 thing (I'm using 1.4 to make my own
> configure scripts).

configure does not check for automake, it checks for automake-1.4.  It
does not check for aclocal, it does check for aclocal-1.4.  Apparently,
${ACLOCAL} and ${AUTOMAKE} are not inspected when trying to find
aclocal-1.4 and automake-1.4.  Seems consistent to me :)

BTW: when building from a Lire tarball, none of these tools are
required.  Forcing a run of aclocal[-1.4], autoconf or automake[-1.4]
when building from a tarball is wrong.  Things might break miserably,
fixing these issues after the fact is a guaranteed to cause a major
PITA.  Just run, from an unpacked tarball,

 SOMEENVVAR=somevalue ./configure --some-flags
 make
 make install somevar=somevalue

.

> I can make the graphs now, I can make the PDFs now. I'm happy.

This is good news :)

Bye,

Joost

-- 
.    .                                        http://logreport.com/
| '.|                        /^LogReport$/
| Lire                                        http://logreport.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.logreport.org/pipermail/development/attachments/20021030/e44d6d49/attachment.bin 


More information about the Development mailing list