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: Re: gtkada installation problem Date: Wed, 23 Nov 2016 14:03:19 -0500 Organization: A noiseless patient Spider Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Date: Wed, 23 Nov 2016 19:02:08 -0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="21291656dbbbf0e02d2b247d9a4f3ecd"; logging-data="27392"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1839QghKhqQAPxmg69CAYsC" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 In-Reply-To: Cancel-Lock: sha1:sYnqrUSI3WULDKsEi64voACSyWg= Xref: news.eternal-september.org comp.lang.ada:32439 Date: 2016-11-23T14:03:19-05:00 List-Id: On 11/23/2016 03:52 AM, Dmitry A. Kazakov wrote: [snip] > I vaguely remember something like that. I believe I did "ln -s" from > gnatmake to gprbuild. It is also possible to install gprbuild from > another version. Sometimes that works too. gprbuild is available on this system. I suspect something is broken in how the doinstall script or it expects information from the environment that isn't setup correctly. > I never managed to compile GtkAda with OpenGL. Do you really need it? > You can disable OpenGL in the configure. I don't know if I will need it. For the most part, I am looking at the tool and the company, and generally assessing the technology and its community/culture. > BTW, I have packaged versions GtkAda GPL (without OpenGL) for some > targets here: > > http://www.dmitry-kazakov.de/ada/gtkada.htm Thanks. I've collected most of the source code that you've made available on your website. I'll probably study it during the next few weeks and probably use some of it to explore the GNAT tools (for building and managing software). But I am a little hesitant to install binaries from untrusted sources... Besides, I think I managed to get gtkada installed (I haven't tested it). For posterity: [hanzer@galileo7]$ git clone https://github.com/AdaCore/gtkada.git [hanzer@galileo7]$ cd gtkada/ [hanzer@galileo7]$ sudo ./doinstall Gtk+ binary package not found. Aborting the installation process. [hanzer@galileo7]$ ./configure --prefix=/opt/gtkada ... configure: --------- Summary for Gtkada 18.0w ----------------- configure: Shared libraries: yes (default: static) configure: OpenGL: True configure: -------------------------------------------- [hanzer@galileo7]$ make ...# Looks good. [hanzer@galileo7]$ sudo make install /opt/gnat/bin/gprinstall -p -f --project-subdir=lib/gnat --build-var=LIBRARY_TYPE --install-name=gtkada --prefix=/opt/gtkada -XGTK_PREFIX=/opt/gtkada -XLIBRARY_TYPE=static-pic --build-name=static-pic \ --sources-subdir=include/gtkada/gtkada.static-pic \ --lib-subdir=lib/gtkada/gtkada.static-pic \ -Psrc/gtkada.gpr gprinstall: could not locate gprconfig for auto-configuration make: *** [install/static-pic] Error 4 [hanzer@galileo7]$ which gprconfig /opt/gnat/bin/gprconfig [hanzer@galileo7]$ sudo make PATH=/opt/gnat/bin:$PATH install ... ----------------------------------------------------------------------- -- GtkAda has now been installed. -- -- To use the library, you may need to update LD_LIBRARY_PATH -- -- or to run ldconfig. You may also need to update GPR_PROJECT_PATH -- -- to include -- -- /opt/gtkada/lib/gnat ----------------------------------------------------------------------- # Success, it would seem...