Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Installing CGI::Session problem - plz help!

Status
Not open for further replies.

Steny

MIS
Apr 30, 2003
1
US
Ok, please bare with me as I'm trying to setup a testing environment because I'm tired of having to upload files every few seconds to test them on my webspace.
Not only is it stupid and time consuming, but it's also a hazard for the site ;-P

Anyway, I installed Apache, MySQL, phpMySQL, and Perl using PHPTriad.
I then updated the phpMySQL to the most recent version (no problems there) and then installed the most recent version of ActivePerl on my comp. The shebang in my scripts uses the ActivePerl installation that I did, not the one that was installed with Apache. Regardless, scripts that don't require special packages work fine.

I installed HTML::Template without any problems (after getting an error telling me it wasn't installed), and scripts that require it are working wonderfully.

I'm running into a problem with CGI::Session however.
I installed it, but got errors. I'm trying to re-install it, but PPM just tells me that it's already installed.

Here's a sample bunch of errors I'm getting from one of my scripts...

Can't locate auto/CGI/Session/autosplit.ix in @INC (@INC contains: c:/Perl/lib c:/Perl/site/lib) at c:/Perl/lib/AutoLoader.pm line 158. at c:/Perl/lib/CGI/Session.pm line 9 syntax error at /apache/cgi-bin/leftmenu.cgi line 12, near "use DBI" Execution of /apache/cgi-bin/leftmenu.cgi aborted due to compilation errors

I've tried uninstalling the module using PPM, then re-installing it.

When I type:
ppm install CGI::Session

after uninstalling it, it installs CGI-Session-Remote
Is this the same thing? Am I mis-typing something?

Last hurdle before I can start developing. Spent 2-3 hours tonight trying to figure this out, but I've beat.

If anyone could offer me some advice on how to fix this mess, it would be much appreciated.


Steny
 
Hi Steny,

Are you installing the correct version of CGI::Session?

Mike

Want to get great answers to your Tek-Tips questions? Have a look at faq219-2884

It's like this; even samurai have teddy bears, and even teddy bears get drunk.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top