comp.lang.ada
 help / color / mirror / Atom feed
* GtkAda 2.2.1 install problem on Linux
@ 2004-05-27  2:23 Keith Brown
  2004-05-27  2:52 ` Greg LaPolla
  0 siblings, 1 reply; 6+ messages in thread
From: Keith Brown @ 2004-05-27  2:23 UTC (permalink / raw)


To All,

I'm having trouble getting GtkAda 2.2.1 to install on my Mandrake 9.2 system. I
have gnat 3.15p installed. Then I try to install Gtkada. As you can see below I
do the ./configure below and it appears to complete successfully.  Then I do
the make install (also below) and I get the error below. What am I doing wrong?
Thanks in advance.

Keith


[root@wkbux2 GtkAda-2.2.1]# ./configure --prefix=/usr/gnat/bin
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for merge... /usr/bin/merge
checking whether merge works correctly...... yes
checking for diff... /usr/bin/diff
checking for the correct diff option... -u
checking for patch... /usr/bin/patch
checking for the correct patch option... -f
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gnatmake... /usr/gnat/bin/gnatmake
checking that your gnat compiler works with a simple example... yes
checking for perl5... /usr/bin/perl5
checking whether make sets ${MAKE}... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for pkg-config... /usr/bin/pkg-config
checking for GTK - version >= 2.2.0... yes
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether NLS is requested... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for gettext in libc... yes
checking for OpenGL... no
checking for Mesa... no
checking Mesa with pthreads... no
*** OpenGL support will not be integrated into GtkAda ***
checking for libglade2... yes
checking for gnome2... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile.common
config.status: creating src/Makefile
config.status: creating src/gtkada-config
config.status: creating src/gate
config.status: creating testgtk/Makefile
config.status: creating src/gtkextra/Makefile
config.status: creating src/opengl/Makefile
config.status: creating src/glade/Makefile
config.status: creating src/gnome/Makefile
config.status: creating docs/gtkada_ug/Makefile
config.status: creating docs/gtkada_rm/Makefile
[root@wkbux2 GtkAda-2.2.1]#

root@wkbux2 GtkAda-2.2.1]# make install
make -C src install
make[1]: Entering directory `/home/keith/GtkAda-2.2.1/src'
mkdir -p lib-obj
chmod +x gate gtkada-config
make -C gtkextra
make[2]: Entering directory `/home/keith/GtkAda-2.2.1/src/gtkextra'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/keith/GtkAda-2.2.1/src/gtkextra'
gnatprep -DGETTEXT_INTL=False \
  -DHAVE_GETTEXT=True gtkada-intl.gpb gtkada-intl.adb
gcc -c -I../ -O2 -gnatn -gnatws -fPIC -I- ../gtkada-intl.adb
cd lib-obj; gcc -c -g -O2 -Wall -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0
-I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include   -I.. -fPIC ../misc.c
In file included from /usr/include/glib-2.0/glib.h:50,
                 from ../misc.c:36:
/usr/include/glib-2.0/glib/gmessages.h:116: warning: invalid character in macro
parameter name
/usr/include/glib-2.0/glib/gmessages.h:116: badly punctuated parameter list in
`#define'
/usr/include/glib-2.0/glib/gmessages.h:119: warning: invalid character in macro
parameter name
/usr/include/glib-2.0/glib/gmessages.h:119: badly punctuated parameter list in
`#define'
/usr/include/glib-2.0/glib/gmessages.h:122: warning: invalid character in macro
parameter name
/usr/include/glib-2.0/glib/gmessages.h:122: badly punctuated parameter list in
`#define'
/usr/include/glib-2.0/glib/gmessages.h:125: warning: invalid character in macro
parameter name
/usr/include/glib-2.0/glib/gmessages.h:125: badly punctuated parameter list in
`#define'
make[1]: *** [lib-obj/misc.o] Error 1
make[1]: Leaving directory `/home/keith/GtkAda-2.2.1/src'
make: *** [install] Error 2


-- 
Keith Brown



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: GtkAda 2.2.1 install problem on Linux
  2004-05-27  2:23 Keith Brown
@ 2004-05-27  2:52 ` Greg LaPolla
  2004-05-28  4:52   ` Keith Brown
  0 siblings, 1 reply; 6+ messages in thread
From: Greg LaPolla @ 2004-05-27  2:52 UTC (permalink / raw)


On Wed, 26 May 2004 21:23:36 -0500, Keith Brown
<kbrown2720@NOSPAMcomcast.net> wrote:

>To All,
>
>I'm having trouble getting GtkAda 2.2.1 to install on my Mandrake 9.2 system. I
>have gnat 3.15p installed. Then I try to install Gtkada. As you can see below I
>do the ./configure below and it appears to complete successfully.  Then I do
>the make install (also below) and I get the error below. What am I doing wrong?
>Thanks in advance.
>
>Keith
>
>

It has been my expierence that gtkada will not build with gtk+2.4.x
check your version of gtk, you may have to downgrade.  I had the same
issue on gentoo.


