On Fri, 20 Apr 2001, Doug MacEachern wrote:

> On Fri, 20 Apr 2001, Stas Bekman wrote:
>
> > ./Configure -des -Dusethreads -Doptimize='-g' -Duseshrplib
>
> try without -Duseshrplib, your core dump is clearly related to that.  no
> idea what the real problem is tho.

I get the same trace without -Duseshrplib. It still builds libmodperl.so,
because of:  MP_USE_DSO=1. I probably miss something.

If I build with
        MP_GENERATE_XS=1 MP_STATIC_EXTS=1 MP_DEBUG=1
or
        MP_GENERATE_XS=1 MP_USE_DSO=0 MP_DEBUG=1
I get:

Can't locate Apache/ConstantsTable.pm in @INC (@INC contains: ../lib
../../lib lib Apache-Test/lib
/home/stas/perl-5.6.1/lib/5.6.1/i686-linux-thread-multi
/home/stas/perl-5.6.1/lib/5.6.1
/home/stas/perl-5.6.1/lib/site_perl/5.6.1/i686-linux-thread-multi
/home/stas/perl-5.6.1/lib/site_perl/5.6.1
/home/stas/perl-5.6.1/lib/site_perl .) at lib/ModPerl/Code.pm line 689.

fixed by adding

use lib '../xs/tables/current';

not sure whether this it the right fix though.

note that I've seen this error with DSO as well, I think I get it every
time I change the build options.

and this:

generate_constants...make[1]: Entering directory
`/home/stas/apache.org/modperl-2.0/src/modules/perl'
cc -I/home/stas/apache.org/modperl-2.0/src/modules/perl
-I/home/stas/apache.org/modperl-2.0/xs
-I/home/stas/apache.org/modperl-2.0/../httpd-2.0/include
-I/home/stas/apache.org/modperl-2.0/../httpd-2.0/srclib/apr/include
-I/home/stas/apache.org/modperl-2.0/../httpd-2.0/srclib/apr-util/include
-I/home/stas/apache.org/modperl-2.0/../httpd-2.0/os/unix -D_REENTRANT
-DDEBUGGING -fno-strict-aliasing -I/usr/local/include
-I/home/stas/perl-5.6.1/lib/5.6.1/i686-linux-thread-multi/CORE -DMOD_PERL
-g -c mod_perl.c
In file included from mod_perl.h:9,
                 from mod_perl.c:1:
modperl_flags.h:1:1: unterminated #ifndef
In file included from mod_perl.h:10,
                 from mod_perl.c:1:
modperl_hooks.h:1:1: unterminated #ifndef
In file included from modperl_log.h:8,
                 from mod_perl.h:24,
                 from mod_perl.c:1:
modperl_trace.h:107:91: warning: no newline at end of file
modperl_trace.h:107:91: warning: no newline at end of file
modperl_trace.h:1:1: unterminated #ifndef
In file included from mod_perl.h:26,
                 from mod_perl.c:1:
modperl_directives.h:130:18: warning: no newline at end of file
modperl_directives.h:130:18: warning: no newline at end of file
modperl_directives.h:1:1: unterminated #ifndef
make[1]: *** [mod_perl.o] Error 1
make[1]: Leaving directory
`/home/stas/apache.org/modperl-2.0/src/modules/perl'
make: *** [modperl_lib] Error 2

I guess that's related to the note that you haven't test the static build
for a long time. But then I can't make DSO working on my box :(

_____________________________________________________________________
Stas Bekman              JAm_pH     --   Just Another mod_perl Hacker
http://stason.org/       mod_perl Guide  http://perl.apache.org/guide
mailto:[EMAIL PROTECTED]   http://apachetoday.com http://logilune.com/
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to