server admins

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kenny
    Confirmed User
    • Mar 2002
    • 7245

    #1

    server admins

    I recently purchased a script "econfirmpro" after I installed it and set the permissions I get the following syntax when trying to execute the progam by the command line....


    [root@38-241 confirm]# ./econfirmpro.cgi
    Can't locate LWP.pm in @INC (@INC contains: /usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0 /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl .) at ./econfirmpro.cgi line 21.
    BEGIN failed--compilation aborted at ./econfirmpro.cgi line 21.
    [root@38-241 confirm]#


    Now It is to my understanding the wwwlib perl modules where not installed. I spoken with my host several times over the past couple days and they still havent gotten them installed.
    How complicated is it to install these modules and correct this error? I really havent a clue, but I am thinking of attempting to do it myself
    7
  • ServerGenius
    Confirmed User
    • Feb 2002
    • 9377

    #2
    It's VERY simple....just download the modules untar

    tar -xfz file.tar.gz read the INSTALL file you can't go wrong with
    it.....just give it a go!

    DynaMite
    | http://www.sinnerscash.com/ | ICQ: 370820 | Skype: SinnersCash | AdultWhosWho |

    Comment

    • frankfortuna
      Confirmed User
      • Aug 2002
      • 1504

      #3
      Since it appears you have root access to the perl installation, it's a piece of cake. If you do not have root access, you can amend your script to look for the libraries in an alternate location. Example:

      #!/usr/bin/perl -wI/usr/home/your/perl

      Comment

      • kenny
        Confirmed User
        • Mar 2002
        • 7245

        #4
        I really have no idea what I am doing.

        [root@38-241]# tar -xfz libwww-perl-5.10.tar.gz
        tar: z: Cannot open: No such file or directory
        tar: Error is not recoverable: exiting now
        [root@38-241]#


        Thanks anyways guys, I am gonna talk to my host again tommorrow
        7

        Comment

        • NetRodent
          Confirmed User
          • Jan 2002
          • 3985

          #5
          Its even easier to install perl modules with the CPAN shell. Try typing 'cpan' at the command prompt. If that doesn't work, run the following script:

          Code:
          #!/usr/bin/perl
          
          eval 'exec /usr/bin/perl  -S $0 ${1+"$@"}'
              if 0; # not running under some shell
          
          use CPAN;
          shell;
          All you have to do is type "install Example::Module" and it will download, complile and install the module. It will also download
          and install any other perl modules that the module you're installing requires.

          The cpan shell is great for simple installations where everything works the first time. If you need to install library files or if you have problems compiling you're probably better off eschewing the cpan shelling and compiling by hand.
          "Every normal man must be tempted, at times, to spit on his hands, hoist the black flag, and begin slitting throats."
          --H.L. Mencken

          Comment

          • kenny
            Confirmed User
            • Mar 2002
            • 7245

            #6


            I did it I had to install WWW-lib.pm, HTML-paser.pm, HTML-tagset.pm, and MIME-base.pm
            My server people couldnt do this in two days time? And I figured it out in 2 hours
            7

            Comment

            Working...