[Solved] compiling error trying to build the dev release

For discussion of ports to POSIX based systems, especially using GNUStep.

Moderators: winston, another_commander, Getafix

Post Reply
User avatar
Richard-H
Above Average
Above Average
Posts: 31
Joined: Tue Dec 28, 2010 10:04 am
Location: Somwere in G6

[Solved] compiling error trying to build the dev release

Post by Richard-H »

I got a compiling error trying to build the dev release (1.79)

this is wat i have done

git clone https://github.com/OoliteProject/oolite
cd oolite
git submodule update --init
make -f Makefile release



~~~
/home/richard/src/source/oolite/oolite/deps/mozilla/js/src/build-release/config/nsinstall -R -m 755 js ../dist/bin
/home/richard/src/source/oolite/oolite/deps/mozilla/js/src/build-release/config/nsinstall -R -m 755 js ..
make[4]: Leaving directory `/home/richard/src/source/oolite/oolite/deps/mozilla/js/src/build-release/shell'
make[3]: Leaving directory `/home/richard/src/source/oolite/oolite/deps/mozilla/js/src/build-release'
make tools
make[3]: Entering directory `/home/richard/src/source/oolite/oolite/deps/mozilla/js/src/build-release'
make[4]: Entering directory `/home/richard/src/source/oolite/oolite/deps/mozilla/js/src/build-release/config'
make[4]: Nothing to be done for `tools'.
make[4]: Leaving directory `/home/richard/src/source/oolite/oolite/deps/mozilla/js/src/build-release/config'
make[4]: Entering directory `/home/richard/src/source/oolite/oolite/deps/mozilla/js/src/build-release/editline'
make[4]: Nothing to be done for `tools'.
make[4]: Leaving directory `/home/richard/src/source/oolite/oolite/deps/mozilla/js/src/build-release/editline'
make[4]: Entering directory `/home/richard/src/source/oolite/oolite/deps/mozilla/js/src/build-release/shell'
make[4]: Nothing to be done for `tools'.
make[4]: Leaving directory `/home/richard/src/source/oolite/oolite/deps/mozilla/js/src/build-release/shell'
make[3]: Leaving directory `/home/richard/src/source/oolite/oolite/deps/mozilla/js/src/build-release'
if test -d ./dist/bin ; then touch ./dist/bin/.purgecaches ; fi
make[2]: Leaving directory `/home/richard/src/source/oolite/oolite/deps/mozilla/js/src/build-release'
touch deps/mozilla/js/src/build-release/build_stamp
make[1]: Leaving directory `/home/richard/src/source/oolite/oolite'
make -f GNUmakefile debug=no
This is gnustep-make 2.4.0. Type 'make print-gnustep-make-help' for help.
make[1]: Entering directory `/home/richard/src/source/oolite/oolite'
Making all for objc_program oolite...
Compiling file src/Core/legacy_random.c ...
Compiling file src/BSDCompat/strlcpy.c ...
Compiling file src/Core/Debug/OOTCPStreamDecoder.c ...
Compiling file src/Core/OOPlanetData.c ...
Compiling file src/Core/MiniZip/ioapi.c ...
Compiling file src/Core/MiniZip/unzip.c ...
Compiling file src/Core/Debug/OODebugMonitor.m ...
In file included from src/Core/OOOpenALController.h:27:0,
from src/Core/OOALSound.h:28,
from src/Core/OOSound.h:49,
from src/Core/Universe.h:34,
from src/Core/Scripting/OOJavaScriptEngine.h:27,
from src/Core/Scripting/OOJSScript.h:27,
from src/Core/Debug/OODebugMonitor.m:40:
src/Core/OOOpenAL.h:34:19: fatal error: AL/al.h: No such file or directory
compilation terminated.
make[4]: *** [obj.spk/oolite.obj/OODebugMonitor.m.o] Error 1
make[3]: *** [internal-objc_program-all_] Error 2
make[2]: *** [oolite.all.objc-program.variables] Error 2
make[1]: *** [internal-all] Error 2
make[1]: Leaving directory `/home/richard/src/source/oolite/oolite'
make: *** [release] Error 2
[richard oolite]$

the file exist on my file system

[richard oolite]$ locate AL/al.h
/home/richard/src/source/oolite/oolite/deps/Windows-deps/x86_64/include/AL/al.h
/home/richard/src/source/oolite/oolite/deps/Windows-deps/x86/include/AL/al.h
/home/richard/src/source/oolite/oolite/deps/Linux-deps/include/AL/al.h

i have no problems bulding the 1.77.1 version and did not chance a thing on
my file system

can sombody explain wat is going on or i am doing wrong

my linux system is Slackware64 13.37.0

Richard
Last edited by Getafix on Tue Jan 07, 2014 12:20 pm, edited 1 time in total.
Reason: Mark as "Solved".
Richard

The only reason I recognize typos is because I make so many of them myself ...
User avatar
cim
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 4072
Joined: Fri Nov 11, 2011 6:19 pm

Re: compiling error trying to build the dev release

Post by cim »

1.79 has an extra library dependency compared with 1.77 - OpenAL is now used for sound. You might find it easiest just to use your system OpenAL library in this case - grab the libopenal-dev package (not sure exactly what it's called on Slackware, but it'll probably be something like that) and go from there.
User avatar
Richard-H
Above Average
Above Average
Posts: 31
Joined: Tue Dec 28, 2010 10:04 am
Location: Somwere in G6

Re: compiling error trying to build the dev release

Post by Richard-H »

cim wrote:
1.79 has an extra library dependency compared with 1.77 - OpenAL is now used for sound. You might find it easiest just to use your system OpenAL library in this case - grab the libopenal-dev package (not sure exactly what it's called on Slackware, but it'll probably be something like that) and go from there.
thanks cim that is wat was missing
it is working now

Richard
Richard

The only reason I recognize typos is because I make so many of them myself ...
Post Reply