You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by "Richard M. Lemanski" <rl...@ee.siue.edu> on 2000/07/14 07:54:05 UTC

Problem with Apache install from source

Hello everyone,

I am not sure what to do next.  I have Mandrake Linux 7.0 that was
supposed to have Apache and mod_perl installed when I first built it but

every search that I have used to find mod_perl has turned up nothing.  I

was going to compile mod_perl into Apache that came with Linux but it
does not have a src directory because it was not built from source.  So
I scrapped that idea and decided to install Apache from source but that
has failed because it could not find the make utility.  I ran a find on
the system and it turned up nothing - # find / -name 'make'.  I was
under the impression that 'make' is part of the C compiler.  I do have a

GCC compiler installed along with Perl and Apache.  Below is some
useful information that I pulled from my system.  I do find it
interesting that the output of apachectl status gave the following
line:  Server/Linux-Mandrake) PHP/3.0.13 mod_perl/1.21.  This seems to
indicate to me that it is installed!  Any help would be greatly
appreciated.

Rich Lemanski

# pwd
/opt/installs/apache_1.3.12

# ls -la
total 232
drwxr-xr-x   8 1078     1078         1024 Jul 14 00:19 ./
drwxr-xr-x   5 root     root         1024 Jul 13 21:28 ../
-rw-r--r--   1 1078     1078        12957 Mar 31  1999 ABOUT_APACHE
-rw-r--r--   1 1078     1078         2922 Feb 23 16:51 Announcement
-rw-r--r--   1 1078     1078        27964 Dec 21  1999 INSTALL
-rw-r--r--   1 1078     1078        35773 Aug 20  1999 KEYS
-rw-r--r--   1 1078     1078         2848 Jan  1  1999 LICENSE
-rw-r--r--   1 root     root        26833 Jul 13 23:05 Makefile
-rw-r--r--   1 1078     1078        26758 Jan 11  2000 Makefile.tmpl
-rw-r--r--   1 1078     1078         2046 Apr  1  1998 README
-rw-r--r--   1 1078     1078         3132 Mar 19  1999 README.NT
-rw-r--r--   1 1078     1078        11176 Dec 20  1999 README.configure
-rw-r--r--   1 1078     1078          331 Sep 21  1998 WARNING-NT.TXT
drwxr-xr-x   2 1078     1078         1024 Feb 23 17:07 cgi-bin/
drwxr-xr-x   2 1078     1078         1024 Feb 23 17:10 conf/
-rw-r--r--   1 1078     1078         5909 Dec 28  1999 config.layout
-rwxr-xr-x   1 root     root          307 Jul 13 23:05 config.status*
-rwxr-xr-x   1 1078     1078        56062 Feb  5 08:28 configure*
-rw-r--r--   1 root     root           28 Jul 14 00:19 help1.txt
drwxr-xr-x   3 1078     1078         1024 Feb 23 17:07 htdocs/
drwxr-xr-x   3 1078     1078         2048 Feb 23 17:07 icons/
drwxr-xr-x   2 1078     1078         1024 Feb 23 17:10 logs/
drwxr-xr-x  11 1078     1078         1024 Jul 13 23:05 src/

# ./configure --prefix=/usr/local/apache
Configuring for Apache, Version 1.3.12
 + using installation path layout: Apache (config.layout)
Creating Makefile
Creating Configuration.apaci in src
./helpers/TestCompile: make: command not found
Creating Makefile in src
 + configured for Linux platform
 + setting C compiler to gcc
 + setting C pre-processor to NOT-AVAILABLE
 + checking for system header files
 + adding selected modules
 + checking sizeof various data types
 + doing sanity check on compiler and options
** A test compilation 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!

# perl -v
This is perl, version 5.005_03 built for i386-linux

Copyright 1987-1999, Larry Wall

Perl may be copied only under the terms of either the Artistic License
or the
GNU General Public License, which may be found in the Perl 5.0 source
kit.

Complete documentation for Perl, including FAQ lists, should be found on

this system using `man perl' or `perldoc perl'.  If you have access to
the
Internet, point your browser at http://www.perl.com/, the Perl Home
Page.

# gcc -v or cc -v
Reading specs from /usr/lib/gcc-lib/i586-mandrake-linux/2.95.2/specs
gcc version 2.95.2 19991024 (release)

# apachectl status

                  Apache Server Status for LaZaRus.ubfQd.net

   Server Version: Apache/1.3.9 (NetRevolution Advanced Extranet
   Server/Linux-Mandrake) PHP/3.0.13 mod_perl/1.21
   Server Built: Jan 5 2000 05:09:42
     _________________________________________________________________

   Current Time: Friday, 14-Jul-2000 00:31:32 CDT
   Restart Time: Friday, 14-Jul-2000 00:25:19 CDT
   Parent Server Generation: 0
   Server uptime: 6 minutes 13 seconds
   1 requests currently being processed, 9 idle servers
W_________......................................................
................................................................
................................................................
................................................................

   Scoreboard Key:
   "_" Waiting for Connection, "S" Starting up, "R" Reading Request,
   "W" Sending Reply, "K" Keepalive (read), "D" DNS Lookup,
   "L" Logging, "G" Gracefully finishing, "." Open slot with no current
   process


Re: Problem with Apache install from source

Posted by "G.W. Haywood" <ge...@jubileegroup.co.uk>.
Hi there,

On Fri, 14 Jul 2000, Richard M. Lemanski wrote:

> I am not sure what to do next.  I have Mandrake Linux 7.0 that was
> supposed to have Apache and mod_perl installed when I first built it

According to the output below, you have Apache 1.3.9 with mod_perl 1.21
and it had been running for several minutes when it told you that.

> # apachectl status
> 
>                   Apache Server Status for LaZaRus.ubfQd.net
> 
>    Server Version: Apache/1.3.9 (NetRevolution Advanced Extranet
>    Server/Linux-Mandrake) PHP/3.0.13 mod_perl/1.21
>    Server Built: Jan 5 2000 05:09:42
>      _________________________________________________________________
> 
>    Current Time: Friday, 14-Jul-2000 00:31:32 CDT
>    Restart Time: Friday, 14-Jul-2000 00:25:19 CDT
>    Parent Server Generation: 0
>    Server uptime: 6 minutes 13 seconds

> was going to compile mod_perl into Apache that came with Linux but it
> does not have a src directory because it was not built from source.

Bad idea.

> I scrapped that idea and decided to install Apache from source but that
> has failed because it could not find the make utility.

What kindofa Linux installation doesn't have make?????

try

# updatedb
# locate make

Or get a different Linux distribution and install it yourself:)

73,
Ged.