im at the end of my wisdom here,
i try to install on mac osx following the advice
from 
<http://perl.apache.org/guide/install.html#A_Summary_of_a_Basic_mod_perl_In>

i dont get very far with it and i know still little about unixy stuff.

im desperate because i need this mod_perl to work quickly
(i tried  tenon iTools but their apache configs with EXPAT enabled =>
conflict! and its expensive too...)

well i post below what i get, help is very welcome!

thanks
christian
-----------------------------

[cable-ggar40-162:/usr/src/mod_perl-1.26] root# perl Makefile.PL
APACHE_SRC=../apache_1.3.14/src DO_HTTPD=1 USE_APACI=1 EVERYTHING=1
Will configure via APACI
cp apaci/Makefile.libdir ../apache_1.3.14/src/modules/perl/Makefile.libdir
cp apaci/Makefile.tmpl ../apache_1.3.14/src/modules/perl/Makefile.tmpl
cp apaci/README ../apache_1.3.14/src/modules/perl/README
cp apaci/configure ../apache_1.3.14/src/modules/perl/configure
cp apaci/libperl.module ../apache_1.3.14/src/modules/perl/libperl.module
cp apaci/mod_perl.config.sh
../apache_1.3.14/src/modules/perl/mod_perl.config.sh
cp apaci/load_modules.pl ../apache_1.3.14/src/modules/perl/load_modules.pl
cp apaci/find_source ../apache_1.3.14/src/modules/perl/find_source
cp apaci/apxs_cflags ../apache_1.3.14/src/modules/perl/apxs_cflags
cp apaci/perl_config ../apache_1.3.14/src/modules/perl/perl_config
cp apaci/mod_perl.exp ../apache_1.3.14/src/modules/perl/mod_perl.exp
PerlDispatchHandler.........enabled
PerlChildInitHandler........enabled
PerlChildExitHandler........enabled
PerlPostReadRequestHandler..enabled
PerlTransHandler............enabled
PerlHeaderParserHandler.....enabled
PerlAccessHandler...........enabled
PerlAuthenHandler...........enabled
PerlAuthzHandler............enabled
PerlTypeHandler.............enabled
PerlFixupHandler............enabled
PerlHandler.................enabled
PerlLogHandler..............enabled
PerlInitHandler.............enabled
PerlCleanupHandler..........enabled
PerlRestartHandler..........enabled
PerlStackedHandlers.........enabled
PerlMethodHandlers..........enabled
PerlDirectiveHandlers.......enabled
PerlTableApi................enabled
PerlLogApi..................enabled
PerlUriApi..................enabled
PerlUtilApi.................enabled
PerlFileApi.................enabled
PerlConnectionApi...........enabled
PerlServerApi...............enabled
PerlSections................enabled
PerlSSI.....................enabled
Will run tests as User: 'nobody' Group: 'wheel'
(cd ../apache_1.3.14 && CC="env LD_RUN_PATH=/System/Library/Perl/darwin/CORE
cc" CFLAGS=" -g -pipe -pipe -fno-common -DHAS_TELLDIR_PROTOTYPE
-fno-strict-aliasing" ./configure
--activate-module=src/modules/perl/libperl.a --disable-rule=EXPAT)
Configuring for Apache, Version 1.3.14
 + using installation path layout: Darwin (config.layout)
 + activated perl module (modules/perl/libperl.a)
Creating Makefile
Creating Configuration.apaci in src
Creating Makefile in src
 + configured for Darwin platform
 + setting C pre-processor to /usr/bin/cpp
 + checking for system header files
 + adding selected modules
    o perl_module uses ConfigStart/End
      + mod_perl build type: OBJ
      + id: mod_perl/1.26
      + id: Perl/v5.6.0 (darwin) [perl]
      + setting up mod_perl build environment
      + adjusting Apache build environment
      + enabling Perl support for SSI (mod_include)
 + checking sizeof various data types
 + doing sanity check on compiler and options
Creating Makefile in src/support
Creating Makefile in src/regex
Creating Makefile in src/os/unix
Creating Makefile in src/ap
Creating Makefile in src/main
Creating Makefile in src/modules/standard
Creating Makefile in src/modules/perl
Checking CGI.pm VERSION..........ok
Checking for LWP::UserAgent......failed
Can't locate LWP/UserAgent.pm in @INC (@INC contains: ./lib
/System/Library/Perl/darwin /System/Library/Perl /Library/Perl/darwin
/Library/Perl /Network/Library/Perl/darwin /Network/Library/Perl .) at
Makefile.PL line 1136.

The libwww-perl library is needed to run the test suite.
Installation of this library is recommended, but not required.

