LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 11-07-2010, 07:34 PM   #1
Nate_S
LQ Newbie
 
Registered: Nov 2010
Posts: 6

Rep: Reputation: 0
Problem caused with not uninstalling and installing again with changed configuration?


Hello,

I have been installing packages to local directories using “./configure –prefix=” or “perl ./Makefile PREFIX=”. Also, I have been setting the environment variable PERL5LIB. I noticed some messages that made me think that I was setting the “prefix” and PERL5LIB directories wrong.

An example of one those messages involving the “PERL5LIB”:
could not find ParserDetails.ini in /home/nmsutton/Local_Installations/lib/perl5/site_perl//5.8.8/XML/SAX

Example of one of those messages involving the “prefix”:
Appending installation info to /home/nmsutton/Local_Installations//lib/perl5/5.8.8/i386-linux-thread-multi/perllocal.pod

Notice the double forward (//) slashes above. Those slashes looked like they were the problem. I specified directory paths for “PERL5LIB” and “prefix” without a forward slash (/) at the end of the directory paths. That seems to cause the unusual/error messages including double forward slashes to go away.

Also, I had a similar situation with specifying directories for a package named expat for a package named XML-Parser.

What I did was I installed packages using the PERL5LIB and PREFIX directory settings that appeared to be wrong. Then, without uninstalling those packages I corrected the PERL5LIB and PREFIX directory settings and installed the packages again. The question I have is have I created a problem by installing then not uninstalling those packages but instead installing again the packages with the settings changes described above? Should I have uninstalled the packages before reinstalling them? Would not uninstalling them have created a problem? This work is for genetics research I am involved in so I am really trying to make sure that things are working.

Thanks,

Nate

P. S.
The packages that the above situation occurred to are:
ExtUtils-MakeMaker-6.56, Compress-Raw-Zlib-2.030, Compress-Raw-Bzip2-2.031, IO::Compress (A Perl module), Html::Tagset (Perl module), libwww-perl-5.837, expat-2.0.1, XML-Parser-2.36, XML-Grove-0.46alpha, XML-NamespaceSupport-1.11, XML-SAX
 
Old 11-09-2010, 05:09 AM   #2
lugoteehalt
Senior Member
 
Registered: Sep 2003
Location: UK
Distribution: Debian
Posts: 1,215
Blog Entries: 2

Rep: Reputation: 49
Don't know the answer. But the number of slashes does not normally make any difference. Try any command with vast numbers of slashes in the path, it should work perfectly as normal.
 
Old 11-10-2010, 08:37 PM   #3
Nate_S
LQ Newbie
 
Registered: Nov 2010
Posts: 6

Original Poster
Rep: Reputation: 0
Thank you for looking into the scenario I described lugoteehalt. Possibly it does not make a difference in the packages I installed. On the other hand I don’t know what the unusual messages I described seeing implicate. I think I will rm –rf (remove) the directories with the packages I installed. Since I installed the packages locally I should be able to wipe the packages off the computer and reinstall them in a way that does not produce the unusual messages. I’d still be interested in knowing if anyone has more information about my original question. Also, if I rm -rf the directories I locally installed the packages in won't that uninstall them by deleting them? Will that rm -rf then allow me to do a clean install of the packages without there being any left over parts of old installations being present on the computer?

Thank you,

Nate

Last edited by Nate_S; 11-10-2010 at 08:57 PM.
 
Old 11-10-2010, 10:49 PM   #4
lugoteehalt
Senior Member
 
Registered: Sep 2003
Location: UK
Distribution: Debian
Posts: 1,215
Blog Entries: 2

Rep: Reputation: 49
On the surface of it, i.e. prima faci, you have installed things into your sort of home directory - or called it 'local' or something.

With me I get things like /home/lugo/bin in my home directory when using --prefix=/home/lugo .

So it is simple to 'uninstall' this sort of thing. As you say you can just delete it. It is all under the 'prefix'. None of it is in the rest of the computer.
 
Old 11-11-2010, 02:54 PM   #5
Nate_S
LQ Newbie
 
Registered: Nov 2010
Posts: 6

Original Poster
Rep: Reputation: 0
Thank you for the further information. I am going to try the deleting all files and doing a clean installation strategy later.
 
Old 11-19-2010, 10:02 AM   #6
Nate_S
LQ Newbie
 
Registered: Nov 2010
Posts: 6

Original Poster
Rep: Reputation: 0
How can I test the recurrence of a XML::SAX error message?

I performed a clean install and the double forward slashes (//) in messages went away when I used different setting the prefix= option and other options described in my earlier post.

However, the “could not find ParserDetails.ini in /home/nmsutton/Local_Installations/lib/perl5/site_perl/5.8.8/XML/SAX” message still appeared when I installed the Perl module XML::SAX. I think another version of XML::SAX is installed on the computer I am installing XML::SAX into my home directory on. The XML::SAX package maintainer from CPAN told me that “The XML::SAX installer can get confused if a previous version is installed or partially installed. If that message does not recur after installation then don't worry about it.”

From what the maintainer wrote to me it seems to me that if the message does not recur after testing than XML::SAX is safe to use. My question is: how can I test the recurrence of that ParserDetails.ini error message?
 
  


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
Flash/gnash installing snafu caused system problems slacard Debian 0 07-07-2007 11:35 AM
how to update entries that has been changed in a configuration files Niceman2005 Linux - Software 1 11-17-2004 02:52 AM
Installing BCJ-80 printer caused X to stop working - black screen davespod Linux - Hardware 0 06-07-2004 03:27 PM
x configuration problem while installing yellow dog case1984 Linux - General 2 06-01-2004 02:17 PM
Sound problem after installing/uninstalling JACK sound server bastupungen Linux - Software 1 02-28-2004 12:50 PM

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

All times are GMT -5. The time now is 06:03 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