Topic: Svn build error on Mageia Linux

I have previously built Maratis before on debian based linux distros, Windows 7, and MacOSX, but have not run into this problem before.
Im trying to build current svn version 230 of Maratis. Im running a 64bit version of Mageia Linux with an rpm based package managment system.
I have installed the 32bit libraries it is looking for but it says there all incompatable.

The precompiled binaries on the downloads page start but have no sound

Here is the scons build output with the errors:

$ python scons.py
scons: Reading SConscript files ...                                                                                                                                                                               
sys.platform: linux2
Build in release mode
Using 3rdparty libraries in folder: /home/bryce/maratis-read-only/3rdparty
Manual use final dir : /home/bryce/maratis-read-only/trunk/dev/prod/linux2/release/Examples/ManualUse
scons: done reading SConscript files.
scons: Building targets ...
g++ -o build/linux2/release/Examples/ManualUse/ManualUse -Wl,--as-needed -Wl,--allow-multiple-definition -Wl,-rpath,. -Wl,-rpath=@loader_path/. build/linux2/release/Examples/ManualUse/main.o build/linux2/release/Examples/ManualUse/MyGame.o -Lbuild/linux2/release/MSDK/MaratisCore -LMSDK/MaratisCore -Lbuild/linux2/release/MSDK/MEngine -LMSDK/MEngine -Lbuild/linux2/release/MSDK/MCore -LMSDK/MCore -Lbuild/linux2/release/MSDK/MGui -LMSDK/MGui -Lbuild/linux2/release/Maratis/Common -LMaratis/Common -Lbuild/linux2/release/3rdparty/lua -L/home/bryce/maratis-read-only/3rdparty/lua -Lbuild/linux2/release/3rdparty/bullet -L/home/bryce/maratis-read-only/3rdparty/bullet -L/home/bryce/maratis-read-only/3rdparty/openal/linux -Lbuild/linux2/release/3rdparty/glee -L/home/bryce/maratis-read-only/3rdparty/glee -Lbuild/linux2/release/3rdparty/devil -L/home/bryce/maratis-read-only/3rdparty/devil -Lbuild/linux2/release/3rdparty/tinyxml -L/home/bryce/maratis-read-only/3rdparty/tinyxml -Lbuild/linux2/release/3rdparty/libpng -L/home/bryce/maratis-read-only/3rdparty/libpng -Lbuild/linux2/release/3rdparty/libjpeg -L/home/bryce/maratis-read-only/3rdparty/libjpeg -Lbuild/linux2/release/3rdparty/zlib -L/home/bryce/maratis-read-only/3rdparty/zlib -Lbuild/linux2/release/3rdparty/freetype -L/home/bryce/maratis-read-only/3rdparty/freetype -L/home/bryce/maratis-read-only/3rdparty/libsndfile/linux -lMaratisCommon -lMEngine -lMCore -lMGui -lGL -lXxf86vm -lX11 -ldl -llua -lbullet -lopenal -lglee -lil -ltinyxml -lpng -ljpeg -lzlib -lfreetype -lsndfile
/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-mageia-linux-gnu/4.8.2/../../../libGL.so when searching for -lGL
/bin/ld: skipping incompatible /lib/libGL.so when searching for -lGL
/bin/ld: skipping incompatible /usr/lib/libGL.so when searching for -lGL
/bin/ld: cannot find -lGL
/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-mageia-linux-gnu/4.8.2/../../../libXxf86vm.so when searching for -lXxf86vm
/bin/ld: skipping incompatible /lib/libXxf86vm.so when searching for -lXxf86vm
/bin/ld: skipping incompatible /usr/lib/libXxf86vm.so when searching for -lXxf86vm
/bin/ld: cannot find -lXxf86vm
/bin/ld: skipping incompatible /home/bryce/maratis-read-only/3rdparty/openal/linux/libopenal.so when searching for -lopenal
/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-mageia-linux-gnu/4.8.2/../../../libopenal.so when searching for -lopenal
/bin/ld: skipping incompatible /lib/libopenal.so when searching for -lopenal
/bin/ld: skipping incompatible /usr/lib/libopenal.so when searching for -lopenal
/bin/ld: cannot find -lopenal
/bin/ld: skipping incompatible /home/bryce/maratis-read-only/3rdparty/libsndfile/linux/libsndfile.so when searching for -lsndfile
/bin/ld: skipping incompatible /home/bryce/maratis-read-only/3rdparty/libsndfile/linux/libsndfile.a when searching for -lsndfile
/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-mageia-linux-gnu/4.8.2/../../../libsndfile.so when searching for -lsndfile
/bin/ld: skipping incompatible /lib/libsndfile.so when searching for -lsndfile
/bin/ld: skipping incompatible /usr/lib/libsndfile.so when searching for -lsndfile
/bin/ld: cannot find -lsndfile
build/linux2/release/3rdparty/lua/liblua.a(loslib.o): In function `os_tmpname':
loslib.c:(.text+0x22d): warning: the use of `tmpnam' is dangerous, better use `mkstemp'
collect2: error: ld returned 1 exit status
scons: *** [build/linux2/release/Examples/ManualUse/ManualUse] Error 1
scons: building terminated because of errors.
[bryce@localhost dev]$ python scons.py
scons: Reading SConscript files ...
sys.platform: linux2
Build in release mode
Using 3rdparty libraries in folder: /home/bryce/maratis-read-only/3rdparty
Manual use final dir : /home/bryce/maratis-read-only/trunk/dev/prod/linux2/release/Examples/ManualUse
scons: done reading SConscript files.
scons: Building targets ...
g++ -o build/linux2/release/Examples/ManualUse/ManualUse -Wl,--as-needed -Wl,--allow-multiple-definition -Wl,-rpath,. -Wl,-rpath=@loader_path/. build/linux2/release/Examples/ManualUse/main.o build/linux2/release/Examples/ManualUse/MyGame.o -Lbuild/linux2/release/MSDK/MaratisCore -LMSDK/MaratisCore -Lbuild/linux2/release/MSDK/MEngine -LMSDK/MEngine -Lbuild/linux2/release/MSDK/MCore -LMSDK/MCore -Lbuild/linux2/release/MSDK/MGui -LMSDK/MGui -Lbuild/linux2/release/Maratis/Common -LMaratis/Common -Lbuild/linux2/release/3rdparty/lua -L/home/bryce/maratis-read-only/3rdparty/lua -Lbuild/linux2/release/3rdparty/bullet -L/home/bryce/maratis-read-only/3rdparty/bullet -L/home/bryce/maratis-read-only/3rdparty/openal/linux -Lbuild/linux2/release/3rdparty/glee -L/home/bryce/maratis-read-only/3rdparty/glee -Lbuild/linux2/release/3rdparty/devil -L/home/bryce/maratis-read-only/3rdparty/devil -Lbuild/linux2/release/3rdparty/tinyxml -L/home/bryce/maratis-read-only/3rdparty/tinyxml -Lbuild/linux2/release/3rdparty/libpng -L/home/bryce/maratis-read-only/3rdparty/libpng -Lbuild/linux2/release/3rdparty/libjpeg -L/home/bryce/maratis-read-only/3rdparty/libjpeg -Lbuild/linux2/release/3rdparty/zlib -L/home/bryce/maratis-read-only/3rdparty/zlib -Lbuild/linux2/release/3rdparty/freetype -L/home/bryce/maratis-read-only/3rdparty/freetype -L/home/bryce/maratis-read-only/3rdparty/libsndfile/linux -lMaratisCommon -lMEngine -lMCore -lMGui -lGL -lXxf86vm -lX11 -ldl -llua -lbullet -lopenal -lglee -lil -ltinyxml -lpng -ljpeg -lzlib -lfreetype -lsndfile
/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-mageia-linux-gnu/4.8.2/../../../libGL.so when searching for -lGL
/bin/ld: skipping incompatible /lib/libGL.so when searching for -lGL
/bin/ld: skipping incompatible /usr/lib/libGL.so when searching for -lGL
/bin/ld: cannot find -lGL
/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-mageia-linux-gnu/4.8.2/../../../libXxf86vm.so when searching for -lXxf86vm
/bin/ld: skipping incompatible /lib/libXxf86vm.so when searching for -lXxf86vm
/bin/ld: skipping incompatible /usr/lib/libXxf86vm.so when searching for -lXxf86vm
/bin/ld: cannot find -lXxf86vm
/bin/ld: skipping incompatible /home/bryce/maratis-read-only/3rdparty/openal/linux/libopenal.so when searching for -lopenal
/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-mageia-linux-gnu/4.8.2/../../../libopenal.so when searching for -lopenal
/bin/ld: skipping incompatible /lib/libopenal.so when searching for -lopenal
/bin/ld: skipping incompatible /usr/lib/libopenal.so when searching for -lopenal
/bin/ld: cannot find -lopenal
/bin/ld: skipping incompatible /home/bryce/maratis-read-only/3rdparty/libsndfile/linux/libsndfile.so when searching for -lsndfile
/bin/ld: skipping incompatible /home/bryce/maratis-read-only/3rdparty/libsndfile/linux/libsndfile.a when searching for -lsndfile
/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-mageia-linux-gnu/4.8.2/../../../libsndfile.so when searching for -lsndfile
/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-mageia-linux-gnu/4.8.2/../../../libsndfile.a when searching for -lsndfile
/bin/ld: skipping incompatible /lib/libsndfile.so when searching for -lsndfile
/bin/ld: skipping incompatible /lib/libsndfile.a when searching for -lsndfile
/bin/ld: skipping incompatible /usr/lib/libsndfile.so when searching for -lsndfile
/bin/ld: skipping incompatible /usr/lib/libsndfile.a when searching for -lsndfile
/bin/ld: cannot find -lsndfile
build/linux2/release/3rdparty/lua/liblua.a(loslib.o): In function `os_tmpname':
loslib.c:(.text+0x22d): warning: the use of `tmpnam' is dangerous, better use `mkstemp'
collect2: error: ld returned 1 exit status
scons: *** [build/linux2/release/Examples/ManualUse/ManualUse] Error 1
scons: building terminated because of errors.

Re: Svn build error on Mageia Linux

I was able to fix the opengl library error by adding a common files package for opengl. Now Im just left with the lsndfile problem.

$ python scons.py
scons: Reading SConscript files ...
sys.platform: linux2
Build in release mode
Using 3rdparty libraries in folder: /home/bryce/maratis-read-only/3rdparty
Manual use final dir : /home/bryce/maratis-read-only/trunk/dev/prod/linux2/release/Examples/ManualUse
scons: done reading SConscript files.
scons: Building targets ...
g++ -o build/linux2/release/Examples/ManualUse/ManualUse -Wl,--as-needed -Wl,--allow-multiple-definition -Wl,-rpath,. -Wl,-rpath=@loader_path/. build/linux2/release/Examples/ManualUse/main.o build/linux2/release/Examples/ManualUse/MyGame.o -Lbuild/linux2/release/MSDK/MaratisCore -LMSDK/MaratisCore -Lbuild/linux2/release/MSDK/MEngine -LMSDK/MEngine -Lbuild/linux2/release/MSDK/MCore -LMSDK/MCore -Lbuild/linux2/release/MSDK/MGui -LMSDK/MGui -Lbuild/linux2/release/Maratis/Common -LMaratis/Common -Lbuild/linux2/release/3rdparty/lua -L/home/bryce/maratis-read-only/3rdparty/lua -Lbuild/linux2/release/3rdparty/bullet -L/home/bryce/maratis-read-only/3rdparty/bullet -L/home/bryce/maratis-read-only/3rdparty/openal/linux -Lbuild/linux2/release/3rdparty/glee -L/home/bryce/maratis-read-only/3rdparty/glee -Lbuild/linux2/release/3rdparty/devil -L/home/bryce/maratis-read-only/3rdparty/devil -Lbuild/linux2/release/3rdparty/tinyxml -L/home/bryce/maratis-read-only/3rdparty/tinyxml -Lbuild/linux2/release/3rdparty/libpng -L/home/bryce/maratis-read-only/3rdparty/libpng -Lbuild/linux2/release/3rdparty/libjpeg -L/home/bryce/maratis-read-only/3rdparty/libjpeg -Lbuild/linux2/release/3rdparty/zlib -L/home/bryce/maratis-read-only/3rdparty/zlib -Lbuild/linux2/release/3rdparty/freetype -L/home/bryce/maratis-read-only/3rdparty/freetype -L/home/bryce/maratis-read-only/3rdparty/libsndfile/linux -lMaratisCommon -lMEngine -lMCore -lMGui -lGL -lXxf86vm -lX11 -ldl -llua -lbullet -lopenal -lglee -lil -ltinyxml -lpng -ljpeg -lzlib -lfreetype -lsndfile
/bin/ld: skipping incompatible /home/bryce/maratis-read-only/3rdparty/openal/linux/libopenal.so when searching for -lopenal
/bin/ld: skipping incompatible /home/bryce/maratis-read-only/3rdparty/libsndfile/linux/libsndfile.so when searching for -lsndfile
/bin/ld: skipping incompatible /home/bryce/maratis-read-only/3rdparty/libsndfile/linux/libsndfile.a when searching for -lsndfile
/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-mageia-linux-gnu/4.8.2/../../../libsndfile.so when searching for -lsndfile
/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-mageia-linux-gnu/4.8.2/../../../libsndfile.a when searching for -lsndfile
/bin/ld: skipping incompatible /lib/libsndfile.so when searching for -lsndfile
/bin/ld: skipping incompatible /lib/libsndfile.a when searching for -lsndfile
/bin/ld: skipping incompatible /usr/lib/libsndfile.so when searching for -lsndfile
/bin/ld: skipping incompatible /usr/lib/libsndfile.a when searching for -lsndfile
/bin/ld: cannot find -lsndfile
build/linux2/release/3rdparty/lua/liblua.a(loslib.o): In function `os_tmpname':
loslib.c:(.text+0x22d): warning: the use of `tmpnam' is dangerous, better use `mkstemp'
collect2: error: ld returned 1 exit status
scons: *** [build/linux2/release/Examples/ManualUse/ManualUse] Error 1
scons: building terminated because of errors.

Re: Svn build error on Mageia Linux

I was able to build Maratis error free after compiling libvorbis-1.3.4 and libsndfile-1.0.25 from source. But eveytime I load a sound in game it causes a segmentation fault and gives no reason for the error. Does anyone have advice on this?

$ ./MaratisEditor
Info     Render version : 4.4.0 NVIDIA 331.79    in main
Segmentation fault

Re: Svn build error on Mageia Linux

I have gone back to a debian based distro as my primary development environment. You can ignore this.