You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@perl.apache.org by Carl Brewer <ca...@bl.echidna.id.au> on 2004/08/20 00:43:03 UTC
[mp2] failure to compile mod_perl-1.99_15-dev on NetBSD 1.6.2
------------8<---------- Start Bug Report ------------8<----------
1. Problem Description:
Failure at compile time
2. Used Components and their Configuration:
*** mod_perl version 1.9915
*** using /data/src/mod_perl-1.99_15-dev/bin/../lib/Apache/BuildConfig.pm
*** Makefile.PL options:
MP_APR_LIB => aprext
MP_APXS => /usr/local/apache2/bin/apxs
MP_COMPAT_1X => 1
MP_GENERATE_XS => 1
MP_LIBNAME => mod_perl
MP_USE_DSO => 1
MP_USE_STATIC => 1
*** /usr/local/apache2/bin/httpd -V
Server version: Apache/2.0.50
Server built: Jul 1 2004 10:01:03
Server's Module Magic Number: 20020903:8
Architecture: 32-bit
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/prefork"
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses disabled)
-D APR_USE_SYSVSEM_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D HTTPD_ROOT="/usr/local/apache2"
-D SUEXEC_BIN="/usr/local/apache2/bin/suexec"
-D DEFAULT_PIDLOG="logs/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_LOCKFILE="logs/accept.lock"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="conf/mime.types"
-D SERVER_CONFIG_FILE="conf/httpd.conf"
*** (apr|apu)-config linking info
-L/usr/local/apache2/lib -lapr-0 -lm -lcrypt -lresolv
-L/usr/local/apache2/lib -laprutil-0 -lexpat
*** /usr/local/perl-5.8.4/bin/perl -V
Summary of my perl5 (revision 5 version 8 subversion 4) configuration:
Platform:
osname=netbsd, osvers=1.6.1, archname=i386-netbsd
uname='netbsd steel1.stealstopper.com 1.6.1 netbsd 1.6.1 (generic)
#0: tue apr 8 12:05:52 utc 2003
autobuild@tgm.daemon.org:autobuildnetbsd-1-6i386objautobuildnetbsd-1-6srcsysarchi386compilegeneric
i386 '
config_args=''
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=y, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-fno-strict-aliasing -I/usr/pkg/include',
optimize='-O',
cppflags='-fno-strict-aliasing -I/usr/pkg/include'
ccversion='', gccversion='2.95.3 20010315 (release) (NetBSD nb3)',
gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=4, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -Wl,-rpath,/usr/pkg/lib
-Wl,-rpath,/usr/local/lib -L/usr/pkg/lib -L/usr/local/lib'
libpth=/usr/pkg/lib /usr/local/lib /usr/lib
libs=-lm -lcrypt -lutil -lc -lposix
perllibs=-lm -lcrypt -lutil -lc -lposix
libc=/usr/lib/libc.so, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E
-Wl,-R/usr/local/perl-5.8.4/lib/5.8.4/i386-netbsd/CORE'
cccdlflags='-DPIC -fPIC ', lddlflags='--whole-archive -shared
-L/usr/pkg/lib -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: USE_LARGE_FILES
Built under netbsd
Compiled at Apr 26 2004 11:26:47
%ENV:
PERL_LWP_USE_HTTP_10="1"
@INC:
/usr/local/perl-5.8.4/lib/5.8.4/i386-netbsd
/usr/local/perl-5.8.4/lib/5.8.4
/usr/local/perl-5.8.4/lib/site_perl/5.8.4/i386-netbsd
/usr/local/perl-5.8.4/lib/site_perl/5.8.4
/usr/local/perl-5.8.4/lib/site_perl
/usr/local/perl-5.8.1/lib/site_perl/5.8.4/i386-netbsd
/usr/local/perl-5.8.1/lib/site_perl/5.8.1/i386-netbsd
/usr/local/perl-5.8.1/lib/site_perl/5.8.1
.
*** Packages of interest status:
Apache::Request: -
CGI : 3.04
LWP : 5.69
mod_perl : 1.9914, 1.9914
3. This is the core dump trace: (if you get a core dump):
This is the output from running make after a routine
perl Makefile.PL MP_APXS=/usr/local/apache2/bin/apxs
make
on a clean tar extract of
http://www.apache.org/~stas/mod_perl-1.99_15-dev.tar.gz
chmod 755 ../../../blib/arch/auto/APR/PerlIO/PerlIO.so
cp PerlIO.bs ../../../blib/arch/auto/APR/PerlIO/PerlIO.bs
chmod 644 ../../../blib/arch/auto/APR/PerlIO/PerlIO.bs
make: don't know how to make dynamic. Stop
make: stopped in /data/src/mod_perl-1.99_15-dev/xs/APR/aprext
*** Error code 2
Stop.
make: stopped in /data/src/mod_perl-1.99_15-dev/xs/APR
*** Error code 1
Stop.
make: stopped in /data/src/mod_perl-1.99_15-dev/xs
*** Error code 1
Stop.
make: stopped in /data/src/mod_perl-1.99_15-dev
This report was generated by ./mp2bug on Thu Aug 19 22:39:29 2004 GMT.
-------------8<---------- End Bug Report --------------8<----------
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org
Re: [mp2] failure to compile mod_perl-1.99_15-dev on NetBSD 1.6.2
Posted by Randy Kobes <ra...@theoryx5.uwinnipeg.ca>.
On Thu, 19 Aug 2004, Stas Bekman wrote:
> Stas Bekman wrote:
> >
> >>> make: stopped in /data/src/mod_perl-1.99_15-dev
> >>> steel1: {30} cd xs/APR/aprext/
> >>> steel1: {31} make dynamic
> >>> make: don't know how to make dynamic. Stop
> >
> >
> > OK, Carl, please file a bug report at:
> > http://rt.cpan.org/NoAuth/ReportBug.html?Queue=ExtUtils-MakeMaker
>
> OK, Carl has submitted it:
> http://rt.cpan.org/NoAuth/Bug.html?id=7417
> http://rt.cpan.org/NoAuth/Bug.html?id=7418
> (the dup was due to a 500 error at rt) but listing both in case only one
> is followed up onto.
In the meantime, until this is resolved, if someone wants a
workaround, it should be harmless to comment out the
lines in the Makefile.PL that produce the targets to
skip - this would result in the aprext lib being built,
but it won't be used unless Apache::Build::BUILD_APREXT
is true, which currently is only the case for Win32.
--
best regards,
randy
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org
Re: [mp2] failure to compile mod_perl-1.99_15-dev on NetBSD 1.6.2
Posted by Stas Bekman <st...@stason.org>.
Stas Bekman wrote:
>
>>> make: stopped in /data/src/mod_perl-1.99_15-dev
>>> steel1: {30} cd xs/APR/aprext/
>>> steel1: {31} make dynamic
>>> make: don't know how to make dynamic. Stop
>
>
> OK, Carl, please file a bug report at:
> http://rt.cpan.org/NoAuth/ReportBug.html?Queue=ExtUtils-MakeMaker
OK, Carl has submitted it:
http://rt.cpan.org/NoAuth/Bug.html?id=7417
http://rt.cpan.org/NoAuth/Bug.html?id=7418
(the dup was due to a 500 error at rt) but listing both in case only one
is followed up onto.
--
__________________________________________________________________
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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org
Re: [mp2] failure to compile mod_perl-1.99_15-dev on NetBSD 1.6.2
Posted by Stas Bekman <st...@stason.org>.
>> make: stopped in /data/src/mod_perl-1.99_15-dev
>> steel1: {30} cd xs/APR/aprext/
>> steel1: {31} make dynamic
>> make: don't know how to make dynamic. Stop
OK, Carl, please file a bug report at:
http://rt.cpan.org/NoAuth/ReportBug.html?Queue=ExtUtils-MakeMaker
The message should be
Subject: SKIP doesn't work on NetBSD + make
-------------------------------------------
Makefile generated with Makefile.PL, which skips the dynamic target,
doesn't work with NetBSD's make:
% grep dynamic Makefile
# SKIP => [q[dynamic], q[test], q[static]]
[...]
.PHONY: all config static dynamic test linkext manifest
% make dynamic
make: don't know how to make dynamic. Stop
However it works using gmake:
% gmake dynamic
gmake: Nothing to be done for `dynamic'.
Is there anything EU::MM can do to make NetBSD's make happy?
-----------------------------------------
followed by the output of your perl -V.
Let us know the results if any.
--
__________________________________________________________________
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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org
Re: [mp2] failure to compile mod_perl-1.99_15-dev on NetBSD 1.6.2
Posted by Stas Bekman <st...@stason.org>.
Carl Brewer wrote:
> Stas Bekman wrote:
>
>> Carl Brewer wrote:
>>
>>> S
>>>
>>>> Looks fine as it's in .PHONY. You should be able to do
>>>>
>>>> % cd xs/APR/aprext/Makefile
>>>> % make dynamic
>>>> make: Nothing to be done for `dynamic'.
>>>>
>>>>
>>>
>>>
>>> steel1: {7} cd xs/APR/aprext/
>>> steel1: {8} make dynmaic
>>> make: don't know how to make dynmaic. Stop
>>>
>>> make: stopped in /data/src/mod_perl-1.99_15-dev/xs/APR/aprext
>>
>>
>>
>> hmm, you've a typo : s/dynmaic/dynamic/
>
>
> Not this time :
>
> make: stopped in /data/src/mod_perl-1.99_15-dev
> steel1: {30} cd xs/APR/aprext/
> steel1: {31} make dynamic
> make: don't know how to make dynamic. Stop
>
> make: stopped in /data/src/mod_perl-1.99_15-dev/xs/APR/aprext
>
> It all compiles fine and is running with gmake, but NetBSD's
> make doesn't seem to like this Makefile.
Well, it's really a MakeMaker issue, which should do the right thing. Are
you running the latest ExtUtils::MakeMaker? If so it's probably something
to be posted to the makemaker list.
--
__________________________________________________________________
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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org
Re: [mp2] failure to compile mod_perl-1.99_15-dev on NetBSD 1.6.2
Posted by Carl Brewer <ca...@bl.echidna.id.au>.
Stas Bekman wrote:
> Carl Brewer wrote:
>
>> S
>>
>>> Looks fine as it's in .PHONY. You should be able to do
>>>
>>> % cd xs/APR/aprext/Makefile
>>> % make dynamic
>>> make: Nothing to be done for `dynamic'.
>>>
>>>
>>
>>
>> steel1: {7} cd xs/APR/aprext/
>> steel1: {8} make dynmaic
>> make: don't know how to make dynmaic. Stop
>>
>> make: stopped in /data/src/mod_perl-1.99_15-dev/xs/APR/aprext
>
>
> hmm, you've a typo : s/dynmaic/dynamic/
Not this time :
make: stopped in /data/src/mod_perl-1.99_15-dev
steel1: {30} cd xs/APR/aprext/
steel1: {31} make dynamic
make: don't know how to make dynamic. Stop
make: stopped in /data/src/mod_perl-1.99_15-dev/xs/APR/aprext
It all compiles fine and is running with gmake, but NetBSD's
make doesn't seem to like this Makefile.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org
Re: [mp2] failure to compile mod_perl-1.99_15-dev on NetBSD 1.6.2
Posted by Stas Bekman <st...@stason.org>.
Carl Brewer wrote:
> S
>
>> Looks fine as it's in .PHONY. You should be able to do
>>
>> % cd xs/APR/aprext/Makefile
>> % make dynamic
>> make: Nothing to be done for `dynamic'.
>>
>>
>
>
> steel1: {7} cd xs/APR/aprext/
> steel1: {8} make dynmaic
> make: don't know how to make dynmaic. Stop
>
> make: stopped in /data/src/mod_perl-1.99_15-dev/xs/APR/aprext
hmm, you've a typo : s/dynmaic/dynamic/
> Something different about NetBSD's make maybe?
>
>
> steel1: {9} gmake dynamic
> gmake: Nothing to be done for `dynamic'.
>
> It compiles ok with gmake.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
> For additional commands, e-mail: dev-help@perl.apache.org
--
__________________________________________________________________
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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org
Re: [mp2] failure to compile mod_perl-1.99_15-dev on NetBSD 1.6.2
Posted by Carl Brewer <ca...@bl.echidna.id.au>.
S
> Looks fine as it's in .PHONY. You should be able to do
>
> % cd xs/APR/aprext/Makefile
> % make dynamic
> make: Nothing to be done for `dynamic'.
>
>
steel1: {7} cd xs/APR/aprext/
steel1: {8} make dynmaic
make: don't know how to make dynmaic. Stop
make: stopped in /data/src/mod_perl-1.99_15-dev/xs/APR/aprext
Something different about NetBSD's make maybe?
steel1: {9} gmake dynamic
gmake: Nothing to be done for `dynamic'.
It compiles ok with gmake.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org
Re: [mp2] failure to compile mod_perl-1.99_15-dev on NetBSD 1.6.2
Posted by Stas Bekman <st...@stason.org>.
Carl Brewer wrote:
> Stas Bekman wrote:
>
>
>> Please post the output of:
>>
>> grep dynamic xs/APR/aprext/Makefile
>>
>
>
> steel1: {4} grep dynamic xs/APR/aprext/Makefile
> # SKIP => [q[dynamic], q[test], q[static]]
[...]
> .PHONY: all config static dynamic test linkext manifest
Looks fine as it's in .PHONY. You should be able to do
% cd xs/APR/aprext/Makefile
% make dynamic
make: Nothing to be done for `dynamic'.
--
__________________________________________________________________
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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org
Re: [mp2] failure to compile mod_perl-1.99_15-dev on NetBSD 1.6.2
Posted by Carl Brewer <ca...@bl.echidna.id.au>.
Stas Bekman wrote:
> Please post the output of:
>
> grep dynamic xs/APR/aprext/Makefile
>
steel1: {4} grep dynamic xs/APR/aprext/Makefile
# SKIP => [q[dynamic], q[test], q[static]]
# dynamic_lib => { OTHERLDFLAGS=>q[ -Wl,-rpath,/usr/pkg/lib
-Wl,-rpath,/usr/local/lib -L/usr/pkg/lib -L/usr/local/lib] }
# DLBASE = Basename part of dynamic library. May be just equal BASEEXT.
.PHONY: all config static dynamic test linkext manifest
# --- MakeMaker dynamic section skipped.
# --- MakeMaker dynamic_bs section:
# --- MakeMaker dynamic_lib section:
# This section creates the dynamically loadable $(INST_DYNAMIC)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org
Re: [mp2] failure to compile mod_perl-1.99_15-dev on NetBSD 1.6.2
Posted by Stas Bekman <st...@stason.org>.
Hey Carl,
> This is the output from running make after a routine
> perl Makefile.PL MP_APXS=/usr/local/apache2/bin/apxs
> make
> make: don't know how to make dynamic. Stop
>
> make: stopped in /data/src/mod_perl-1.99_15-dev/xs/APR/aprext
> *** Error code 2
Please post the output of:
grep dynamic xs/APR/aprext/Makefile
--
__________________________________________________________________
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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org