I was trying to compile this library on GNU/Linux and would like to share my current progress here so that others might continue from here.
Distribution: Debian 12 'Bookworm'
apt update
apt -y upgrade
apt install -y git # git
apt install -y automake autoconf libtool make gcc g++ # build tools
apt install -y libxt-dev libxmu-dev libxi-dev # x-related stuff
apt install -y libgl1-mesa-dev libglu1-mesa-dev # opengl-related stuff
apt install -y gawk # things ./configure misses
git clone https://github.com/jwwalker/Quesa
cd Quesa/Development/Projects/Unix/Scripts/
bash prepareUnixTree.sh
cd ..
sed --in-place 's/\(^AM_INIT_AUTOMAKE(\[\)\(.*\)/\1subdir-objects\])/' configure.in
sed --in-place 's/\.cpp/\.c/' Makefile.am
sed --in-place 's/\.c/\.cpp/' Makefile.am
aclocal
automake --add-missing
automake
autoconf
touch Source/Core/Glue/QD3DCamera.c # because this does not exist but is required.
./configure
The next step, make, currently fails with the following error:
/bin/bash ./libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME="Quesa" -DPACKAGE_TARNAME="quesa" -DPACKAGE_VERSION="1.8" -DPACKAGE_STRING="Quesa\ 1.8" -DPACKAGE_BUGREPORT="quesa_list@designcommunity.com" -DPACKAGE_URL="" -DPACKAGE="quesa" -DVERSION="1.8" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=".libs/" -I. -DQUESA_OS_UNIX=1 -Wall -Wpointer-arith -Wno-cast-qual -Waggregate-return -Wredundant-decls -Wno-multichar -Wno-conversion -Wno-unknown-pragmas -Wno-unused -I./APIincludes -I./Source/Core/Glue -I./Source/Core/System -I./Source/Core/Support -I./Source/Core/Geometry -I./Source/FileFormats -I./Source/FileFormats/Readers/3DMF -I./Source/FileFormats/Writers/3DMF -I./Source/Renderers/Cartoon -I./Source/Renderers/Common -I./Source/Renderers/Generic -I./Source/Renderers/HiddenLine -I./Source/Renderers/Interactive -I./Source/Renderers/MakeStrip -I./Source/Renderers/OpenGL -I./Source/Renderers/Wireframe -I./Source/Unix -x c++ -DQUESA_OS_UNIX=1 -Wall -Wpointer-arith -Wno-cast-qual -Waggregate-return -Wredundant-decls -Wno-multichar -Wno-conversion -Wno-unknown-pragmas -Wno-unused -I./APIincludes -I./Source/Core/Glue -I./Source/Core/System -I./Source/Core/Support -I./Source/Core/Geometry -I./Source/FileFormats -I./Source/FileFormats/Readers/3DMF -I./Source/FileFormats/Writers/3DMF -I./Source/Renderers/Cartoon -I./Source/Renderers/Common -I./Source/Renderers/Generic -I./Source/Renderers/HiddenLine -I./Source/Renderers/Interactive -I./Source/Renderers/MakeStrip -I./Source/Renderers/OpenGL -I./Source/Renderers/Wireframe -I./Source/Unix -DQUESA_HOST_IS_BIG_ENDIAN=0 -g -O2 -MT ./Source/Core/Glue/libquesa_la-QD3DCamera.lo -MD -MP -MF ./Source/Core/Glue/.deps/libquesa_la-QD3DCamera.Tpo -c -o ./Source/Core/Glue/libquesa_la-QD3DCamera.lo test -f './Source/Core/Glue/QD3DCamera.c' || echo './'./Source/Core/Glue/QD3DCamera.c
./libtool: line 879: X--tag=CC: command not found
./libtool: line 912: libtool: ignoring unknown tag : command not found
./libtool: line 879: X--mode=compile: command not found
./libtool: line 1029: *** Warning: inferring the mode of operation is deprecated.: command not found
./libtool: line 1030: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
./libtool: line 1173: Xgcc: command not found
./libtool: line 1173: X-DPACKAGE_NAME="Quesa": command not found
./libtool: line 1173: X-DPACKAGE_TARNAME="quesa": command not found
./libtool: line 1173: X-DPACKAGE_VERSION="1.8": command not found
./libtool: line 1173: X-DPACKAGE_STRING="Quesa 1.8": command not found
./libtool: line 1173: X-DPACKAGE_BUGREPORT="quesa_list@designcommunity.com": command not found
./libtool: line 1173: X-DPACKAGE_URL="": command not found
./libtool: line 1173: X-DPACKAGE="quesa": command not found
./libtool: line 1173: X-DVERSION="1.8": command not found
./libtool: line 1173: X-DHAVE_STDIO_H=1: command not found
./libtool: line 1173: X-DHAVE_STDLIB_H=1: command not found
./libtool: line 1173: X-DHAVE_STRING_H=1: command not found
./libtool: line 1173: X-DHAVE_INTTYPES_H=1: command not found
./libtool: line 1173: X-DHAVE_STDINT_H=1: command not found
./libtool: line 1173: X-DHAVE_STRINGS_H=1: command not found
./libtool: line 1173: X-DHAVE_SYS_STAT_H=1: command not found
./libtool: line 1173: X-DHAVE_SYS_TYPES_H=1: command not found
./libtool: line 1173: X-DHAVE_UNISTD_H=1: command not found
./libtool: line 1173: X-DSTDC_HEADERS=1: command not found
./libtool: line 1173: X-DHAVE_DLFCN_H=1: command not found
./libtool: line 1173: X-DLT_OBJDIR=".libs/": No such file or directory
./libtool: line 1173: X-I.: command not found
./libtool: line 1173: X-DQUESA_OS_UNIX=1: command not found
./libtool: line 1173: X-Wall: command not found
./libtool: line 1173: X-Wpointer-arith: command not found
./libtool: line 1173: X-Wno-cast-qual: command not found
./libtool: line 1173: X-Waggregate-return: command not found
./libtool: line 1173: X-Wredundant-decls: command not found
./libtool: line 1173: X-Wno-multichar: command not found
./libtool: line 1173: X-Wno-conversion: command not found
./libtool: line 1173: X-Wno-unknown-pragmas: command not found
./libtool: line 1173: X-Wno-unused: command not found
./libtool: line 1173: X-I./APIincludes: No such file or directory
./libtool: line 1173: X-I./Source/Core/Glue: No such file or directory
./libtool: line 1173: X-I./Source/Core/System: No such file or directory
./libtool: line 1173: X-I./Source/Core/Support: No such file or directory
./libtool: line 1173: X-I./Source/Core/Geometry: No such file or directory
./libtool: line 1173: X-I./Source/FileFormats: No such file or directory
./libtool: line 1173: X-I./Source/FileFormats/Readers/3DMF: No such file or directory
./libtool: line 1173: X-I./Source/FileFormats/Writers/3DMF: No such file or directory
./libtool: line 1173: X-I./Source/Renderers/Cartoon: No such file or directory
./libtool: line 1173: X-I./Source/Renderers/Common: No such file or directory
./libtool: line 1173: X-I./Source/Renderers/Generic: No such file or directory
./libtool: line 1173: X-I./Source/Renderers/HiddenLine: No such file or directory
./libtool: line 1173: X-I./Source/Renderers/Interactive: No such file or directory
./libtool: line 1173: X-I./Source/Renderers/MakeStrip: No such file or directory
./libtool: line 1173: X-I./Source/Renderers/OpenGL: No such file or directory
./libtool: line 1173: X-I./Source/Renderers/Wireframe: No such file or directory
./libtool: line 1173: X-I./Source/Unix: No such file or directory
./libtool: line 1173: X-x: command not found
./libtool: line 1173: Xc++: command not found
./libtool: line 1173: X-DQUESA_OS_UNIX=1: command not found
./libtool: line 1173: X-Wall: command not found
./libtool: line 1173: X-Wpointer-arith: command not found
./libtool: line 1173: X-Wno-cast-qual: command not found
./libtool: line 1173: X-Waggregate-return: command not found
./libtool: line 1173: X-Wredundant-decls: command not found
./libtool: line 1173: X-Wno-multichar: command not found
./libtool: line 1173: X-Wno-conversion: command not found
./libtool: line 1173: X-Wno-unknown-pragmas: command not found
./libtool: line 1173: X-Wno-unused: command not found
./libtool: line 1173: X-I./APIincludes: No such file or directory
./libtool: line 1173: X-I./Source/Core/Glue: No such file or directory
./libtool: line 1173: X-I./Source/Core/System: No such file or directory
./libtool: line 1173: X-I./Source/Core/Support: No such file or directory
./libtool: line 1173: X-I./Source/Core/Geometry: No such file or directory
./libtool: line 1173: X-I./Source/FileFormats: No such file or directory
./libtool: line 1173: X-I./Source/FileFormats/Readers/3DMF: No such file or directory
./libtool: line 1173: X-I./Source/FileFormats/Writers/3DMF: No such file or directory
./libtool: line 1173: X-I./Source/Renderers/Cartoon: No such file or directory
./libtool: line 1173: X-I./Source/Renderers/Common: No such file or directory
./libtool: line 1173: X-I./Source/Renderers/Generic: No such file or directory
./libtool: line 1173: X-I./Source/Renderers/HiddenLine: No such file or directory
./libtool: line 1173: X-I./Source/Renderers/Interactive: No such file or directory
./libtool: line 1173: X-I./Source/Renderers/MakeStrip: No such file or directory
./libtool: line 1173: X-I./Source/Renderers/OpenGL: No such file or directory
./libtool: line 1173: X-I./Source/Renderers/Wireframe: No such file or directory
./libtool: line 1173: X-I./Source/Unix: No such file or directory
./libtool: line 1173: X-DQUESA_HOST_IS_BIG_ENDIAN=0: command not found
./libtool: line 1173: X-g: command not found
./libtool: line 1173: X-O2: command not found
./libtool: line 1173: X-MT: command not found
./libtool: line 1173: X./Source/Core/Glue/libquesa_la-QD3DCamera.lo: No such file or directory
./libtool: line 1173: X-MD: command not found
./libtool: line 1173: X-MP: command not found
./libtool: line 1173: X-MF: command not found
./libtool: line 1173: X./Source/Core/Glue/.deps/libquesa_la-QD3DCamera.Tpo: No such file or directory
./libtool: line 1173: X-c: command not found
./libtool: line 1224: X./Source/Core/Glue/libquesa_la-QD3DCamera.lo: No such file or directory
./libtool: line 1229: libtool: compile: cannot determine name of library object from `': command not found
make: *** [Makefile:1732: Source/Core/Glue/libquesa_la-QD3DCamera.lo] Error 1
It seems like someone with some autotools expertise ought to take a look at this, as it seems that is where the problem lies.
Reading through Autotools Mythbuster might prove useful to an autotools novice who might want to muddle through to a solution.
I was trying to compile this library on GNU/Linux and would like to share my current progress here so that others might continue from here.
Distribution: Debian 12 'Bookworm'
The next step,
make, currently fails with the following error:It seems like someone with some
autotoolsexpertise ought to take a look at this, as it seems that is where the problem lies.Reading through Autotools Mythbuster might prove useful to an
autotoolsnovice who might want to muddle through to a solution.