How to compile OpenParsec on ubuntu 10.04

Update: Version 0.2.0 final released, no compilation needed anymore

You can just download the binaries from: http://sourceforge.net/p/openparsec/.


Grab the code, the svn is outdated but the github copy won't compile for me.

svn checkout svn://svn.code.sf.net/p/openparsec/code/trunk openparsec-code
sudo apt-get install ia32-libs

You should add /usr/lib32 to the makefiles library paths manually. Then there's a need to create softlinks from the ia32-libs provided SDL libs and their full version number filenames to the filenames which the compiler is looking for.

# in Makefile.new
LDFLAGS+=-L/usr/lib -L/usr/lib32 -L/usr/X11R6/lib -ldl -lSDL_mixer -lSDL -lGL -ljpeg -ggdb $(ARCH_LDFLAGS)
# in rules.make
LDFLAGS=-L/usr/lib -L/usr/lib32 -L/usr/X11R6/lib -L/opt/lib -ldl -lSDL_mixer -lSDL -lGL -ljpeg -ggdb

Create a softlink to the compiler expected SDL lib filename if libSDL.so doesn't exist.

(superkuh)-(jobs:0)-(/usr/lib32)
(! 2005)-> sudo ln -s libSDL-1.2.so.0 libSDL.so

Create a softlink to the compiler expected SDL_mixer lib below if libSDL_mixer.so doesn't exist.

(superkuh)-(jobs:0)-(/usr/lib32)
(! 2008)-> sudo ln -s libSDL_mixer-1.2.so.0 libSDL_mixer.so

It looks like this when done.

(superkuh)-(jobs:0)-(/usr/lib32)
(! 2017)-> l | grep SDL
-rw-r--r--  1 root root   12K 2007-10-31 08:36 libSDL_net-1.2.so.0.0.7
-rw-r--r--  1 root root   22K 2009-05-11 16:27 libSDL_ttf-2.0.so.0.6.3
-rw-r--r--  1 root root  192K 2009-08-17 20:17 libSDL_mixer-1.2.so.0.2.6
-rw-r--r--  1 root root   46K 2009-11-30 18:12 libSDL_image-1.2.so.0.8.2
-rw-r--r--  1 root root  403K 2010-06-09 07:00 libSDL-1.2.so.0.11.3
lrwxrwxrwx  1 root root    23 2011-06-27 12:59 libSDL_ttf-2.0.so.0 -> libSDL_ttf-2.0.so.0.6.3
lrwxrwxrwx  1 root root    25 2011-06-27 12:59 libSDL_image-1.2.so.0 -> libSDL_image-1.2.so.0.8.2
lrwxrwxrwx  1 root root    23 2011-06-27 12:59 libSDL_net-1.2.so.0 -> libSDL_net-1.2.so.0.0.7
lrwxrwxrwx  1 root root    20 2011-06-27 12:59 libSDL-1.2.so.0 -> libSDL-1.2.so.0.11.3
lrwxrwxrwx  1 root root    19 2011-06-27 12:59 libSDL_net-1.2.so -> libSDL_net-1.2.so.0
lrwxrwxrwx  1 root root    25 2011-06-27 12:59 libSDL_mixer-1.2.so.0 -> libSDL_mixer-1.2.so.0.2.6
lrwxrwxrwx  1 root root    21 2011-06-27 12:59 libSDL_mixer-1.2.so -> libSDL_mixer-1.2.so.0
lrwxrwxrwx  1 root root    21 2011-06-27 12:59 libSDL_image-1.2.so -> libSDL_image-1.2.so.0
lrwxrwxrwx  1 root root    19 2011-06-27 12:59 libSDL_ttf-2.0.so -> libSDL_ttf-2.0.so.0
lrwxrwxrwx  1 root root    15 2011-06-27 12:59 libSDL-1.2.so -> libSDL-1.2.so.0
lrwxrwxrwx  1 root root    21 2013-01-23 11:10 libSDL_mixer.so -> libSDL_mixer-1.2.so.0
lrwxrwxrwx  1 root root    15 2013-01-23 22:52 libSDL.so -> libSDL-1.2.so.0

It should build with just "$ make". Assuming that it does grab the data files from the parsec LAN demo.

$ cd /wherever/openparsec/trunk/
$ make
$ cd build/parsec/
$ mkdir tmp; cd tmp
$ wget http://download.fileplanet.com/ftp1/gamedemos/simulation/parsec_lan_build0197.tar.gz

Unzip it and grab all the *.dat files. Move them to openparsec/trunk/build/parsec .

$ ./parsec

And it runs.

Interests

Other

Good Books

Type, "/@say/Your message here." after the end of any URL on my site and hit enter to leave a comment. You can view them here. An example would be, http://superkuh.com/rtlsdr.html/@say/Your message here.

Member of The Internet Defense League

Legal Bullshit

DMCA Requests

Terms of Use:

You may not access or use the site superkuh.com if you are under 90 years of age. If you do not agree then you must leave now.

The US Dept. of Justice has determined that violating a website's terms of service is a felony under CFAA 1030(a)2(c). Under this same law I can declare that you may only use one IP address to access this site; circumvention is a felony. Absurd, isn't it?

It is my policy to regularly delete server logs. I don't log at all for the tor onion service.

bellcop.

search. (via google)

door.