From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: gtkada working on a Ubuntu Machine.... ??&##?!!!!
Date: Fri, 3 Oct 2014 18:11:36 +0200
Date: 2014-10-03T18:11:36+02:00 [thread overview]
Message-ID: <5l92l110rpc$.1v8caxflsb8tq.dlg@40tude.net> (raw)
In-Reply-To: 2YyXv.259296$8M5.213334@fx09.fr7
On Fri, 03 Oct 2014 15:06:38 GMT, Phil wrote:
> I am wondering if someone can give me some pointers on the best way to
> get gtkada properly installed.
Depends on the Gtk version. Normally, you get the packages and install
them. That's all.
> On either windows or Ubuntu.
For Windows the latest public GtkAda + Gtk is in the GNAT GPL 2014.
Is Ubuntu a Debian clone? Then you install Debian's Gtk and GtkAda
packages.
Make sure you are using same Gtk version on all platforms, because Gtk 2.x
is incompatible with Gtk 3.x. [ GNAT GPL 2014 comes with Gtk 3.8. ]
> I have run the program below on a Ubuntu 12.04 box, and get the message
> file "gtkada.ads" not found. error message and sample program below.
>
> I was never really confident the installation was done correctly. As the
> ubuntu software centre already has some components installed or my
> meddling, and I may have doubled up with a download from Adacore. Was it
> done in the correct order and with correct paths etc set.
>
> Any suggestion on what to check first?
>
> gnatmake -d -P/home/ada/ADAprojects/test1001project.gpr
> gcc-4.6 -c -I- -gnatA /home/ada/ADAprojects/test1001.adb
> test1001.adb:1:06: file "gtkada.ads" not found
> gnatmake: "/home/ada/ADAprojects/test1001.adb" compilation error
Check if the project refers to gtkada.gpr or the corresponding one of the
installation. Antique versions used gtkada2.gpr, if I correctly remember.
GCC 4.6 is pretty ancient for Debian. Should be 4.8 if not 4.9 already.
--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de
next prev parent reply other threads:[~2014-10-03 16:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-03 15:06 gtkada working on a Ubuntu Machine.... ??&##?!!!! Phil
2014-10-03 16:11 ` Dmitry A. Kazakov [this message]
2014-10-14 15:30 ` Phil
2014-10-06 20:45 ` brbarkstrom
2014-10-19 21:24 ` brbarkstrom
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox