ltib
[Top][All Lists]
Advanced

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

Re: [Ltib] Problems with libxslt


From: Stuart Hughes
Subject: Re: [Ltib] Problems with libxslt
Date: Tue, 25 Aug 2009 10:19:38 +0100
User-agent: Thunderbird 2.0.0.16 (X11/20080707)

Hi Rogerio,

Thanks very much for the patch. That package had not been integrated into LTIB before so that's why the configure line was wrong.

I've checked in your patch to CVS with minor changes, I moved the position in package.lkc (alphabetic). I also made a note that it does indeed need libxml2-dev on the build machine.

Regards, Stuart

Rogério de Souza Moraes wrote:
Hi Stuart,

I am trying to install libxslt and I verified some strange facts about
this package:

1) The libxslt source is present at ltib, and it is identified at
pkg_map, but it is not listed in packages.lck.

2) The configure of libxslt.spec is:

./configure --prefix=%{_prefix}

There isn't information about host neither build. So I don't think
this spec was customised for ltib.

3) When I try to compile this package it claims about libxml2 and I
have this lib installed at ltib environment.

checking for libxml libraries >= 2.6.8... configure: error: Could not
find libxml2 anywhere, check ftp://xmlsoft.org/.
error: Bad exit status from /work/ltib/tmp/rpm-tmp.78020 (%build)

So I installed the libxml2-dev in my ubuntu environment and he stopped
to claim, but I got this another error:

gcc -shared  .libs/attrvt.o .libs/xslt.o .libs/xsltutils.o
.libs/pattern.o .libs/templates.o .libs/variables.o .libs/keys.o
.libs/numbers.o .libs/extensions.o .libs/extra.o .libs/functions.o
.libs/namespaces.o .libs/imports.o .libs/attributes.o
.libs/documents.o .libs/preproc.o .libs/transform.o .libs/security.o
/usr/lib/libxml2.so -lm  -Wl,-soname -Wl,libxslt.so.1 -o
.libs/libxslt.so.1.1.11
/usr/lib/libxml2.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[2]: *** [libxslt.la] Error 1
make[2]: Leaving directory `/work/ltib/rpm/BUILD/libxslt-1.1.11/libxslt'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/work/ltib/rpm/BUILD/libxslt-1.1.11'
make: *** [all] Error 2
error: Bad exit status from /work/ltib/tmp/rpm-tmp.78736 (%build)

Appears that when the package is being built, it takes the ubuntu xml2
system variables. To fix it, I added the bellow lines in spec:

%Build
./configure --prefix=%{_prefix} --host=$CFGHOST --build=%{_build}
--without-crypto

+# Avoid libtool searching in /usr/lib
+ perl -pi -e 's,^sys_lib_search_path_spec=.*,sys_lib_search_path_spec=,'
libtool
make

Soon I will send a patch to fix it.

Thanks!


_______________________________________________
LTIB home page: http://ltib.org

Ltib mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/ltib





reply via email to

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