comp.lang.ada
 help / color / mirror / Atom feed
From: Joe <joesmoe10@gmail.com>
Subject: Using GtkAda in Ubuntu
Date: Thu, 11 Sep 2008 12:55:55 -0700 (PDT)
Date: 2008-09-11T12:55:55-07:00	[thread overview]
Message-ID: <76b70293-fe58-48ff-98e8-fdf3af209fd6@i76g2000hsf.googlegroups.com> (raw)

Hey all,

I'm having some trouble getting GtkAda setup on my computer.

I'm using Ubuntu 8.10, gtkAda 2.12 and gnat 4.3.1.

Compiling the simple window example results in this:

simple.adb:1:06: file "gtk.ads" not found
gnatmake: "simple.adb" compilation error

I have installed all the libgtkada's, and gnat-glade installed.

I think it has to do with the gtkada2-config script. I think the paths
that the script looks for are different than what I have. On my system
I don't have /usr/lib/gtkada or /usr/include/gtkada. The path for
gtkada seems to be /usr/lib/ada/adalib/gtkada2 and /usr/share/ada/
adainclude/gtkada2

I changed the libdir and includedir script variables to the locations
on my computer and compiling mostly worked until I got this:

/usr/bin/ld: cannot find -lgtkada
collect2: ld returned 1 exit status
gnatlink: error when calling /usr/bin/gcc-4.3
gnatmake: *** link failed.

Any help would be appreciated.  Also, is there someway to put the
many .ali and .o files somewhere else.



             reply	other threads:[~2008-09-11 19:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-11 19:55 Joe [this message]
2008-09-11 20:39 ` Using GtkAda in Ubuntu Ludovic Brenta
2008-09-11 21:22   ` Joe
2008-09-12  7:12     ` Ludovic Brenta
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox