[gtkada] Compiling and Running GtkAda with new GPL_2006

jean-jacques.laceampe at orange.fr jean-jacques.laceampe at orange.fr
Mon Jul 17 00:20:27 CEST 2006


I want to use opengl with gtkada on windows xp pro, using gpl 2006.

Cygnus is installed at the root of C :

As you suggest, 

- I have installed : gtk-win32-devel-2.8.18-rc1.exe in /usr/local

- I have unpacked gtkada-gps-3.1.3-src.tgz on C:\

- From c:\gtkada-2.4.2, running a bash,

- I patched : 

$(cd src; patch -p0 < ../contrib/gtkada-2.2-win32.diff)

- I set : 

$ CC='gcc -mms-bitfields'

- In order to find all *.pc I added 

$ export PKG_CONFIG_PATH="c:\lib\pkgconfig;c:\usr\local\lib\pkgconfig"

- I ran : $./configure --prefix=/Gnat/GPL_2006 --build=i386-pc-mingw32

 

And I got :

----------------------------------------

checking build system type... i386-pc-mingw32

checking host system type... i386-pc-mingw32

checking target system type... i386-pc-mingw32

checking for merge... true

checking for diff... /bin/diff

checking for the correct diff option... -u

checking for patch... /bin/patch

checking for the correct patch option... -f

checking for gcc... gcc -mms-bitfields

checking for C compiler default output... a.exe

checking whether the C compiler works... yes

checking whether we are cross compiling... no

checking for suffix of executables... .exe

checking for suffix of object files... o

checking whether we are using the GNU C compiler... yes

checking whether gcc -mms-bitfields accepts -g... yes

checking for gcc -mms-bitfields option to accept ANSI C... none needed

checking for gnatmake... /GNAT/GPL_2006/bin/gnatmake

checking that your gnat compiler works with a simple example... gcc -c
conftest.

adb

gnatbind -x conftest.ali

gnatlink conftest.ali

yes

checking for perl5... no

checking for perl... /bin/perl

checking whether make sets $(MAKE)... no

checking for a BSD-compatible install... /bin/install -c

checking for ranlib... ranlib

checking for pkg-config... /usr/local/bin/pkg-config

checking for GTK - version >= 2.2.0... yes

checking for PANGO_UNDERLINE_ERROR... yes

checking how to run the C preprocessor... gcc -mms-bitfields -E

checking for egrep... grep -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... no

checking for bindtextdomain in -lintl... yes

checking for gettext in libintl... checking for gettext in -lintl... yes

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

config.status: creating po/Makefile

config.status: creating src/config.h

config.status: creating projects/gtkada.pc

----------------------------------------

The main datas of my environment  are

ACLOCAL_FLAGS='-I /usr/local/share/aclocal '

APPEND=':C:\lib\pkgconfig;C:\usr\local\lib\pkgconfig'

CLASSPATH='C:\Program Files\Java\j2re1.4.2_03\lib\ext\QTJava.zip'

CVS_RSH=/bin/ssh

C_INCLUDE_PATH=/usr/local/include

GTK_BASEPATH=/usr/local

INCLUDE='C:\usr\local\INCLUDE;C:\INCLUDE;C:\usr\local\INCLUDE\GTK-2.0;C:\usr
\local\INCLUDE\GLIB-2.0;C:\usr\local\INCLUDE\PANGO1.0;C:\usr\local\INCLUDE\C
AIRO;C:\usr\local\INCLUDE\ATK-1.0;C:\usr\local\INCLUDE\GTKGLEXT-1.0;C:\usr\l
ocal\LIB\GTK-2.0\INCLUDE;C:\usr\local\LIB\GLIB-2.0\INCLUDE;C:\usr\local\LIB\
GTKGLEXT-1.0\INCLUDE;C:\usr\local\INCLUDE\LIBGLADE-2.0;C:\usr\local\INCLUDE\
LIBXML2;'

LIB='C:\usr\local\LIB;C:\lib;c:\lib\w32api'

LIBRARY_PATH=/usr/local/lib:/lib/w32api

MACHTYPE=i686-pc-cygwin

MAKE_MODE=unix

OS=Windows_NT

OSTYPE=cygwin

PATH='/usr/local/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/
bin:/GNAT/GPL_2006/bin:/usr/bin:/usr/bin:/WINDOWS/system32:/emacs-21.3/bin:/
emacs-21.3/site-bin:/WINDOWS/system32:/WINDOWS:/WINDOWS/System32/Wbem:/Progr
am Files/Fichiers communs/Adaptec Shared/System:/Program
Files/QuickTime/QTSystem/'

PKG_CONFIG_PATH='c:\lib\pkgconfig;c:\usr\local\lib\pkgconfig'

SHELL=/bin/bash

SHELLOPTS=braceexpand:emacs:hashall:histexpand:history:interactive-comments:
monitor

SHLVL=1

TERM=cygwin

----------------------------------------

What else should I do ?

 

Thanks for your help

 

            Jean-Jacques Lacrampe

-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/gtkada/attachments/20060717/1f50d6f7/attachment.htm 


More information about the gtkada mailing list