[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-gnubg] Re: compiling gnubg for windows (fwd)
From: |
kvandoel |
Subject: |
[Bug-gnubg] Re: compiling gnubg for windows (fwd) |
Date: |
Sat, 20 Jul 2002 21:33:50 +0200 (CEST) |
Hi,
Can you help me compile? The version without GUI compiles but not with GTK.
I'll tell you how far I got and what problems I have.
I've been trying to compile gnubg under windoze (ME) using acepoints
instructions http://mole.dnsalias.org/~acepoint/GnuBG/faq.html#SEC17
Besides the utils mentioned on acepoints page you also need something
like the cygwin UNIX utils of course which I have.
After installing everything I run
$ sh configure --with-gtk --disable-nls --disable-gtktest
--with-gtk-prefix="C:/gcc-2.95.2"
(the gtk test always fails, so I chose to turn it off, nls does not compile,
prob. because no /usr/locale on windoze) I don't worry about this yet)
Should I then use the generated Makefile, or (according to acepoints) download
Makefile from http://home.online.no/~oeysteij/Makefile and use that?
Neither compile as-is. In both I have to add to INCLUDE
-IC:/gcc-2.95.2/include/glib-2.0/ -IC:/gcc-2.95.2/lib/glib-2.0/include/
-IC:/gcc-2.95.2/lib/gtk+/include/ -IC:/gcc-2.95.2/gdbm-1.8.0/win32b
or it won't find header files. I installed all the gtk stuff in the gcc
dir, maybe that's why?
Then it gets as far as:
In file included from database.c:25:
C:\gcc-2.95.2\gdbm-1.8.0\win32b\gdbm.h:163: syntax error before `extern'
Thanks for any help you can offer. Should I reinstall gcc and gtk to separate
directories perhaps?
Kees
- [Bug-gnubg] Re: compiling gnubg for windows (fwd),
kvandoel <=