Hello all linux gurus,
i downloaded linux for one purpose and one purpose only--for use a webserver--and when the install screen came up-- that was about the only choice I made--ok cut the crap right? what the prob?
When i goto start apache 2.0 I get the following error:
[root@localhost apache2]# apachectl start
Starting httpd2: httpd2: Could not determine the server's fully qualified domain
name, using 127.0.0.1 for ServerName
[Wed Apr 28 20:03:16 2004] [error] Can't locate File/Spec/Functions.pm in @INC (
@INC contains: /var/www/perl /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-
multi/Apache2 /usr/lib/perl5/5.8.3/i386-linux-thread-multi /usr/lib/perl5/5.8.3
/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/site_perl/ 5.8.3 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-threa d-multi /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2/i386-l inux-thread-multi /usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/vendor_perl/5. 8.1/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vend or_perl . /etc/httpd/2.0/ /etc/httpd/2.0/lib/perl) at /usr/lib/perl5/vendor_perl /5.8.3/i386-linux-thread-multi/Apache2/ModPerl/RegistryCooker.pm line 30.
BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.3/i386-linux -thread-multi/Apache2/ModPerl/RegistryCooker.pm line 30.
Compilation failed in require at (eval 2) line 3.
...propagated at /usr/lib/perl5/5.8.3/base.pm line 70.
BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.3/i386-linux -thread-multi/Apache2/ModPerl/Registry.pm line 11.
Compilation failed in require at /etc/httpd/conf/addon-modules/apache2-mod_perl- startup.pl line 30.
BEGIN failed--compilation aborted at /etc/httpd/conf/addon-modules/apache2-mod_p erl-startup.pl line 30.
Compilation failed in require at (eval 1) line 1.
[Wed Apr 28 20:03:16 2004] [error] Can't load Perl file: /etc/httpd/conf/addon-m odules/apache2-mod_perl-startup.pl for server 127.0.0.1:0, exiting...
[FAILED]
[root@localhost apache2]# apachectl start
Starting httpd2: httpd2: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
[Wed Apr 28 20:04:35 2004] [error] Can't locate File/Spec/Functions.pm in @INC (@INC contains: /var/www/perl /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi/Apache2 /usr/lib/perl5/5.8.3/i386-linux-thread-multi /usr/lib/perl5/5.8.3 /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl . /etc/httpd/2.0/ /etc/httpd/2.0/lib/perl) at /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi/Apache2/ModPerl/RegistryCooker.pm line 30.
BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi/Apache2/ModPerl/RegistryCooker.pm line 30.
Compilation failed in require at (eval 2) line 3.
...propagated at /usr/lib/perl5/5.8.3/base.pm line 70.
BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi/Apache2/ModPerl/Registry.pm line 11.
Compilation failed in require at /etc/httpd/conf/addon-modules/apache2-mod_perl-startup.pl line 30.
BEGIN failed--compilation aborted at /etc/httpd/conf/addon-modules/apache2-mod_perl-startup.pl line 30.
Compilation failed in require at (eval 1) line 1.
[Wed Apr 28 20:04:35 2004] [error] Can't load Perl file: /etc/httpd/conf/addon-modules/apache2-mod_perl-startup.pl for server 127.0.0.1:0, exiting...
Being about a week into linux so far I have no clue whats going on --but that does not mean I am out of ideas. So I goto apache.org download the latest version of Apache 2.0 and press the ./configure command (cause thats what they say on their website)--when i do that, this happens:
[root@localhost /]# cd httpd-2.0.49
[root@localhost httpd-2.0.49]# ./configure
checking for chosen layout... Apache
checking for working mkdir -p... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
Configuring Apache Portable Runtime library ...
checking for APR... reconfig
configuring package in srclib/apr now
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
Configuring APR library
Platform: i686-pc-linux-gnu
checking for working mkdir -p... yes
APR Version: 0.9.5
checking for chosen layout... apr
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
configure failed for srclib/apr
The third to the last line really gets me. No C compiler? I say whatever, I will just reinstall that! I goto the RPM files on CD1 and try to reinstall GCC. But guess what it tells me? ALREADY INSTALLED! Ok so then I the configure file in the new downloaded apache file and try to guess where to put this path. So whereever I see this $PATH sign I replace it with where the GCC compiler supposedly is (hey this taught me the locate command!) but this does not work either and I get the same error as above. My only real victory so far in mandrake is 1) I got my flash drive to work 2) I haven't thrown this computer out the window (but its coming close). I will perservere---but no one in my crowd knows a thing about Linux and I need your help.
So reinstate my questions:
How do I get Apache 2.0 started with all the above Perl related errors? or how do I get the new downloaded apache to compile?
Any and all tips are appreciated.
Mosteal