|
From: Ryszard K. <ry...@bi...> - 2005-09-07 08:30:40
|
Hello All!
I don't know if anyone of you has experienced problems
similar to my ones with the compilation of wxhaskell-src-0.9.4-1.
On my RedHat 9 Linux machine, with freshly installed
wxGTK-2.6.1 and ghc-6.4, a compilation fails generating
a log info as quoted below.
I'm going to try a binary rpm instead, still I am interested
if I've done anything wrong.
Greetings
Ryszard Kubiak
=====================================================
configure's log:
checking system:
wx-config found
ghc found
ghc-pkg found
haddock found
install program found
creating configuration files:
config
config/config.mk
config/wxcore.pkg
config/wx.pkg
config/wxhaskell-register.bat
config/wxhaskell-unregister.bat
config/setcd
config/macosx-install.info
config/macosx-postinstall
config/macosx-app
config/wxhaskell.spec
config/prologue.txt
config/cache.txt
configuration:
library: wxhaskell-0.9.4 (release 0)
compiler: ghc-6.4
wxwidgets: gtk-2.6.1
with openGL: no
library dir: /usr/local/lib
done:
type 'make' to build wxhaskell.
type 'make install' to install wxhaskell.
type 'make help' to receive help on all other make targets
==========================================================
make's log:
[~/Haskell/wxhaskell-0.9.4]$ make
g++ -c wxc/src/ewxw_main.cpp -o out/wxc/ewxw_main.o -MD -I/usr/local
/lib/wx/include/gtk2-ansi-release-2.6 -I/usr/local/include/wx-2.6 -D
GTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-D_LARGEFILE_SOURCE=1 -Iwxc/include
In file included from /usr/local/include/wx-2.6/wx/db.h:76,
from wxc/src/ewxw_main.cpp:4:
/usr/local/include/wx-2.6/wx/isql.h:47:1: warning: "EXPORT" redefine
d
In file included from wxc/include/wrapper.h:7,
from wxc/src/ewxw_main.cpp:1:
wxc/include/ewxw_def.h:4:1: warning: this is the location of the pre
vious definition
g++ -c wxc/src/extra.cpp -o out/wxc/extra.o -MD -I/usr/local/lib/wx/
include/gtk2-ansi-release-2.6 -I/usr/local/include/wx-2.6 -DGTK_NO_C
HECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARG
EFILE_SOURCE=1 -Iwxc/include
g++ -c wxc/src/wrapper.cpp -o out/wxc/wrapper.o -MD -I/usr/local/lib
/wx/include/gtk2-ansi-release-2.6 -I/usr/local/include/wx-2.6 -DGTK_
NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_
LARGEFILE_SOURCE=1 -Iwxc/include
wxc/src/wrapper.cpp: In function `void ELJApp_USleep(int)':
wxc/src/wrapper.cpp:537: warning: `wxUsleep' is deprecated (declared
at
/usr/local/include/wx-2.6/wx/utils.h:312)
g++ -c wxc/src/eljevent.cpp -o out/wxc/eljevent.o -MD -I/usr/local/l
ib/wx/include/gtk2-ansi-release-2.6 -I/usr/local/include/wx-2.6 -DGT
K_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -
D_LARGEFILE_SOURCE=1 -Iwxc/include
g++ -c wxc/src/eljmime.cpp -o out/wxc/eljmime.o -MD -I/usr/local/lib
/wx/include/gtk2-ansi-release-2.6 -I/usr/local/include/wx-2.6 -DGTK_
NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_
LARGEFILE_SOURCE=1 -Iwxc/include
g++ -c wxc/src/treectrl.cpp -o out/wxc/treectrl.o -MD -I/usr/local/l
ib/wx/include/gtk2-ansi-release-2.6 -I/usr/local/include/wx-2.6 -DGT
K_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -
D_LARGEFILE_SOURCE=1 -Iwxc/include
wxc/src/treectrl.cpp: In function `void wxTreeCtrl_GetFirstChild(voi
d*, void*,
void*, void*)':
wxc/src/treectrl.cpp:333: warning: `GetFirstChild' is deprecated (de
clared at
/usr/local/include/wx-2.6/wx/generic/treectlg.h:372)
g++ -c wxc/src/image.cpp -o out/wxc/image.o -MD -I/usr/local/lib/wx/
include/gtk2-ansi-release-2.6 -I/usr/local/include/wx-2.6 -DGTK_NO_C
HECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARG
EFILE_SOURCE=1 -Iwxc/include
wxc/src/image.cpp:124:2: warning: no newline at end of file
g++ -c wxc/src/apppath.cpp -o out/wxc/apppath.o -MD -I/usr/local/lib
/wx/include/gtk2-ansi-release-2.6 -I/usr/local/include/wx-2.6 -DGTK_
NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_
LARGEFILE_SOURCE=1 -Iwxc/include
wxc/src/apppath.cpp:114:2: warning: no newline at end of file
g++ -c wxc/src/db.cpp -o out/wxc/db.o -MD -I/usr/local/lib/wx/includ
e/gtk2-ansi-release-2.6 -I/usr/local/include/wx-2.6 -DGTK_NO_CHECK_C
ASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64
-D_LARGE_FILES -D_LARGEFILE_ SOURCE=1 -Iwxc/include
In file included from /usr/local/include/wx-2.6/wx/db.h:76,
from wxc/src/db.cpp:4:
/usr/local/include/wx-2.6/wx/isql.h:47:1: warning: "EXPORT" redefine
d
In file included from wxc/include/wrapper.h:7,
from wxc/src/db.cpp:1:
wxc/include/ewxw_def.h:4:1: warning: this is the location of the pre
vious definition
wxc/src/db.cpp: In function `int wxDbColInf_GetColumnSize(wxDbColInf
*)':
wxc/src/db.cpp:1035: `class wxDbColInf' has no member named `columnS
ize'
wxc/src/db.cpp: In function `int wxDbColInf_GetBufferLength(wxDbColI
nf*)':
wxc/src/db.cpp:1044: `class wxDbColInf' has no member named `bufferL
ength'
wxc/src/db.cpp: In function `wxDbColInf* wxDb_GetResultColumns(wxDb*
, int*)':
wxc/src/db.cpp:1158: `class wxDbColInf' has no member named `columnS
ize'
make: *** [out/wxc/db.o] Error 1
|