Bug #3917: error with gcc

From: Date: Fri, 24 Mar 2000 14:56:40 +0000
Subject: Bug #3917: error with gcc
Groups: php.dev 
Request: Send a blank email to php-dev+get-17201@lists.php.net to get a copy of this message
From: fcgreco@my-deja.com Operating system: redhat PHP version: Earlier? Upgrade first! PHP Bug Type: Compile Warning Bug description: error with gcc 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

« previous php.dev (#17201) next »