Click here to get back home

Installing arch-specific PM without shell access

 HomeNewsGroups | Search | About
 comp.lang.perl.misc    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Installing arch-specific PM without shell access Travis Spencer 05-09-2008
Posted by Travis Spencer on May 9, 2008, 11:15 am
Please log in for more thread options
Good Morning All,

I am hosting my Web site with Yahoo! small business services. I need
to get a few Perl modules installed that use compiled C code. I don't
have shell access, however, so I'm having a real hard time. I tried
the suggestion at [1]. The problem is that Yahoo! has done things to
cripple Perl-based CGI scripts, preventing that tact from working.

Since that didn't work, I tried to figure out what OS and hardware
architecture the Web server is running with the hopes that I could
find a pre-compiled binary version of the Perl modules I need. To
this end, I ran this script on the server:

#!/usr/bin/perl -w

use POSIX "uname";
use strict;

my ($sysname, $nodename, $release, $version, $machine ) = uname;

print "Content-type: text/plain\n\n";

print "System = $sysname\n";
print "Hostname = $nodename\n";
print "OS Release = $release\n";
print "OS Version = $version\n";
print "Machine Type = $machine\n";

(Using `uname -a` didn't work for similar reasons as above.) This
produced the following output:

System = FreeBSD
Hostname = travisspencer.com
OS Release = 4.11-YAHOO-20061130
OS Version = FreeBSD 4.11-YAHOO-20061130 #0:
Machine Type = i386

From this, I figured that Yahoo! was running FreeBSD 4.11 on an i386
machine. So, I went to
http://ftp2.tsinghua.edu.cn/pub/mirror/FreeBSD/ports/i386/packages-4.11-release/Latest/
and downloaded the necessary modules. I unpacked and uploaded the
contents, but when I tried to import the module, I got this error:

Can't load '/blog-mt/extlib/auto/Digest/SHA1/SHA1.so' for module
Digest::SHA1: Cannot execute objects on /p12/m/b28
at /foo/test.cgi line 5
Compilation failed in require at /foo/test.cgi line 5.

So, the dynamically loaded library can't be imported it seems but the
Perl module I uploaded is found in my search path.

Any ideas on how I might get this working?

--

Regards,

Travis Spencer

[1] http://www.perlmonks.org/?node_id=422458

Posted by smallpond on May 9, 2008, 2:39 pm
Please log in for more thread options
Travis Spencer wrote:
> Good Morning All,
>
> I am hosting my Web site with Yahoo! small business services.

I think I found your problem.
--S
** Posted from http://www.teranews.com **

Posted by Travis Spencer on May 10, 2008, 2:52 am
Please log in for more thread options
> Travis Spencer wrote:
> > I am hosting my Web site with Yahoo! small business services.
>
> I think I found your problem.

Not helpful.

--

Regards,

Travis Spencer

Similar ThreadsPosted
Installing a cgi script without shell access February 14, 2005, 12:39 am
Installing a BUNCH of modules but no Internet access! January 19, 2006, 4:58 pm
testing without shell access August 12, 2004, 8:04 am
(the simplest question of the century ?) Simple access to ... ACCESS! April 12, 2005, 7:58 pm
execute a shell script in a shell script December 3, 2007, 8:30 am
Installing JPL on Mac OS X April 22, 2005, 9:04 pm
Installing DBI on Mac OS-X.3 April 27, 2005, 4:31 am
Installing Perl in OS/2? August 17, 2004, 4:34 pm
problem installing GD-2.19 December 21, 2004, 10:10 pm
installing without man pages January 17, 2005, 10:53 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap