[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Libtool errors when trying to compile mod-xslt2
From: |
Bill Farrar |
Subject: |
Re: Libtool errors when trying to compile mod-xslt2 |
Date: |
Wed, 24 Oct 2007 14:29:07 -0500 |
User-agent: |
Thunderbird 2.0.0.6 (X11/20070807) |
Ralf Wildenhues wrote:
> 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".
Yes! This completely fixes both problems!
Thank you so much. :)
>
>> 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.
>
This was introduced by my Makefile change. I know this because my
original attempt was to make it CXX (following something else I found
online) and that tripped up libtool with =CXX instead. Not that I can
explain why it converted the --tag=CC part that way but there you go.
>> -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.
>
It most certainly does. :)
Thanks again!
> Cheers,
> Ralf
--
Bill