From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Adam Jensen Newsgroups: comp.lang.ada Subject: gtkada installation problem Date: Tue, 22 Nov 2016 20:00:14 -0500 Organization: A noiseless patient Spider Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Date: Wed, 23 Nov 2016 00:59:40 -0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="10f06fde0fa5ca4778b2804143dc1f2f"; logging-data="24383"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/63+XcpCGTvJo8hBjKhDu6" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 Cancel-Lock: sha1:O6zjTZ6ziU5fgu21C43wnZ1Rt9Q= Xref: news.eternal-september.org comp.lang.ada:32423 Date: 2016-11-22T20:00:14-05:00 List-Id: I am trying to set up a software development environment based on Adacore's GPL version of GNAT. --------------------This part seems to be okay-------------------- I've installed: AdaCore-Download-2016-11-08_2019-ARM-ELF-Linux.tar into: /opt/gnat-arm AdaCore-Download-2016-11-08_1717.tar contains these: gnatgpl gprbuild gtkada sparkgpl gnatgpl into: /opt/gnat gprbuild seems to be included in gnatgpl. sparkgpl into: /opt/spark2014 I've appropriately modified PATH and set it in ~/.bash_profile ------------------------------------------------------------------ ****** THE PROBLEM IS HERE (with gtkada) ****** [hanzer@galileo7]$ cd gtkada-gpl-2016-x86_64-linux-bin [hanzer@galileo7]$ sudo ./doinstall Enter the name of the directory in which you would like to install GtkAda [/opt/gtkada] Are you now ready to proceed with the installation [Y/n] ? Y Copying the Gtk+ binaries Setting up the environment Compiling GtkAda 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... no checking for gprinstall... no configure: error: I could not find gprbuild. See the file 'INSTALL' for more details. An error occurred. Please see install.log. The personal pronoun in the error message aside for the moment, gprbuild is in the PATH and seems to be accessible: [hanzer@galileo7]$ which gprbuild /opt/gnat/bin/gprbuild If I try: [hanzer@galileo7]$ ./configure --prefix=/opt/gtkada ... configure: --------- Summary for Gtkada 2016 ----------------- configure: Shared libraries: yes (default: static) configure: OpenGL: True configure: -------------------------------------------- [hanzer@galileo7]$ make ... gcc -c -g -O0 -gnaty-s -gnatwJ create_ui_manager.adb gcc -c -g -O0 -gnaty-s -gnatwJ libart_demo.adb 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 make: *** [tests] Error 4 ------------------------------------------------------------------ Any ideas?