Can't compile php 5.3.3?

chr1831

Verified User
Joined
Jul 24, 2010
Messages
11
When I compile php 5.3.3 with custombuild by running ./build php d, I get the following log http://pastebin.com/KqtifiVh. php 5.2 compiles just fine via ./build php d.

Any ideas?

Thanks,
Chr1831
 
Last edited:
Did you run a build clean first?

cd /usr/local/directadmin/custombuild
./build update
./build clean
./build php d
 
I just did that and it still crashed on the same part. Also I already manually install the kernel-devel on my system (cent os).

Any other ideas?


Thanks,
Chr1831
 
I have the exact same problem on Cent OS as well. Problem seems to be asm/atomic.h is missing. I have no idea how to fix though. Any ideas?
 
Thanks for the bug report, I figured it was an issue with DA and how it bundled php.

Thanks,
Chr1831
 
I was able to compile php 5.3.3 via the following:
*Open /usr/include/mysql/my_global.h
*Search for asm/atomic.h
*Comment out the line with /* and */
*Compile php 5.3.3

Hopefully disabling asm/atomic.h won't have any nasty sideaffects. From what I can tell it won't harm anything.

Thanks,
Chr1831
 
Code:
cd /usr/local/directadmin/custombuild
./build set php5_ver 5.3
./build php n
 
Thanks, it's good....

EDIT : i have a error message now in directadmin when i look » Home » System Information

Warning: number_format() expects parameter 1 to be double, string given in - on line 4 Warning: number_format() expects parameter 1 to be double, string given in - on line 7
 
Last edited:
Back
Top