On Mon, 04 Nov 2002 14:30:34 +0100, Oden Eriksson wrote:
> m�ndagen den 4 november 2002 13.23 skrev G�tz Waschk:
>> Am Montag, 4. November 2002, 13:14:52 Uhr MET, schrieb Oden Eriksson:
>> > can't because headers from libxslt1-devel are trying to find headers from
>> > libxml2-devel and fails. This patch fixes the problem.
>> > The xslt1 headers expects to find the xml2 headers in
>> > /usr/include/libxml/, but those headers are in
>> > /usr/include/libxml2/libxml/. The libxml2 devel package is broken and has
>> > been that way for some time.
>>
>> That's not broken, because the xml2-config script and pkgconfig give
>> the right includes. The program you're trying to package is broken.
>> You can always use this trick:
>> make CC="gcc -I/usr/include/libxml2"
>
> I'm stucked... I managed to compile this package at home after fixing that
> softlink.
>
> Care to help out some?
>
>
http://d-srv.com/Cooker/SRPMS/apache2-mod_xslt-2.0.43_1.0.5a-1mdk.src.rpm
First, it is missing a BuildRequires on ADVX-build :))
Second, use the following line to build the thing :
%{_sbindir}/apxs -c `pkg-config --cflags libxslt` mod_xslt.c iotools.c
logging.c urltools.c xsltools.c
Notice that -I options must be BEFORE files to compile (and pkg-config
should be used instead of *-config programs..)
--
Frederic Crozat
MandrakeSoft