Gossamer Forum
Home : General : Perl Programming :

Using Telnet?

Quote Reply
Using Telnet?
Hello,

I need to install the GD module on my server. The instrcutions that come with the module are for installation through telnet. I haven't got a clue how to do it. Any help would be greatly appreciated.



------------------
James L. Murray
VirtueTech, Inc.
www.virtuetech.com
Quote Reply
Re: Using Telnet? In reply to
You need to have telnet access to your server..

telnet is a program like FTP, but it logs you into the remote site in a command-line interface that resembles DOS, only not quite as friendly Smile

What server are you running on? DO you have shell access? Can you telnet to your server?

ISP's offer different levels of access. To really work on a server, you need to have telnet/shell access. Otherwise installing scripts like GD are extremely difficult or impossible. (Some can be installed over FTP, but others can't.)

If you answer the above questions, someone may have a better answer for you.

Quote Reply
Re: Using Telnet? In reply to
Well, it is still hard to install new modules with shell access. The ISP won't let me access the root server. So some how I have to install the modules to a local directory. There is instructions on how to do it, but I can't get it to install correctly yet. Any ideas on how to install modules locally?



------------------
www.techdevelopers.com
ASP, HTML, CGI, Flash, and more!


Quote Reply
Re: Using Telnet? In reply to
Every program/module is different. Which program/module are you trying to install?

Without root access, you can't add them to the default perl directories, so you have to set up your programs to locate them correctly.

Your ISP won't add the perl modules in for you? For them, using CPAN, it's a really easy thing, and makes their service more valuable Smile Have you asked them to do it?

Quote Reply
Re: Using Telnet? In reply to
Hello,

I'm trying to install the GD Module.

This is what I typed n according to the directions on telnet.

