FAQ  •  Login

Compiling and Installing GtkRadiant 1.5 for Linux or Mac OSX

Moderators: Nexuiz Moderators, Moderators

<<

Summer Willow

Member

Posts: 30

Joined: Fri Sep 07, 2007 11:38 pm

Post Wed Oct 10, 2007 2:08 am

Compiling and Installing GtkRadiant 1.5 for Linux or Mac OSX

Linux/OSX(using X-windows)
==========================

How to Compile & install GtkRadiant 1.5 for linux (doing this from the command line is simplest)
{I got most of these instructions from KadaverJack in irc, and some help from John Galt who told me to get the dev libs for all the dependencies. Big thanks to you both! The main instructions are found on this sucky page: https://zerowing.idsoftware.com/svn/rad ... /COMPILING}
==================================================

First go get the SVN files with these links (this assumes you have the svn client)

svn checkout https://zerowing.idsoftware.com/svn/rad ... ant/trunk/ ./GtkRadiant

svn checkout https://zerowing.idsoftware.com/svn/rad ... ack/trunk/ ./GtkRadiant/games/Q3Pack

svn checkout https://zerowing.idsoftware.com/svn/rad ... ack/trunk/ ./GtkRadiant/games/NexuizPack

Download & install these packages if you don't already have them. NOTE: you don't need these files' dev libs! -

- gcc >= version 3.1 (preferably)
- scons >= 0.96 (radiant is built with scons rather than make)
- python >= 2.3.0, (scons requires python, some build steps use python)
- svn >= 1.1 (some build steps use svn)

Now go download/install all of these files plus their developer packages. On a debian-like system, i used the command "apt-cache search gtk+|grep dev" to find the files I needed.

- gtk+ >= 2.4.0 (requires glib, atk, pango, iconv, etc)
- gtkglext >= 1.0.0 (requires opengl)
- libxml2 >= 2.0.0
- zlib >= 1.2.0 (for archivezip module)
- libpng >= 1.2.0 (for imagepng module)
- libmhash = 0.9.0 (for q3map2)

After this is all done, cd into your new GtkRadiant directory and build like so:

scons SETUP=0 (in the GtkRadiant directory!)

Once that is done we need to install Radiant by doing this -

python ./install.py (assuming you are still within the GtkRadiant dir)

note - this script should be run after each time you update from svn

Once that is done, you can run the program like so -

./GtkRadiant/install/radiant.x86' (or './GtkRadiant/install/radiant.ppc' on osx) ... (assuming you're not in the Radiant dir anymore... otherwise do ./install/radiant.x86).

Finished :)
Boinkin Beaver is my best nexuiz friend so you better leave him alone or face the wrath of the =^Kitty^= :D
<<

Wii-Wii

Member

Posts: 18

Joined: Tue Dec 18, 2007 7:38 pm

Location: Paris, France

Post Mon May 26, 2008 6:52 pm

Hey Summer Willow :)
Thx for this tutorial but I got some problems with sth called "pango" :

When I write "scons SETUP=0" in the Terminal, I got this :

  Code:
Traceback (most recent call last):
  File "/usr/local/bin/scons", line 161, in <module>
    import SCons.Script
ImportError: No module named SCons.Script


Strange coz I do have a file called "SCons.Script"...

PS : MacOS X 10.5.2 PPC G5, X11 2.1.4 installed
PS2 : it doesn't work for Radiant 1.5 but it does for 1.4 ;)
Aka Captain Awesome :D
French users -> www.nexuiz-france.com
<<

Strahlemann

User avatar

Keyboard killer

Posts: 676

Joined: Wed Mar 01, 2006 12:11 am

Location: Ulm/Germany

Post Sat Aug 02, 2008 2:14 pm

When i try to install with python ./install.py, i get the following error-message
Exception: failed to find directory: ./games/NexuizPack/nexuiz.game

