in reply to Installing modules via PPM (Was: Software errors:)

If the remote server is the same architecture (eg: both Win32 on Intel) then yes, the files could work on the remote machine. You would need to put them in a 'lib' directory and add it to @INC in your scripts (eg: use lib 'E:/my/new/lib'). If you have write permissions on the remote machine then yes, you can install modules without a command line.

  • Comment on Re: Installing modules via PPM (Was: Software errors:)

Replies are listed 'Best First'.
Re: Re: Installing modules via PPM (Was: Software errors:)
by cal (Beadle) on Nov 02, 2002 at 01:42 UTC
    Hello,

    OK so I have :
    use lib qw(/u/web/smpsvc/cgi-local/lib/); use GD;

    Not sure if this is correct but now I get these errors:
    Software error: GD object version 1.18 does not match $GD::VERSION 1.27 at /usr/local/ +lib/perl56/5.6.0/irix-n32-mips3/DynaLoader.pm line 219. For help, please send mail to the webmaster (webmaster@smpsv.com), giv +ing this error message and the time and date of the error. Content-ty +pe: text/html Software error: [Fri Nov 1 20:36:41 2002] DynaLoader.pm: GD object version 1.18 does n +ot match $GD::VERSION 1.27 at /usr/local/lib/perl56/5.6.0/irix-n32-mi +ps3/DynaLoader.pm line 219. Compilation failed in require at /usr/loc +al/lib/perl56/5.6.0/irix-n32-mips3/DynaLoader.pm line 219. For help, please send mail to the webmaster (webmaster@smpsv.com), giv +ing this error message and the time and date of the error. Content-ty +pe: text/html Software error: [Fri Nov 1 20:36:41 2002] GD.pm: [Fri Nov 1 20:36:41 2002] DynaLoader. +pm: GD object version 1.18 does not match $GD::VERSION 1.27 at /usr/l +ocal/lib/perl56/5.6.0/irix-n32-mips3/DynaLoader.pm line 219. [Fri Nov + 1 20:36:41 2002] GD.pm: Compilation failed in require at /usr/local/ +lib/perl56/5.6.0/irix-n32-mips3/DynaLoader.pm line 219. BEGIN failed- +-compilation aborted at /u/web/smpsvc/cgi-local/thumbnail.cgi line 18 +.
    Thanks

      Your server is running IRIX not Win32 - you cannot load Win32 binaries onto a Unix box and expect them to run.

      The only way forward is to ask someone with admin priviliges on the server to install libgd and GD.pm

Re: Re: Installing modules via PPM (Was: Software errors:)
by cal (Beadle) on Nov 02, 2002 at 01:31 UTC
    Thanks
    I'll give it a try.

    Cal