Page 1 of 1

[Solved] compiling error trying to build the dev release

Posted: Sun Dec 29, 2013 9:57 am
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

Re: compiling error trying to build the dev release

Posted: Mon Dec 30, 2013 4:35 pm
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.

Re: compiling error trying to build the dev release

Posted: Mon Dec 30, 2013 8:27 pm
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