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,
Rasmus Lerdorf

2006-02-25, 9:56 pm

Paul Reinheimer wrote:
> Hi, I'm trying to compile PHP 5.1.2. (on linux, RHEL 3.1)
> My ./configure is:
>
> './configure' '--with-mysql=/usr/local/mysql'
> '--with-apxs=/etc/httpd/bin/apxs' '--with-gd' '--with-png'
> '--with-zlib-dir=/root/zlib-1.2.2' '--enable-gd-native-ttf'
> '--with-ttf' '--with-jpeg-dir=/usr/local/lib/jpeg-6b/'
> '--with-freetype-dir=/usr/local/lib/freetype-2.1.9/'
> '--with-xpm-dir=/usr/X11R6/' '--with-tidy' '--with-curl'
> '--with-openssl=/usr/local/' '--enable-dba=shared' '--with-db4'
> '--disable-eapi' '--with-xsl' '--enable-memory-limit'
> '--with-libxml-dir=/usr/local/lib/'
>
> make ends with
>
> collect2: ld returned 1 exit status
> make: *** [sapi/cli/php] Error 1
>
>
> anyone got any ideas, or hints on what information I should be giving
> to make diagnosis easier/possible?
>
> The full output of make is available here:
> http://example.preinheimer.com/phpbuild.txt


Looks to me like a libxml2 problem. What sort of libxml2-dev package do
you have installed? I am surprised the configure check didn't complain.

-Rasmus
Sponsored Links







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

Copyright 2008 codecomments.com