LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   A wierd perl version problem... (https://www.linuxquestions.org/questions/linux-newbie-8/a-wierd-perl-version-problem-59298/)

Ekim Gram 05-11-2003 09:23 PM

A wierd perl version problem...
 
Ok, I'm installing mod_perl-1-99_05 for Apache and when I do what it says I get a wierd error saying this:
Quote:

[root@MyHost mod_perl-1.99_05]# perl Makefile.PL \
> EVERYTHING=1 \
> APACHE_SRC=../apache_1.3.27/src \
> USE_APACI=1 \
> PREP_HTTPD=1 \
> DO_HTTPD=1

That's what I typed, this is what it gave me:


Reading Makefile.PL args from @ARGV
!!! Unable to determine server version, aborting.
!!! Please specify MP_APXS or MP_AP_PREFIX.
and the HowTo says this:
Quote:

3.3.2. Download the source

Origin-Site: [http://www.apache.org/dist/perl] http://www.apache.org/dist/
perl
-----------------------------------------------------------------------------

3.3.3. Building and installing

+---------------------------------------------------------------------------+
|cd /usr/local |
| |
|tar -xvzf mod_perl-1.27.tar.gz |
| |
|cd mod_perl-1.27 |
| |
|perl Makefile.PL \ |
|EVERYTHING=1 \ |
|APACHE_SRC=../apache_1.3.27/src \ |
|USE_APACI=1 \ |
|PREP_HTTPD=1 \ |
|DO_HTTPD=1 |
| |
|make |
|make install |
+---------------------------------------------------------------------------+

Caution Mod_perl can not be compiled as DSO
Do not compile mod_perl as DSO (Dynamic Shared Object)! According to
various sources, Apache will crash (I never tried).
--------------------------------------------------------------

Hangdog42 05-12-2003 07:22 AM

Just to ask the brutally obvious, is your apache source code really in ../apache_1.3.27/src or is it somwhere else? My first guess from the error message is that it isn't finding apache.

acid_kewpie 05-12-2003 07:24 AM

why are you compiling it?

http://fr2.rpmfind.net//linux/RPM/co...1mdk.i586.html

much easier...

Ekim Gram 05-12-2003 01:44 PM

Quote:

Originally posted by Hangdog42
Just to ask the brutally obvious, is your apache source code really in ../apache_1.3.27/src or is it somwhere else? My first guess from the error message is that it isn't finding apache.
It's located there.

neo77777 05-12-2003 02:30 PM

and much easier way to mange apache is to get the apachetoolbox http://freshmeat.net/projects/apache...C90%2C253%2C45


All times are GMT -5. The time now is 04:02 AM.