Hello,
I am trying to build mod_perl 1.26 and Apache 1.3.20 on my Solaris 8 box.
I have installed the additional CD with the developer tools including the
gnu utilities and gcc.
When I first started, it did not seem to be using gcc, so I renamed
/usr/ucb/cc to cc.default, and make /usr/ucb/cc a link to gcc.
That seemed to get me further. However, I have reached a fatal error, and
don't have a clue what this means. The error messages are quoted below.
I am trying to do the simplest build possible, following the INSTALL
instructions. So after unzipping and untarring apache and mod_perl, from
within the mod_perl distribution directory, I type
perl Makefile.PL
I confirm that I want it build from ../apache_1.3.20/src, and that I want
to store the new httpd in that directory.
Then I type make. After a bit, I get this:
mkdir ../blib/arch/auto/Apache/Leak
mkdir ../blib/lib/auto/Apache/Leak
cp Leak.pm ../blib/lib/Apache/Leak.pm
/bin/perl -I/usr/perl5/5.00503/sun4-solaris -I/usr/perl5/5.00503
/usr/perl5/5.00
503/ExtUtils/xsubpp -typemap /usr/perl5/5.00503/ExtUtils/typemap -typemap
typem
ap Leak.xs >xstmp.c && mv xstmp.c Leak.c
cc -c -xO3 -xdepend -DVERSION=\"1.00\" -DXS_VERSION=\"1.00\" -KPIC
-I/usr
/perl5/5.00503/sun4-solaris/CORE -DSOLARIS2=280 -DUSE_EXPAT
-I/lib/expat-lite -D
NO_DL_NEEDED Leak.c
cc: unrecognized option `-KPIC'
cc: language depend not recognized
cc: Leak.c: linker input file unused since linking not done
Running Mkbootstrap for Apache::Leak ()
chmod 644 Leak.bs
LD_RUN_PATH="" cc -o ../blib/arch/auto/Apache/Leak/Leak.so -G Leak.o
cc: Leak.o: No such file or directory
cc: No input files
*** Error code 1
make: Fatal error: Command failed for target
`../blib/arch/auto/Apache/Leak/Leak
.so'
Current working directory /home/paul/mod_perl-1.26/Leak
*** Error code 1
make: Fatal error: Command failed for target `subdirs'
I have no idea what is wrong, or how to fix it, so I would appreciate any
help.
thanks!
___
Paul Phillips
Director of Orchestral Activities, Meadows School of the Arts
Southern Methodist University
"You must sing every note you play, sing even through the rests!"
Arturo Toscanini