LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-10-2010, 01:10 AM   #1
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,680
Blog Entries: 29

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
python scons/scons.py install


I have some versions of Mapnik installed on my system.

What is the way to know where "python scons/scons.py install" command does actually install files in the system.

I want to remove those files because there is no such thing as "python scons/scons.py uninstall".

Kindly guide..
 
Old 02-10-2010, 02:03 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914
Quote:
Originally Posted by anishakaul View Post
I have some versions of Mapnik installed on my system.

What is the way to know where "python scons/scons.py install" command does actually install files in the system.

I want to remove those files because there is no such thing as "python scons/scons.py uninstall".

Kindly guide..

Are you sure there's no scons.py uninstall?


I don't use mapnik, but a quick google suggests that there
SHOULD be an uninstall feature.

The next best thing: does the install have a 'verbose' option?
If it does, re-run install with that set and capture the output.

Kill them ;}


Cheers,
Tink
 
1 members found this post helpful.
Old 02-10-2010, 02:22 AM   #3
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,680

Original Poster
Blog Entries: 29

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
Quote:
Originally Posted by Tinkster
Are you sure there's no scons.py uninstall?


I don't use mapnik, but a quick google suggests that there
SHOULD be an uninstall feature.
Thanks for replying !

Yes, there is a method shown for un-installing Mapnik on http://trac.mapnik.org/wiki/MacInstallationSource page, but that is w.r.t Mac OS. Previously I followed those steps on my computer and now due to them I have broken Mapnik.

Mailing list people told me to manually remove all the files installed by Mapnik. See this: https://lists.berlios.de/pipermail/m...ry/002926.html

Now I am planning to re-install Suse 11 and then re-install Mapnik.

Quote:
Originally Posted by =Tinkster
The next best thing: does the install have a 'verbose' option?
If it does, re-run install with that set and capture the output.

Kill them ;}
I didn't look for this, let me give it a try .. meanwhile you can have an another glass of beer..
 
Old 02-10-2010, 10:33 AM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914
Quote:
Originally Posted by anishakaul View Post
Thanks for replying !

Yes, there is a method shown for un-installing Mapnik on http://trac.mapnik.org/wiki/MacInstallationSource page, but that is w.r.t Mac OS. Previously I followed those steps on my computer and now due to them I have broken Mapnik.

Mailing list people told me to manually remove all the files installed by Mapnik. See this: https://lists.berlios.de/pipermail/m...ry/002926.html

Now I am planning to re-install Suse 11 and then re-install Mapnik.
Re-installing the OS for a failed install of software
is a bit harsh. :}

Quote:
Originally Posted by anishakaul View Post
I didn't look for this, let me give it a try .. meanwhile you can have an another glass of beer..

Heh. Nuh, thanks. Two's plenty ;}
 
Old 02-11-2010, 02:15 AM   #5
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,680

Original Poster
Blog Entries: 29

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
Quote:
Originally Posted by Tinkster
Re-installing the OS for a failed install of software
is a bit harsh. :}
Thanks for replying!

I ran
Code:
scons -c install
to uninstall in all the three directories which had Mapnik installed. The output of this command showed that it was removing all xyz files.

Then in one of these directories I again ran the following commands to configure, build and run Mapnik.
Code:
python scons/scons.py configure
python scons/scons.py
python scons/scons.py install
All this went smoothly, but when I tried to run Mapnik from python, it again resulted in that error, which indicated it is broken !!!
 
Old 02-11-2010, 02:24 AM   #6
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,680

Original Poster
Blog Entries: 29

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
Quote:
Originally Posted by Tinkster
The next best thing: does the install have a 'verbose' option?
If it does, re-run install with that set and capture the output.

Kill them ;}
One more trial:

This time I noticed the output of this command : python scons/scons.py install

Of course it is verbose enough, that why scons doesn't have a verbose option.

It showed me all those files it had installed !

Then when I ran scons -c install, the output showed me that this command had removed all those files which were installed by the above command.

BUT STILL, NOTHING HELPED ME FIX Mapnik!!

Anyways, thanks again for your time !!
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
scons gcc gcc4.3 pgreisen Linux - Newbie 3 05-21-2009 12:29 PM
The problem in using Scons to complie M5 LinczO_Dz Linux - Newbie 1 04-24-2008 05:19 AM
regarding scons script in ubuntu cnu_sree Programming 0 08-10-2007 12:50 AM
Scons question Harp00 Slackware 2 12-29-2005 07:06 AM
Scons install problem drinker300 Linux - Software 0 08-07-2004 04:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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

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