[MP2] Bug report - errors when compiling with MP_DEBUG flag

2005-06-02 Thread William McKee
-8<-- Start Bug Report 8<-- 1. Problem Description: While trying to track down a segfault that is occurring with Image::Magick, I went to build a version of mod_perl with debugging flags. Unfortunately this does not build for me under FreeBSD 5.3. Here is t

Re: [MP2] Bug report - errors when compiling with MP_DEBUG flag

2005-06-04 Thread Stas Bekman
William McKee wrote: -8<-- Start Bug Report 8<-- 1. Problem Description: While trying to track down a segfault that is occurring with Image::Magick, I went to build a version of mod_perl with debugging flags. Unfortunately this does not build for me under

Re: [MP2] Bug report - errors when compiling with MP_DEBUG flag

2005-06-05 Thread William McKee
On Sat, Jun 04, 2005 at 09:29:53PM +1000, Stas Bekman wrote: > >/stubs/usr_local/src/mod_perl-2.0.0/src/modules/perl/modperl_util.c:472: > >undefined reference to `apr_os_thread_current' > >*** Error code 1 > > William, please try: > http://perl.apache.org/docs/2.0/user/troubleshooting/troublesho

Re: [MP2] Bug report - errors when compiling with MP_DEBUG flag

2005-06-06 Thread Stas Bekman
William McKee wrote: On Sat, Jun 04, 2005 at 09:29:53PM +1000, Stas Bekman wrote: /stubs/usr_local/src/mod_perl-2.0.0/src/modules/perl/modperl_util.c:472: undefined reference to `apr_os_thread_current' *** Error code 1 William, please try: http://perl.apache.org/docs/2.0/user/troubleshooting

Re: [MP2] Bug report - errors when compiling with MP_DEBUG flag

2005-06-06 Thread William McKee
On Tue, Jun 07, 2005 at 09:34:29AM +1000, Stas Bekman wrote: > William, as you can see from the source src/modules/perl/modperl_util.h > > #if defined(MP_TRACE) && defined(APR_HAS_THREADS) > #define MP_TRACEf_TID "/tid 0x%lx" > #define MP_TRACEv_TID (unsigned long)apr_os_thread_current() > >

Re: [MP2] Bug report - errors when compiling with MP_DEBUG flag

2005-06-07 Thread Stas Bekman
William McKee wrote: On Tue, Jun 07, 2005 at 09:34:29AM +1000, Stas Bekman wrote: William, as you can see from the source src/modules/perl/modperl_util.h #if defined(MP_TRACE) && defined(APR_HAS_THREADS) #define MP_TRACEf_TID "/tid 0x%lx" #define MP_TRACEv_TID (unsigned long)apr_os_thread_

Re: [MP2] Bug report - errors when compiling with MP_DEBUG flag

2005-06-09 Thread William McKee
On Tue, Jun 07, 2005 at 11:35:46PM +1000, Stas Bekman wrote: > That's OK, William. But you aren't after defined symbols in .so, you are > after the APR_HAS_THREADS define which should be undef. Moreover, you are > building a static version so the symbols aren't coming from .so but .a/.la > archi

Re: [MP2] Bug report - errors when compiling with MP_DEBUG flag

2005-06-11 Thread Stas Bekman
William McKee wrote: [...] If you look at the linking command that you've pasted in the original report it had: /usr/local/src/httpd-2.0.54/srclib/apr/libapr-0.la which is the one that you need to check. Actually, I had taken a look in that file but there's nothing being defined in there.