Page 1 of 1

uninstall spring from source

Posted: 23 Jul 2009, 04:35
by kaiserbert
Hi All,


i installed spring via sources:
scons configure
scons build
scons install

But how can i remove this files ?
scons uninstall isn't known.
I want try to install the ubuntu packages, but i need to uninstall all spring files first.

regards bert

Re: uninstall spring from source

Posted: 23 Jul 2009, 10:05
by Auswaschbar
Cmake creates a list of files when installing, maybe scons does the same? If not, you will have to manually delete all the files, they are by default in /usr/local

Re: uninstall spring from source

Posted: 23 Jul 2009, 13:50
by kaiserbert
Auswaschbar wrote:Cmake creates a list of files when installing, maybe scons does the same? If not, you will have to manually delete all the files, they are by default in /usr/local
But does cmake configure create a routine for cmake uninstall or do i have to uninstall it manually with cmake too ?

Re: uninstall spring from source

Posted: 23 Jul 2009, 15:23
by Auswaschbar

Code: Select all

xargs rm < install_manifest.txt

Re: uninstall spring from source

Posted: 23 Jul 2009, 21:34
by Tobi
With scons you should be able to do

Code: Select all

scons -c install
from the same place where you issued scons install before.

Re: uninstall spring from source

Posted: 24 Jul 2009, 00:03
by kaiserbert
Tobi wrote:With scons you should be able to do

Code: Select all

scons -c install
from the same place where you issued scons install before.
No, it only cleans the build directory, but not the system i think.

Re: uninstall spring from source

Posted: 24 Jul 2009, 13:49
by kaiserbert
Auswaschbar wrote:

Code: Select all

xargs rm < install_manifest.txt
There is no install_manifest.txt file in my spring directory.


I did it manually, but i am not sure whether i miss something to remove.

Code: Select all

rm -r /usr/local/lib/spring
rm -r /usr/local/games/spring 
rm -r /usr/local/share/games/spring/
rm -r /usr/local/share/pixmaps/spring.png 
rm -r /usr/local/share/doc/springlobby/

Re: uninstall spring from source

Posted: 24 Jul 2009, 13:51
by hoijui
when using cmake, the install_manifest.txt file would be in your build directory. eg the dir where yo urun make install from.

Re: uninstall spring from source

Posted: 24 Jul 2009, 18:05
by Tobi
kaiserbert wrote:
Tobi wrote:With scons you should be able to do

Code: Select all

scons -c install
from the same place where you issued scons install before.
No, it only cleans the build directory, but not the system i think.
Hmm that would be a bug in scons then.

As far as I know -c with a target is supposed to "undo" the target. (I'm sure it used to work this way in the past.)