Link to home
Start Free TrialLog in
Avatar of tonyberry2
tonyberry2

asked on

Compiling PHP 4.1.2 Under Linux 2.4.7-10 SMP Enterprise

Trying to update my PHP on my servers (to fix the security hole) and I am getting the following on the make ('configure --with-mysql=/usr --with-apxs' works fine):

[root@dec1 php-4.1.2]# make
Making all in Zend
make[1]: Entering directory `/home/php-4.1.2/Zend'
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main   -DLINUX=22 -DEAPI -DEAPI_MM -DEAPI_MM_CORE_PATH=/var/run/httpd.mm -I../TSRM  -g -O2 -prefer-pic -c zend_language_parser.c
In file included from /usr/include/math.h:350,
                 from ../main/php_config.h:2044,
                 from zend_config.h:1,
                 from zend.h:47,
                 from zend_compile.h:24,
                 from zend_language_parser.c:148:
/usr/include/bits/mathinline.h: In function `floor':
/usr/include/bits/mathinline.h:493: Internal error: Segmentation fault.
Please submit a full bug report.
See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions.
make[1]: *** [zend_language_parser.lo] Error 1
make[1]: Leaving directory `/home/php-4.1.2/Zend'
make: *** [all-recursive] Error 1

Here is some relevant system info:

[root@dec1 proc]# cat cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 1
model name      : Pentium Pro
stepping        : 9
cpu MHz         : 200.004
cache size      : 512 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
bogomips        : 398.95

processor       : 1
[same as above]
processor       : 2
[same as above]
processor       : 3
[same as above]

[root@dec1 proc]# cat meminfo
MemTotal:      4119056 kB
MemFree:       1702068 kB

Thanks.

Tony D. Berry
Lafayette, LA
ASKER CERTIFIED SOLUTION
Avatar of pheur
pheur

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
No comment has been added lately, so it's time to clean up this TA.
I will leave the following recommendation for this question in the Cleanup topic area:

Accept: pheur {http:#6902266}

Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

jmcg
EE Cleanup Volunteer