[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Extra /bin/ directory is added to library path when running make command

From: Branko Čibej <brane_at_apache.org>
Date: Sun, 8 May 2016 14:22:38 +0200

On 08.05.2016 14:15, Blaxton wrote:
> After running autogen.sh, running ./canfigure thorws below error:
> checking for Expat... no
> configure: error: Expat not found
>
>
> If I pass apr and apr-util path to ./configure:
>
> ./configure --with-apr=/usr/local/apr --with-apr-util=/usr/local/aprutil
>
> configuration complete with no problem
> but I get error when I run make command:
>
> grep: can't open /usr/local/apr/bin/lib/libapr-1.la
> sed: Cannot find or open file /usr/local/apr/bin/lib/libapr-1.la.
> libtool: link: `/usr/local/apr/bin/lib/libapr-1.la' is not a valid
> libtool archive
> make: The error code from the last command is 1.

Try telling configure the path to apr-1-config and apu-1-config instead;
e.g.,

./configure --with-apr=/usr/local/apr/bin/apr-1-config
--with-apr-util=/usr/local/apr/bin/apu-1-config

If that doesn't fix the problem, then most likely there's something
wrong with your APR install.

-- Brane
Received on 2016-05-08 14:22:43 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.