On Wed, 2003-02-05 at 12:15, Philippe M. Chiasson wrote: > On Wed, 2003-02-05 at 07:07, Stas Bekman wrote: > > John Eisenschmidt wrote: > > > OpenBSD 3.2 > > > Perl 5.6.1 > > > > > > I'm trying to build MP 1.99_08 for Apache 2.0.44, and I'm not quite > > > sure where I'm messing up. Apache built fine, building the config for > > > MP went fine: > > > > > > jweisen@kaitain$ sudo perl Makefile.PL MP_AP_PREFIX=/usr/local/apache2 > > > MP_INST_APACHE2=1 > > > > > > ... > > > > > > *** mod_perl dso library will be built as mod_perl.so > > > *** mod_perl static library will be built as mod_perl.a > > > *** You'll need to add the following to httpd.conf: > > > *** LoadModule perl_module modules/mod_perl.so > > > > > > But the actual make doesn't go so well: > > > > > > jweisen@kaitain$ sudo make > > > > > > ... > > > > > > ranlib: mod_perl.so: Inappropriate file type or format > > > *** Error code 1 > > > > > > Stop in /usr/local/src/mod_perl-1.99_08/src/modules/perl (line 149 of > > > Makefile.modperl). > > > *** Error code 1 > > > > > > Stop in /usr/local/src/mod_perl-1.99_08 (line 459 of Makefile). > > > > > > I dug back a couple months in the mailing lists and I'm not seeing > > > anything applicable. Any help would be appreciated. > > > > Actually there were several reports of a similar failure for mod_perl 2.0 and > > even more for mod_perl 1.0. It looks like you've snipped too much and you > > don't show what are the unresolved symbols, which seems to be the cause of the > > error: > > > > ranlib: mod_perl.so: Inappropriate file type or format > > I got that fixed by using 'gmake' instead of 'make' , not sure why > exactly. > > But now, all builds fine, but the server fails to start with this > interestingly new error : > > waiting for server to start: .Can't make loaded symbols global on this > platform while loading > >/home/gozer/opt/src/apache.org/mod_perl/2/cvs/blib/arch/Apache2/auto/Apache/Const/Const.so > at /usr/libdata/perl5/i386-openbsd/5.8.0/DynaLoader.pm line 229. > Can't make loaded symbols global on this platform while loading > >/home/gozer/opt/src/apache.org/mod_perl/2/cvs/blib/arch/Apache2/auto/APR/Const/Const.so > at /usr/libdata/perl5/i386-openbsd/5.8.0/DynaLoader.pm line 229.
Actually, this is a decoy. Those are warnings by Dynaloader because OpenBSD doesn't implement RTLD_GLOBAL as dlopen() flags. The real error in the logs is ever stranger: Out of memory! perl_parse: Cannot allocate memory END in modperl_extra.pl, pid=4234 Any other OpenBSD'er out there that can share some light ? > Any clues? I'll look at it a bit more in depth tonight. > > Gozer out. > > > __________________________________________________________________ > > 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 > > > > > -- > > > -------------------------------------------------------------------------------- > Philippe M. Chiasson /gozer\@(cpan|ectoplasm)\.org/ 88C3A5A5 > (122FF51B/C634E37B) > http://gozer.ectoplasm.org/ F9BF E0C2 480E 7680 1AE5 3631 CB32 A107 > 88C3 A5A5 > Q: It is impossible to make anything foolproof because fools are so > ingenious. > perl > -e'$$=\${gozer};{$_=unpack(P7,pack(L,$$));/^JAm_pH\n$/&&print||$$++&&redo}' -- -------------------------------------------------------------------------------- Philippe M. Chiasson /gozer\@(cpan|ectoplasm)\.org/ 88C3A5A5 (122FF51B/C634E37B) http://gozer.ectoplasm.org/ F9BF E0C2 480E 7680 1AE5 3631 CB32 A107 88C3 A5A5 Q: It is impossible to make anything foolproof because fools are so ingenious. perl -e'$$=\${gozer};{$_=unpack(P7,pack(L,$$));/^JAm_pH\n$/&&print||$$++&&redo}'
signature.asc
Description: This is a digitally signed message part