New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot build 2016 Linux packages on Debian Jessie #7

Closed
rtyler opened this Issue Jan 7, 2017 · 3 comments

Comments

Projects
None yet
2 participants
@rtyler
Copy link

rtyler commented Jan 7, 2017

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

This comment has been minimized.

Copy link
Member

setton commented Jan 7, 2017

Try configuring with --with-GL=no, this should allow you to go further.

@setton setton closed this Jan 7, 2017

@rtyler

This comment has been minimized.

Copy link

rtyler commented Jan 7, 2017

@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) ✗ 
@setton

This comment has been minimized.

Copy link
Member

setton commented Jan 7, 2017

@rtyler there were a number of commits between the creation of the libre.adacore.com tarball and this repository, I'm guessing one of them (perhaps 0dfde6) fixed this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment