Pablo Jejcic wrote:
Hello guys,
I have just installed PERL/Apache and mod_perl, but this last
one gave me an error when I try to compile. Could anyone help me?
Thi is the error:
bash-2.05# make && make test
cd "src/modules/perl" && make -f Makefile.modperl
make[1]: Entering directory
`/projects/IRIG/mod_perl-1.99_08/src/modules/perl'
cc -I/projects/IRIG/mod_perl-1.99_08/src/modules/perl
-I/projects/IRIG/mod_perl-1.99_08/xs
-I/projects/IRIG/apache2/prefork/include
-I/usr/perl5/5.6.1/lib/sun4-solaris-64int/CORE -DMOD_PERL -xO3 -xdepend
-KPIC \
-c mod_perl.c && mv mod_perl.o mod_perl.lo
cc: unrecognized option `-KPIC'
mod_perl reuses the compiler flags perl was built with. It picks them up from
Config.pm. Do you see -KPIC in the output of 'perl -V'? You must use exactly
the same compiler that you've built your perl with and it should work.
cc: language depend not recognized
cc: mod_perl.c: linker input file unused because linking not done
mv: cannot access mod_perl.o
make[1]: *** [mod_perl.lo] Error 2
make[1]: Leaving directory
`/projects/IRIG/mod_perl-1.99_08/src/modules/perl'
make: *** [modperl_lib] Error 2
bash-2.05# c
bash: c: command not found
bash-2.05# cc
cc: no input files
And I'm running:
Solaris 9
PERL 5.6.1
Apache 2.0.4
mod_perl 1.99_08
Thanks in advance!!
Pablo.-
Kind Regards.
------------------------------------------------------------------------
Pablo Jejcic
Smartweb Senior system Administrator
School of Computing - Robert Gordon University
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
*T*:44-(0)1224-262797
*F*:44-(0)1224-262790
------------------------------------------------------------------------
``The nice thing about standards is that there are so many to choose
from. And if you really don't like all the standards you just have to
wait another year until the one arises you are looking for.''
A. Tanenbaum, ``Introduction to Computer Networks'
------------------------------------------------------------------------
--
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com