Results 1 to 3 of 3
Hi
I'm trying to build PHP 5.2.6 on OpenSuse 10.2 64 bit.
Configure goes fine, but after a while in the make process, it halts with this error:
Code:
/bin/sh ...
- 07-25-2008 #1Just Joined!
- Join Date
- Jul 2008
- Posts
- 2
Build error with PHP 5.2.6 on x86_64
Hi
I'm trying to build PHP 5.2.6 on OpenSuse 10.2 64 bit.
Configure goes fine, but after a while in the make process, it halts with this error:
From what I can find, it is something to do with 64 bit systems not using the 'l' suffix in assembler, but I have no knowledge as to how to fix this (if it is in fact the problem)Code:/bin/sh /home/admin/build/php-5.2.6/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/standard/ -I/home/admin/build/php-5.2.6/ext/standard/ -DPHP_ATOM_INC -I/home/admin/build/php-5.2.6/include -I/home/admin/build/php-5.2.6/main -I/home/admin/build/php-5.2.6 -I/usr/include/libxml2 -I/home/admin/build/php-5.2.6/ext/date/lib -I/usr/include/mysql -I/home/admin/build/php-5.2.6/TSRM -I/home/admin/build/php-5.2.6/Zend -g -O2 -prefer-pic -c /home/admin/build/php-5.2.6/ext/standard/proc_open.c -o ext/standard/proc_open.lo /bin/sh /home/admin/build/php-5.2.6/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/standard/ -I/home/admin/build/php-5.2.6/ext/standard/ -DPHP_ATOM_INC -I/home/admin/build/php-5.2.6/include -I/home/admin/build/php-5.2.6/main -I/home/admin/build/php-5.2.6 -I/usr/include/libxml2 -I/home/admin/build/php-5.2.6/ext/date/lib -I/usr/include/mysql -I/home/admin/build/php-5.2.6/TSRM -I/home/admin/build/php-5.2.6/Zend -g -O2 -prefer-pic -c /home/admin/build/php-5.2.6/ext/standard/streamsfuncs.c -o ext/standard/streamsfuncs.lo /tmp/ccH5g9f1.s: Assembler messages: /tmp/ccH5g9f1.s:1795: Error: Incorrect register `%rax' used with `l' suffix /tmp/ccH5g9f1.s:1943: Error: Incorrect register `%rdx' used with `l' suffix make: *** [ext/standard/streamsfuncs.lo] Error 1
Any help hugely appreciated on this.
Thanks
- 07-25-2008 #2
5.2.6 is available via the opensuse repository 64 and 32. Why not install it precompiled via Yast?
- 07-27-2008 #3Just Joined!
- Join Date
- Jul 2008
- Posts
- 2
I'm attempting to do it for somebody who is running Cpanel/WHM on their server, because WHM doesn't seem to work properly with OpenSuSE 10.2 and they are stuck on Apache 1.3 at the moment. (They require to update PHP because of security issues on the version they are running)
The pre-compiled versions (AFAIAA) are linked against Apache 2+ and so will not work with 1.3.x (please correct me if I am wrong
). and will also most likely put the files into a different place than WHM/Cpanel would expect.
I have done enough compiling on 32bit systems (though quite a while ago!) and didn't think there would be that much to getting an updated PHP installed on the 64bit system - after all, if it is available in the repositories, it is compilable - I presume the guys running OpenSuSE know what they are doing to patch it


Reply With Quote