CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner:
trouble installing perl

 



oscarjiao
Novice

Sep 27, 2012, 1:06 PM

Post #1 of 2 (1213 views)
trouble installing perl Can't Post

Was installing perl 5.18 on a linux cluster. Since I do not have root, have to install in under my home directory.

I used the following command to install perl

Code
sh Configure -e -Dprefix=/work/[myusername]/myperl


Also specified a few extra modules that I want to install

Code
DBI DBD::SQLite Proc::ProcessTable threads IO::All IO::Prompt File::Which Perl::Unsafe::Signals Bit::Vector Inline::C PerlIO::gzip


When I ran "make", it got into a dead loop saying:
Running make for A/AD/ADAMK/DBD-SQLite-1.37.tar.gz
---- Unsatisfied dependencies detected during ----
---- ADAMK/DBD-SQLite-1.37.tar.gz ----
DBI [build_requires]
Running make for module 'DBI'
Running make for T/TI/TIMB/DBI-1.622.tar.gz
Has already been unwrapped into directory /home1/[myusername]/.cpan/build/DBI-1.622-zTyH9q
Has already been made

I loaded the sqlite module already installed in the system before I started my perl install. What is really causing this?

Something seemed suspicious to me during the process:
1. in the configure prompt, it asked:
What pager is used on your system? [/usr/bin/less -R]
File /usr/bin/less -R doesn't exist. Use that name anyway? [n]
I chose "y".
2. Lots of functions and .h files "not found". It did not kill the install though.


rovf
Veteran

Oct 17, 2012, 7:29 AM

Post #2 of 2 (829 views)
Re: [oscarjiao] trouble installing perl [In reply to] Can't Post

Well, DBI is part of the Basic distribution, so I would not specify this as an extra module.

Also, I would first install just Perl (basic distribution), see whether it works, and THEN install the other modules.

Finally, I guess that the install program guesses the pager from the environment (maybe environment variable PAGER), but expects it to be just the pager program, but not any pager options. I would just set less as a pager, and put the options into the environment variable LESS (see the man-page for less).

HTH,

Ronald

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives