Page 10 of 13
Re: How to build Oolite source on Ubuntu
Posted: Fri Jul 22, 2011 9:56 am
by m4r35n357
Tried an SVN update, still getting the ICE. So, deleted checked out code and went to get latest from scratch but could not:
Code: Select all
$ svn co http://svn.berlios.de/svnroot/repos/oolite-linux/trunk Oolite
Authentication realm: <http://svn.berlios.de:80> Members Only
Password for 'super':
Authentication realm: <http://svn.berlios.de:80> Members Only
Username:
Password for '':
Authentication realm: <http://svn.berlios.de:80> Members Only
Username:
Password for '':
svn: OPTIONS of 'http://svn.berlios.de/svnroot/repos/oolite-linux/trunk': authorisation failed: Could not authenticate to server: rejected Basic challenge (http://svn.berlios.de)
Anyone know what the problem is?
Re: How to build Oolite source on Ubuntu
Posted: Fri Jul 22, 2011 10:01 am
by Gimi
Look at the bottom of
this page, had the same problem but there is a workaround.
Re: How to build Oolite source on Ubuntu
Posted: Fri Jul 22, 2011 10:12 am
by m4r35n357
Now checked out again, still getting ICE, but in a different place (still in js though)
Code: Select all
c++ -o jsexn.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/jsexn.pp ../jsexn.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.
make[3]: *** [jsexn.o] Error 1
make[3]: Leaving directory `/opt/Elite/Oolite/trunk/deps/Cross-platform-deps/mozilla/js/src/build-debug'
make[2]: *** [default] Error 2
make[2]: Leaving directory `/opt/Elite/Oolite/trunk/deps/Cross-platform-deps/mozilla/js/src/build-debug'
make[1]: *** [deps/Cross-platform-deps/mozilla/js/src/build-debug/build_stamp] Error 2
make[1]: Leaving directory `/opt/Elite/Oolite/trunk'
make: *** [LIBJS_DBG] Error 2
Re: How to build Oolite source on Ubuntu
Posted: Fri Jul 22, 2011 10:14 am
by another_commander
Wild guess: How are you in terms of disk space?
Re: How to build Oolite source on Ubuntu
Posted: Fri Jul 22, 2011 10:20 am
by m4r35n357
165GB free
I'm just about to try on another machine . . . will report back
Re: How to build Oolite source on Ubuntu
Posted: Fri Jul 22, 2011 10:44 am
by m4r35n357
OK the build runs on my laptop, with a better processor, so how do I generate an installer so I can get it onto my desktop? Could only find autopackage/posix/win32 installers in the build output.
Also, is it possible that the js library build is incompatible with an Atom? I thought they were basically i686 or "better".
Re: How to build Oolite source on Ubuntu
Posted: Fri Jul 22, 2011 1:03 pm
by Getafix
m4r35n357 wrote:...so how do I generate an installer...
See
this post.
Re: How to build Oolite source on Ubuntu
Posted: Thu Jul 28, 2011 4:54 pm
by m4r35n357
Right, tried again with gcc4.3 (and g++/gobc) and the build completed. One visible difference was that there was no (visible) JS stuff being built, which is where my g++4.4 gave an ICE. Is this a clue?
Having said that, the only executable I could find was oolite.app/oolite.dbg, which waited a while then exited with no terminal output. Am I missing a trick? Pretty sure I used to get an oolite.app/oolite executable.
Re: How to build Oolite source on Ubuntu
Posted: Mon Aug 01, 2011 2:55 pm
by Getafix
What is the command line you use to "make"?
It seems that the libjs.make is ignored.
Re: How to build Oolite source on Ubuntu
Posted: Mon Aug 01, 2011 8:53 pm
by m4r35n357
Getafix wrote:What is the command line you use to "make"?
It seems that the libjs.make is ignored.
erm, you got me there, I'm just running the right command now, forgot the release target somehow sorry about that! OK, builds with GCC4.3, but does not run:
Code: Select all
21:51:47.541 [startup.exception]: ***** Unhandled exception during startup: NSInvalidArgumentException (Tried to add nil to array).
this is with SVN rev. 4591
Re: How to build Oolite source on Ubuntu
Posted: Wed Aug 10, 2011 11:14 am
by m4r35n357
OK, the bad machine is now dead, and I can build on the laptop (incidentally using gcc4.5), so problem solved
Re: How to build Oolite source on Ubuntu
Posted: Mon Mar 19, 2012 11:13 am
by Lone_Wolf
It seems the oolite files are no longer on berlios, but on sourceforge.
i used this link :
http://sourceforge.net/projects/oolite- ... 76.tar.bz2
Also i'd like to see the thread title changed, since the info in here is useful for non-ubuntu users that want to build from source also.
Getafix, can you update the OP and title ?
Re: How to build Oolite source on Ubuntu
Posted: Mon Mar 19, 2012 7:46 pm
by Eric Walch
Lone_Wolf wrote:It seems the oolite files are no longer on berlios, but on sourceforge.
They should be on both as mirror. They are still on the
berlios page were they were always available. Also a checkout is still possible on the old link. I just made a checkout at berlios of 1.74 maintenance today without problems:
svn checkout 'svn://svn.berlios.de/oolite-linux/branches/1.74-maintenance
'
(Minus the quotes. Quotes only added to prevent conversion to a link)
Re: How to build Oolite source on Ubuntu
Posted: Mon Mar 19, 2012 10:07 pm
by Lone_Wolf
Eric, all links on the download page for oolite on berlios (
http://developer.berlios.de/project/sho ... up_id=3577 ) now redirect to sourceforge.
not every browser / os handles such redirects gracefully (especially if they use javascript for it and you have it blocked).
This also indicates that the files are now physically present on sourceforge mirrors, not on berlios anymore.
Re: How to build Oolite source on Ubuntu
Posted: Tue Mar 20, 2012 7:56 am
by Eric Walch
But on sourceforge I was not able to find a complete download page. Its all scattered over the site. Probably because it was an automated conversion from Berlios. When looking on sourceforge for all projects, there are two entries for Oolite. (Both refer to the same).
The first points to all downloads:
http://sourceforge.net/projects/oolite-linux.berlios/ The download button lets you download the outdated 1.65 version, but after showing all files, you can download even all older oolite testversions.
The other Oolite project page is:
http://sourceforge.net/projects/oolite. ... =directory what points to the current 1.76 version. However, the download button only downloads the mac version. A show files brings you to a page for downloads for other platforms.
But things like planet tool, I only can find between the first long list of files.