Apache::Request does not come with mod_perl by default.  Download
Apache::Request through cpan.org or use the cpan cli interface by typing 'cpan'
at a shell prompt followed by "install Apache::Request".  You might have to
answer some default set up questions if you have never used the cpan cli before.

Redhat 9 had a lot of problems with Perl which caused problems with AxKit.  I
believe RedHat had perl installed improperly on release.  You might have to
rebuild perl with UTF8 support (just reinstall).  Also be careful with apache,
mod_perl, mod_ssl with the use large file support in perl. 

perl -V | grep "uselargefiles=define"

If perl uses large file support you have to compile apache,mod_perl an mod_ssl
with large file support.  If not you will get segmenation faults.

export CFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" 
export CFLAGS_SHLIB="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"

Just thought I would save you some troubleshooting :-)

Tim Hibbard
Database Admin/Programmer
Vice President For Research
Ohio University
Athens, Ohio
45701

Quoting Randall Marbach <[EMAIL PROTECTED]>:

> Hi All
> 
> I am just getting started with Axkit and I am also
> very new to Linux, Apache and  Mod_perl. I bought the
> Axkit book and I really like what I see and am anxious
> to get a working system up and running, so I can read
> and learn, and try as I go.
> 
> I am using Fedora Core 3.  I installed FC3 in server
> mode on an older Compaq deskpro EN, but I specifically
> did not install the web server. I applied all the
> latest FC3 patches and the system seems to be running
> fine.
> 
> I then used perl -MCpan -e shell to install the
> Bundle::CPAN model and exited.
> 
> I then downloaded Apache 1.3.33 and mod perl 1.29 into
> the /usr/src directory and followed the instructions
> on the perl.apache.org site including the make install
> in the apache source directory. Everything looks good
> at this point. The log files show that modperl and
> apache are configured and running.
> 
> I then edited the http.conf file and put in the
> directives as specified on the axkit.org site. I then
> created the test.xml and the test.xsp files as
> directed and placed them into the
> /usr/local/apache/htdocs dir. Using the browser to
> view test.xml  renders the file as expected.
> 
> I then created the test.xsl file and updated the
> test.xml file with the XSLT directive. This is where I
> encounter my error. The contents of the error.log file
> are:
> 
> [Thu Dec  2 15:31:54 2004] [error] [client 127.0.0.1]
> [AxKit] [Error] Load of
> 'Apache::AxKit::Language::LibXSLT' failed with:
> AxKit::load_module failed: Can't locate
> Apache/Request.pm 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.4/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.5
> /usr/lib/perl5/site_perl/5.8.4
> /usr/lib/perl5/site_perl/5.8.3
> /usr/lib/perl5/site_perl/5.8.2
> /usr/lib/perl5/site_perl/5.8.1
> /usr/lib/perl5/site_perl/5.8.0
> /usr/lib/perl5/site_perl
> /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.5
> /usr/lib/perl5/vendor_perl/5.8.4
> /usr/lib/perl5/vendor_perl/5.8.3
> /usr/lib/perl5/vendor_perl/5.8.2
> /usr/lib/perl5/vendor_perl/5.8.1
> /usr/lib/perl5/vendor_perl/5.8.0
> /usr/lib/perl5/vendor_perl . /usr/local/apache/
> /usr/local/apache/lib/perl) at
>
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/Apache/AxKit/Language/LibXSLT.pm
> line 10.\nBEGIN failed--compilation aborted at
>
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/Apache/AxKit/Language/LibXSLT.pm
> line 10.\nCompilation failed in require at (eval 18)
> line 1.\n
> [Thu Dec  2 15:31:54 2004] [error] [client 127.0.0.1]
> [AxKit] From: /usr/lib/perl5/site_perl/5.8.5/Error.pm
> : 148
> 
> 
> Looks like the process I followed did not pick up the
> Apache::Request module. Until I can wade through all
> the docs, is there anybody that can offer a solution
> to jumpstart me through this error?
> 
> TIA
> 
> Randy
> 
> 
> 
> 
>               
> __________________________________ 
> Do you Yahoo!? 
> Jazz up your holiday email with celebrity designs. Learn more.
> http://celebrity.mail.yahoo.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to