Solved

Compiling PHP 4.1.2 Under Linux 2.4.7-10 SMP Enterprise

Posted on 2002-03-05
3
220 Views
Last Modified: 2010-04-22
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
0
Comment
Question by:tonyberry2
3 Comments
 
LVL 2

Accepted Solution

by:
pheur earned 50 total points
Comment Utility
Quick hints:
- try to update the compiler, especially if you have the redhat gcc 2.96. Or use egcs/kgcc if you have it installed.
- try doing this on a plain (non-redhat) kernel. use latest version from kernel.org
- if you can afford some downtime do a memory test (www.memtest86.org for a good tester)

Some more details related to installed software (glibc/gcc/distro) may help

----
Radu-Adrian Feurdean
Brainbench Linux MVP
0
 
LVL 20

Expert Comment

by:jmcg
Comment Utility
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
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now