For Programmers: Free Programming Magazines  


Home > Archive > PHP Installation > February 2006 > Re: [PHP-INSTALL] Problem building php 5.1.2,









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PHP-INSTALL] Problem building php 5.1.2,
Paul Reinheimer

2006-02-25, 9:56 pm

It's looking at the new version, dated today. For which i've got no -devel
pack.

[root@sharethebeat php-5.1.2]# grep libxml2 config.log
configure:19773: checking libxml2 install dir
configure:88107: gcc -o conftest -I/usr/include -g -O2
-I/usr/local/include/libxml2 -I/usr/local//include -I/usr/local/include
-I/usr/src/php-5.1.2/ext/date/lib -I/usr/X11R6//include
-I/usr/include/freetype2 -I/usr/local/mysql/include -I/usr/src/php-5.1.2
-L/usr/lib -L/usr/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib
-Wl,-rpath,/usr/local//lib -L/usr/local//lib -Wl,-rpath,/usr/kerberos/lib
-L/usr/kerberos/lib -Wl,-rpath,/usr/X11R6//lib -L/usr/X11R6//lib
-Wl,-rpath,/usr/local/mysql/lib -L/usr/local/mysql/lib conftest.c -lrt
-lmysqlclient -lfreetype -lX11 -lXpm -lpng -lz -ljpeg -ldb-4.2 -lcurl -lz
-lssl -lcrypto -lresolv -lm -ldl -lnsl -lxml2 -lz -lm -lcurl -lssl -lcrypto
-ldl -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto -lresolv -ldl
-lz -lz -lxml2 -lz -lm -lxml2 -lz -lm 1>&5


Do I need to find a non-rpm copy of the -devel packages? Or somehow convince
my system to upgrade it's RPMs?



paul



On 2/25/06, Rasmus Lerdorf <rasmus@lerdorf.com> wrote:
>
> Instead of
>
> --with-libxml-dir=/usr/local/lib/
>
> try
>
> --with-libxml-dir=/usr/local
>
> I think it is picking up the wrong xml-config script and thus the wrong
> libxml2 library.
>
> Do this: grep libxml2 config.log
>
> That should give you a clue which libxml2 it is trying to use.
>
> -Rasmus
>
> Paul Reinheimer wrote:
> do
> complain.
>
>



--
Paul Reinheimer
Zend Certified Engineer

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com