Code:
uranus:/ > cd GD-1.18
uranus:/GD-1.18 > perl Makefile.PL
MakeMaker (v5.4301)
Writing Makefile for libgd
Writing Makefile for GD
uranus:/GD-1.18 > make perl
gcc -c -I/usr/local/include -O -DVERSION=\"1.18\" -DXS_VERSION=\"1.18\" -fPIC -I/usr/local/lib/perl5/5.00502/sun4-solaris/CORE GD.c
sh: gcc: not found
*** Error code 1
make: Fatal error: Command failed for target `GD.o'
uranus:/GD-1.18 > make
DEFINE=''; export DEFINE INC; \
cd libgd && /usr/ccs/bin/make -e all
gcc -c -I/usr/local/include -O -DVERSION=\"0.10\" -DXS_VERSION=\"0.10\" -fPIC -I/usr/local/lib/perl5/5.00502/sun4-solaris/CORE gdfontg.c
sh: gcc: not found
*** Error code 1
make: Fatal error: Command failed for target `gdfontg.o'
Current working directory /home/paintba/GD-1.18/libgd
*** Error code 1
make: Fatal error: Command failed for target `libgd/libgd.a'
uranus:/GD-1.18 >

------------------
James L. Murray
VirtueTech, Inc.
www.virtuetech.com
Quote Reply
Re: Using Telnet? In reply to
Well, it's not finding the "Gnu C Compiler" -- "gcc" so it's not making any of the output files.

What c compiler is on your system?

If you have gcc on your system, make sure you have a path to it defined. Otherwise, you'll have to use the C compiler that is on your system.

That's something to ask your ISP.

Quote Reply
Re: Using Telnet? In reply to
Hello Pugdog,

I'm pretty positive that it is a C compiler from the search that I did.

Can you help me?

------------------
James L. Murray
VirtueTech, Inc.
www.virtuetech.com
Quote Reply
Re: Using Telnet? In reply to
you need the path and name of the c compiler. You will probably have to read the config file of the program if you are not using 'gcc' or if you are on 'solaris' (solaris usually requires a flag or two).

the 'sh gcc: not found' is telling you that your shell can't find 'gcc' either because it's not on your system, or you don't have a search path set to it.
Quote Reply
Re: Using Telnet? In reply to
Hello Pugdog,

I am trying to get the LWP::Parallel module installed. This is what I got from the HyperTerminal box:

Code:
% ls
ParallelUserAgent-2.39 dead.letter mbox
build_links.sh log public_html
% cd ParallelUserAgent-2.39
% ls
ChangeLog Makefile.PL lib
MANIFEST README t
% make
make: no target to make.
% perl Makefile.PL
Checking your version of libwww...... unsupported (but might be ok)
Checking if your kit is complete...
Looks good
Writing Makefile for LWP::Parallel
% make
mkdir blib
mkdir blib/lib
mkdir blib/lib/LWP
cp lib/LWP/Parallel/Protocol/http.pm blib/lib/LWP/Parallel/Protocol/http.pm
cp lib/LWP/Parallel.pm blib/lib/LWP/Parallel.pm
cp lib/LWP/Parallel/Protocol.pm blib/lib/LWP/Parallel/Protocol.pm
cp lib/LWP/ParallelUA.pm blib/lib/LWP/ParallelUA.pm
cp lib/LWP/Parallel/Protocol/ftp.pm blib/lib/LWP/Parallel/Protocol/ftp.pm
cp lib/LWP/Parallel/RobotUA.pm blib/lib/LWP/Parallel/RobotUA.pm
cp lib/Bundle/ParallelUA.pm blib/lib/Bundle/ParallelUA.pm
cp lib/LWP/Parallel/UserAgent.pm blib/lib/LWP/Parallel/UserAgent.pm
cp lib/LWP/RobotPUA.pm blib/lib/LWP/RobotPUA.pm
mkdir blib/arch
mkdir blib/arch/auto
mkdir blib/arch/auto/LWP
mkdir blib/arch/auto/LWP/Parallel
mkdir blib/lib/auto/LWP
mkdir blib/lib/auto/LWP/Parallel
mkdir blib/man3
Manifying blib/man3/LWP::Parallel.3
Manifying blib/man3/LWP::Parallel.3
Couldn't install blib/man3/LWP::Parallel.3
Manifying blib/man3/LWP::Parallel::Protocol.3
/usr/bin/pod2man: Invalid man page - no documentation in lib/LWP/Parallel/Protoc
ol.pm
Couldn't install blib/man3/LWP::Parallel::Protocol.3
Manifying blib/man3/LWP::Parallel::RobotUA.3
/usr/bin/pod2man: Invalid man page - no documentation in lib/LWP/Parallel/RobotU
A.pm
Couldn't install blib/man3/LWP::Parallel::RobotUA.3
Manifying blib/man3/Bundle::ParallelUA.3
/usr/bin/pod2man: Invalid man page - no documentation in lib/Bundle/ParallelUA.p
m
Couldn't install blib/man3/Bundle::ParallelUA.3
Manifying blib/man3/LWP::Parallel::UserAgent.3
/usr/bin/pod2man: Invalid man page - no documentation in lib/LWP/Parallel/UserAg
ent.pm
Couldn't install blib/man3/LWP::Parallel::UserAgent.3
Manifying blib/man3/LWP::ParallelUA.3
/usr/bin/pod2man: Invalid man page - no documentation in lib/LWP/ParallelUA.pm
Couldn't install blib/man3/LWP::ParallelUA.3
Manifying blib/man3/LWP::RobotPUA.3
/usr/bin/pod2man: Invalid man page - no documentation in lib/LWP/RobotPUA.pm
Couldn't install blib/man3/LWP::RobotPUA.3
%

It's building the directories, but not the files. Is there something I need to change in the makefile?



------------------
www.techdevelopers.com
ASP, HTML, CGI, Flash, and more!


Quote Reply
Re: Using Telnet? In reply to
I'm no expert, but I'm sure I can give you a hand.

But, in the README did you see something about running things:

make
make test
make install
make clean

I found the docs, and it's better to install the whole libwww package since certain things are dependent on one another.

Quote:

INSTALLATION

You install libwww-perl, as you would install any perl module library,
by running these commands:

perl Makefile.PL
make
make test
make install

You can edit the configuration section of Makefile.PL to select which
programs to install in addition to the library itself. If you don't
want to install any programs (only the library files) and don't want
to mess with the Makefile.PL then pass the '-n' option to Makefile.PL:

perl Makefile.PL -n

If you want to install a private copy of libwww-perl in your home
directory, then you should try to produce the initial Makefile with
something like this command:

perl Makefile.PL PREFIX=~/perl

The Makefile.PL program will start out by checking your perl
installation for a few packages that are recommended to be installed
together with libwww-perl.

Does that help??
Quote Reply
Re: Using Telnet? In reply to
I have to go look at the files...

But...
Code:
% make
make: no target to make.

is a warning/error message.

Don't you have to type something like "make install" ??
Quote Reply
Re: Using Telnet? In reply to
Pugdog,

Are you familiar with Telnet? I am assumign you are. I would pay you if you could install the GD module for me on my server.

Let me know

Thanks

------------------
James L. Murray
VirtueTech, Inc.
www.virtuetech.com
Quote Reply
Re: Using Telnet? In reply to
Hello,

The libwww package has the GD module?



------------------
James L. Murray
VirtueTech, Inc.
www.virtuetech.com
Quote Reply
Re: Using Telnet? In reply to
There are TWO threads mixed here..

one for GD.pm and one for LWP

How about we separate them again, because now I'm confused!

If you'd like me to look at your script, please email me, it will be easier to follow that way :?

GZ -- I thought I sent an email to you, I'll check again. I can look at your server, but I'm no expert.


Quote Reply
Re: Using Telnet? In reply to
Pugdog, I already got that module installed. Sorry about mixing the this thread . . .
Quote Reply
Re: Using Telnet? In reply to
Where can i get TELNET ?
Quote Reply
Re: Using Telnet? In reply to
telnet is a default protocol installed on Unix boxes (with a client available under Windows) that allows remote log on to your server.

Type 'telnet' in a window of win95, 98 or NT
and try to log on to your server. Usually your FTP ID/password is the same as your telnet.
Quote Reply
Re: Using Telnet? In reply to
Pugdog,

I didn't get that e-mail. Send it to info@virtuetech.com

Thanks for your help. I'm pulling my hair out over here.





------------------
James L. Murray
VirtueTech, Inc.
www.virtuetech.com
Quote Reply
Re: Using Telnet? In reply to
Thanx but ..

Where to get commands for Telnet and what can i do with it ?

------------------
by ReX
= = = = = = = = = = = = = = = = = = =
BANDIT@ULTIMAZONE.CH
ULTIMAZONE.CH
Quote Reply
Re: Using Telnet? In reply to
Pugdog,

Could you please help me out by going onto the server and installing this for me. I would compensate you for your time.

Let me know.

Thanks.

James L. Murray

------------------
James L. Murray
VirtueTech, Inc.
www.virtuetech.com
Quote Reply
Re: Using Telnet? In reply to
 
Quote:
you need the path and name of the c compiler. You will probably have to read the config file of the program if you are not using 'gcc' or if you are on 'solaris' (solaris usually requires a flag or two).

the 'sh gcc: not found' is telling you that your shell can't find 'gcc' either because it's not on your system, or you don't have a search path set to it.

Im having this problem with a solaris but i dont know how to set the flags that you say, were did i have to defined the path to the gcc compiler.


tnks
fernandot
Quote Reply
Re: Using Telnet? In reply to
Um, the last message was July 17. Today is May 1. I would assume he's not still sitting there waiting for a reply...

Smile

--mark