Re: mp2 apr-ext/uuid test failed

2004-01-02 Thread Stas Bekman
[EMAIL PROTECTED] wrote: -8<-- Start Bug Report 8<-- 1. Problem Description: I'm glad to report that the 'make test' starts my httpd server ok now. (apache 2.0.48, solaris 8, gcc 3.3.1, and perl 5.8.2) However I got the following errors: apr-ext

Re: [mp2] apr-ext/uuid.t fails on solaris

2004-01-02 Thread Stas Bekman
Brad Lanam wrote: On Fri, Jan 02, 2004 at 03:50:11PM -0800, Stas Bekman wrote: What's the mnemonic for $tflags? temp flags. s/tflags/newlddlflags/g OK, Thanks. does this work? Yes. Makefile is correct. APR.so is linked correctly. Perfect. Now committed (with extra comments). Tha

Re: [mp2] apr-ext/uuid.t fails on solaris

2004-01-02 Thread Brad Lanam
On Fri, Jan 02, 2004 at 03:50:11PM -0800, Stas Bekman wrote: > What's the mnemonic for $tflags? temp flags. s/tflags/newlddlflags/g > does this work? Yes. Makefile is correct. APR.so is linked correctly. -- Brad LD_RUN_PATH="/export/apache2_dev/lib:/usr/lib" cc -L/export/apac

Re: [mp2] apr-ext/uuid.t fails on solaris

2004-01-02 Thread Stas Bekman
Brad Lanam wrote: On Fri, Jan 02, 2004 at 02:21:13PM -0800, Stas Bekman wrote: How about the following trickery. It arranges that LDDFLAGS will come after LIBS, making sure that apache's -Rpath will come in first. This is untested. No. I don't think that's a good idea. LDDLFLAGS has a b

Re: [mp2] apr-ext/uuid.t fails on solaris

2004-01-02 Thread Brad Lanam
On Fri, Jan 02, 2004 at 02:21:13PM -0800, Stas Bekman wrote: > How about the following trickery. It arranges that LDDFLAGS will come after > LIBS, making sure that apache's -Rpath will come in first. This is untested. No. I don't think that's a good idea. LDDLFLAGS has a bunch of -L args,

Re: [mp2] apr-ext/uuid.t fails on solaris

2004-01-02 Thread Stas Bekman
Brad Lanam wrote: On Fri, Jan 02, 2004 at 12:53:18PM -0800, Stas Bekman wrote: Before we try to fix EU::MakeMaker, how about this workaround patch? Your patch works. www:sadm$ ldd `find . -name 'APR.so'` libapr-0.so.0 => /export/apache2_dev/lib/libapr-0.so.0 [...] libapr

Re: [mp2] apr-ext/uuid.t fails on solaris

2004-01-02 Thread Brad Lanam
On Fri, Jan 02, 2004 at 12:53:18PM -0800, Stas Bekman wrote: > Before we try to fix EU::MakeMaker, how about this workaround patch? Your patch works. www:sadm$ ldd `find . -name 'APR.so'` libapr-0.so.0 => /export/apache2_dev/lib/libapr-0.so.0 [...] libaprutil-0.so.0 =>

Re: [mp2] apr-ext/uuid.t fails on solaris

2004-01-02 Thread Stas Bekman
Brad Lanam wrote: On Thu, Jan 01, 2004 at 06:34:49PM -0800, Stas Bekman wrote: So why doesn't it do the same for perl's ldflags? Your have: ldflags ='-xO3 -L/usr/local/lib -R/usr/local/lib -L/usr/lib -L/usr/ccs/lib -L/opt/SUNWspro/prod/lib ' why doesn't it push -L/usr/local/lib into LD_RUN_PATH?

Re: [mp2] apr-ext/uuid.t fails on solaris

2004-01-02 Thread Brad Lanam
On Thu, Jan 01, 2004 at 06:34:49PM -0800, Stas Bekman wrote: > So why doesn't it do the same for perl's ldflags? Your have: > > ldflags ='-xO3 -L/usr/local/lib -R/usr/local/lib -L/usr/lib -L/usr/ccs/lib > -L/opt/SUNWspro/prod/lib ' > > why doesn't it push -L/usr/local/lib into LD_RUN_PATH? Is it b

Re: [mp2] apr-ext/uuid.t fails on solaris

2004-01-02 Thread twh
> Can you please run: > % grep DMP_HAVE_APR_LIBS Makefile > You probably have 'DEFINE = -DMP_HAVE_APR_LIBS' You are correct that I do have this statement in the Makefile. > Next, can you please add debug statements to get_DEFINE() in the top level > Makefile.PL, dumping the value of @apr_libs