Solved

Compiling PHP 4.1.2 Under Linux 2.4.7-10 SMP Enterprise

Posted on 2002-03-05
3
225 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 2

Accepted Solution

by:
pheur earned 50 total points
ID: 6902266
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
ID: 9901561
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

737 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