uninstall spring from source

uninstall spring from source

Discuss everything related to running Spring on your chosen distribution of Linux.

Moderator: Moderators

Post Reply
kaiserbert
Posts: 50
Joined: 21 Jul 2006, 22:11

uninstall spring from source

Post 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
Auswaschbar
Spring Developer
Posts: 1254
Joined: 24 Jun 2007, 08:34

Re: uninstall spring from source

Post 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
kaiserbert
Posts: 50
Joined: 21 Jul 2006, 22:11

Re: uninstall spring from source

Post 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 ?
Auswaschbar
Spring Developer
Posts: 1254
Joined: 24 Jun 2007, 08:34

Re: uninstall spring from source

Post by Auswaschbar »

Code: Select all

xargs rm < install_manifest.txt
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Re: uninstall spring from source

Post 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.
kaiserbert
Posts: 50
Joined: 21 Jul 2006, 22:11

Re: uninstall spring from source

Post 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.
kaiserbert
Posts: 50
Joined: 21 Jul 2006, 22:11

Re: uninstall spring from source

Post 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/
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: uninstall spring from source

Post 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.
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Re: uninstall spring from source

Post 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.)
Post Reply

Return to “Linux”