Re: problem building libapreq on Solaris
Can someone please direct me to where I can unsubscribe from this list. Thanks, Jordan Ward PMO Marketing Director Dzinehaus.info Xavier Noria wrote: On Saturday 14 June 2003 20:54, Ged Haywood wrote: On Fri, 13 Jun 2003, Xavier Noria wrote: Hello, I've just compiled Apache 1.3.27 with mod_perl 1.27 from their tarballs on Solaris. perl is 5.8.0 packaged for Solaris. The installation of libapreq with cpan(1) stops here: [snip] t/httpd -f `pwd`/t/httpd.conf /bin/sh: t/httpd: not found [snip] Looks like it's taking t/httpd instead of /usr/local/apache/bin/httpd, Don't know if there's anyone who actually knows what's going on here but I thought you'd just like to hear from somebody. :) [snip] You could try a soft link from there to the real httpd - I have no idea if something else will then fail. Thank you very much, the symlink worked for libapreq-1.1. I first tried to install the just announced 1.2-rc2, but make test failed: PERL_DL_NONLAZY=1 /usr/local/bin/perl -MExtUtils::Command::MM -e test_harness(0, 'blib/lib', 'blib/arch') t/*.t t/*t/*.t does not exist FAILED--1 test script could be run, alas--no output ever seen make: *** [test_dynamic] Error 2 I have a full typescript file and subscribed to the dev mailing list to report this, I'll send it right away when I receive the confirmation of the subscription from the list manager. Thank you all! fxn -- $_=q;Barcelona Perl Mongers;,$/=y,gaudi,,,;map$,+=(split//)*(-1)**$e++, (split)[.11_09,1.714];$.=qq~~!~m~erce~;$=y,catalunya,,,$;=y,rambles,,, $*=$/^$.;$:=$.+length,[EMAIL PROTECTED]/**$*%$:,$%=$/*$-$*;print+chr($_012? 10$_:/^1/?1$_:$_)for($**($**$%-$//$/),$%-$*,$,*$/,$***$***$*,$***$, ,$[EMAIL PROTECTED]/,$**$,,$;,$***$***$*,$***$*,$.,$**$,$***$,,$***$***$**$,= ~~$.,$*$*,$***$/,$***$,,$,-$.,$[EMAIL PROTECTED]/,$;*$/**$*,$,$.,[EMAIL PROTECTED])
Re: problem building libapreq on Solaris
On Saturday 14 June 2003 20:54, Ged Haywood wrote: On Fri, 13 Jun 2003, Xavier Noria wrote: Hello, I've just compiled Apache 1.3.27 with mod_perl 1.27 from their tarballs on Solaris. perl is 5.8.0 packaged for Solaris. The installation of libapreq with cpan(1) stops here: [snip] t/httpd -f `pwd`/t/httpd.conf /bin/sh: t/httpd: not found [snip] Looks like it's taking t/httpd instead of /usr/local/apache/bin/httpd, Don't know if there's anyone who actually knows what's going on here but I thought you'd just like to hear from somebody. :) [snip] You could try a soft link from there to the real httpd - I have no idea if something else will then fail. Thank you very much, the symlink worked for libapreq-1.1. I first tried to install the just announced 1.2-rc2, but make test failed: PERL_DL_NONLAZY=1 /usr/local/bin/perl -MExtUtils::Command::MM -e test_harness(0, 'blib/lib', 'blib/arch') t/*.t t/*t/*.t does not exist FAILED--1 test script could be run, alas--no output ever seen make: *** [test_dynamic] Error 2 I have a full typescript file and subscribed to the dev mailing list to report this, I'll send it right away when I receive the confirmation of the subscription from the list manager. Thank you all! fxn -- $_=q;Barcelona Perl Mongers;,$/=y,gaudi,,,;map$,+=(split//)*(-1)**$e++, (split)[.11_09,1.714];$.=qq~~!~m~erce~;$=y,catalunya,,,$;=y,rambles,,, $*=$/^$.;$:=$.+length,[EMAIL PROTECTED]/**$*%$:,$%=$/*$-$*;print+chr($_012? 10$_:/^1/?1$_:$_)for($**($**$%-$//$/),$%-$*,$,*$/,$***$***$*,$***$, ,$[EMAIL PROTECTED]/,$**$,,$;,$***$***$*,$***$*,$.,$**$,$***$,,$***$***$**$,= ~~$.,$*$*,$***$/,$***$,,$,-$.,$[EMAIL PROTECTED]/,$;*$/**$*,$,$.,[EMAIL PROTECTED])
Re: problem building libapreq on Solaris
Ged Haywood wrote: Hi there, On Fri, 13 Jun 2003, Xavier Noria wrote: Hello, I've just compiled Apache 1.3.27 with mod_perl 1.27 from their tarballs on Solaris. perl is 5.8.0 packaged for Solaris. The installation of libapreq with cpan(1) stops here: [snip] t/httpd -f `pwd`/t/httpd.conf /bin/sh: t/httpd: not found [snip] Looks like it's taking t/httpd instead of /usr/local/apache/bin/httpd, Don't know if there's anyone who actually knows what's going on here but I thought you'd just like to hear from somebody. :) Apache::test works by creating a symlink from the real location of the httpd binary to t/httpd. For some reason the symlink wasn't created, hence the error. Apache::Test (notice the case difference) doesn't create this link and works directly with the real executable. You could try a soft link from there to the real httpd - I have no idea if something else will then fail. Right on. __ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide --- http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
Re: problem building libapreq on Solaris
Hi there, On Fri, 13 Jun 2003, Xavier Noria wrote: Hello, I've just compiled Apache 1.3.27 with mod_perl 1.27 from their tarballs on Solaris. perl is 5.8.0 packaged for Solaris. The installation of libapreq with cpan(1) stops here: [snip] t/httpd -f `pwd`/t/httpd.conf /bin/sh: t/httpd: not found [snip] Looks like it's taking t/httpd instead of /usr/local/apache/bin/httpd, Don't know if there's anyone who actually knows what's going on here but I thought you'd just like to hear from somebody. :) This is a wild stab in the dark. Guessing that the libapreq installation scripts are assuming that you're building a new Apache/mod_perl, you might in that case be expected to have a copy of the a httpd in the t directory. When you run 'make test' during an Apache build that's where the binary will be, temporarily. You could try a soft link from there to the real httpd - I have no idea if something else will then fail. You know that your mod_perl and your Perl should really be compiled with the same compiler? I always think it's best to build it yourself to be sure. 73, Ged.
Re: problem building libapreq on Solaris
On Saturday 14 June 2003 20:54, Ged Haywood wrote: Don't know if there's anyone who actually knows what's going on here but I thought you'd just like to hear from somebody. :) Sure, thank you :-). This is a wild stab in the dark. Guessing that the libapreq installation scripts are assuming that you're building a new Apache/mod_perl, you might in that case be expected to have a copy of the a httpd in the t directory. When you run 'make test' during an Apache build that's where the binary will be, temporarily. You could try a soft link from there to the real httpd - I have no idea if something else will then fail. OK. I will try to install libapreq-1.2 next Monday at work. If it does not work will try the soft link. In any case I'll say something here to let you know how it went. You know that your mod_perl and your Perl should really be compiled with the same compiler? I always think it's best to build it yourself to be sure. Hm... I didn't remember that. I installed perl using its package for Solaris. Maybe I'd better get the tarball to be sure. Thank you! -- fxn -- fxn
problem building libapreq on Solaris
Hello, I've just compiled Apache 1.3.27 with mod_perl 1.27 from their tarballs on Solaris. perl is 5.8.0 packaged for Solaris. The installation of libapreq with cpan(1) stops here: Running make test make[1]: Entering directory `/root/.cpan/build/libapreq-1.1/c' make[1]: Leaving directory `/root/.cpan/build/libapreq-1.1/c' make[1]: Entering directory `/root/.cpan/build/libapreq-1.1/Request' make[1]: Leaving directory `/root/.cpan/build/libapreq-1.1/Request' make[1]: Entering directory `/root/.cpan/build/libapreq-1.1/Cookie' make[1]: Leaving directory `/root/.cpan/build/libapreq-1.1/Cookie' t/httpd -f `pwd`/t/httpd.conf /bin/sh: t/httpd: not found make: *** [start_httpd] Error 1 /usr/local/bin/make test -- NOT OK Looks like it's taking t/httpd instead of /usr/local/apache/bin/httpd, though I entered that full path to httpd in a previous prompt. With similar settings I've just smoothly installed libapreq on Debian, do you know what can be happening? -- fxn
Re: problem building libapreq on Solaris
Xavier Noria [EMAIL PROTECTED] writes: [...] Looks like it's taking t/httpd instead of /usr/local/apache/bin/httpd, though I entered that full path to httpd in a previous prompt. With similar settings I've just smoothly installed libapreq on Debian, do you know what can be happening? We've replaced the Apache::test suite in 1.1 with an Apache::Test based one, and are planning to release it as soon as the kinks are worked out. Please try out the latest release candidate at http://httpd.apache.org/~joes/libapreq-1.2_rc2.tar.gz and see if you have better luck with the new tests. (You may need to install Apache::Test from CPAN first.) -- Joe Schaefer