Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19
Perl module problem
Results 1 to 4 of 4

Thread: Perl module problem

  1. #1
    Advisor Outlaw's Avatar
    Join Date
    May 2001
    Location
    Clifton Park, NY
    Posts
    630

    Perl module problem

    Greets,
    I'm trying to use clusterssh which uses two perl modules. I compiled and installed the two modules and did as the clusterssh readme suggested:

    Code:
    For each of these modules, run the following command.  If it fails, download
    and install the module from http://search.cpan.org/
            Tk, Config::Simple
    
            $ perl -M<module> -e "print"
    i.e.
            $ perl -MTk -e "print"
    This does not work as a regular user. Each of those verifications works for root. The program launches if i run as root, but of course I use no direct root ssh access.

    Code:
    $ perl -MTk -e "print"
    Can't locate Tk/Event.pm in @INC (@INC contains: /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 .) at /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Tk.pm line 13.
    BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Tk.pm line 13.
    Compilation failed in require.
    BEGIN failed--compilation aborted.
    Code:
    # perl -MTk -e "print"
    #
    This looks like an environment or permission problem, but not sure where to begin. Modules were installed using

    Code:
    unpack to /tmp
    cd into module dir
    
    perl Makefile.PL
    make
    make test
    make install
    Any help would be most appreciated



  2. #2
    Mentor Stuart's Avatar
    Join Date
    May 2002
    Location
    nb.ca
    Posts
    1,087

    Re:Perl module problem

    You could (as the user) use perl -MCPAN -e 'install Module::Name::Here'

    That's not exactly elegant..

    If nobody here posts something better, I'd check the perl beginners mailing list.

  3. #3

    Re:Perl module problem

    Check for the modules in /usr/lib/perl or /usr/lib/perl5. Make sure the permissions all look good.

  4. #4
    Advisor Outlaw's Avatar
    Join Date
    May 2001
    Location
    Clifton Park, NY
    Posts
    630

    Re:Perl module problem

    [quote author=Tyr_7BE link=board=2;threadid=10412;start=0#msg93845 date=1115173854]
    Check for the modules in /usr/lib/perl or /usr/lib/perl5. Make sure the permissions all look good.
    [/quote]

    Gaah! Good 1

    The directories were installed according to root's strict umask. So a simple
    Code:
    find . -type d -exec chmod 755 {} \;
    in the /usr/lib/perl5/site_perl/5.8.0 directory fixed it.

    Thanks for the responses both!

    karma++ x2

Similar Threads

  1. Some Perl Questions, File::Find Module
    By shebang in forum Linux - Software, Applications & Programming
    Replies: 18
    Last Post: 04-03-2004, 07:25 PM
  2. newbie perl question using Net::OSCAR module
    By countach44 in forum Linux - Software, Applications & Programming
    Replies: 12
    Last Post: 12-10-2003, 04:09 AM
  3. Linux module problem
    By Tuzinor in forum Linux - Hardware, Networking & Security
    Replies: 0
    Last Post: 10-11-2002, 03:26 AM
  4. Problem #2:perl-base >= 5.600-29mdk errors (RPM issue)
    By Gahwani in forum Linux - General Topics
    Replies: 2
    Last Post: 10-09-2002, 04:43 AM
  5. MP3::Info (perl module)
    By in forum Linux - Software, Applications & Programming
    Replies: 2
    Last Post: 07-20-2002, 10:10 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •