Map Editor: notes-editors-linux.txt

File notes-editors-linux.txt, 6.1 KB (added by kedwar10, 13 years ago)

Notes on trying to compile map editors on west lab machines

Line 
1
25.26
3Looking at GTKRadiant, how to intall without root access.
4
5GtkRadiant 1.5 is no longer under active development
6
7Compile from source. https://zerowing.idsoftware.com/svn/radiant/GtkRadiant/trunk/COMPILING
8
9Get the source:
10svn checkout https://zerowing.idsoftware.com/svn/radiant/GtkRadiant/trunk/ ./GtkRadiant
11
12get the desired gamepacks:
13cd ./GtkRadiant/install/installs
14  svn checkout https://zerowing.idsoftware.com/svn/radiant.gamepacks/Q3Pack/trunk/ ./Q3Pack
15
16scons is used instead of make
17scons not installed. http://www.scons.org/download.php
18
19During installation of scons:
20error: could not create '/usr/lib/scons-2.1.0.alpha.20101125': Permission denied
21
22Add an additional flag to install without root access
23python setup.py install --prefix=$HOME/Software/Scons
24
25Works.
26
27Running scons
28
29/home/hoover/u4/kedwar10/Software/SCONS/bin/scons
30scons: Reading SConscript files ...
31pushing a default config
32saving updated configuration
33emit build rules
34emit configuration: config: target=['radiant', 'q3map2'] config=['release']
35xml2-config failed
36AssertionError: :
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
54Not sure what this means.
55   
56Tried installing more packages
57cd ./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
61No good.
62
63Trying NetRadiant
64git clone git://git.icculus.org/divverent/netradiant.git
65make
66
67checking that the build tools exist
68Checking for /bin/sh (bash (or another shell))... found.
69Checking for echo (coreutils)... found.
70Checking for echo -n (coreutils)... found.
71Checking for cat (coreutils)... found.
72Checking for mkdir -p (coreutils)... found.
73Checking for cp (coreutils)... found.
74Checking for cp -r (coreutils)... found.
75Checking for rm -f (coreutils)... found.
76Checking for rm -f -r (coreutils)... found.
77Checking for mv (coreutils)... found.
78Checking for echo test | tee /dev/stderr (coreutils)... found.
79Checking for sed (sed)... found.
80Checking for find (findutils)... found.
81Checking for diff (diff)... found.
82Checking for cc (gcc)... found.
83Checking for g++ (g++)... found.
84Checking for ranlib (binutils)... found.
85Checking for ar (binutils)... found.
86Checking for pkg-config (pkg-config)... found.
87Checking for unzip (unzip)... found.
88Checking for git (git-core)... found.
89Checking for svn (subversion)... found.
90Checking for wget (wget)... found.
91Checking for ldd  (libc6)... found.
92All required tools have been found!
93
94checking that the dependencies exist
95Checking for glib/gutils.h (libglib2.0-dev)... found and links.
96Checking for libxml/xpath.h (libxml2-dev)... not found, please install it or set PKG_CONFIG_PATH right!
97To see the failed commands, set DEPENDENCIES_CHECK=verbose
98To proceed anyway, set DEPENDENCIES_CHECK=off
99Checking for png.h (libpng12-dev)... found and links.
100Checking for GL/gl.h (mesa-common-dev (or another OpenGL library))... found and links.
101Checking for gtk/gtkdialog.h (libgtk2.0-dev)... found and links.
102Checking for pango/pangoft2.h (libpango1.0-dev)... found and links.
103Checking for gtk/gtkglwidget.h (libgtkglext1-dev)... not found, please install it or set PKG_CONFIG_PATH right!
104To see the failed commands, set DEPENDENCIES_CHECK=verbose
105To proceed anyway, set DEPENDENCIES_CHECK=off
106Checking for dlfcn.h (libc6-dev)... found and links.
107Checking for zlib.h (zlib1g-dev)... found and links.
108make: *** [dependencies-check] Error 1
109
110Need libxml/xpath.h and gtk/gtkglwidget.h
111
112Install libxml:
113git 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
123make
124make: *** No targets specified and no makefile found.  Stop.
125
126Not sure what is going on here.
127
128Trying a precompiled version
129http://ingar.satgnu.net/gtkradiant/installation.html#linux
130
131ubuntu 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
135arch 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
138Give the rpm a shot
139rpm --install gtkradiant-1.5.0-2006-03-02.i386.rpm
140error: 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
147probably need root access anyway
148
149Trying 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
153Trying QuArk http://quark.sourceforge.net/download.php
154Has linux installation but can't unzip;
155requires wine anyway.
156
157Installs on windows(Hylan lab) without error.
158
159NetRadient windows install requires the engine.