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: 103376,15cc087adff65a9f X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!postnews.google.com!m73g2000cwd.googlegroups.com!not-for-mail From: "Ludovic Brenta" Newsgroups: comp.lang.ada Subject: Re: Is there a GMGPL GtkAda available for use with GNAT 3.15p? Date: 18 Aug 2006 03:37:22 -0700 Organization: http://groups.google.com Message-ID: <1155897442.483243.102480@m73g2000cwd.googlegroups.com> References: <1155846135.283677.28720@m79g2000cwm.googlegroups.com> NNTP-Posting-Host: 212.190.145.10 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1155897448 16827 127.0.0.1 (18 Aug 2006 10:37:28 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 18 Aug 2006 10:37:28 +0000 (UTC) In-Reply-To: <1155846135.283677.28720@m79g2000cwm.googlegroups.com> User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; SunOS sun4u; fr-FR; rv:1.6) Gecko/20040116,gzip(gfe),gzip(gfe) X-HTTP-Via: 1.1 SEVPXS01 Complaints-To: groups-abuse@google.com Injection-Info: m73g2000cwd.googlegroups.com; posting-host=212.190.145.10; posting-account=ZjNXewwAAADyBPkwI57_UcX8yKfXWOss Xref: g2news2.google.com comp.lang.ada:6258 Date: 2006-08-18T03:37:22-07:00 List-Id: randomm@mindless.com a =E9crit : > X-No-Archive:Yes Please stop doing that. Your question, and my answer, might be useful for other people who will later search the archives of c.l.a. See also ESR's "How to ask questions the smart way" [1]. [1] http://www.catb.org/~esr/faqs/smart-questions.html > At the considerable and absolutely unintentional risk of starting > another licensing discussion frenzy- can anyone tell me if there is a > GtkAda under the modified GPL that I can use with 3.15p, and if so, > where I can obtain it? >>From Debian or gnuada.sourceforge.net, of course. I think the gnuada packages are designed for parallel installation on several platforms. > I had an old source archive and I've spent all evening trying to build > it. I've all the prereqs (possibly at levels that are too high) but I > don't have things installed in standard paths (Linux) because I'm > running multiple copies of gcc on this machine. I created a user just > for working with the 3.15p toolset. I can build vanilla Ada sources > and ncurses applications without difficulty so the base 3.15p and > ncurses installations are fine. What I'm unable to do is to build > GtkAda in this environment. > > I built glib, gettext, and Gtk+2.6 (several times each) and I still get > all kinds of errors when I try to build GtkAda 2.4.0 because it says I > don't have some of these things installed. When I built almost every > .adb in Emacs using gnatmake from Ada-mode everything compiled properly > but then I couldn't bind any sample programs because of unresolved > symbols (missing libraries). > > If any kind soul would help with this that would be grand. > > Thanks, > Randall Since you're obviously willing to spend as much time as necessary, why don't you go all the way and solve your problem once and for all? If not already done, install Debian Sarge (with GNAT 3.15p and GtkAda 2.4 under GMGPL in the standard paths), then create a chroot environment containing Etch or Sid (with GCC 4.1 as the Ada compiler, but no GtkAda yet). You can create as many chroots as you like. Use debootstrap to create each of them, then use apt-get inside each chroot to install packages as usual. Then, bind-mount your /home directory in each of the chroots, so you share it between all chroots and the top-level root. Then, copy your top-level /etc/passwd into each of the chroots, so all users of the top-level root also exist in the chroots. Last, use dchroot to allow non-root users to use chroot in a controlled way. This solution is less error-prone, quicker, and much much more maintainable than recompiling everything. I use it myself on my machine: Etch with gnat 3.15p in the top-level root, Sid (unstable) with GCC 4.1 in a chroot where I do the Ada transition. --=20 Ludovic Brenta.