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

Reply via email to