You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by N L <op...@yahoo.fr> on 2004/01/06 16:40:48 UTC

mod_perl-1.28 and apache_1.3.28

Hello,

I am working on Mac osx 10.2.8 (perl v-5.6.0) and I
try to install
these 2 applications but under Mod-perl I tried to do
"make" I got some error messages I really would like
to solve it. Here is the end of this message: 

cc -Os -I/System/Library/Perl/darwin/CORE -g -pipe
-pipe -fno-common -no-cpp-pr
comp -flat_namespace -DHAS_TELLDIR_PROTOTYPE
-fno-strict-aliasing -DMOD_PERL_VE
SION=\"1.28\"
-DMOD_PERL_STRING_VERSION=\"mod_perl/1.28\" -I../..
-I/System/Lib
ary/Perl/darwin/CORE -I../../os/unix -I../../include  
 -DDARWIN -DMOD_PERL -DU
E_PERL_SSI -g -pipe -pipe -fno-common -no-cpp-precomp
-flat_namespace -DHAS_TEL
DIR_PROTOTYPE -fno-strict-aliasing -DUSE_HSREGEX
-DNO_DL_NEEDED -g -pipe -pipe 
fno-common -no-cpp-precomp -flat_namespace
-DHAS_TELLDIR_PROTOTYPE -fno-strict-
liasing `../../apaci` -c Table.c
rm -f libperl.a
ar crv libperl.a mod_perl.o perlxsi.o perl_config.o
perl_util.o perlio.o mod_pe
l_opmask.o Apache.o Constants.o ModuleConfig.o Log.o
URI.o Util.o Connection.o 
erver.o File.o Table.o
a - mod_perl.o
a - perlxsi.o
a - perl_config.o
a - perl_util.o
a - perlio.o
a - mod_perl_opmask.o
a - Apache.o
a - Constants.o
a - ModuleConfig.o
a - Log.o
a - URI.o
a - Util.o
a - Connection.o
a - Server.o
a - File.o
a - Table.o
/usr/bin/ar ts libperl.a
mod_perl.o
perlxsi.o
perl_config.o
perl_util.o
perlio.o
mod_perl_opmask.o
Apache.o
Constants.o
ModuleConfig.o
Log.o
URI.o
Util.o
Connection.o
Server.o
File.o
Table.o
<=== src/modules/perl
<=== src/modules
env LD_RUN_PATH=/System/Library/Perl/darwin/CORE cc -c
-I. -I/System/Library/Pe
l/darwin/CORE -I./os/unix -I./include   -DDARWIN
-DMOD_PERL -DUSE_PERL_SSI -g -
ipe -pipe -fno-common -no-cpp-precomp -flat_namespace
-DHAS_TELLDIR_PROTOTYPE -
no-strict-aliasing -DUSE_HSREGEX -DNO_DL_NEEDED -g
-pipe -pipe -fno-common -no-
pp-precomp -flat_namespace -DHAS_TELLDIR_PROTOTYPE
-fno-strict-aliasing `./apac
` modules.c
env LD_RUN_PATH=/System/Library/Perl/darwin/CORE cc -c
-I. -I/System/Library/Pe
l/darwin/CORE -I./os/unix -I./include   -DDARWIN
-DMOD_PERL -DUSE_PERL_SSI -g -
ipe -pipe -fno-common -no-cpp-precomp -flat_namespace
-DHAS_TELLDIR_PROTOTYPE -
no-strict-aliasing -DUSE_HSREGEX -DNO_DL_NEEDED -g
-pipe -pipe -fno-common -no-
pp-precomp -flat_namespace -DHAS_TELLDIR_PROTOTYPE
-fno-strict-aliasing `./apac
` buildmark.c
env LD_RUN_PATH=/System/Library/Perl/darwin/CORE cc 
-DDARWIN -DMOD_PERL -DUSE_
ERL_SSI -g -pipe -pipe -fno-common -no-cpp-precomp
-flat_namespace -DHAS_TELLDI
_PROTOTYPE -fno-strict-aliasing -DUSE_HSREGEX
-DNO_DL_NEEDED -g -pipe -pipe -fn
-common -no-cpp-precomp -flat_namespace
-DHAS_TELLDIR_PROTOTYPE -fno-strict-ali
sing `./apaci`    \
      -o httpd buildmark.o modules.o
modules/perl/libperl.a modules/standard/li
standard.a main/libmain.a ./os/unix/libos.a ap/libap.a
regex/libregex.a   /Syst
m/Library/Perl/darwin/auto/DynaLoader/DynaLoader.a
-L/System/Library/Perl/darwi
/CORE -lperl -lm -lc 
ld: warning multiple definitions of symbol _regcomp
regex/libregex.a(regcomp.o) private external
definition of _regcomp in section 
__TEXT,__text)
/usr/lib/libm.dylib(regcomp.So) definition of _regcomp
ld: warning multiple definitions of symbol _regexec
regex/libregex.a(regexec.o) private external
definition of _regexec in section 
__TEXT,__text)
/usr/lib/libm.dylib(regexec.So) definition of _regexec
ld: warning multiple definitions of symbol _regfree
regex/libregex.a(regfree.o) private external
definition of _regfree in section 
__TEXT,__text)
/usr/lib/libm.dylib(regfree.So) definition of _regfree
ld: Undefined symbols:
_actions_module
_include_module
_log_config_module
make[3]: *** [target_static] Error 1
make[2]: *** [build-std] Error 2
make[1]: *** [build] Error 2
make: *** [apaci_httpd] Error 2


Is there any ideas ?!

Thanks in advance.

Lynn

_________________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com

-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html


Re: mod_perl-1.28 and apache_1.3.28

Posted by Stas Bekman <st...@stason.org>.
N L wrote:
> Hello,
> 
> I am working on Mac osx 10.2.8 (perl v-5.6.0) and I
> try to install
> these 2 applications but under Mod-perl I tried to do
> "make" I got some error messages I really would like
> to solve it. Here is the end of this message: 
[...]
> m/Library/Perl/darwin/auto/DynaLoader/DynaLoader.a
> -L/System/Library/Perl/darwi
> /CORE -lperl -lm -lc 
> ld: warning multiple definitions of symbol _regcomp
> regex/libregex.a(regcomp.o) private external
> definition of _regcomp in section 
> __TEXT,__text)
> /usr/lib/libm.dylib(regcomp.So) definition of _regcomp
> ld: warning multiple definitions of symbol _regexec
> regex/libregex.a(regexec.o) private external
> definition of _regexec in section 
> __TEXT,__text)
> /usr/lib/libm.dylib(regexec.So) definition of _regexec
> ld: warning multiple definitions of symbol _regfree
> regex/libregex.a(regfree.o) private external
> definition of _regfree in section 
> __TEXT,__text)
> /usr/lib/libm.dylib(regfree.So) definition of _regfree
> ld: Undefined symbols:
> _actions_module
> _include_module
> _log_config_module
> make[3]: *** [target_static] Error 1
> make[2]: *** [build-std] Error 2
> make[1]: *** [build] Error 2
> make: *** [apaci_httpd] Error 2

This has been reported several times already, but noone who uses macosx didn't 
post a fix. For example see:
http://marc.theaimsgroup.com/?t=106485725900002&r=1&w=2
where Geoff has suggested:
http://marc.theaimsgroup.com/?l=apache-modperl&m=106496098331505&w=2
I don't know whether it helped to resolve the problem, as Harry never followed 
up on this issue.

Are there any mailing lists/irc channels that macosx people hang out on? if 
there is such please ask them to help resolve the issue.

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html