> Is the called script a standalone CGI script or is it executed under > mod_perl?
I would like to try both. Should both work? > Did you done a > > use Embperl ; > ? In my httpd.conf I have PerlModule Embperl LoadModule embperl_module /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/Embperl/Embperl.so and I have done use Embperl; $udat = Embperl::Req::GetSession(); in the called script, and it still gives the same error. When I run under mod_perl, it's: [Thu Jun 09 15:16:33 2005] [error] [client 127.0.0.1] Can't locate auto/Embperl/CurrReq.al in @INC (@INC contains: /usr/lib/perl5/5.8.5/i386-linux-thread-multi /usr/lib/perl5/5.8.5 /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.4/usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl . /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/Embperl) at /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/Embperl.pm line 350, referer: http://127.0.0.1/warreng/results/results-nav.html?run_dir=/usr/local/apache2/htdocs/warreng/runs/1118247449;species=Drosophila%20melanogaster%204.0;hits_file=/usr/local/apache2/htdocs/warreng/runs/1118247449/hits.xml; ------------ and when I run under cgi-bin, it's [Thu Jun 09 15:09:32 2005] [error] [client 127.0.0.1] Use of inherited AUTOLOAD for non-method Embperl::CurrReq() is deprecated at /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/Embperl.pm line 350., referer: http://127.0.0.1/warreng/results/results-nav.html?run_dir=/usr/local/apache2/htdocs/warreng/runs/1118247449;species=Drosophila%20melanogaster%204.0;hits_file=/usr/local/apache2/htdocs/warreng/runs/1118247449/hits.xml; [Thu Jun 09 15:09:32 2005] [error] [client 127.0.0.1] Can't locate auto/Embperl/CurrReq.al in @INC (@INC contains: /usr/lib/perl5/5.8.5/i386-linux-thread-multi /usr/lib/perl5/5.8.5 /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.4/usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl . /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/Embperl) at /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/Embperl.pm line 350, referer: http://127.0.0.1/warreng/results/results-nav.html?run_dir=/usr/local/apache2/htdocs/warreng/runs/1118247449;species=Drosophila%20melanogaster%204.0;hits_file=/usr/local/apache2/htdocs/warreng/runs/1118247449/hits.xml; -------------- I don't have any experience with auto/Dynaload/etc. How can I tell if Embperl.pm is importing all the correct symbols from Embperl.so? Thank you Allen On Thu, Jun 09, 2005 at 06:42:57AM +0200, Gerald Richter wrote: > > > > now I am doing only this: > > > > $udat = Embperl::Req::GetSession(); > > > > Did you done a > > use Embperl ; > ? > > > in the called script; however I still get the error: > > Is the called script a standalone CGI script or is it executed under > mod_perl? > > > > > what is CurrReq.al and why does it not exist? > > > > Perl tries to find Embperl::CurrReq (), but it is not loaded, so it tries to > find it as autoload function, which also not exists. > > Actually it is defined in Embperl.so, which seems not correctly initialized. > > Gerald > > > -- now through the seven oceans, i am a star most famed; many leggies have I lost, many have I gained. -donovan --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]