Perl problem with Shadowmaker.

yato

Newbie
Sep 18, 2007
49
38
Hi all,

Ive run into this problem with Shadowmaker and was hoping someone could help.
The program runs fine up untill the create site part.
After clicking on create site the following error occurs.

Can't locate SMSetup.pm in @INC (@INC contains: /usr/lib/perl5/5.8.7/i686-linux /usr/lib/perl5/5.8.7 /usr/lib/perl5/site_perl/5.8.7/i686-linux /usr/lib/perl5/site_perl/5.8.7 /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/5.6.2 /usr/lib/perl5/site_perl) at createsite.cgi line 31.
BEGIN failed--compilation aborted at createsite.cgi line 31.

Now a google search turns up a ton of results of people having the same issue with a ton of other perl scripts.
So it seems pretty common.
I just couldnt find one site with a clear solution.
Any ideas?
 
So Ive been researching the problem and I found a thread by one of the developers where he answers the question but Im still having no luck.

The solution he gave was to add this code before the module that needs to be called
BEGIN {
push(@INC, '/absolute_path_name/');
};

use SMSetup.pm;

I assume that where I see absolute_path_name is where I would insert /usr/bin/perl.

I have tried this and several variations but no luck.

Any ideas?
Anyone?
 
look for Tom__
he did the netlog script and i think he can help you with this ;)
great perl programmer
 
You must have the SMSetup package installed, I suppose it's a special perl package so you got the legit version of Shadowmaker or? Because else you can ask the package on the creator and else you can hope perlcpan has the script.
 
Back
Top
AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features and essential functions on BlackHatWorld and other forums. These functions are unrelated to ads, such as internal links and images. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock