1 |
|
---|
2 | 5.26
|
---|
3 | Looking at GTKRadiant, how to intall without root access.
|
---|
4 |
|
---|
5 | GtkRadiant 1.5 is no longer under active development
|
---|
6 |
|
---|
7 | Compile from source. https://zerowing.idsoftware.com/svn/radiant/GtkRadiant/trunk/COMPILING
|
---|
8 |
|
---|
9 | Get the source:
|
---|
10 | svn checkout https://zerowing.idsoftware.com/svn/radiant/GtkRadiant/trunk/ ./GtkRadiant
|
---|
11 |
|
---|
12 | get the desired gamepacks:
|
---|
13 | cd ./GtkRadiant/install/installs
|
---|
14 | svn checkout https://zerowing.idsoftware.com/svn/radiant.gamepacks/Q3Pack/trunk/ ./Q3Pack
|
---|
15 |
|
---|
16 | scons is used instead of make
|
---|
17 | scons not installed. http://www.scons.org/download.php
|
---|
18 |
|
---|
19 | During installation of scons:
|
---|
20 | error: could not create '/usr/lib/scons-2.1.0.alpha.20101125': Permission denied
|
---|
21 |
|
---|
22 | Add an additional flag to install without root access
|
---|
23 | python setup.py install --prefix=$HOME/Software/Scons
|
---|
24 |
|
---|
25 | Works.
|
---|
26 |
|
---|
27 | Running scons
|
---|
28 |
|
---|
29 | /home/hoover/u4/kedwar10/Software/SCONS/bin/scons
|
---|
30 | scons: Reading SConscript files ...
|
---|
31 | pushing a default config
|
---|
32 | saving updated configuration
|
---|
33 | emit build rules
|
---|
34 | emit configuration: config: target=['radiant', 'q3map2'] config=['release']
|
---|
35 | xml2-config failed
|
---|
36 | AssertionError: :
|
---|
37 | File "/home/hoover/u4/kedwar10/Qgents/GtkRadiant/SConstruct", line 59:
|
---|
38 | c.emit()
|
---|
39 | File "/home/hoover/u4/kedwar10/Qgents/GtkRadiant/config.py", line 177:
|
---|
40 | self.emit_radiant()
|
---|
41 | File "/home/hoover/u4/kedwar10/Qgents/GtkRadiant/config.py", line 83:
|
---|
42 | lib_objects += SConscript( os.path.join( build_dir, 'SConscript.lib' ) )
|
---|
43 | File "/home/hoover/u4/kedwar10/Software/SCONS/lib/scons-2.1.0.alpha.20101125/SCons/Script/SConscript.py", line 614:
|
---|
44 | return method(*args, **kw)
|
---|
45 | File "/home/hoover/u4/kedwar10/Software/SCONS/lib/scons-2.1.0.alpha.20101125/SCons/Script/SConscript.py", line 551:
|
---|
46 | return _SConscript(self.fs, *files, **subst_kw)
|
---|
47 | File "/home/hoover/u4/kedwar10/Software/SCONS/lib/scons-2.1.0.alpha.20101125/SCons/Script/SConscript.py", line 260:
|
---|
48 | exec _file_ in call_stack[-1].globals
|
---|
49 | File "/home/hoover/u4/kedwar10/Qgents/GtkRadiant/SConscript.lib", line 14:
|
---|
50 | settings.SetupEnvironment( env, config['name'] )
|
---|
51 | File "/home/hoover/u4/kedwar10/Qgents/GtkRadiant/config.py", line 198:
|
---|
52 | assert( False )
|
---|
53 |
|
---|
54 | Not sure what this means.
|
---|
55 |
|
---|
56 | Tried installing more packages
|
---|
57 | cd ./GtkRadiant/install/installs
|
---|
58 | svn checkout https://zerowing.idsoftware.com/svn/radiant.gamepacks/UFOAIPack/trunk/ ./UFOAIPack
|
---|
59 | svn checkout https://zerowing.idsoftware.com/svn/radiant.gamepacks/TremulousPack/trunk/ ./TremulousPack
|
---|
60 |
|
---|
61 | No good.
|
---|
62 |
|
---|
63 | Trying NetRadiant
|
---|
64 | git clone git://git.icculus.org/divverent/netradiant.git
|
---|
65 | make
|
---|
66 |
|
---|
67 | checking that the build tools exist
|
---|
68 | Checking for /bin/sh (bash (or another shell))... found.
|
---|
69 | Checking for echo (coreutils)... found.
|
---|
70 | Checking for echo -n (coreutils)... found.
|
---|
71 | Checking for cat (coreutils)... found.
|
---|
72 | Checking for mkdir -p (coreutils)... found.
|
---|
73 | Checking for cp (coreutils)... found.
|
---|
74 | Checking for cp -r (coreutils)... found.
|
---|
75 | Checking for rm -f (coreutils)... found.
|
---|
76 | Checking for rm -f -r (coreutils)... found.
|
---|
77 | Checking for mv (coreutils)... found.
|
---|
78 | Checking for echo test | tee /dev/stderr (coreutils)... found.
|
---|
79 | Checking for sed (sed)... found.
|
---|
80 | Checking for find (findutils)... found.
|
---|
81 | Checking for diff (diff)... found.
|
---|
82 | Checking for cc (gcc)... found.
|
---|
83 | Checking for g++ (g++)... found.
|
---|
84 | Checking for ranlib (binutils)... found.
|
---|
85 | Checking for ar (binutils)... found.
|
---|
86 | Checking for pkg-config (pkg-config)... found.
|
---|
87 | Checking for unzip (unzip)... found.
|
---|
88 | Checking for git (git-core)... found.
|
---|
89 | Checking for svn (subversion)... found.
|
---|
90 | Checking for wget (wget)... found.
|
---|
91 | Checking for ldd (libc6)... found.
|
---|
92 | All required tools have been found!
|
---|
93 |
|
---|
94 | checking that the dependencies exist
|
---|
95 | Checking for glib/gutils.h (libglib2.0-dev)... found and links.
|
---|
96 | Checking for libxml/xpath.h (libxml2-dev)... not found, please install it or set PKG_CONFIG_PATH right!
|
---|
97 | To see the failed commands, set DEPENDENCIES_CHECK=verbose
|
---|
98 | To proceed anyway, set DEPENDENCIES_CHECK=off
|
---|
99 | Checking for png.h (libpng12-dev)... found and links.
|
---|
100 | Checking for GL/gl.h (mesa-common-dev (or another OpenGL library))... found and links.
|
---|
101 | Checking for gtk/gtkdialog.h (libgtk2.0-dev)... found and links.
|
---|
102 | Checking for pango/pangoft2.h (libpango1.0-dev)... found and links.
|
---|
103 | Checking for gtk/gtkglwidget.h (libgtkglext1-dev)... not found, please install it or set PKG_CONFIG_PATH right!
|
---|
104 | To see the failed commands, set DEPENDENCIES_CHECK=verbose
|
---|
105 | To proceed anyway, set DEPENDENCIES_CHECK=off
|
---|
106 | Checking for dlfcn.h (libc6-dev)... found and links.
|
---|
107 | Checking for zlib.h (zlib1g-dev)... found and links.
|
---|
108 | make: *** [dependencies-check] Error 1
|
---|
109 |
|
---|
110 | Need libxml/xpath.h and gtk/gtkglwidget.h
|
---|
111 |
|
---|
112 | Install libxml:
|
---|
113 | git clone git://git.gnome.org/libxml2
|
---|
114 | /home/hoover/u4/kedwar10/Software/libxml2
|
---|
115 | ./configure
|
---|
116 | ./configure: Command not found.
|
---|
117 |
|
---|
118 | ./configure.in exists
|
---|
119 |
|
---|
120 | ./configure.in
|
---|
121 | ./configure.in: Permission denied.
|
---|
122 |
|
---|
123 | make
|
---|
124 | make: *** No targets specified and no makefile found. Stop.
|
---|
125 |
|
---|
126 | Not sure what is going on here.
|
---|
127 |
|
---|
128 | Trying a precompiled version
|
---|
129 | http://ingar.satgnu.net/gtkradiant/installation.html#linux
|
---|
130 |
|
---|
131 | ubuntu version
|
---|
132 |
|
---|
133 | ./radiant.x86: error while loading shared libraries: libgtkglext-x11-1.0.so.0: cannot open shared object file: No such file or directory
|
---|
134 |
|
---|
135 | arch version
|
---|
136 | ./radiant.x86: error while loading shared libraries: libgtkglext-x11-1.0.so.0: cannot open shared object file: No such file or directory
|
---|
137 |
|
---|
138 | Give the rpm a shot
|
---|
139 | rpm --install gtkradiant-1.5.0-2006-03-02.i386.rpm
|
---|
140 | error: Failed dependencies:
|
---|
141 | gtkglext >= 1.0.0 is needed by gtkradiant-1.5.0-7.i386
|
---|
142 | libgdkglext-x11-1.0.so.0 is needed by gtkradiant-1.5.0-7.i386
|
---|
143 | libgtkglext-x11-1.0.so.0 is needed by gtkradiant-1.5.0-7.i386
|
---|
144 | libmhash.so.2 is needed by gtkradiant-1.5.0-7.i386
|
---|
145 | mhash >= 0.9.0 is needed by gtkradiant-1.5.0-7.i386
|
---|
146 |
|
---|
147 | probably need root access anyway
|
---|
148 |
|
---|
149 | Trying quest http://quest-ed.sourceforge.net/dl/index.html
|
---|
150 | ./squest
|
---|
151 | ./squest: error while loading shared libraries: libvga.so.1: cannot open shared object file: No such file or directory
|
---|
152 |
|
---|
153 | Trying QuArk http://quark.sourceforge.net/download.php
|
---|
154 | Has linux installation but can't unzip;
|
---|
155 | requires wine anyway.
|
---|
156 |
|
---|
157 | Installs on windows(Hylan lab) without error.
|
---|
158 |
|
---|
159 | NetRadient windows install requires the engine.
|
---|