LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   python scons/scons.py install (https://www.linuxquestions.org/questions/linux-general-1/python-scons-scons-py-install-788148/)

Aquarius_Girl 02-10-2010 01:10 AM

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..

Tinkster 02-10-2010 02:03 AM

Quote:

Originally Posted by anishakaul (Post 3858654)
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

Aquarius_Girl 02-10-2010 02:22 AM

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..

Tinkster 02-10-2010 10:33 AM

Quote:

Originally Posted by anishakaul (Post 3858696)
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 (Post 3858696)
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 ;}

Aquarius_Girl 02-11-2010 02:15 AM

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 !!!

Aquarius_Girl 02-11-2010 02:24 AM

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 !!


All times are GMT -5. The time now is 10:31 PM.