----------  Forwarded Message  ----------

Subject: installing perl
Date: Friday 05 November 2004 11:26 am
From: "Stephan M. Ellis" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]

Hi, I am developing a linux based router os, and it is coming along nicely.
The only thing I can think of to make it better would be to have a nice
implementation of perl installed in it.  I need to install it to a directory
that is not standard.  For example, my router os' root file system is the
directory:

/root/dev/nx1.1/dist/base-1.1p

I need to install perl as if that directory were /, because it is when I put
the system onto compact flash and boot it on my router.  I could not get this
to work with the stable.tar.gz package, so I installed it like you normally
would, and then copied the perl5.8.4 binary
to /root/dev/nx1.1/dist/base-1.1p/usr/bin and make a symbolic link to it
called perl in the same directory.  I then copied /usr/lib/perl5 directory
to /root/dev/nx1.1/dist/base-1.1p/usr/lib of my router os' /usr/lib
directory.  It seems to work that way, I know this because I wrote a few
scripts to test out the installation.  The only error I get is when using
IO::Socket::INET.  When I try to run a simple udp server, it tells me Bad
protocol 'udp'.  The same exact script works on my developement machine, just
not in my router os, either on the router, or in a chroot environment.  The
only thing I can think of is that I need to copy something else from my
developement machine, maybe a library or a perl related directory.  Thanks
for any help in advance.  -stephan

-------------------------------------------------------

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to