How to build Oolite source on Ubuntu
Posted: Mon Aug 02, 2010 9:38 am
First post has been updated for 1.74.2-test release.
For information and discussion about Oolite.
https://bb.oolite.space/
Code: Select all
svn co -r4375 http://svn.berlios.de/svnroot/repos/oolite-linux/tags/1.75/
Code: Select all
svn co -r3712 http://svn.berlios.de/svnroot/repos/oolite-linux/branches/1.74-maintenance/
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]
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.
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.
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.
Code: Select all
c++ -v
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)
This looks weird, what processor are you using ?Target: i486-linux-gnu
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: