From: Patrick A. Stack (webmaster at domain lion-oak.ie)
Date: Mon 11 Jun 2001 - 17:49:07 IST
Hi ILUG,
Apologies if this is OT or too basic.
I'm a newbie to Linux presently grappling with the RH6.1 on a i586 machine
I have.
I've been having a devil of a time trying to install Apache 1.3.20 and PHP
- both installs have failed as it appears gcc on the system is corrupted.
./configure --prefix=/usr/local/apache \
> --enable-module=most \
> --enable-shared=max
gave back the following readout:
_____________________________________________
...
/usr/bin/ld: cannot open crt1.o: No such file or directory
collect2: ld returned 1 exit status
make: *** [dummy] Error 1
Creating Makefile in src
+ configured for Linux platform
+ setting C compiler to gcc
+ setting C pre-processor to NOT-ABAILABLE
+ checking for system header files
+ adding selected modules
0 rewrite_module uses ConfigStart/End
disabling DBM support for mod_rewrite
(perhaps you need to add -ldbm, -lndbm or -lgdbm to EXTRA_LIBS)
0 dbm_auth_module uses ConfigStart/End
+ checking sizeof various data types
+doing sanity check on compiler and options
** A test compiltation with your Makefile configuration
** failed. The below error output from the compilation
** test will give you an idea what is failing. Note that
** Apache requires an ANSI C Compiler, such as gcc.
======= Error Output for sanity check ===========
============ End of Error Report ================
Aborting!
_____________________________________________
PHP install also failed as follows:
pwd
/usr/local/src/php-4.0.5
./configure --with-apxs
loading cache ./config.cache
checking for a BSD compatible install ... /usr/bin/install -c
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
checking whether to enable maintainer-specific portions of Makefiles... no
checking host system type... i586-pc-linux-gnu
checking for gawk... gawk
checking for bison... no
checking for byacc... no
configure: warning: You will need bison if yoiu 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.
_____________________________________________
So I ran gcc C/PROG1.C
to see and got:
gcc: installation problem, cannot exec 'cc1plus' : No such file or directory
I've read reams of documentation in the last few days to get this far - but
confusion far outweighs any clarity.
At a minimum I need to get PHP installed and working asap.
I would appreciate any help you can offer.
====================
Lion-Oak Services Ltd.
Balleen, Kilmaley,
Co. Clare, Ireland.
<www.lion-oak.ie>
Tel: +353-65-6839474
Mobile: +353-87-2841390
====================
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:10:37 GMT