libtool
[Top][All Lists]
Advanced

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

Re: Libtool errors when trying to compile mod-xslt2


From: Ralf Wildenhues
Subject: Re: Libtool errors when trying to compile mod-xslt2
Date: Wed, 24 Oct 2007 21:17:55 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

Hello Bill,

* Bill Farrar wrote on Wed, Oct 24, 2007 at 08:24:30PM CEST:
> 
> $(LIBTOOL) --mode=compile
> 
> Add this:
> 
>  --tag CC
> 
> This allows the compile to complete.

Better yet, if the sources are all C, just set
  LIBTOOL = @LIBTOOL@ --tag=CC

in the Makefile.in files.  Rerun "./config.status".

> The problem that I can now stuck on (assuming that I have actually correctly
> fixed the above problem at all) is that when trying to make install, I get
> this error that I cannot figure out how to solve:
> 
> /usr/bin/install -c  -m 0644 -d '/usr/lib/apache2/modules'
> /bin/sh ../..//libtool --mode=install --tag CC /usr/bin/install -c  -m 0644
> mod_xslt.la '/usr/lib/apache2/modules'
> libtool: install: warning: relinking `mod_xslt.la'
> (cd /home/rbrown/Downloads/Tar/modxslt-2005072700/sapi/apache2; /bin/sh
> ../..//libtool =CC --mode=relink i686-pc-linux-gnu-gcc -pthread -Os

The =CC looks suspicious.  Libtool stumbles over that.

> -march=i686 -fomit-frame-pointer -g -O2 -D_REENTRANT -I/usr/include/libxml2
> -I/usr/include/libxml2 -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE
> -I/usr/include/apr-0 -I/usr/include/apr-0 -I/usr/include/db4.3
> -I/usr/include/apache2 -I../../lib -I../..//lib -export-dynamic -rpath
> /usr/lib/apache2/modules -module -avoid-version -o mod_xslt.la modxslt.lo
> modxslt-helpers.lo ../../lib/libmodxslt0.la
> /usr/lib/libapr-0.la/usr/lib/libaprutil-
> 0.la -L/usr/lib -lxslt -lxml2 -lz -lm -lexslt -L/usr/lib -lpcre -lpthread )
> *** Warning: inferring the mode of operation is deprecated.
[...]

Hope that helps.

Cheers,
Ralf




reply via email to

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