From: Achim M. <Ach...@df...> - 2006-03-09 21:02:04
|
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 wxc/src/ewxw_main.cpp:4: /usr/include/wx-2.5/wx/db.h:281: error: 'HENV' is used as a type, but is not defined as a type. /usr/include/wx-2.5/wx/db.h:282: error: `SQL_MAX_DSN_LENGTH' was not declared in this scope /usr/include/wx-2.5/wx/db.h:283: error: `SQL_MAX_USER_NAME_LEN' was not declared in this scope /usr/include/wx-2.5/wx/db.h:296: error: syntax error before `henv' /usr/include/wx-2.5/wx/db.h:308: error: ISO C++ forbids declaration of `HENV' with no type /usr/include/wx-2.5/wx/db.h:308: error: syntax error before `&' token /usr/include/wx-2.5/wx/db.h: In function `const wxChar* GetDsn()': /usr/include/wx-2.5/wx/db.h:310: error: `Dsn' undeclared (first use this function) /usr/include/wx-2.5/wx/db.h:310: error: (Each undeclared identifier is reported only once for each function it appears in.) /usr/include/wx-2.5/wx/db.h: In function `const wxChar* GetUid()': /usr/include/wx-2.5/wx/db.h:312: error: `Uid' undeclared (first use this function) /usr/include/wx-2.5/wx/db.h: In function `const wxChar* GetAuthStr()': /usr/include/wx-2.5/wx/db.h:315: error: `AuthStr' undeclared (first use this function) /usr/include/wx-2.5/wx/db.h: In function `const wxChar* GetConnectionStr()': /usr/include/wx-2.5/wx/db.h:318: error: `ConnectionStr' undeclared (first use this function) /usr/include/wx-2.5/wx/db.h: In function `bool UseConnectionStr()': /usr/include/wx-2.5/wx/db.h:319: error: `useConnectionStr' undeclared (first [... more things in db.h here ...] make: *** [out/wxc/ewxw_main.o] Fehler 1 Does somebody give me a hint on this? Do I have to switch to wxWidgets 2.6.2? Kind regards, Achim Mahnke |