one_uninstall.txt

Johan Tordsson, 04/23/2009 02:17 PM

Download (2.5 KB)

 
1
A few minor issues noted during installation, reinstallation, and uninstallation
2
of ONE-1.2.
3

    
4
1. When (un)installing as root, the install.sh script is 
5
a bit to keen on cleaning up: 
6

    
7
root@hostname# scons
8
root@hostname# ./install.sh -u one_user -g one_users
9
root@hostname# ./install.sh -r
10
rmdir: failed to remove `/var/log/one': Directory not empty
11
rmdir: failed to remove `/usr/include': Directory not empty
12
rmdir: failed to remove `/usr/lib/one': Directory not empty
13
rmdir: failed to remove `/usr/bin': Directory not empty
14

    
15
When installing as root (under "/"), 
16
the content in MAKE_DIRS (defined in istall.sh) need to be split
17
up into directories that are created, and those that already exist. 
18

    
19
2. 
20
It seems like neither "scons -c" nor "install -r" 
21
removes the file $ONE_LOCATION/share/scons/lex_bison.pyc
22

    
23
This becomes an issue if you (from the same directory) 
24
i. install as root
25
ii. uninstall as root
26
iii. try to install as normal user. 
27

    
28
3. If there are any problems with xmlrpc, "scons -c" does not 
29
clean up the generated files xmlrpc_test.****.cc: 
30

    
31
"scons -c" 
32

    
33
scons: Reading SConscript files ...
34
Testing recipe: pkg-config
35
  Error calling pkg-config xmlrpc_server_abyss++ --static --libs
36
Testing recipe: xmlrpc-c-config
37
g++ .xmlrpc_test/xmlrpc_test.d695b5.cc -o .xmlrpc_test/xmlrpc_test.d695b5.cc.out -L/usr/lib  -lxmlrpc_server_abyss++ -lxmlrpc_server++ -lxmlrpc_server_abyss -lxmlrpc_server -lxmlrpc_abyss  -lpthread -lxmlrpc++ -lxmlrpc -lxmlrpc_util -lxmlrpc_xmlparse -lxmlrpc_xmltok  -I/usr/include 1>>.xmlrpc_test/xmlrpc_test.d695b5.cc.log 2>&1
38

    
39
[...] 
40

    
41

    
42
"find  | grep xml" 
43

    
44
./.xmlrpc_test
45
./.xmlrpc_test/xmlrpc_test.77fadc.cc
46
./.xmlrpc_test/xmlrpc_test.77fadc.cc.log
47
./.xmlrpc_test/xmlrpc_test.d695b5.cc
48
./.xmlrpc_test/xmlrpc_test.9ee5ef.cc.log
49
./.xmlrpc_test/xmlrpc_test.e036d0.cc.log
50
./.xmlrpc_test/xmlrpc_test.9ee5ef.cc
51
./.xmlrpc_test/xmlrpc_test.d695b5.cc.log
52
./.xmlrpc_test/xmlrpc_test.e036d0.cc
53
./share/scons/xmlrpc_config.py
54
./share/scons/get_xmlrpc_config
55
./src/scheduler/.xmlrpc_test
56
./src/scheduler/.xmlrpc_test/xmlrpc_test.c9be06.cc
57
./src/scheduler/.xmlrpc_test/xmlrpc_test.a71c02.cc.log
58
./src/scheduler/.xmlrpc_test/xmlrpc_test.a71c02.cc
59
./src/scheduler/.xmlrpc_test/xmlrpc_test.c9be06.cc.log
60
./src/scheduler/.xmlrpc_test/xmlrpc_test.610bef.cc
61
./src/scheduler/.xmlrpc_test/xmlrpc_test.610bef.cc.log
62
./src/nebula/.xmlrpc_test
63
./src/nebula/.xmlrpc_test/xmlrpc_test.9f808d.cc
64
./src/nebula/.xmlrpc_test/xmlrpc_test.c52a20.cc
65
./src/nebula/.xmlrpc_test/xmlrpc_test.9f808d.cc.log
66
./src/nebula/.xmlrpc_test/xmlrpc_test.c52a20.cc.log
67