LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 04-26-2005, 11:07 AM   #1
jonr
Senior Member
 
Registered: Jan 2003
Location: Kansas City, Missouri, USA
Distribution: Ubuntu
Posts: 1,040

Rep: Reputation: 47
Perl frustration


I spent two or three hours yesterday banging my head against various walls trying to install a program, Poptool, that screens incoming email for spam and learns to identify it. I just wanted to try it out; it sounded very good.

As with many such attempts in the past, I came up against the fact that this program wanted a newer version of Perl than I have on my system. But uninstalling the current version in order to go to the newer version was going to rob me of many, many applications that depended on the older version, and effectively cripple my normal ability to use the computer.

So I finally gave up.

Is there ANY way to get around this problem? I've been told it's hazardous in the extreme to allow two versions of Perl to exist on the same computer.

As long as programs are this difficult to install, mainstream users are going to be frustrated in their attempts to convert to using Linux, and will return to the dominant operating system, which is a great pity.
 
Old 04-26-2005, 11:31 AM   #2
mschutte
Member
 
Registered: Jan 2005
Location: Innsbruck, Austria
Distribution: Debian GNU/Linux Lenny
Posts: 68

Rep: Reputation: 15
Well, if you have a version of Perl as an RPM package, you could try to upgrade to the newer version of Perl, if this is an RPM package too---the -U switch is for RPM upgrades. But I do not know whether this checks if programs depend on the old version, then this wouldn't work...
If the new Perl version is not an RPM package, you can try to use RPM on the command line with the '--nodeps' switch (which ignores package dependencies) to erase the old version. But then, the RPM database lacks; if this is a problem for you, you should better let it be.

Try to find an RPM package (http://www.rpmseek.com/), and if there is none for the version you need, there is still the other way.

Hope I could help,
mschutte
 
Old 04-26-2005, 11:46 AM   #3
jonr
Senior Member
 
Registered: Jan 2003
Location: Kansas City, Missouri, USA
Distribution: Ubuntu
Posts: 1,040

Original Poster
Rep: Reputation: 47
Thanks, mschutte. I will try the upgrade idea; I hadn't thought of that. What I did was initiate the process of getting rid of the old version with urpme, which then informed me of a list of about twenty applications it also proposed to get rid of, that depended on Perl. It didn't occur to me to see if I could upgrade successfully.

The problem I foresee, though, is that if upgrading DOES work, then the old apps may not work under the new version, and I'll effectively lose them that way!

I know some applications use a "magic number" technique which prevents them from working under a version of Perl that they were not written for.

The more I think about it, as I write this, the more I think I'd probably better just give up on the whole thing. I wish those apps (and Poptool) were written in C++.
 
  


Reply



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
iptable frustration LAdProg2005 Linux - Software 8 11-13-2005 05:43 PM
sound frustration Th3_J3st3R Slackware 9 07-18-2004 04:27 PM
perl(Cwd) perl(File::Basename) perl(File::Copy) perl(strict)....What are those? Baldorg Linux - Software 1 11-09-2003 08:09 PM
Samba frustration debest Linux - Networking 5 08-08-2003 11:29 PM
Frustration with Mandrake 9.1 frkstein Linux - General 2 04-02-2003 07:09 AM

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

All times are GMT -5. The time now is 09:51 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
Open Source Consulting | Domain Registration