perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From allen haim <al...@netherrealm.net>
Subject Re: mod_perl/embperl compiling
Date Mon, 20 Jun 2005 02:19:00 GMT
I had the same problem -- the problem is that CGI.pm is still using the old
Apache namespace.

I'm not at work so I don't remember exactly, but I believe you have to get
the latest CGI.pm, which has been updated for Apache2. 

Don't try to install Apache::Response -- basically anything Apache::xxx is
old.

Allen

On Sun, Jun 19, 2005 at 05:42:21PM -0400, Ruben Safir wrote:
> BTW
> 
> The make test fails on
> 
> Input:          test/html/upload.htm
> Output:         test/tmp/out.htm
> Log:            test/tmp/test.log
> Testparameter:
>   noloop = 1
>   reqbody = Hi there!
>   query_info = multval=A&multval=B&multval=C&single=S
>   offline = 0
> 
>  ERRORS detected! NOT all tests have been passed successfully
> 
> 
> Found unexpected output in httpd errorlog:
> [Sun Jun 19 17:39:19 2005] [error] [12053]ERR:  24:  Error in Perl code: Can't locate
Apache/Response.pm in @INC (@INC contains: /usr/src/embperl/blib/arch /usr/src/embperl/blib/lib
. /usr/lib/perl5/5.8.5/i586-linux-thread-multi /usr/lib/perl5/5.8.5 /usr/lib/perl5/site_perl/5.8.5/i586-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.5/i586-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/src/embperl/test) at /usr/lib/perl5/5.8.5/CGI.pm
line 186.\nCompilation failed in require at /usr/src/embperl/blib/lib/Embperl.pm line 269.\n
> make: *** [test_dynamic] Error 1
> 
> and when I try to install Apache::Response thourgh CPAN it walks me through a 
> batch module installs, one of which tries to rebuild mod_perl with apache, but 
> only works with Apache 1.3x
> 
> 
> 
> Ruben
> 
> 
> On Sun, Jun 19, 2005 at 05:25:13PM -0400, Ruben Safir wrote:
> > Well
> > 
> > The server seems to say that embperl and mod_perl is there but NOTHING
> > I seem to do makes to work.
> > 
> > lsof is not even showing the embperl log file is open
> > 
> > Relavent sections of httpd.conf in Apache 2 is as follows
> > 
> > LoadModule perl_module modules/mod_perl.so
> > LoadModule  embperl_module  /usr/lib/perl5/site_perl/5.8.5/i586-linux-thread-multi/auto/Embperl/Embperl.so
> > 
> > ....
> > 
> > <VirtualHost *:80>
> >     ServerAdmin ruben@mrbrklyn.com
> >     DocumentRoot /usr/local/apache/htdocs/nylxs/
> >     ServerName www.nylxs.com
> >     PerlModule Embperl
> >     ErrorLog logs/nylxs_error_log
> >     CustomLog logs/nylxs_access_log common
> >     <Location /x >
> >            SetHandler  perl???script
> >            PerlHandler Embperl
> >            Options     ExecCGI
> >     </Location>
> > </VirtualHost>
> > 
> > 
> > On Sun, Jun 12, 2005 at 02:57:22PM -0400, Ruben Safir wrote:
> > 
> > > 
> > > I finished with the embperl compiling for apache2 and I'm a little
> > > bewildered, being this is my first look at apach2.
> > > 
> > > Does it not take anymore, the need to compile mod_perl into apache2 and with
> > > embperl explicitley, like I used to have to do?  Or is this now all done through
> > > and conf system?
> > > 
> > > Ruben
> > > 
> > > 
> > > -- 
> > > __________________________
> > > Brooklyn Linux Solutions
> > > 
> > > So many immigrant groups have swept through our town 
> > > that Brooklyn, like Atlantis, reaches mythological 
> > > proportions in the mind of the world  - RI Safir 1998
> > > 
> > > DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002
> > > http://fairuse.nylxs.com
> > > 
> > > "Yeah - I write Free Software...so SUE ME"
> > > 
> > > http://www.mrbrklyn.com - Consulting
> > > http://www.inns.net <-- Happy Clients
> > > http://www.nylxs.com - Leadership Development in Free Software
> > > http://www2.mrbrklyn.com/resources - Unpublished Archive or stories and articles
from around the net
> > > http://www2.mrbrklyn.com/downtown.html - See the New Downtown Brooklyn....
> > > 
> > > 
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> > > For additional commands, e-mail: embperl-help@perl.apache.org
> > 
> > -- 
> > __________________________
> > Brooklyn Linux Solutions
> > 
> > So many immigrant groups have swept through our town 
> > that Brooklyn, like Atlantis, reaches mythological 
> > proportions in the mind of the world  - RI Safir 1998
> > 
> > DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002
> > http://fairuse.nylxs.com
> > 
> > "Yeah - I write Free Software...so SUE ME"
> > 
> > http://www.mrbrklyn.com - Consulting
> > http://www.inns.net <-- Happy Clients
> > http://www.nylxs.com - Leadership Development in Free Software
> > http://www2.mrbrklyn.com/resources - Unpublished Archive or stories and articles
from around the net
> > http://www2.mrbrklyn.com/downtown.html - See the New Downtown Brooklyn....
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> > For additional commands, e-mail: embperl-help@perl.apache.org
> 
> -- 
> __________________________
> Brooklyn Linux Solutions
> 
> So many immigrant groups have swept through our town 
> that Brooklyn, like Atlantis, reaches mythological 
> proportions in the mind of the world  - RI Safir 1998
> 
> DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002
> http://fairuse.nylxs.com
> 
> "Yeah - I write Free Software...so SUE ME"
> 
> http://www.mrbrklyn.com - Consulting
> http://www.inns.net <-- Happy Clients
> http://www.nylxs.com - Leadership Development in Free Software
> http://www2.mrbrklyn.com/resources - Unpublished Archive or stories and articles from
around the net
> http://www2.mrbrklyn.com/downtown.html - See the New Downtown Brooklyn....
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> For additional commands, e-mail: embperl-help@perl.apache.org
> 

-- 

happy random U.S. amendment to a war crimes treaty, Apr 6., 1984:

... SHALL NOT APPLY TO DISPUTES WITH ANY CENTRAL AMERICAN STATE



---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message