Stas,
I tried adding USE_DSO=1 but the same result. My command to create the Makefile now looks as follows:
perl Makefile.PL APACHE_SRC=../apache_1.3.31/src DO_HTTPD=1 USE_APACI=1 USE_DSO=1 EVERYTHING=1
Any other suggestions ?
Thanks, Joris.
Stas Bekman wrote:
Joris Verboomen wrote:
Hi,
I get the following error building mod_perl 1.29 on Mac OS X 10.3.5.
I looked in the archives and see the problem reported multiple times but apparently without a resolution ?
Joris.
cc -c -I. -I/usr/local/lib/perl5/5.8.5/darwin-thread-multi-2level/CORE -I./os/unix -I./include -DDARWIN -DMOD_PERL -DUSE_PERL_SSI -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -pipe -DUSE_HSREGEX -DNO_DL_NEEDED -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -pipe `./apaci` modules.c
cc -c -I. -I/usr/local/lib/perl5/5.8.5/darwin-thread-multi-2level/CORE -I./os/unix -I./include -DDARWIN -DMOD_PERL -DUSE_PERL_SSI -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -pipe -DUSE_HSREGEX -DNO_DL_NEEDED -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -pipe `./apaci` buildmark.c
cc -DDARWIN -DMOD_PERL -DUSE_PERL_SSI -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -pipe -DUSE_HSREGEX -DNO_DL_NEEDED -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -pipe `./apaci` \
-o httpd buildmark.o modules.o modules/perl/libperl.a modules/standard/libstandard.a main/libmain.a ./os/unix/libos.a ap/libap.a regex/libregex.a -L/usr/local/lib /usr/local/lib/perl5/5.8.5/darwin-thread-multi-2level/auto/DynaLoader/DynaLoader.a -L/usr/local/lib/perl5/5.8.5/darwin-thread-multi-2level/CORE -lperl -ldl -lm -lc
ld: warning multiple definitions of symbol _regcomp
regex/libregex.a(regcomp.o) definition of _regcomp in section (__TEXT,__text)
/usr/lib/libdl.dylib(regcomp.So) definition of _regcomp
ld: warning multiple definitions of symbol _regexec
regex/libregex.a(regexec.o) definition of _regexec in section (__TEXT,__text)
/usr/lib/libdl.dylib(regexec.So) definition of _regexec
ld: warning multiple definitions of symbol _regfree
regex/libregex.a(regfree.o) definition of _regfree in section (__TEXT,__text)
/usr/lib/libdl.dylib(regfree.So) definition of _regfree
ld: Undefined symbols:
_actions_module
_include_module
_log_config_module
It's not the first time this problem is reported. Take a look at:
http://www.google.ca/search?hl=fr&ie=UTF-8&q=Undefined+symbols%3A%0D%0A_actions_module%0D%0A_include_module%0D%0A_log_config_module+&btnG=Recherche+Google&meta=
Apparently it works fine as DSO. I'm not on Mac OS X so I can't help much here :(
-- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html