Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-19-2009, 02:11 AM
|
#1
|
LQ Newbie
Registered: Dec 2009
Posts: 10
Rep:
|
Error installing Date::Calc Perl module on Redhat Enterprise linux
For some reason this is not getting installed (I checked with rpm -qa|grep perl) Can someone tell why based on this output
rpm -ivv perl-Date-Calc-5.3-9.src.rpm
D: ============== perl-Date-Calc-5.3-9.src.rpm
D: Expected size: 201520 = lead(96)+sigs(344)+pad(0)+data(201080)
D: Actual size: 201520
D: opening db environment /var/lib/rpm/Packages joinenv
D: opening db index /var/lib/rpm/Packages rdonly mode=0x0
D: locked db index /var/lib/rpm/Packages
D: opening db index /var/lib/rpm/Pubkeys rdonly mode=0x0
warning: perl-Date-Calc-5.3-9.src.rpm: V3 DSA signature: NOKEY, key ID db42a60e
D: added source package [0]
D: found 1 source and 0 binary packages
D: Expected size: 201520 = lead(96)+sigs(344)+pad(0)+data(201080)
D: Actual size: 201520
perl-Date-Calc-5.3-9
D: ========== Directories not explicitly included in package:
D: 0 /usr/src/redhat/SOURCES/
D: 1 /usr/src/redhat/SPECS/
D: ==========
D: fini 100664 1 ( 0, 0) 198831 /usr/src/redhat/SOURCES/Date-Calc-5.3.tar.gz;4b2c888b
D: fini 100664 1 ( 0, 0) 1878 /usr/src/redhat/SPECS/perl-Date-Calc.spec;4b2c888b
GZDIO: 25 reads, 201100 total bytes in 0.000895 secs
D: closed db index /var/lib/rpm/Pubkeys
D: closed db index /var/lib/rpm/Packages
D: closed db environment /var/lib/rpm/Packages
|
|
|
12-19-2009, 03:46 AM
|
#2
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520
|
Welcome to LQ.
# yum install perl-Date-Calc
.. will install the package.
The package ' perl-Date-Calc-5.3-9.src.rpm ' is source code.
Like all other SRC.RPMS.
.....
Last edited by knudfl; 12-19-2009 at 03:49 AM.
|
|
|
12-19-2009, 02:33 PM
|
#3
|
LQ Newbie
Registered: Dec 2009
Posts: 10
Original Poster
Rep:
|
I am using Enterprise Red hat linux without Yum and so downloaded the rpm src and not able to install . This is a prod machine and I need Date:Calc for some calculations etc.
|
|
|
12-19-2009, 03:27 PM
|
#4
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
Well ... as knudfl said (and you admitted) .. it's a SOURCE rpm,
it won't install just like that; you need to follow the proper
process (or, more sensibly, go to the RH site and download the
rpm for the module rather than the source rpm).
Cheers,
Tink
|
|
|
12-20-2009, 04:50 AM
|
#5
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520
|
.. Or use the Redhat source
http://ftp.redhat.com/pub/redhat/lin....2.2.1.src.rpm
> > perl-Date-Calc-5.4-1.2.2.1.src.rpm
And rebuild it to perl-Date-Calc-5.4-1.2.2.1.<arch>.rpm
with : rpmbuild -bb perl-Date-Calc.spec
or : rpmbuild --rebuild perl-Date-Calc-5.4-1.2.2.1.src.rpm
Setting up the rbmbuild environment in /home/"username"/ :
http://www.linuxquestions.org/questi...5.1-766486/#13
.....
|
|
|
12-20-2009, 06:04 AM
|
#6
|
Senior Member
Registered: Sep 2009
Location: Srbobran, Serbia
Distribution: CentOS 5.5 i386 & x86_64
Posts: 1,118
Rep: 
|
Download this i386 rpm or this x86_64 version, it is exactly the same as one from RHEL's repository. Use
Quote:
rpm -ivh perl-Date-Calc-5.4-1.2.2.1.i386.rpm
|
to install it.
Or, if you prefer, find the same rpm on Red Hat's repositories.
If rpm requests additional packages, you wiil need to find and download those too. Just go to the RHN repositories and download what you need.
Last edited by DrLove73; 12-20-2009 at 06:10 AM.
|
|
|
12-20-2009, 07:12 PM
|
#7
|
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.x
Posts: 18,434
|
Are you sure you haven't got yum? It's part of the std RHEL install.
|
|
|
12-21-2009, 02:00 AM
|
#8
|
Senior Member
Registered: Sep 2009
Location: Srbobran, Serbia
Distribution: CentOS 5.5 i386 & x86_64
Posts: 1,118
Rep: 
|
I think he ment he has no internet access for that installation, or he installed RHEL without paying for it, in which case he should be using CentOS - free RHEL implementation.
|
|
|
12-22-2009, 01:43 AM
|
#9
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520
|
Not paying Redhat ? : Then it's a rather useless OS.
But for perl modules 'cpan' is still at hand ..
1) su
2) cpan
3) cpan > install Date::Calc
.....
Last edited by knudfl; 12-22-2009 at 01:44 AM.
|
|
|
12-24-2009, 03:59 PM
|
#10
|
LQ Newbie
Registered: Dec 2009
Posts: 10
Original Poster
Rep:
|
Tried several things
a) No outside access so cant use "CPAN" or YUM like utilities
b) Compiling source failes as "rpmbuild" is not there on this prod machine
c) Tried downloading the binaries provided in this link
rpm -ivh perl-Date-Calc-5.4-1.2.2.1.i386.rpm
warning: perl-Date-Calc-5.4-1.2.2.1.i386.rpm: V3 DSA signature: NOKEY, key ID e8562897
error: Failed dependencies:
libc.so.6(GLIBC_2.4) is needed by perl-Date-Calc-5.4-1.2.2.1.i386
perl(:MODULE_COMPAT_5.8.8) is needed by perl-Date-Calc-5.4-1.2.2.1.i386
perl(Bit::Vector) is needed by perl-Date-Calc-5.4-1.2.2.1.i386
perl(Carp::Clan) is needed by perl-Date-Calc-5.4-1.2.2.1.i386
perl-Bit-Vector >= 6.4 is needed by perl-Date-Calc-5.4-1.2.2.1.i386
rtld(GNU_HASH) is needed by perl-Date-Calc-5.4-1.2.2.1.i386
Suggested resolutions:
/var/spool/up2dateperl-Bit-Vector-6.3-3.x86_64.rpm
/var/spool/up2dateperl-Date-Calc-5.3-9.x86_64.rpm
I can load the other perl modules but not sure I can load a new libc.so.6 ion this prod machine
|
|
|
12-25-2009, 12:52 AM
|
#11
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520
|
Perl modules el5
No problem, they are usually easy to install manually.
Just get them all from CPAN http://search.cpan.org/
Date::Calc , Bit::Vector , Carp::Clan , Test::Exception,
Sub::Uplevel , Storable .
Example, 'Storable' :
cd Storable-2.21/ , perl Makefile.PL , make , # make install .
Or download the rpm packages, a list is attached ..
.....
|
|
|
12-27-2009, 11:41 PM
|
#12
|
LQ Newbie
Registered: Dec 2009
Posts: 10
Original Poster
Rep:
|
Thanks for help but I am still running into a lot of dependencies. I need to get the MODULE_COMPAT installed for which I downloaded perl-5.8.8-9.el4s1_4.i386.rpm but then I got back 100s of conflicts from this .
I am tired of these rpms. Is there any file based install for PERL and the DateCalc so I can forget the whole rpm and it database and install this in directory and remove it when I am done ?
|
|
|
12-27-2009, 11:46 PM
|
#13
|
LQ Newbie
Registered: Dec 2009
Posts: 10
Original Poster
Rep:
|
I am getting errors like
file /usr/share/man/man3/warnings::register.3pm.gz from install of perl-5.8.8-9.el4s1_4 conflicts with file from package perl-5.8.5-36.el4_5.2
|
|
|
12-28-2009, 02:33 PM
|
#14
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520
|
Please do not try to replace the system 'perl'
with an older version = perl-5.8.8-9.el4s1_4 .
Your installed version seems to be perl-5.8.5-36.el4_5.2 ?
The module ' Module::Compat ' is provided by
Module-Build-0.3601.tar.gz , use the "Cpan Search" please.
.....
|
|
|
12-29-2009, 02:12 AM
|
#15
|
Senior Member
Registered: Sep 2009
Location: Srbobran, Serbia
Distribution: CentOS 5.5 i386 & x86_64
Posts: 1,118
Rep: 
|
Quote:
Originally Posted by gubbu
I am tired of these rpms. Is there any file based install for PERL and the DateCalc so I can forget the whole rpm and it database and install this in directory and remove it when I am done ?
|
Yum can be also used for updating/installing from file directory. Just copy entire repositories previously downloaded to same folder and then *with backup) edit /etc/yum.repos.d/*.repo files to have something like this:
Code:
[plnet-os]
name=Spec CentOS 5 - os - $releasever - $basearch
baseurl=file:///media/disk/repository/centos.plnet.rs/mrepo/plnet-centos5-i386/RPMS.os/
gpgcheck=0
enabled=1
for each repository, and than run your yum commands.
|
|
|
All times are GMT -5. The time now is 07:21 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|