Cannot build 2016 Linux packages on Debian Jessie
Closed this issue · 3 comments
rtyler commented
I believe I have all the necessary dependencies installed, but the tarball from libre.adacore.com does not seem to want to cooprate with me :(
Configure output:
gtkada-gpl-2016-x86_64-linux-bin ./configure --prefix=$HOME/scratch
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for gprbuild... /home/tyler/scratch/tools/gnat-gpl-2016-x86_64-linux-bin/bin/gprbuild
checking for gprinstall... /home/tyler/scratch/tools/gnat-gpl-2016-x86_64-linux-bin/bin/gprinstall
checking that your gnat compiler works with a simple example... yes
checking whether NLS is requested... yes
checking for gettext in libc... yes
checking for pkg-config... /usr/bin/pkg-config
checking for GTK - version >= 3.14.0... yes
checking for OpenGL... yes
checking for GL32... no
checking for Mesa... no
checking Mesa with pthreads... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating shared.gpr
config.status: creating po/Makefile
config.status: creating src/config.h
configure: --------- Summary for Gtkada 2016 -----------------
configure: Shared libraries: yes (default: static)
configure: OpenGL: True
configure: --------------------------------------------
Failing build output:
gtkada-gpl-2016-x86_64-linux-bin make
====== Building static libraries =====
/home/tyler/scratch/tools/gnat-gpl-2016-x86_64-linux-bin/bin/gprbuild -j0 -m -p -XLIBRARY_TYPE=static -Psrc/gtkada.gpr
"libgtkada.a" up to date
/home/tyler/scratch/tools/gnat-gpl-2016-x86_64-linux-bin/bin/gprbuild -j0 -m -p -XLIBRARY_TYPE=static -Psrc/opengl/gtkada_gl.gpr
"libgtkada_gl.a" up to date
====== Building relocatable libraries =====
/home/tyler/scratch/tools/gnat-gpl-2016-x86_64-linux-bin/bin/gprbuild -j0 -m -p -XLIBRARY_TYPE=relocatable -Psrc/gtkada.gpr
"libgtkada.so" up to date
/home/tyler/scratch/tools/gnat-gpl-2016-x86_64-linux-bin/bin/gprbuild -j0 -m -p -XLIBRARY_TYPE=relocatable -Psrc/opengl/gtkada_gl.gpr
"libgtkada_gl.so" up to date
====== Building tools =====
/home/tyler/scratch/tools/gnat-gpl-2016-x86_64-linux-bin/bin/gprbuild -j0 -m -p -XLIBRARY_TYPE=static -Psrc/tools/tools.gpr
gprbuild: "gtkada-dialog" up to date
====== Building tests =====
cd testgtk; /home/tyler/scratch/tools/gnat-gpl-2016-x86_64-linux-bin/bin/gprbuild -j0 -m -p -XLIBRARY_TYPE=static -Ptestgtk.gpr -aP ../src
gcc -c -g -O0 -gnaty-s -gnatwJ view_gl.adb
view_gl.gpb:3:06: file "gl_h.ads" not found
view_gl.gpb:5:06: file "gdk-gl.ads" not found
view_gl.gpb:10:06: file "glu_h.ads" not found
view_gl.gpb:11:06: file "gtk-glarea.ads" not found
compilation of view_gl.adb failed
gprbuild: *** compilation phase failed
Makefile:85: recipe for target 'tests' failed
make: *** [tests] Error 4
setton commented
Try configuring with --with-GL=no
, this should allow you to go further.
rtyler commented
@setton What I find very interesting is that the latest revision of this repository builds just fine on this machine, with the same ./configure
options
➜ gtkada git:(master) ✗ ./configure --prefix=$HOME/scratch && git rev-parse HEAD
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for gprbuild... /home/tyler/scratch/tools/gnat-gpl-2016-x86_64-linux-bin/bin/gprbuild
checking for gprinstall... /home/tyler/scratch/tools/gnat-gpl-2016-x86_64-linux-bin/bin/gprinstall
checking that your gnat compiler works with a simple example... yes
checking whether NLS is requested... yes
checking for gettext in libc... yes
checking for pkg-config... /usr/bin/pkg-config
checking for GTK - version >= 3.14.0... yes
checking for OpenGL... yes
checking for GL32... no
checking for Mesa... no
checking Mesa with pthreads... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating shared.gpr
config.status: creating po/Makefile
config.status: creating docs/gtkada_rm/html/static/index.html
configure: --------- Summary for Gtkada 18.0w -----------------
configure: Shared libraries: yes (default: static)
configure: OpenGL: True
configure: --------------------------------------------
fc8b2f97543611e9a174f6a0313c7b602ee85aae
➜ gtkada git:(master) ✗