Re: [Speedycgi-users] Problem installing CGI-SpeedyCGI-2.22 src
Brought to you by:
samh
|
From: Sam H. <sa...@da...> - 2004-05-27 21:57:44
|
I don't have a Mandrake system to try this on, but it looks like MakeMaker
is ignoring the DIR parameter, and only doing the "src" subdirectory.
Inside Makefile.PL, you'll see a WriteMakefile statement that has a CONFIGURE
parameter that returns {DIR=>\@dirs}. You should probably start debugging
there - maybe put in a fixed DIR parameter instead of using CONFIGURE.
Here's what what the compile should look like:
% perl Makefile.PL
Optional mod_speedycgi support.
Mod_speedycgi increases performance under Apache by avoiding the fork/exec
overhead associated with each request under normal SpeedyCGI. However, it
requires a working copy of "apxs" in your path, Apache with mod_so
support, and additional Apache configuration.
Compile mod_speedycgi (default no)?
Checking if your kit is complete...
Warning: the following files are missing in your kit:
README
README.html
lib/CGI/SpeedyCGI.pm
Please inform the author.
Writing Makefile for src
Writing Makefile for speedy_backend
Writing Makefile for speedy
Writing Makefile for CGI::SpeedyCGI
% make
mkdir blib
mkdir blib/lib
mkdir blib/lib/CGI
mkdir blib/arch
mkdir blib/arch/auto
mkdir blib/arch/auto/CGI
mkdir blib/arch/auto/CGI/SpeedyCGI
mkdir blib/lib/auto
mkdir blib/lib/auto/CGI
mkdir blib/lib/auto/CGI/SpeedyCGI
cd src && make
make[1]: Entering directory `/data/home/sam/speedy/CGI-SpeedyCGI-2.22/src'
/usr/bin/perl -w optdefs.pl /usr/bin
Writing speedy_optdefs.c
Writing speedy_optdefs.h
Writing mod_speedycgi_cmds.c
Writing mod_speedycgi2_cmds.c
Writing SpeedyCGI.pm
make[1]: Leaving directory `/data/home/sam/speedy/CGI-SpeedyCGI-2.22/src'
cp src/SpeedyCGI.pm blib/lib/CGI/SpeedyCGI.pm
make[1]: Entering directory `/data/home/sam/speedy/CGI-SpeedyCGI-2.22/src'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/data/home/sam/speedy/CGI-SpeedyCGI-2.22/src'
make[1]: Entering directory `/data/home/sam/speedy/CGI-SpeedyCGI-2.22/speedy_backend'
mkdir ../blib/arch/auto/speedy_backend
mkdir ../blib/lib/auto/speedy_backend
rm -f speedy_backend_main.c
cp ../src/speedy_backend_main.c speedy_backend_main.c
cc -c -I../src -I. -Dbool=char -DHAS_BOOL -I/usr/local/include -O -DVERSION=\"2.22\" -DXS_VERSION=\"2.22\" -fpic -I/usr/lib/perl5/5.00503/i386-linux/CORE -DSPEEDY_PROGNAME=\"speedy_backend\" -DSPEEDY_VERSION=\"2.22\" -DSPEEDY_BACKEND speedy_backend_main.c
rm -f speedy_perl.c
cp ../src/speedy_perl.c speedy_perl.c
cc -c -I../src -I. -Dbool=char -DHAS_BOOL -I/usr/local/include -O -DVERSION=\"2.22\" -DXS_VERSION=\"2.22\" -fpic -I/usr/lib/perl5/5.00503/i386-linux/CORE -DSPEEDY_PROGNAME=\"speedy_backend\" -DSPEEDY_VERSION=\"2.22\" -DSPEEDY_BACKEND speedy_perl.c
make[1]: *** [speedy_perl.o] Interrupt
make: *** [subdirs] Interrupt
> I am trying to install it on Mandrake 9.1 but running into following =
> problem:
>
> [nkapoor@genx src]$ perl Makefile.PL=20
> Writing Makefile for src
>
> [nkapoor@genx src]$ make
> /usr/bin/perl5.8.1 -w optdefs.pl /usr/bin
> Writing speedy_optdefs.c
> Writing speedy_optdefs.h
> Writing mod_speedycgi_cmds.c
> Writing mod_speedycgi2_cmds.c
> Writing SpeedyCGI.pm
>
> [nkapoor@genx src]$ make test
> make: Nothing to be done for `test'.
>
> [nkapoor@genx src]$ make install
> make: *** No rule to make target `install'. Stop.
> ---------------------------------------------------
> [nkapoor@genx src]$ uname -a
> Linux genx 2.4.22-10mdk #1 Thu Sep 18 12:30:58 CEST 2003 i686 unknown =
> unknown GNU/Linux
>
> [nkapoor@genx src]$ pwd
> /usr/local/TAR_GZ/CGI-SpeedyCGI-2.22/src
>
> [nkapoor@genx src]$ perl --version
> This is perl, v5.8.1 built for i386-linux-thread-multi
>
> I am doing it exactly as the README says. Am I missing something?
>
> Thanks
> Nishi
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: Oracle 10g
> Get certified on the hottest thing ever to hit the market... Oracle 10g.
> Take an Oracle 10g class now, and we'll give you the exam FREE.
> http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
> _______________________________________________
> Speedycgi-users mailing list
> Spe...@li...
> https://lists.sourceforge.net/lists/listinfo/speedycgi-users
>
|