Re: error using conf.pl

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 2006/7/18, Tomas Kuliavas <tokul@xxxxxxxxxxxxxxxxxxxxx>:
>>
>> >> Ok.
>> >>
>> >> let's load all modules that are loaded by SM.
>> >>
>> >> --test.pl script--
>> >> #!/usr/bin/env perl
>> >> use Cwd;
>> >> print "Hello world\n";
>> >>
>> >> sub some_subroutine {
>> >>   use IO::Socket;
>> >> }
>> >> ---
>> >
>> >
>> > Hi,
>> >
>> > now again comes a similiar error thread:
>> >
>> > Can't load '/usr/local/lib/perl/5.8.4/auto/IO/IO.so' for module IO:
>> > /usr/local/lib/perl/5.8.4/auto/IO/IO.so: cannot open shared object
>> file:
>> > No
>> > such file or directory at /usr/lib/perl/5.8/XSLoader.pm line 68.
>> >  at /usr/local/lib/perl/5.8.4/IO.pm line 11
>> > Compilation failed in require at
>> /usr/local/lib/perl/5.8.4/IO/Handle.pm
>> > line
>> > 262.
>> > BEGIN failed--compilation aborted at
>> > /usr/local/lib/perl/5.8.4/IO/Handle.pm
>> > line 262.
>> > Compilation failed in require at
>> /usr/local/lib/perl/5.8.4/IO/Socket.pm
>> > line
>> > 11.
>> > BEGIN failed--compilation aborted at
>> > /usr/local/lib/perl/5.8.4/IO/Socket.pm
>> > line 11.
>> > Compilation failed in require at ./test.pl line 6.
>> > BEGIN failed--compilation aborted at ./test.pl line 6.
>> >
>> > I know there is a second perl version located in
>> /usr/ocal/lib/perl/5.8.7
>> >
>> > Is there a possibility to hard link to this Version. So this specific
>> > script you gave me uses the 5.8.7 instead of 5.8.4?
>>
>> ---
>> #!/usr/bin/env perl
>> ---
>>
>> This line controls used perl interpreter. Put full path to perl instead
>> of
>> '/usr/bin/env perl'
>>
>> Or show output of 'whereis perl' command.
>>
>> Your perl installation does not have IO module. Module is used when
>> SquirrelMail tries to detect supported smtp and imap authentication
>> types.
>
>
> hmm, seems like they messed up something with 5.8.7.
> When making a hardlink to it i get the error message:
> -shell: ./test.pl: /usr/local/lib/perl/5.8.7: bad interpreter: Permission
> denied
>
> First i thought they didn't gave me permission to this folder but i think
> there is something wrong with it, cause there are less files than in 5.8.4
>
> 5.8.4 contains
> Attribute  Crypt   Date           DateTimePPExtra.pm  HTML   Mysql.pm
> Storable.pm  auto
> BSD        DBD     DateTime       Digest              IO     Net
> Text         perllocal.pod
> Bit        DBI     DateTime.pm    GD                  IO.pm  Params
> Unicode      qd.pl
> Bundle     DBI.pm  DateTimePP.pm  GD.pm               Mysql  Roadmap.pod
> Win32
>
> and 5.8.7 just
> BSD  Bundle  DBD  DBI.pm  Digest  GD.pm  Mysql     Net
> Storable.pm
> auto         qd.pl
> Bit  Crypt   DBI  Date    GD      Image  Mysql.pm  Roadmap.pod  Win32
> perllocal.pod
>
>
> Ahh, before i forget whereis perl shows:
> perl: /usr/bin/perl /usr/lib/perl /usr/local/bin/perl /usr/local/lib/perl
> /usr/share/perl
>
> looked in every listed folder but beside /usr/local/lib/perl there is just
> 5.8 or 5.8.4 and the executable files give ma an 5.8.4 when executing with
> --version flag!

/usr/bin/perl --version
/usr/local/bin/perl --version

use #!/usr/bin/perl or #!/usr/local/bin/perl in test.pl file header.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
--
squirrelmail-users mailing list
Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

[Index of Archives]     [Video For Linux]     [Yosemite News]     [Yosemite Photos]     [gtk]     [KDE]     [Cyrus SASL]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux