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
> archives.
OK, that's useful to know.
> 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.
> >I then grepped by mod_perl and httpd source directories for header files
> >which defined APR_HAS_THREADS. I changed srclib/apr/include/apr.h and
> >srclib/apr/include/apr.hnw then reconfigured mod_perl but it still
> >failed.
>
> Please find all occurences of apr.h and check the value of APR_HAS_THREADS.
OK, I ran the following command and have found the file which set that
value to 1:
find / -name *apr.h -print -exec grep APR_HAS_THREADS {} \;
After setting it to 0, I reran the build process. That appears to be
working now but I'm still having some problems with tests failing :(.
The important thing is the debug flags should be on for this build. I
can live with some of the tests failing.
Thanks,
William
--
Knowmad Services Inc.
http://www.knowmad.com