Got it!

There is some errors in the make rule (maybe there are others...)

See below: :)

--- /usr/local/lib/ptxdist-2011.01.0/rules/php5.make    2011-01-21 
11:10:30.000000000 +0100
+++ rules/php5.make     2011-04-04 22:04:07.000000000 +0200
@@ -82,7 +82,7 @@
endif
 ifdef PTXCONF_PHP5_SAPI_APXS2
-PHP5_AUTOCONF += --with-apxs2=$(SYSROOT)/usr/bin/apxs
+PHP5_AUTOCONF += --with-apxs2=$(PTXDIST_SYSROOT_TARGET)/usr/bin/apxs
else
# PHP5_AUTOCONF += --without-apxs2
endif
@@ -184,7 +184,7 @@
ifdef PTXCONF_PHP5_XML_LIBXML2
PHP5_AUTOCONF += \
        --enable-libxml \
-       --with-libxml-dir=$(PTXCONF_SYSROOT)/usr
+       --with-libxml-dir=$(PTXDIST_SYSROOT_TARGET)/usr
else
PHP5_AUTOCONF += --disable-libxml
endif
@@ -208,7 +208,7 @@
endif
 ifdef PTXCONF_PHP5_XML_LIBXML2_XSLT
-PHP5_AUTOCONF += --with-xsl=$(SYSROOT)/usr
+PHP5_AUTOCONF += --with-xsl=$(PTXDIST_SYSROOT_TARGET)/usr
else
PHP5_AUTOCONF += --without-xsl
endif

De : [email protected] [mailto:[email protected]] De 
la part de Benoît Burnichon
Envoyé : lundi 4 avril 2011 16:38
À : [email protected]
Objet : [ptxdist] Issue with Php5 and libxml2

Hi all,

I have an issue compiling PHP5 with libxml2 support. At the linking stage, I 
have the following error:

/home/opt/OSELAS.Toolchain-1.99.3/arm-v5te-linux-gnueabi/gcc-4.3.2-glibc-2.8-binutils-2.18-kernel-2.6.27-sanitized/bin/../lib/gcc/arm-v5te-linux-gnueabi/4.3.2/../../../../arm-v5te-linux-gnueabi/bin/ld:
 cannot find -lxml2
collect2: ld returned 1 exit status

Does anybody know from where this error comes from?
It seems one link is missing to the libxml2 library. It is at the right place 
under sysroot-target/usr/lib/libxml2

Regards,

Benoît
-- 
ptxdist mailing list
[email protected]

Reply via email to