LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-26-2008, 03:32 AM   #1
tester^_^
Member
 
Registered: Apr 2006
Location: somewhere in malaysia
Distribution: redhat
Posts: 78

Rep: Reputation: 15
perl


when install perl module i got this problem.. have some idea?

cpan[11]> install RPC::PlServer
Running install for module 'RPC::PlServer'
Running make for M/MN/MNOONING/PlRPC/PlRPC-0.2020.tar.gz
Prepending /root/.cpan/build/Net-Daemon-Pj9rTe/blib/arch /root/.cpan/build/Net-Daemon-Pj9rTe/blib/lib to PERL5LIB for 'get'
Has already been unwrapped into directory /root/.cpan/build/PlRPC-OIl76J
Prepending /root/.cpan/build/Net-Daemon-Pj9rTe/blib/arch /root/.cpan/build/Net-Daemon-Pj9rTe/blib/lib to PERL5LIB for 'make'
Could not make: Unknown error
Prepending /root/.cpan/build/Net-Daemon-Pj9rTe/blib/arch /root/.cpan/build/Net-Daemon-Pj9rTe/blib/lib to PERL5LIB for 'test'
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
 
Old 06-26-2008, 11:56 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2019 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,316

Rep: Reputation: 3578Reputation: 3578Reputation: 3578Reputation: 3578Reputation: 3578Reputation: 3578Reputation: 3578Reputation: 3578Reputation: 3578Reputation: 3578Reputation: 3578
First you will have to build Net-Daemon (-0.43)
Get Net-Daemon-0.43.tar.gz from CPAN and extract to your /home
to get the folder "Net-Daemon"
(It is not necessary (or recommended to use /root) for compiling)

Then the commands are 1) 'perl Makefile.PL' 2) 'make' 3) 'make test
4) su...# make install

And extract PlRPC-0.2001.tar.gz to get "PlRPC-0.2001"
..and the commands are the same as for Net-daemon.

This should work on any system with perl. (unless it's a very old redhat ??)

Seems you have some sort of makefile (unknown to me) to build all ??

Rgds

Last edited by knudfl; 06-26-2008 at 02:11 PM.
 
Old 06-27-2008, 12:39 AM   #3
tester^_^
Member
 
Registered: Apr 2006
Location: somewhere in malaysia
Distribution: redhat
Posts: 78

Original Poster
Rep: Reputation: 15
thank you...
but i have another problem when i use 'install DBI' i have so many test skipped and finally i got this result. and DBI install is not ok. how can i solve it



make: *** [DBI] Error 1
TIMB/DBI-1.605.tar.gz
/usr/bin/make install install DBI -- NOT OK
Failed during this command:
TIMB/DBI-1.605.tar.gz : install NO
 
Old 06-27-2008, 12:48 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2019 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,316

Rep: Reputation: 3578Reputation: 3578Reputation: 3578Reputation: 3578Reputation: 3578Reputation: 3578Reputation: 3578Reputation: 3578Reputation: 3578Reputation: 3578Reputation: 3578
Which distro are you using ?? Linux "name" and "version"
A very nice thing to do is adding this to your LQ profile.

Which version of perl are you using ??

Why not leave "the strange makefile" or method, you are using ?
The "standard way" shown in #2 probably works, and you cannot
do any install or anything else with a gzipped file, please
extract it first.

***DBI-1.605 : (and remember to read README)
1) 'tar zxvf DBI-1.605.tar.gz
2) 'cd DBI-1.605'
3) 'perl Makefile.PL'
4) 'make'
5) 'make test'
6) 'su'
7) 'make install'

is the "proof" way to do it.

Rgds

P.S.: And if you are using a "build program" to extract
and build all perl programs, please tell which ??

Last edited by knudfl; 06-28-2008 at 02:36 AM. Reason: PS
 
Old 06-29-2008, 11:00 PM   #5
tester^_^
Member
 
Registered: Apr 2006
Location: somewhere in malaysia
Distribution: redhat
Posts: 78

Original Poster
Rep: Reputation: 15
is this installation ok



[root@firdaus PlRPC]# make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/base........ok
t/client......ok
t/compress....ok
t/crypt.......ok
t/methods.....ok
All tests successful.
Files=5, Tests=60, 9 wallclock secs ( 0.04 usr 0.01 sys + 0.59 cusr 0.12 csys = 0.76 CPU)
Result: PASS
[root@firdaus PlRPC]# make install
Writing /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/RPC/PlServer/.packlist
Appending installation info to /usr/lib/perl5/5.8.8/i386-linux-thread-multi/perllocal.pod
[root@firdaus PlRPC]#
 
Old 06-29-2008, 11:17 PM   #6
tester^_^
Member
 
Registered: Apr 2006
Location: somewhere in malaysia
Distribution: redhat
Posts: 78

Original Poster
Rep: Reputation: 15
i used RHEL5
i don't know how to check perl version
actually i'm just beginner
 
Old 06-30-2008, 12:13 AM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2019 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,316

Rep: Reputation: 3578Reputation: 3578Reputation: 3578Reputation: 3578Reputation: 3578Reputation: 3578Reputation: 3578Reputation: 3578Reputation: 3578Reputation: 3578Reputation: 3578
All perfect !

Version - test = 'perl -v' like 'gcc -v' and 'g++ -v'

Rgds

Last edited by knudfl; 06-30-2008 at 10:02 AM.
 
Old 06-30-2008, 03:20 AM   #8
tester^_^
Member
 
Registered: Apr 2006
Location: somewhere in malaysia
Distribution: redhat
Posts: 78

Original Poster
Rep: Reputation: 15
thank's so much
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
RHEL4u2 perl localtime() call issues (perl & glibc) Brad.Scalio@noaa.gov Linux - Enterprise 3 01-23-2007 10:27 PM
Problem with perl module for w3c validator to work on my local Apache+PHP+perl instal tbamt Linux - Software 0 12-16-2004 06:37 PM
perl(Cwd) perl(File::Basename) perl(File::Copy) perl(strict)....What are those? Baldorg Linux - Software 1 11-09-2003 09:09 PM
chrooting apache v2 (php, ssl, perl support) ; perl configuration markus1982 Linux - Security 3 01-26-2003 07:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration