[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

compiling mod_perl



after being unable to make mod_perl work via apt-get, i tried compiling from
source...

following the directions, getting the source, and running (as root):
perl Makefile.PL APACHE_SRC=../apache_1.3.26/src \
    DO_HTTPD=1 USE_APACI=1 EVERYTHING=1

the compilation dies with:

--------snip------------
+ 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 ========
cd ..; cc  -DLINUX=22 -DMOD_PERL -DUSE_PERL_SSI -DDEBIAN
-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -DUSE_HSREGEX -DNO_DL_NEEDED -DDEBIAN
-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 `./apaci` -I. -I/usr/lib/perl/5.6.1/CORE    -o
helpers/dummy helpers/dummy.c   -lm -lcrypt -rdynamic  -L/usr/local/lib
/usr/lib/perl/5.6.1/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl/5.6.1/CORE
-lperl -ldl -lm -lc -lcrypt
/usr/bin/ld: cannot find -lperl
collect2: ld returned 1 exit status
make: *** [dummy] Error 1
============= End of Error Report =============

 Aborting!
Checking CGI.pm VERSION..........ok
Checking for LWP::UserAgent......ok
Checking for HTML::HeadParser....ok
Checking if your kit is complete...
Looks good
Writing Makefile for Apache
Writing Makefile for Apache::Connection
Writing Makefile for Apache::Constants
Writing Makefile for Apache::File
Writing Makefile for Apache::Leak
Writing Makefile for Apache::Log
Writing Makefile for Apache::ModuleConfig
Writing Makefile for Apache::PerlRunXS
Writing Makefile for Apache::Server
Writing Makefile for Apache::Symbol
Writing Makefile for Apache::Table
Writing Makefile for Apache::URI
Writing Makefile for Apache::Util
Writing Makefile for mod_perl
mercury:/home/dylan/src/mod_perl-1.27#
------------snip-----------

however, i have gcc, and have used it before to compile other programs...


any ideas?

thanks in advance!!

dylan



Reply to: