SunQuest
           Perl Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesPerl Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today!
  #1  
Old May 6th, 2000, 03:33 AM
rtna rtna is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2000
Posts: 79 rtna User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
In test.pl
use Apache::Sandwich
[]#perl test.pl
[]# Can't locate Apache/Sandwich.pm in @NIC <@NIC contain: /usr/lib/perl5/5.00503/i386-linux /usr/lib/perl5/5.00503 /usr/lib/perl5/site_perl/5.005/i386-linux....> at test.pl
Does anyone what it means ?
and how to correct it ?
Thanks

Reply With Quote
  #2  
Old May 6th, 2000, 03:48 AM
freebsd
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
What's up.
That means Sandwich.pm can't be found from @INC paths.
To correct this, you can either make a symlink to the known paths. Or you can add a line above "use Apache::Sandwich" line.
If Sandwich.pm is installed in:
/usr/local/lib/perl5/site_perl/5.6.0/Apache/
You need to add the use lib line below like this:

use lib "/usr/local/lib/perl5/site_perl/5.6.0";
use Apache::Sandwich;

Reply With Quote
  #3  
Old May 6th, 2000, 05:41 AM
rtna rtna is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2000
Posts: 79 rtna User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
Hello,
/etc/httpd/http.conf
<IfModule mod_perl.c>
...
</IfModule>
I try to search the file of mod_perl.c....guest what
0 file found...
So, Maybe command "PerlHandler" or Mod_perl not included in my server configuration.
But I #rpm -qa|grep perl
mod_perl-1.21-2
perl-5.00503-6
perl-Apache-Sandwich-2.01-2
---------------------------
What should I do now ?

[This message has been edited by rtna (edited May 06, 2000).]

Reply With Quote
  #4  
Old May 6th, 2000, 08:17 AM
freebsd
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Check and see if libperl.so is found in /usr/local/apache/libexec or /usr/local/libexec/apache or whatever path.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPerl Programming > Can't locate Apache/Sandwich.pm


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway