On Thursday 09 March 2006 22:01, Achim Mahnke wrote:
> Hi,
>
> I'm trying to compile wxHaskell 0.9.4 on my SuSE 9.3 Linux.
> The following Packages are installed:
>
> GTK+-Packages:
> gtk2-devel-2.6.4-6.3
> gtk2-2.6.4-6.3
>
> wxWidgets-Packages:
> wxGTK-devel-2.5.3.1-5
> wxGTK-2.5.3.1-5
>
> I use gcc 3.3.5.
>
> The configure doesn't report any problems, but running 'make' is
> throwing this:
>
> g++ -c wxc/src/ewxw_main.cpp -o out/wxc/ewxw_main.o -MD
> -I/usr/lib/wx/include/gtk2-ansi-release-2.5 -I/usr/include/wx-2.5
> -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64
> -D_LARGE_FILES -Iwxc/include In file included from
> wxc/src/ewxw_main.cpp:4:
> /usr/include/wx-2.5/wx/db.h:80:25: sql.h: Datei oder Verzeichnis
> nicht gefunden /usr/include/wx-2.5/wx/db.h:81:28: sqlext.h: Datei
> oder Verzeichnis nicht gefunden In file included from
>
> [...]
>
> Does somebody give me a hint on this? Do I have to switch to
> wxWidgets 2.6.2?
I dimly remember having stumbled over this or a similar problem. The
first thing I would try is ./configure --help to find out whether there
is an option to turn off database support (via ODBC). Or else, install
the ODBC developer package. My system (debian) tells me that I have an
sql.h installed by these packages:
ben@sarun: ~ > dpkg -S sql.h
libmysqlclient14-dev: /usr/include/mysql/mysql.h
unixodbc-dev: /usr/include/sql.h
HTH,
Ben
PS: Just BTW, debian's really excellent package system is one of the
reasons I recently switched from SUSE to debian :-)
|