Re: Problem building php 5.1.2,
| From: | Paul Reinheimer | Date: | Sun, 26 Feb 2006 02:09:33 +0000 |
| Subject: | Re: Problem building php 5.1.2, | ||
| References: | 1 2 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-17103@lists.php.net to get a copy of this message | ||
Hi, thanks for the reply.
I installed libxml2-2.6.23 directly from source, I'm trapped in some
RHEL dependency hell (namely I can't upgrade these packages because
external things like up2date need the current version) that's
prevented me from using the RPMs. I haven't seen any non .rpm -devel
packages so the install was attempted without one.
paul
(to put a face to a name, we met at PHP|Works, I sat across from you
at the speakers dinner)
On 2/25/06, Rasmus Lerdorf <rasmus@lerdorf.com> wrote:
> 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
>
--
Paul Reinheimer
Zend Certified Engineer