so i renamed theNexuizPack/games-directory to NexuizPack/nexuiz.game, but now the file nexuiz.game is missing. I found one in the Nexuiz-folder itself, but starting Radiant then gives me a lot of errors regarding the nexuiz.game file.
Is there another nexuiz.game file i'm missing ?
bleach->aneurysm->straledm5->dieselpower->space-fun->o-fun->runningman->runningman1on1->aggressor(conversion)->soylent->bloodprison->bluesky->ruiner->reslimed->strength
<<

morfar

User avatar

Site Admin

Posts: 938

Joined: Tue Feb 28, 2006 6:08 pm

Location: The Island

Post Sat Aug 02, 2008 6:44 pm

This guide don't work anymore. Because it's 1.6 in SVN now. And Nexuiz pack has changed quite a bit too.
<<

Idanwin

Newbie

Posts: 3

Joined: Fri Aug 22, 2008 7:58 pm

Post Sat Aug 23, 2008 9:35 am

What does work?
<<

morfar

User avatar

Site Admin

Posts: 938

Joined: Tue Feb 28, 2006 6:08 pm

Location: The Island

Post Sat Aug 23, 2008 11:03 am

Change svn address for 1.5

GtKRadiant 1.5
https://zerowing.idsoftware.com/svn/rad ... anches/1.5

NexuizPack 1.5
https://zerowing.idsoftware.com/svn/rad ... nches/1.5/

Q3 pack 1.5
Not found.. and not needed
<<

Idanwin

Newbie

Posts: 3

Joined: Fri Aug 22, 2008 7:58 pm

Post Sat Aug 23, 2008 8:25 pm

I get a nice, cute, little error of 1011 lines...

I have installed gtk2 (is that the same as gtk 2.0?)
I did install a series of things that sounded like glib

http://www.mediafire.com/?41xdvwmxltr
<<

sloggerk

Newbie

Posts: 2

Joined: Thu Sep 11, 2008 7:48 am

Post Thu Sep 11, 2008 7:51 am

help...

Update:
have it running.
  Code:
Unable to find default tag file /home/redice/code/1.5/install/nexuiz.game/shadertags.xml. No tag support.

Shows up on launch though. Don't know what it means or how to fix.
In addition, the program doesn't seem to load textures, is really slow and overall seems really glitchy.




Can't seem to get this compiled on ubuntu hardy...
  Code:
./radiant.pdb -> ./radiant.pdb
Traceback (most recent call last):
  File "./install.py", line 48, in <module>
    install( sys.argv[1], sys.argv[2] )
  File "./install.py", line 13, in install
    install_file( path, src_path, f )
  File "./install.py", line 9, in install_file
    shutil.copyfile( src, dst )
  File "/usr/lib/python2.5/shutil.py", line 46, in copyfile
    fsrc = open(src, 'rb')
IOError: [Errno 2] No such file or directory: './radiant.pdb'


Basically, the install.py script doesn't work. At first I thought it was because no exe version got made, but even after ridding the script of exe stuff, same error.

Are there functional instructions anywhere?
(checking out 1.5 explicitly to see if it makes a dif)
<<

Alien

Forum addon

Posts: 1212

Joined: Tue Apr 22, 2008 7:12 am

Post Thu Sep 11, 2008 4:09 pm

It's because install.py requires command line parameters. Iirc, source dir, install dir.
<<

sloggerk

Newbie

Posts: 2

Joined: Thu Sep 11, 2008 7:48 am

Post Fri Sep 12, 2008 5:21 am

Alien wrote:It's because install.py requires command line parameters. Iirc, source dir, install dir.



I think I needed to update my install to be from a different branch.

Anyhow, I have compiled and installed and working now, but it seems really slow, not to mention it seems like it's even more of a UI nightmare than blender.

Plus most maps seem to have several textures missing when opened for some reason.

Return to Nexuiz - Editing

Who is online

Users browsing this forum: No registered users and 0 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.