LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to Upgrade perl without disrupting dependants (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-upgrade-perl-without-disrupting-dependants-182252/)

rac83 05-16-2004 09:24 PM

How to Upgrade perl without disrupting dependants
 
Hi im fairly new to linux and im trying to install the perl-crypt packages such as CBC rijndael and such but i cannot find any rpms for them that i can install due to my perl version of 5.8.3 the ones i found for fedora core need 5.8.4 and i dled 5.8.4 but when i try to rpm -U it wont let me because so many things are using or dependant on the previous version
any help with either compatable formats for my existing fedora core 5.8.3 perl or how i can upgrade to 5.8.4 would be greatfully appreciated

Do i have to uninstall and reinstall ALL THE MODULES and dependant software? omgosh =\

emetib 05-17-2004 12:53 AM

you should be able to set up your mirrors to grab all of the deps for 5.8.4 for fedora.
here's an article that will help you out with setting them up.
http://www.linuxjournal.com/article.php?sid=7501

hw-tph 05-17-2004 03:25 AM

In most cases you don't have to install it using rpm's (unless you are installing Perl modules to satisfy the dependancies of another rpm package) - you can install it using the CPAN shell, so you don't have to upgrade your core Perl installation.

As root, type perl -MCPAN -e shell to start the CPAN shell. It will ask you quite a few questions to set up. When done, you can use the CPAN shell to install Perl modules.

Type install <modulename> at the cpan> prompt, like this for installing the Crypt::Rijndael module: install Crypt::Rijndael. That's how simple it is. :)

To find and learn more about Perl modules you use the search.cpan.org site, which is a real gem.


Håkan

rac83 05-19-2004 12:00 AM

Freaking awesome thank you for your reply i am much much pleased :D

rac83 05-23-2004 06:51 PM

ok your advice worked for the most part
i got crypt::cbc installed but when i try to install blowfish or rijndael it gives me this error

/bin/sh: line 1: gcc: command not found
make: *** [_rijndael.o] Error 127
/usr/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible

makes me think somethings wrong with my make? or the path is not right i checked the path and it is in /usr/bin/make
any input would be appreciated

btmiller 05-23-2004 07:08 PM

Do you have gcc (the GNU Compiler Collection) installed? The error on the first line of your output seems to indeicate that it is missing.

rac83 05-23-2004 07:30 PM

good question it would appear that way
how can i tell and how can i install it if i need to? :/

hw-tph 05-24-2004 04:17 AM

Fedora comes with a graphical interface to installing and uninstalling packages (something like Add/Remove Programs in Windows), doesn't it? I think you have an option there to install the basic development tools, which is what you need.

To check from the command line, type rpm -qa | grep gcc to see what gcc-related packaged might be installed. Installing gcc manually would probably require quite some work since it depends on a lot of development libraries which would need to be installed prior to installing gcc itself.

A good idea when installing Linux is to always include the basic set of development stuff - even if you don't plan on actually programming on the system - since you never know when you have to compile a driver.

Håkan

rac83 05-24-2004 09:41 PM

i think i love you

hw-tph 05-26-2004 08:55 AM

OK, that's just plain creepy! ;)


Håkan


All times are GMT -5. The time now is 09:32 AM.