I'm new to compiling my own software and attempting to get mod_perl
and apache to work together.  I have Redhat 6.0.

I thought this was supposed to use gcc, not cc and I am getting no
make action when it's done.

I would _greatly_ appreciate any help on resolving this.  I'm teaching
myself Embperl and want it to have Virtual Logging.  It appears that
it must be a Apache module in order to enable this feature.

I have the following directories in /usr/src
mod_perl-1.21
apache_1.3.9

I just did gzip -d on the .gz files and then tar -xvf on the
subsequent tar files.

Then I went to the mod_perl-1.21 directory and did:
$ perl Makefile.PL \
     APACHE_PREFIX=/www \
     DO_HTTPD=1 \
     USE_APACI=1 \
     EVERYTHING=1 > makeout.log 2>&1
     
Makeout.log is here:

Will run tests as User: 'nobody' Group: 'root'
Configuring for Apache, Version 1.3.9
 + using installation path layout: Apache (config.layout)
 + activated perl module (modules/perl/libperl.a)
Creating Makefile
Creating Configuration.apaci in src
      + id: mod_perl/1.21
      + id: Perl/5.00503 (linux) [perl]
Creating Makefile in src
 + configured for Linux platform
 + setting C pre-processor to cc -E
 + checking for system header files
 + adding selected modules
    o perl_module uses ConfigStart/End
      + mod_perl build type: OBJ
      + setting up mod_perl build environment
      + adjusting Apache build environment
      + enabling Perl support for SSI (mod_include)
 + checking sizeof various data types
 + 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!
Will configure via APACI
cp apaci/Makefile.libdir
./apache_1.3.9/src/modules/perl/Makefile.libdir
cp apaci/Makefile.tmpl ../apache_1.3.9/src/modules/perl/Makefile.tmpl
cp apaci/README ../apache_1.3.9/src/modules/perl/README
cp apaci/configure ../apache_1.3.9/src/modules/perl/configure
cp apaci/libperl.module
./apache_1.3.9/src/modules/perl/libperl.module
cp apaci/mod_perl.config
./apache_1.3.9/src/modules/perl/mod_perl.config
cp apaci/mod_perl.config.sh
./apache_1.3.9/src/modules/perl/mod_perl.config.sh
cp apaci/load_modules.pl.PL
./apache_1.3.9/src/modules/perl/load_modules.pl.PL
cp apaci/find_source.PL
./apache_1.3.9/src/modules/perl/find_source.PL

[everything snipped].....................enabled

(cd ../apache_1.3.9 && CC="cc" ./configure
--activate-module=src/modules/perl/libperl.a --prefix=/www)
Checking CGI.pm VERSION..........ok
Checking for LWP::UserAgent......ok
Checking for HTML::HeadParser....ok
Writing Makefile for Apache
Writing Makefile for Apache::Connection
Writing Makefile for Apache::Constants
Writing Makefile for Apache::File
Writing Makefile for Apache::Leak
Writing Makefile for Apache::Log
Writing Makefile for Apache::ModuleConfig
Writing Makefile for Apache::PerlRunXS
Writing Makefile for Apache::Server
Writing Makefile for Apache::Symbol
Writing Makefile for Apache::Table
Writing Makefile for Apache::URI
Writing Makefile for Apache::Util
Writing Makefile for mod_perl


Then I ran make > make.log 2>&1

Make.log is here:

(cd ../apache_1.3.9 && make)
make[1]: Entering directory `/usr/src/apache_1.3.9'
===> src
make[2]: Entering directory `/usr/src/apache_1.3.9'
make[3]: Entering directory `/usr/src/apache_1.3.9/src'
make[3]: *** No rule to make target `all'.  Stop.
make[3]: Leaving directory `/usr/src/apache_1.3.9/src'
make[2]: *** [build-std] Error 2
make[2]: Leaving directory `/usr/src/apache_1.3.9'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/usr/src/apache_1.3.9'
make: *** [apaci_httpd] Error 2




--
Scott Chapman
Technical Support Specialist
Lund Performance Solutions
[EMAIL PROTECTED] or [EMAIL PROTECTED]
Phone: 541-926-3800 www.lund.com

Reply via email to