> > However, after downloading the php5-200502052330.tar.gz snapshot,
> > things seem broken again.  My ./configure starts out like this:
> >
> > ./configure --with-libdir=lib64 --prefix=/usr/local/php --with-
> apxs=/usr/local/apache/bin/apxs
> >
> > .....
> >
> > Which had worked fine before.  However, when compiling this snapshot,
> > I get the original errors during link time, such as:
> >
> > *** Warning: linker path does not have real file for library -lxml2.
> 
> I think this should only happen with a broken libxml2 installation.  Do
> you have both /usr/lib64/libxml2.la and /usr/lib64/libxml2.so?  The PHP
> HEAD build works fine for me still.

Yeah, but these types of message spew out for every lib - I just picked an 
example.

> The version of libtool bundled with PHP is very old and doesn't
> correctly support x86_64 Linux (and no doubt many other platforms); you

Ahh, that's probably it - so snapshots from snaps.php.net won't work?  Any way 
to change that on a permanent basis?

Which leads to another question, per the recent 5.1 discussion.  It's important 
that 5.1 works, out of the box, on AMD64 or EMT_64 box.  Meaning, including you 
patch, Joe, and versions of libtool that will work.

> could try a patch like below, not sure it'll make a difference though:
> 
> Index: build/libtool.m4
> ===================================================================
> RCS file: /repository/php-src/build/libtool.m4,v
> retrieving revision 1.1
> diff -u -r1.1 libtool.m4
> --- build/libtool.m4  19 Jan 2005 17:52:32 -0000      1.1
> +++ build/libtool.m4  7 Feb 2005 09:28:04 -0000
> @@ -3393,7 +3393,7 @@
>  # This must be Linux ELF.
>  linux-gnu*)
>    case $host_cpu in
> -  alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64*)
> +  alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64* | s390* |
> x86_64*)
>      lt_cv_deplibs_check_method=pass_all ;;
>    *)
>      # glibc up to 2.1.1 does not perform some relocations on ARM

I'll give this a shot and give feedback.

Thanks again,


---
Hans Zaunere
President, Founder
New York PHP
http://www.nyphp.org

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to