Checking for HTML::HeadParser....failed
Can't locate HTML/HeadParser.pm in @INC (@INC contains: ./lib
/System/Library/Perl/darwin /System/Library/Perl /Library/Perl/darwin
/Library/Perl /Network/Library/Perl/darwin /Network/Library/Perl .) at
Makefile.PL line 1154.

The HTML-Parser package is needed (by libwww-perl) to run the test suite.
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
[cable-ggar40-162:/usr/src/mod_perl-1.26] root# make
(cd ../apache_1.3.14 && PERL5LIB=/usr/src/mod_perl-1.26/lib make)
===> src
===> src/regex
sh ./mkh  -p regcomp.c >regcomp.ih
env LD_RUN_PATH=/System/Library/Perl/darwin/CORE cc -I. -I..
-I/System/Library/Perl/darwin/CORE -I../os/unix -I../include   -DDARWIN
-DMOD_PERL -DUSE_PERL_SSI -g -pipe -pipe -fno-common -DHAS_TELLDIR_PROTOTYPE
-fno-strict-aliasing -DUSE_HSREGEX -DNO_DL_NEEDED -g -pipe -pipe -fno-common
-DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing `../apaci` -DPOSIX_MISTAKE   -c
-o regcomp.o regcomp.c
env LD_RUN_PATH=/System/Library/Perl/darwin/CORE cc -I. -I..
-I/System/Library/Perl/darwin/CORE -I../os/unix -I../include   -DDARWIN
-DMOD_PERL -DUSE_PERL_SSI -g -pipe -pipe -fno-common -DHAS_TELLDIR_PROTOTYPE
-fno-strict-aliasing -DUSE_HSREGEX -DNO_DL_NEEDED -g -pipe -pipe -fno-common
-DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing `../apaci` -DPOSIX_MISTAKE   -c
-o regexec.o regexec.c
env LD_RUN_PATH=/System/Library/Perl/darwin/CORE cc -I. -I..
-I/System/Library/Perl/darwin/CORE -I../os/unix -I../include   -DDARWIN
-DMOD_PERL -DUSE_PERL_SSI -g -pipe -pipe -fno-common -DHAS_TELLDIR_PROTOTYPE
-fno-strict-aliasing -DUSE_HSREGEX -DNO_DL_NEEDED -g -pipe -pipe -fno-common
-DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing `../apaci` -DPOSIX_MISTAKE   -c
-o regerror.o regerror.c
env LD_RUN_PATH=/System/Library/Perl/darwin/CORE cc -I. -I..
-I/System/Library/Perl/darwin/CORE -I../os/unix -I../include   -DDARWIN
-DMOD_PERL -DUSE_PERL_SSI -g -pipe -pipe -fno-common -DHAS_TELLDIR_PROTOTYPE
-fno-strict-aliasing -DUSE_HSREGEX -DNO_DL_NEEDED -g -pipe -pipe -fno-common
-DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing `../apaci` -DPOSIX_MISTAKE   -c
-o regfree.o regfree.c
rm -f libregex.a
ar cr libregex.a regcomp.o regexec.o regerror.o regfree.o
ranlib libregex.a
<=== src/regex
===> src/os/unix
env LD_RUN_PATH=/System/Library/Perl/darwin/CORE cc -c -I../..
-I/System/Library/Perl/darwin/CORE -I../../os/unix -I../../include
-DDARWIN -DMOD_PERL -DUSE_PERL_SSI -g -pipe -pipe -fno-common
-DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing -DUSE_HSREGEX -DNO_DL_NEEDED -g
-pipe -pipe -fno-common -DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing
`../../apaci` os.c
env LD_RUN_PATH=/System/Library/Perl/darwin/CORE cc -c -I../..
-I/System/Library/Perl/darwin/CORE -I../../os/unix -I../../include
-DDARWIN -DMOD_PERL -DUSE_PERL_SSI -g -pipe -pipe -fno-common
-DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing -DUSE_HSREGEX -DNO_DL_NEEDED -g
-pipe -pipe -fno-common -DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing
`../../apaci` os-inline.c
rm -f libos.a
ar cr libos.a os.o os-inline.o
ranlib libos.a
<=== src/os/unix
===> src/ap
env LD_RUN_PATH=/System/Library/Perl/darwin/CORE cc -c -I..
-I/System/Library/Perl/darwin/CORE -I../os/unix -I../include   -DDARWIN
-DMOD_PERL -DUSE_PERL_SSI -g -pipe -pipe -fno-common -DHAS_TELLDIR_PROTOTYPE
-fno-strict-aliasing -DUSE_HSREGEX -DNO_DL_NEEDED -g -pipe -pipe -fno-common
-DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing `../apaci` ap_cpystrn.c
env LD_RUN_PATH=/System/Library/Perl/darwin/CORE cc -c -I..
-I/System/Library/Perl/darwin/CORE -I../os/unix -I../include   -DDARWIN
-DMOD_PERL -DUSE_PERL_SSI -g -pipe -pipe -fno-common -DHAS_TELLDIR_PROTOTYPE
-fno-strict-aliasing -DUSE_HSREGEX -DNO_DL_NEEDED -g -pipe -pipe -fno-common
-DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing `../apaci` ap_execve.c
env LD_RUN_PATH=/System/Library/Perl/darwin/CORE cc -c -I..
-I/System/Library/Perl/darwin/CORE -I../os/unix -I../include   -DDARWIN
-DMOD_PERL -DUSE_PERL_SSI -g -pipe -pipe -fno-common -DHAS_TELLDIR_PROTOTYPE
-fno-strict-aliasing -DUSE_HSREGEX -DNO_DL_NEEDED -g -pipe -pipe -fno-common
-DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing `../apaci` ap_fnmatch.c
env LD_RUN_PATH=/System/Library/Perl/darwin/CORE cc -c -I..
-I/System/Library/Perl/darwin/CORE -I../os/unix -I../include   -DDARWIN
-DMOD_PERL -DUSE_PERL_SSI -g -pipe -pipe -fno-common -DHAS_TELLDIR_PROTOTYPE
-fno-strict-aliasing -DUSE_HSREGEX -DNO_DL_NEEDED -g -pipe -pipe -fno-common
-DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing `../apaci` ap_getpass.c
ap_getpass.c: In function `ap_getpass':
ap_getpass.c:190: warning: assignment makes pointer from integer without a
cast
env LD_RUN_PATH=/System/Library/Perl/darwin/CORE cc -c -I..
-I/System/Library/Perl/darwin/CORE -I../os/unix -I../include   -DDARWIN
-DMOD_PERL -DUSE_PERL_SSI -g -pipe -pipe -fno-common -DHAS_TELLDIR_PROTOTYPE
-fno-strict-aliasing -DUSE_HSREGEX -DNO_DL_NEEDED -g -pipe -pipe -fno-common
-DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing `../apaci` ap_md5c.c
env LD_RUN_PATH=/System/Library/Perl/darwin/CORE cc -c -I..
-I/System/Library/Perl/darwin/CORE -I../os/unix -I../include   -DDARWIN
-DMOD_PERL -DUSE_PERL_SSI -g -pipe -pipe -fno-common -DHAS_TELLDIR_PROTOTYPE
-fno-strict-aliasing -DUSE_HSREGEX -DNO_DL_NEEDED -g -pipe -pipe -fno-common
-DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing `../apaci` ap_signal.c
env LD_RUN_PATH=/System/Library/Perl/darwin/CORE cc -c -I..
-I/System/Library/Perl/darwin/CORE -I../os/unix -I../include   -DDARWIN
-DMOD_PERL -DUSE_PERL_SSI -g -pipe -pipe -fno-common -DHAS_TELLDIR_PROTOTYPE
-fno-strict-aliasing -DUSE_HSREGEX -DNO_DL_NEEDED -g -pipe -pipe -fno-common
-DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing `../apaci` ap_slack.c
env LD_RUN_PATH=/System/Library/Perl/darwin/CORE cc -c -I..
-I/System/Library/Perl/darwin/CORE -I../os/unix -I../include   -DDARWIN
-DMOD_PERL -DUSE_PERL_SSI -g -pipe -pipe -fno-common -DHAS_TELLDIR_PROTOTYPE
-fno-strict-aliasing -DUSE_HSREGEX -DNO_DL_NEEDED -g -pipe -pipe -fno-common
-DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing `../apaci` ap_snprintf.c
env LD_RUN_PATH=/System/Library/Perl/darwin/CORE cc -c -I..
-I/System/Library/Perl/darwin/CORE -I../os/unix -I../include   -DDARWIN
-DMOD_PERL -DUSE_PERL_SSI -g -pipe -pipe -fno-common -DHAS_TELLDIR_PROTOTYPE
-fno-strict-aliasing -DUSE_HSREGEX -DNO_DL_NEEDED -g -pipe -pipe -fno-common
-DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing `../apaci` ap_sha1.c
env LD_RUN_PATH=/System/Library/Perl/darwin/CORE cc -c -I..
-I/System/Library/Perl/darwin/CORE -I../os/unix -I../include   -DDARWIN
-DMOD_PERL -DUSE_PERL_SSI -g -pipe -pipe -fno-common -DHAS_TELLDIR_PROTOTYPE
-fno-strict-aliasing -DUSE_HSREGEX -DNO_DL_NEEDED -g -pipe -pipe -fno-common
-DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing `../apaci` ap_checkpass.c
env LD_RUN_PATH=/System/Library/Perl/darwin/CORE cc -c -I..
-I/System/Library/Perl/darwin/CORE -I../os/unix -I../include   -DDARWIN
-DMOD_PERL -DUSE_PERL_SSI -g -pipe -pipe -fno-common -DHAS_TELLDIR_PROTOTYPE
-fno-strict-aliasing -DUSE_HSREGEX -DNO_DL_NEEDED -g -pipe -pipe -fno-common
-DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing `../apaci` ap_base64.c
rm -f libap.a
ar cr libap.a ap_cpystrn.o ap_execve.o ap_fnmatch.o ap_getpass.o ap_md5c.o
ap_signal.o ap_slack.o ap_snprintf.o ap_sha1.o ap_checkpass.o ap_base64.o
ranlib libap.a
<=== src/ap
===> src/main
env LD_RUN_PATH=/System/Library/Perl/darwin/CORE cc -c -I..
-I/System/Library/Perl/darwin/CORE -I../os/unix -I../include   -DDARWIN
-DMOD_PERL -DUSE_PERL_SSI -g -pipe -pipe -fno-common -DHAS_TELLDIR_PROTOTYPE
-fno-strict-aliasing -DUSE_HSREGEX -DNO_DL_NEEDED -g -pipe -pipe -fno-common
-DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing `../apaci` gen_test_char.c
env LD_RUN_PATH=/System/Library/Perl/darwin/CORE cc  -DDARWIN -DMOD_PERL
-DUSE_PERL_SSI -g -pipe -pipe -fno-common -DHAS_TELLDIR_PROTOTYPE
-fno-strict-aliasing -DUSE_HSREGEX -DNO_DL_NEEDED -g -pipe -pipe -fno-common
-DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing `../apaci`   -o gen_test_char
gen_test_char.o  /System/Library/Perl/darwin/auto/DynaLoader/DynaLoader.a
-L/System/Library/Perl/darwin/CORE -lperl -lm -lc
./gen_test_char >test_char.h
env LD_RUN_PATH=/System/Library/Perl/darwin/CORE cc -c -I..
-I/System/Library/Perl/darwin/CORE -I../os/unix -I../include   -DDARWIN
-DMOD_PERL -DUSE_PERL_SSI -g -pipe -pipe -fno-common -DHAS_TELLDIR_PROTOTYPE
-fno-strict-aliasing -DUSE_HSREGEX -DNO_DL_NEEDED -g -pipe -pipe -fno-common
-DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing `../apaci` gen_uri_delims.c
env LD_RUN_PATH=/System/Library/Perl/darwin/CORE cc  -DDARWIN -DMOD_PERL
-DUSE_PERL_SSI -g -pipe -pipe -fno-common -DHAS_TELLDIR_PROTOTYPE
-fno-strict-aliasing -DUSE_HSREGEX -DNO_DL_NEEDED -g -pipe -pipe -fno-common
-DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing `../apaci`   -o gen_uri_delims
gen_uri_delims.o  /System/Library/Perl/darwin/auto/DynaLoader/DynaLoader.a
-L/System/Library/Perl/darwin/CORE -lperl -lm -lc
./gen_uri_delims >uri_delims.h
env LD_RUN_PATH=/System/Library/Perl/darwin/CORE cc -c -I..
-I/System/Library/Perl/darwin/CORE -I../os/unix -I../include   -DDARWIN
-DMOD_PERL -DUSE_PERL_SSI -g -pipe -pipe -fno-common -DHAS_TELLDIR_PROTOTYPE
-fno-strict-aliasing -DUSE_HSREGEX -DNO_DL_NEEDED -g -pipe -pipe -fno-common
-DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing `../apaci` alloc.c
alloc.c: In function `spawn_child_core':
alloc.c:2290: `STDOUT_FILENO' undeclared (first use in this function)
alloc.c:2290: (Each undeclared identifier is reported only once
alloc.c:2290: for each function it appears in.)
alloc.c:2296: `STDIN_FILENO' undeclared (first use in this function)
alloc.c:2302: `STDERR_FILENO' undeclared (first use in this function)
make[4]: *** [alloc.o] Error 1
make[3]: *** [subdirs] Error 1
make[2]: *** [build-std] Error 2
make[1]: *** [build] Error 2
make: *** [apaci_httpd] Error 2
[cable-ggar40-162:/usr/src/mod_perl-1.26] root#

Reply via email to