php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6876 Error when using Make after successful ./configure ......
Submitted: 2000-09-25 01:24 UTC Modified: 2000-10-16 11:00 UTC
From: kamransaleem at mail dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.2 OS: Redhat Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: kamransaleem at mail dot com
New email:
PHP Version: OS:

 

 [2000-09-25 01:24 UTC] kamransaleem at mail dot com
Below is the information pasted 
I am getting error when i use to configure PHP for my webserver
when i use make after running  

./configure --with-apxs=/usr/local/apache/bin/apxs 
              --with-config-file-path=/etc/httpd 
              --with-mysql 
              --with-system-regex

make
and got following error at the end 

TE_ORDER=12 -g -O2  -c posix.c
/bin/sh /tmp/php-4.0.2/libtool --silent --mode=link gcc  -I.
-I/tmp/php-4.0.2/ext/posix -I/tmp/php-4.0.2 -I/tmp/php-4.0.2/main
-I/usr/local/apache/include -I/tmp/php-4.0.2/Zend -I/tmp/php-4.0.2
-I/tmp/php-4.0.2/ext/mysql/libmysql -I/tmp/php-4.0.2/ext/xml/expat/xmltok
-I/tmp/php-4.0.2/ext/xml/expat/xmlparse  -DXML_BYTE_ORDER=12 -g -O2   -o
libposix.la  posix.lo
make[3]: Leaving directory /tmp/php-4.0.2/ext/posix'
make[2]: Leaving directory /tmp/php-4.0.2/ext/posix'
Making all in session
make[2]: Entering directory /tmp/php-4.0.2/ext/session'
make[3]: Entering directory /tmp/php-4.0.2/ext/session'
/bin/sh /tmp/php-4.0.2/libtool --silent --mode=compile gcc  -I.
-I/tmp/php-4.0.2/ext/session -I/tmp/php-4.0.2 -I/tmp/php-4.0.2/main
-I/usr/local/apache/include
-I/tmp/php-4.0.2/Zend -I/tmp/php-4.0.2 -I/tmp/php-4.0.2/ext/mysql/libmysql
-I/tmp/php-4.0.2/ext/xml/expat/xmltok
-I/tmp/php-4.0.2/ext/xml/expat/xmlparse  -DXML_BYTE_ORDER=12 -g -O2  -c
session.c
gcc: Internal compiler error: program cc1 got fatal signal 11
make[3]: *** [session.lo] Error 1
make[3]: Leaving directory /tmp/php-4.0.2/ext/session'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory /tmp/php-4.0.2/ext/session'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory /tmp/php-4.0.2/ext'
make: *** [all-recursive] Error 1
[root@localhost php-4.0.2]#


Please do solve and let me know what is the Problem
Thanks in advance,
Kamran Saleem
KamranSaleem@mai.com

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-09-26 06:53 UTC] chrisv@php.net
gcc doesn't generally crash as such, meaning it's more likely a problem with your system itself. 

Have you been able to successfully compile other software -- one of the things I can think of off of the top of my head which is known to generate similar problems when dealing with bad hardware is a compile of the linux kernel. If gcc does the same thing in a compile of the linux kernel, it generally means that either you have a bad processor or bad memory installed in the machine.

Check and see if one of those is perhaps the problem.


 [2000-10-16 11:00 UTC] sniper@php.net
No feedback. And not a bug in PHP.
It's either broken gcc or broken hardware (memory?)

--Jani
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Mon Oct 12 09:00:02 2026 UTC