[gvd-users] Running GVD on Windows98

Les Newell gvd-users@lists.act-europe.fr
Tue, 5 Jun 2001 22:06:50 +0100


I am trying to build GVD to run under Win98 and am having difficulty running
configure.
I created a gtkada-config script as per Arnaud's instructions and put it in
c:\GtkAda-1.13.11\bin then changed to my build directory and tried to use SH
to run the configure script as below

C:\GVD\build>SH ../src/configure --prefix=c:/GtkAda-1.3.11
../src/configure: no matches found: conftest* [488]
creating cache ./config.cache
<cat hangs here - I have to press ctrl-break to get out>
../src/configure: no matches found: conftest* [439]

If I try again without deleting config.cache I get the following:
C:\GVD\build>SH ../src/configure --prefix=c:/GtkAda-1.3.11
../src/configure: no matches found: conftest* [488]
loading cache ./config.cache
configure: error: can not run ../src/config.sub

In desperation I tried Cygwin. This seemed more successful but it did not
like the gtkada-config script:
<everything goes fine up to here>
checking for gtkada-config... /cygdrive/c/GtkAda-1.3.11/bin/gtkada-config
checking for GtkAda - version >= 1.2.11...
/cygdrive/c/GtkAda-1.3.11/bin/gtkada-
config: not found
/cygdrive/c/GtkAda-1.3.11/bin/gtkada-config: not found
/cygdrive/c/GtkAda-1.3.11/bin/gtkada-config: not found
/cygdrive/c/GtkAda-1.3.11/bin/gtkada-config: not found
/cygdrive/c/GtkAda-1.3.11/bin/gtkada-config: not found
/cygdrive/c/GtkAda-1.3.11/bin/gtkada-config: not found
/cygdrive/c/GtkAda-1.3.11/bin/gtkada-config: not found
no
*** Could not run GtkAda test program
configure: error: Test for GtkAda failed. See the file 'INSTALL' for help.

Am I doing something really stupid here? If so could someone please tell me
where I am going wrong.
Thanks,
Les

> You can create a simple gtkada-config script.
>
> We use the following gtkada-config script under Windows.
>
> Arno
> --
> #
> prefix=/GtkAda/winnt
>
> while test $# -gt 0; do
>   case $1 in
>     --version)
>       echo 1.2.12
>       ;;
>     --cflags)
>       echo -I$prefix/lib
>       ;;
>     --libs)
>       echo -L$prefix/lib
>       ;;
>   esac
>   shift
> done
>