php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3917 error with gcc
Submitted: 2000-03-24 09:56 UTC Modified: 2000-04-01 23:29 UTC
From: fcgreco at my-deja dot com Assigned:
Status: Closed Package: Compile Warning
PHP Version: Earlier? Upgrade first! OS: redhat
Private report: No CVE-ID: None
 [2000-03-24 09:56 UTC] fcgreco at my-deja dot com
Dear Sr. or Madam

I am trying to install PHP but I am receiving this error:


creating cache ./config.cache

Running system checks
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
Updated php_version.h
checking whether to enable maintainer-specific portions of Makefiles... no
checking for bison... no
checking for byacc... no
configure: warning: You will need bison if you want to regenerate the PHP parsers.
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.


	When I am installig apache before PHP I am receiving other error:

 
 >[root@redhat]# ./configure
 >Configuring for Apache, Version 1.3.0
 > + Warning: Configuring Apache with default settings.
 > + This is probably not what you really want.
 > + Please read the README.configure and INSTALL files
 > + first or at least run './configure --help' for
 > + a compact summary of available options.
 >Creating Makefile
 >Creating Configuration.apaci in src
 >Creating Makefile in src
 > + configured for Linux platform
 > + setting C compiler to gcc
 > + adding selected modules
 >ld: cannot open crt1.o: No such file or directory
 >make: *** [dummy] Error 1
 > + doing sanity check on compiler and options
 >** A test compilation with your Makefile configuration
 >** failed. This is most likely because your C compiler
 >** is not ANSI. Apache requires an ANSI C Compiler, such
 >** as gcc. The above error message from your compiler
 >** will also provide a clue.
 > Aborting!
  

	I have installed gcc in my redhat5.0, but I don't have any idea what is happen. Can anyone help me. I am looking to work with MYsql, and in this moment I am stopped.
If someone has any idea , please contact me.

Regards

Fabricio C. Greco
  
 
  

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-04-01 23:29 UTC] sas at cvs dot php dot net
Your compiler is not installed correctly. Reinstall it.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 06:01:30 2024 UTC