Greg



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: GtkAda 2.2.1 install problem on Linux
  2004-05-27  2:52 ` Greg LaPolla
@ 2004-05-28  4:52   ` Keith Brown
  2004-06-02  4:50     ` Greg LaPolla
  0 siblings, 1 reply; 6+ messages in thread
From: Keith Brown @ 2004-05-28  4:52 UTC (permalink / raw)


Greg LaPolla wrote:

> On Wed, 26 May 2004 21:23:36 -0500, Keith Brown
> <kbrown2720@NOSPAMcomcast.net> wrote:
> 
>>To All,
>>
>>I'm having trouble getting GtkAda 2.2.1 to install on my Mandrake 9.2 system.
>>I have gnat 3.15p installed. Then I try to install Gtkada. As you can see
>>below I
>>do the ./configure below and it appears to complete successfully.  Then I do
>>the make install (also below) and I get the error below. What am I doing
>>wrong? Thanks in advance.
>>
>>Keith
>>
>>
> 
> It has been my expierence that gtkada will not build with gtk+2.4.x
> check your version of gtk, you may have to downgrade.  I had the same
> issue on gentoo.
> 
> 
> Greg


Greg,

Thanks for the response. I listed my installed gtk+ version below. Should GtkAda
work with this gtk+ version or not?

Name: gtk+2.0
Version: 2.2.4-2mdk

-- 
Keith Brown



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: GtkAda 2.2.1 install problem on Linux
  2004-05-28  4:52   ` Keith Brown
@ 2004-06-02  4:50     ` Greg LaPolla
  0 siblings, 0 replies; 6+ messages in thread
From: Greg LaPolla @ 2004-06-02  4:50 UTC (permalink / raw)


Keith,

  I was out for the weekend.  here is what I have discovered so far:

I installed Fedora Core 2.  I installed gnat 3.15p.  Gtkada would not
build, I got the same errors as you.  But, using the gnat compiler that
comes with fedora core 2 (GNAT 3.3.3 20040412 (Red Hat Linux 3.3.3-7) 
Copyright 1996-2002 Free Software Foundation, Inc.)  Gtkada build
progressed further along spitting out the errors I have seen before caused
by using gtk+2.4.x which is the default on Fedora.  This is strange
because it goes past the errors previously noted in this thread.  I wonder
if it might be an issue with make ?  This is why my dev box runs gentoo so
I dont have these issues :).  Well almost no issues.  If I could get the
documentation to compile for gnade I would be in business.  I'll play
around a bit more and see if I can pinpoint to problem.




Greg






On Thu, 27 May 2004 23:52:53 -0500, Keith Brown wrote:

> Greg LaPolla wrote:
> 
>> On Wed, 26 May 2004 21:23:36 -0500, Keith Brown
>> <kbrown2720@NOSPAMcomcast.net> wrote:
>> 
>>>To All,
>>>
>>>I'm having trouble getting GtkAda 2.2.1 to install on my Mandrake 9.2 system.
>>>I have gnat 3.15p installed. Then I try to install Gtkada. As you can see
>>>below I
>>>do the ./configure below and it appears to complete successfully.  Then I do
>>>the make install (also below) and I get the error below. What am I doing
>>>wrong? Thanks in advance.
>>>
>>>Keith
>>>
>>>
>> 
>> It has been my expierence that gtkada will not build with gtk+2.4.x
>> check your version of gtk, you may have to downgrade.  I had the same
>> issue on gentoo.
>> 
>> 
>> Greg
> 
> 
> Greg,
> 
> Thanks for the response. I listed my installed gtk+ version below. Should GtkAda
> work with this gtk+ version or not?
> 
> Name: gtk+2.0
> Version: 2.2.4-2mdk




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: GtkAda 2.2.1 install problem on Linux
       [not found] <.@techdog.com>
@ 2004-06-17  0:30 ` hvengel
  2004-06-17 15:38   ` Ludovic Brenta
  0 siblings, 1 reply; 6+ messages in thread
From: hvengel @ 2004-06-17  0:30 UTC (permalink / raw)



Has this been solved?  Was it the Gtk version?  I am having problems getting GtkAda to make on my machine and it appears to be very much like the case described in this thread.  I have Gtk version 2.2.4x.  Do I need to down version for this to work?  If so what version?

Hal

-- 
posted via http://techdog.com



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: GtkAda 2.2.1 install problem on Linux
  2004-06-17  0:30 ` GtkAda 2.2.1 install problem on Linux hvengel
@ 2004-06-17 15:38   ` Ludovic Brenta
  0 siblings, 0 replies; 6+ messages in thread
From: Ludovic Brenta @ 2004-06-17 15:38 UTC (permalink / raw)



GtkAda 2.2.1 requires the following to compile:

- GNAT 3.15p or GCC >= 3.3 for the Ada portions of GtkAda
- GCC >= 3.3 for the C portions of GtkAda (specifically the gtkextra library)
- GTK+ < 2.4 (i.e. it won't work with 2.4, but will work with 2.0 or 2.2)

Work is under way to support GTK+ 2.4, but no date has been set.  In fact
there has been a discussion on this topic just today on the GtkAda mailing
list at

http://lists.act-europe.fr/mailman/listinfo/gtkada

If you use GNAT 3.15p, then you need to specify "gcc" instead of "gnatgcc"
as the C compiler.  I don't remember off the top of my head how this is done,
but it is quite simple.  If you want to program in Ada, I suggest you use
Debian anyway :)

HTH

-- 
Ludovic Brenta.


-- 
Use our news server 'news.foorum.com' from anywhere.
More details at: http://nnrpinfo.go.foorum.com/



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-06-17 15:38 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <.@techdog.com>
2004-06-17  0:30 ` GtkAda 2.2.1 install problem on Linux hvengel
2004-06-17 15:38   ` Ludovic Brenta
2004-05-27  2:23 Keith Brown
2004-05-27  2:52 ` Greg LaPolla
2004-05-28  4:52   ` Keith Brown
2004-06-02  4:50     ` Greg LaPolla

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