Oolite & Lucid (Ubuntu 10.04)
Moderators: winston, another_commander, Getafix
In the current Oolite trunk, "make -f Makefile release" will use the dependencies in the source tree rather than the system libraries.
[EDIT]This has been reverted again. Building using the included dependencies is for packagers-only anyway and not easily supported on a stock distribution.[/EDIT]
I'm not 100% sure how to then setup your system to run the resulting binary. Getafix is your expert there. Probably some LD_LIBRARY_PATH magic.
Alternatively download & compile GNUstep trunk and install it in your system. But you'll end up with non-standard binaries and any bugs or issues you encounter may or may not be due to Oolite. They could be due to that version of GNUstep and since you're the only one using it, they won't be known.
[EDIT]This has been reverted again. Building using the included dependencies is for packagers-only anyway and not easily supported on a stock distribution.[/EDIT]
I'm not 100% sure how to then setup your system to run the resulting binary. Getafix is your expert there. Probably some LD_LIBRARY_PATH magic.
Alternatively download & compile GNUstep trunk and install it in your system. But you'll end up with non-standard binaries and any bugs or issues you encounter may or may not be due to Oolite. They could be due to that version of GNUstep and since you're the only one using it, they won't be known.
Last edited by Micha on Wed Jun 02, 2010 7:40 pm, edited 1 time in total.
The glass is twice as big as it needs to be.
- 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:
As I see it the following options exist:
Without changing your system's gnustep:
1. If you just want to play, download and install the 1.73.4 auto-package
Make sure to uninstall any installed oolite first!
2. If you want the bleeding edge you can install oolite-trunk the nightly auto-package.
It can be installed in parallel with normal oolite (option 1) but they share saves, logs and add-ons
Change your system's gnustep:
3. Compile and install gnustep 1.18 (stable) and oolite source
a. Download, compile and install gnustep-base 1.18
deps: gnustep-make, libffi-dev (libffi4-dev for ubuntu less than lucy), libxml2-dev
b. Rebuild your oolite source
Without changing your system's gnustep:
1. If you just want to play, download and install the 1.73.4 auto-package
Make sure to uninstall any installed oolite first!
2. If you want the bleeding edge you can install oolite-trunk the nightly auto-package.
It can be installed in parallel with normal oolite (option 1) but they share saves, logs and add-ons
Change your system's gnustep:
3. Compile and install gnustep 1.18 (stable) and oolite source
a. Download, compile and install gnustep-base 1.18
deps: gnustep-make, libffi-dev (libffi4-dev for ubuntu less than lucy), libxml2-dev
Code: Select all
$ wget http://ftpmain.gnustep.org/pub/gnustep/core/gnustep-base-1.18.0.tar.gz
$ tar xzvf gnustep-base-1.18.0.tar.gz
$ cd gnustep-base-1.18.0
$ ./configure --prefix=/usr/share/GNUstep --disable-xslt --disable-tls
$ make
$ sudo bash
password:
# make install
# exit
$ exit
Code: Select all
$ make -f Makefile clean
$ make -f Makefile distro-release
"Any sufficiently advanced information is indistinguishable from noise." [Newman, Lachmann, Moore]
Thanks fro the help guys.
I was already using the 1.73.4 auto-package as that was the only one that ran out of the box. I have now added the oolite-trunk nightly auto-package so I can do some new oxp testing and that is working OK, is there a 64bit nightly auto-package?
@Micha
I was already using the 1.73.4 auto-package as that was the only one that ran out of the box. I have now added the oolite-trunk nightly auto-package so I can do some new oxp testing and that is working OK, is there a 64bit nightly auto-package?
@Micha
This doe not work, the build fails before I even get to the problem of running it.In the current Oolite trunk, "make -f Makefile release" will use the dependencies in the source tree rather than the system libraries.
There's patched gnustep libraries for Ubuntu Lucid and Maverick. They can be accessed at a PPA here:
https://launchpad.net/~3-launchpad-mich ... rchive/ppa
The related bug is being processed by Ubuntu. It may take a while before it trickles into the proper distro archives, if at all.
https://launchpad.net/~3-launchpad-mich ... rchive/ppa
The related bug is being processed by Ubuntu. It may take a while before it trickles into the proper distro archives, if at all.
The glass is twice as big as it needs to be.
I asked the same thing in another thread but haven't gotten a reply yet. But the 32-bit nightly autopackage worked okay for you on a 64-bit system? I want to try the newest stuff, and I understand the risks, but don't want to get to the point where I can't play oolite at all!tinker wrote:I have now added the oolite-trunk nightly auto-package so I can do some new oxp testing and that is working OK, is there a 64bit nightly auto-package?
- 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:
Currently the only build option for users, who do not want to have oolite deps built and installed on their system, is "distro-release".tinker wrote:This doe not work, the build fails before I even get to the problem of running it.Micha wrote:In the current Oolite trunk, "make -f Makefile release" will use the dependencies in the source tree rather than the system libraries.
This option is also the only one to be used when a deb package is to be build.
All other options are used only for oolite development and maintenance in order to have oolite packaged with a steady set of libraries.
"Any sufficiently advanced information is indistinguishable from noise." [Newman, Lachmann, Moore]
Yes the 32 bit nightly auto-package works OK on a 64 bit system, but it is bleeding edge and liable to fall over sometimes. As it is a separate install it should not affect your existing build but they do share addons, logs and save games. I use a separate save game for trunk play just to be safe.caracal wrote:I asked the same thing in another thread but haven't gotten a reply yet. But the 32-bit nightly autopackage worked okay for you on a 64-bit system? I want to try the newest stuff, and I understand the risks, but don't want to get to the point where I can't play oolite at all!tinker wrote:I have now added the oolite-trunk nightly auto-package so I can do some new oxp testing and that is working OK, is there a 64bit nightly auto-package?
Thanks, very good to know!tinker wrote:Yes the 32 bit nightly auto-package works OK on a 64 bit system...
Heh, thanks for the warnings. I do have some understanding of how software works, or doesn't work ... been writing it long enough.tinker wrote:...but it is bleeding edge and liable to fall over sometimes. As it is a separate install it should not affect your existing build but they do share addons, logs and save games. I use a separate save game for trunk play just to be safe.
I'm curious what you mean by "separate install", though. That's the second or third time I've seen somebody say that. When I installed the 1.73.4 autopackage (the stock Debian version being 1.65, yow!), it put itself into ~/.local. Are you saying the nightly puts itself somewhere else? Or does it append version numbers to its pathnames or summat? Just curious. I guess I could try it in a VM or something.
Anyway, thanks for the info. I've just about built up the tuit to give it a try!
Yep! And you get a second menu shortcut, called oolite-trunk, next to the original shortcut.caracal wrote:Are you saying the nightly puts itself somewhere else?
Hey, free OXPs: farsun v1.05 & tty v0.5! :0)
"
Okay, you guys convinced me to give it a try. And indeed it does put itself "somewhere else" ... into ~/.local/lib/Oolite-trunk instead of just .../Oolite. And the binary has "-trunk" appended too, which is very nice. Great job, guys!Kaks wrote:Yep!caracal wrote:Are you saying the nightly puts itself somewhere else?
Only my delight was short-lived:
Code: Select all
./oolite.app/oolite: error while loading shared libraries: libGLU.so.1: cannot open shared object file: No such file or directory
Erk. It looks like Oolite-trunk died with an error. When making an error
report, please copy + paste the log above into the report.
Yes indeed you do, very nice!Kaks wrote:And you get a second menu shortcut, called oolite-trunk, next to the original shortcut.
In poking around before taking the leap, I found something that I probably read months ago and just forgot, which explains why (1) there's no 64-bit nightly build, and (2) why the developers figured I was too much of a chowderhead to reply to when I asked about it:
I might be willing to discuss providing a 64-bit build. I've certainly built oolite from source before, back in the 1.72 days, though I used its built-in Debian stuff rather than autopackage. Even though Debian is still currently shipping the obviously-broken libgnustep 1.19, I don't have any packages that depend on it, so could use any version you guys wanted me to try. (And yes, I realize that the source comes with its own copy of 1.16, which is fine too.)The wiki wrote:Currently, a native 64-bit build isn't available as a binary download because none of the developers has an amd64 system. If you are capable of building Oolite-Linux from source and have a suitable machine, it would be greatly appreciated if you can volunteer to be the maintainer of the amd64 build.
I'm not entirely sure I'm quite ready to become "the maintainer of the 64-bit build", though. Sounds so formal and responsibility-like. Maybe I should just grab the source, build it, and come back to talking once I have a working binary.
Re: "
Well that was easy. Certainly easier than back in 2008!caracal wrote:Maybe I should just grab the source, build it, and come back to talking once I have a working binary.
Now, however, I think I'm running into the libgnustep issue. It's linked against Debian squeeze's native 1.19.3, which has been established as broken for oolite purposes. What I'm seeing is:
- The app comes up just fine,
- All errors in the log seemed to be related to those OXPs I have installed which need to be updated for 1.74+,
- The game seems to run fine, and everything works as expected (very pretty, I might add!), BUT
- All of my saved commanders with OXP ships (except one, oddly enough) show the dreaded spinning question mark.
Anyway, I'm certainly encouraged by how simple the build has become, and after I figure out what I want to do about the library issue, I may indeed volunteer to provide at least some 64-bit packages. I'll let you know.
The spinning ? part is quite probably linked to the space-eating issue (See here) making the save game ship ID key mismatch the OXP one.
My OXPs via Boxspace or from my Wiki pages .
Thargoid TV
Dropbox Referral Link
Thargoid TV
Dropbox Referral Link
Re: "
You can also try installing a fixed gnustep fromcaracal wrote:Now, however, I think I'm running into the libgnustep issue. It's linked against Debian squeeze's native 1.19.3, which has been established as broken for oolite purposes.
(Updated 2010.10.19)
Last edited by Micha on Tue Oct 19, 2010 5:36 pm, edited 1 time in total.
The glass is twice as big as it needs to be.