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=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,578ac3433f104a7c X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news1.google.com!news.glorb.com!gegeweb.org!aioe.org!nospam From: "John B. Matthews" Newsgroups: comp.lang.ada Subject: Re: Problem for testgtk build Date: Wed, 09 Sep 2009 12:28:49 -0400 Organization: The Wasteland Message-ID: References: <4aa79c75$0$2849$ba620e4c@news.skynet.be> <4aa7c397$0$2859$ba620e4c@news.skynet.be> NNTP-Posting-Host: LQJtZWzu+iKlBROuDg+IUg.user.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.0 Cancel-Lock: sha1:NmY7+UDXgqnHEyhi6ASDjzIqJYE= User-Agent: MT-NewsWatcher/3.5.3b3 (Intel Mac OS X) Xref: g2news2.google.com comp.lang.ada:8257 Date: 2009-09-09T12:28:49-04:00 List-Id: In article <4aa7c397$0$2859$ba620e4c@news.skynet.be>, Olivier Scalbert wrote: > John B. Matthews wrote: > > In this context, I think it means that you have run ./configure, which > > is part the GNU Autotools. This is an initial step that creates the > > actual Makfile(s) when building GtkAda from source. > > > > Testgtk is typically installed in the shared examples directory: > > > > $PREFIX/share/examples/gtkada/testgtk > > > > [$PREFIX is wherever aptitude put GtkAda.] > > > Thanks John for helping me. > I do not want to build libgtkada as it is already installed ! > I have succeed to compile small gtkada demos so everything should work. > > I just want to build the complete testgtk project, but I see no > ./configure under the testgtk directory. I think I understand. The problem is that testgtk is not a standalone project: the Makefile for testgtk doesn't exist until you run ./configure. First, check that it's not already installed in the shared examples directory, as suggested above. Failing that, you might be able to download the GtkAda source, run ./configure using the --prefix option to point to your existing installation, then cd into testgtk to run the freshly minted Makefile. You might also look at `./configure --help`. I don't think you can hurt anything that `apt-get install` can't fix, but there's a lot I don't know about Autotools. FWIW, here's my notes for building GtkAda on Mac OS X: -- John B. Matthews trashgod at gmail dot com