How to build Oolite source on Ubuntu
Moderators: winston, another_commander, Getafix
- Getafix
- Quite Grand Sub-Admiral
- Posts: 979
- Joined: Tue Apr 01, 2008 12:55 pm
- Location: A small ice asteroid, orbiting Oresrati in Galaxy 8 (a.k.a. northwest Armorica).
- Contact:
How to build Oolite source on Ubuntu
First post has been updated for 1.74.2-test release.
"Any sufficiently advanced information is indistinguishable from noise." [Newman, Lachmann, Moore]
Re: How to build Oolite source on Ubuntu
In the first post of this thread,
(2) Get and build the source
For building 1.75 use :
instead of
(2) Get and build the source
For building 1.75 use :
Code: Select all
svn co -r4375 http://svn.berlios.de/svnroot/repos/oolite-linux/tags/1.75/
instead of
Code: Select all
svn co -r3712 http://svn.berlios.de/svnroot/repos/oolite-linux/branches/1.74-maintenance/
OS : Arch Linux 64-bit - rolling release
OXPs : My user page
Retired, reachable at [email protected]
OXPs : My user page
Retired, reachable at [email protected]
- Getafix
- Quite Grand Sub-Admiral
- Posts: 979
- Joined: Tue Apr 01, 2008 12:55 pm
- Location: A small ice asteroid, orbiting Oresrati in Galaxy 8 (a.k.a. northwest Armorica).
- Contact:
Re: How to build Oolite source on Ubuntu
Thanx Lone_Wolf.
First post has been updated for Oolite beta 1.75.
Please, note that one more dependency (i.e. libnspr4-dev) has been introduced.
First post has been updated for Oolite beta 1.75.
Please, note that one more dependency (i.e. libnspr4-dev) has been introduced.
"Any sufficiently advanced information is indistinguishable from noise." [Newman, Lachmann, Moore]
- Getafix
- Quite Grand Sub-Admiral
- Posts: 979
- Joined: Tue Apr 01, 2008 12:55 pm
- Location: A small ice asteroid, orbiting Oresrati in Galaxy 8 (a.k.a. northwest Armorica).
- Contact:
Re: How to build Oolite source on Ubuntu
First post has been updated for Oolite beta 1.75.1.
"Any sufficiently advanced information is indistinguishable from noise." [Newman, Lachmann, Moore]
- Getafix
- Quite Grand Sub-Admiral
- Posts: 979
- Joined: Tue Apr 01, 2008 12:55 pm
- Location: A small ice asteroid, orbiting Oresrati in Galaxy 8 (a.k.a. northwest Armorica).
- Contact:
Re: How to build Oolite source on Ubuntu
First post has been updated for Oolite beta 1.75.3.
"Any sufficiently advanced information is indistinguishable from noise." [Newman, Lachmann, Moore]
- RyanHoots
- ---- E L I T E ----
- Posts: 958
- Joined: Fri May 20, 2011 8:10 pm
- Location: Nowhere
- Contact:
Re: How to build Oolite source on Ubuntu
I got an error when running "make -f Makefile release". Here is what I got:
Does anyone know what the problem is? I have tried in both the ~/Oolite-Dev/trunk and ~/Oolite-Dev/1.75.3 directories, same error.
Code: Select all
ryanhoots@ryanhoots-laptop:~/Oolite-Dev/1.75.3$ make -f Makefile release
make -f libjs.make debug=no
make[1]: Entering directory `/home/ryanhoots/Oolite-Dev/1.75.3'
Updating Javascript sources...
cd deps/Cocoa-deps/scripts && ./update-mozilla.sh
libjs not present, initial download needed.
Downloading libjs source from http://jens.ayton.se/oolite/deps/firefox-4.0.source.js-only.tbz...
./update-mozilla.sh: 75: curl: not found
[color=#FF0000]error: could not download http://jens.ayton.se/oolite/deps/firefox-4.0.source.js-only.tbz
make[1]: *** [LIBJS_SRC] Error 1
make[1]: Leaving directory `/home/ryanhoots/Oolite-Dev/1.75.3'
make: *** [LIBJS] Error 2[/color]
- JensAyton
- Grand Admiral Emeritus
- Posts: 6657
- Joined: Sat Apr 02, 2005 2:43 pm
- Location: Sweden
- Contact:
Re: How to build Oolite source on Ubuntu
“curl” is a command-line utility for downloading from FTP and HTTP servers, which is used by the update scripts. You should be able to get it from your distro’s package manager.
E-mail: [email protected]
- RyanHoots
- ---- E L I T E ----
- Posts: 958
- Joined: Fri May 20, 2011 8:10 pm
- Location: Nowhere
- Contact:
Re: How to build Oolite source on Ubuntu
Thank you, that should help.Ahruman wrote:“curl” is a command-line utility for downloading from FTP and HTTP servers, which is used by the update scripts. You should be able to get it from your distro’s package manager.
EDIT: It worked! Thanks, Ahruman.
- Getafix
- Quite Grand Sub-Admiral
- Posts: 979
- Joined: Tue Apr 01, 2008 12:55 pm
- Location: A small ice asteroid, orbiting Oresrati in Galaxy 8 (a.k.a. northwest Armorica).
- Contact:
Re: How to build Oolite source on Ubuntu
Updated first post to also include "curl" in the deps packages step.
"Any sufficiently advanced information is indistinguishable from noise." [Newman, Lachmann, Moore]
- RyanHoots
- ---- E L I T E ----
- Posts: 958
- Joined: Fri May 20, 2011 8:10 pm
- Location: Nowhere
- Contact:
Re: How to build Oolite source on Ubuntu
That's a good idea. If curl wasn't on my system before building Oolite, it makes sense that others wouldn't have it as well.Getafix wrote:Updated first post to also include "curl" in the deps packages step.
Re: How to build Oolite source on Ubuntu
Just tried to do a build, it's worked fine before, but the code seems to be breaking my compiler . . .
Is this a known problem, or just me? Ubuntu 10.04, latest svn trunk rev. 4584.
Code: Select all
c++ -o jsmath.o -c -I./dist/system_wrappers_js -include ../config/gcc_hidden.h -DOSTYPE=\"Linux2.6\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I.. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -I.. -I../assembler -I../yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -fno-strict-aliasing -pthread -pipe -DDEBUG -D_DEBUG -DTRACING -g -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsmath.pp ../jsmath.cpp
cc1plus: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.4/README.Bugs> for instructions.
OXPs: Furball 1.8, Factions 1.12
-
- Quite Grand Sub-Admiral
- Posts: 6683
- Joined: Wed Feb 28, 2007 7:54 am
Re: How to build Oolite source on Ubuntu
Ouch, last time I saw an ICE was when using gcc version 3.4.2. Is this really gcc you are using here or some other compiler? Does produce any output? If yes, can you post it?
You can always try a clean rebuild, but I am not sure how helpful it would be here.
Code: Select all
c++ -v
You can always try a clean rebuild, but I am not sure how helpful it would be here.
Re: How to build Oolite source on Ubuntu
That was after a clean - I think, well I typed:another_commander wrote:Ouch, last time I saw an ICE was when using gcc version 3.4.2. Is this really gcc you are using here or some other compiler? Doesproduce any output? If yes, can you post it?Code: Select all
c++ -v
You can always try a clean rebuild, but I am not sure how helpful it would be here.
Code: Select all
. /usr/share/GNUstep/Makefiles/GNUstep.sh
make clean -f Makefile
make -f Makefile
Code: Select all
$ c++ -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.4.3-4ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --program-suffix=-4.4 --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-plugin --enable-objc-gc --enable-targets=all --disable-werror --with-arch-32=i486 --with-tune=generic --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5)
OXPs: Furball 1.8, Factions 1.12
Re: How to build Oolite source on Ubuntu
This looks weird, what processor are you using ?Target: i486-linux-gnu
OS : Arch Linux 64-bit - rolling release
OXPs : My user page
Retired, reachable at [email protected]
OXPs : My user page
Retired, reachable at [email protected]
Re: How to build Oolite source on Ubuntu
Intel AtomLone_Wolf wrote:This looks weird, what processor are you using ?Target: i486-linux-gnu
Code: Select all
$ cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 28
model name : Intel(R) Atom(TM) CPU 230 @ 1.60GHz
stepping : 2
cpu MHz : 1596.062
cache size : 512 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 1
apicid : 0
initial apicid : 0
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de tsc msr pae mce cx8 apic mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl tm2 ssse3 cx16 xtpr pdcm movbe lahf_lm
bogomips : 3192.12
clflush size : 64
cache_alignment : 64
address sizes : 32 bits physical, 48 bits virtual
power management:
OXPs: Furball 1.8, Factions 1.12