Re: GPS gets 1 mention

Martin Krischik <[email protected]> Fri, 8 Sep 2006 09:12:46 +0200
Newsgroups gmane.comp.ide.gps.user
Message-ID <[email protected]>
Am Freitag, 8. September 2006 06:19 schrieb Hal V. Engel:

> On Thursday 07 September 2006 01:34, Martin Krischik wrote:
> > Am Montag, 4. September 2006 23:31 schrieb Hal V. Engel:
> > > Perhaps if GPS ran on a wider range of Linux machines it would get more
> > > usage/publicity.  I have yet to get any version of GPS running on my
> > > amd64 machine.
> >
> > I usually got the 32bit version to run ok. However the new GPS 4.0.0
> > which comes with GNAT/Pro is distributed as x86_64 binary. And it looks a
> > lot better as well.
> >
> > Sadly I have not been able to recreate a version from the CVS sources.
> >
> > Martin
>
> I decided that I would spend sometime trying to get GPS CVS to build. 
> After installing gnat-gcc 4.1.1, GtkAda 2.8.0 and XmlAda 2.2.0 and setting
> up the various paths and symlink it would not build.  Re-reading the
> INSTALL file I discovered that I should be using GtkAda CVS (ie. same
> version as the GPS I am trying to build).  But after grabbing it I can not
> get it to build.  It appears to get fairly far into the build and fails
> with:
>
> gnatgcc -c -I../ -O2 -gnatn -gnatws -fPIC -I- ../gtk-button.adb
> gnatgcc -c -I../ -O2 -gnatn -gnatws -fPIC -I- ../gtk-button_box.adb
> gnatgcc -c -I../ -O2 -gnatn -gnatws -fPIC -I- ../gtk-calendar.adb
> gnatgcc -c -I../ -O2 -gnatn -gnatws -fPIC -I- ../gtk-cell_editable.ads
> gtk-cell_editable.ads:40:12: package "Gtk.Cell_Editable" does not allow a
> body gtk-cell_editable.ads:40:12: remove incorrect body in
> file "gtk-cell_editable.adb"
> gnatmake: "../gtk-cell_editable.ads" compilation error
> make[1]: *** [lib-obj/make_gtk.o] Error 4
> make[1]: Leaving directory `/home/xxxx/Sources/GtkAda/src'
> make: *** [all] Error 2
>
> I can get GtkAda 2.8.0 to build and install and the the testgtk program
> works. So this is something specific to CVS.  Anyone have any ideas about
> how I can get this to build?

You should try GtkAda 2.8.1 not just HEAD from the CVS archive - The GNU Ada 
Project [1] has got a copy [2]. We also got binaries for some Linux based 
systems.

If rpm is new to you we also got a script [3] to grab GtkAda 2.8.1 right from 
the cvs archive.

If your Linux is not the newest you need to update your Gtk toolchain as well.

But then you might run into automake trouble - at least I did.

Martin

[1] http://gnuada.sourceforge.net/
[2] 
http://sourceforge.net/project/showfiles.php?group_id=12974&package_id=191853
[3] 
http://svn.sourceforge.net/viewvc/gnuada/trunk/rpm/SCRIPTS/Create_GtkAda_Archive.bash

-- 
Martin Krischik
mailto://[email protected]

_______________________________________________
gps-users mailing list
[email protected]
http://lists.adacore.com/mailman/listinfo/gps-users
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQBFAR8hijwKaHyem9cRAnPhAJ9lDGhfbtRucMETvfScerRKuaJo+QCfe1ui
tfHyOMVl7UDPQQxTmqHHKn4=
=Rty9
-----END PGP SIGNATURE-----