LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Trying to compile gnustep for x86_64 (https://www.linuxquestions.org/questions/slackware-14/trying-to-compile-gnustep-for-x86_64-a-800961/)

samac 04-30-2010 04:50 PM

Thanks for the reply Getafix, I had a look at the thread on the oolite forum (I have lurked on and off for about 5 years). The list of dependencies that you give is quite a bit longer than the list in the documentation and I will have to look at it. The stage that I have got to creates a working package that cannot find the resource files, I will try to have a look at it again tomorrow.

samac

GetafixJr 05-03-2010 03:13 AM

From which documentation are you getting the deps and you see them fewer?
Consider, that in Ubuntu for example you do not need to explicitly define all the dependencies when you install a library. Some kind of manager takes care of the dependencies.
As far as I know is that slackware-users build everything on their own.
This is what I did in Ubuntu for the major libraries (i.e. gnustep-make, gnustep-base, SDL, SDL_mixer, libpng14 and espeak 1.43.03 (build for pulseaudio). For any other dependency needed by these libraries, I just used synaptic package manager to bring them in.

When you say cannot find the "resources", what do you mean?

samac 05-03-2010 05:29 AM

Quote:

On Linux, BSD and other Unix platforms without dpkg tools, you will need to
get GNUstep and SDL development libraries in addition to what is usually
installed by default if you choose to install the development
headers/libraries etc. when initially installing the OS. For most Linux
distros, GNUstep and SDL development libraries come prepackaged - just
apt-get/yum install the relevant files. You may also need to install Mozilla
Spidermonkey (libmozjs). On others you may need to build them from source. In
particular, you need the SDL_Mixer library, which doesn't always come with the
base SDL development kit. Then just type 'make'.
The dependency list in oolite-dev-source-1.73.4.tar.gz is from the README.txt

As you can see the list is very different to your list and the command line
Quote:

Then just type 'make'.
is just wrong.

The resources are the data files in ./oolite-dev-source-1.73.4/Resources that need to be copied to ./oolite.app/Resources

I know that this game was ported from a mac version and therefore the compilation process requires GNUstep, but it would be useful for the documentation to be updated with regard to Linux installations.

samac

GetafixJr 05-13-2010 05:01 PM

Sorry for the delayed reply (stuck with work).

In order to buld oolite 1.73.4 you need the following:
gobjc
gnustep-make
gnustep-base
libSDL-1.2
libSDL_mixer-1.2
libpng
These libraries have other sub-dependencies and can be found at the respective project sites.

The few things that I know for slackware is that the user builds everything from source.
Lately I decided to do the same in my Ubuntu box. I got tired of all these distro-updates messing up with my libraries.
So, I built the main oolite dependency libraries from source. The big listing I posted was from this experience.

As soon as the libraries where installed, I just moved into the oolite src code folder and executed
Code:

$ make -f Makefile release
...and that's it. The Makefile automatically builds SpiderMonkey and then proceeds with the oolite code.

The truth is I do not have the courage to setup a box with slackware and prepare a "how to" for slackware all by myself.
On the other hand if you are interested we could try to nail this together. :cool:


All times are GMT -5. The time now is 02:31 PM.