Hi,

I'm on Fedora 18, having installed wxWidgets (GTK) 2.9 in ~/local, ~/local/bin
is in $PATH. When I do 'cabal install wx', the following error gets triggered:

[...]
/usr/bin/gcc -Wl,--hash-size=31 -Wl,--reduce-memory-overheads -Isrc/include 
-I/home/mel/local/include/wx-2.9 
-I/home/mel/local/lib/wx/include/gtk2-unicode-2.9 -D__WXGTK__ -DWXUSINGDLL 
-D_FILE_OFFSET_BITS=64 -DwxcREFUSE_MEDIACTRL -fPIC -c src/cpp/eljgrid.cpp -o 
dist/build/src/cpp/eljgrid.o
src/cpp/eljgrid.cpp: In function ‘void 
wxGridCellEditor_PaintBackground(wxGridCellEditor*, int, int, int, int, void*)’:
src/cpp/eljgrid.cpp:61:65: error: no matching function for call to 
‘wxGridCellEditor::PaintBackground(wxRect, wxGridCellAttr*)’
src/cpp/eljgrid.cpp:61:65: note: candidate is:
In file included from /home/mel/local/include/wx-2.9/wx/grid.h:15:0,
                 from src/include/wrapper.h:32,
                 from src/cpp/eljgrid.cpp:1:
/home/mel/local/include/wx-2.9/wx/generic/grid.h:216:18: note: virtual void 
wxGridCellEditor::PaintBackground(wxDC&, const wxRect&, const wxGridCellAttr&)
/home/mel/local/include/wx-2.9/wx/generic/grid.h:216:18: note:   candidate 
expects 3 arguments, 2 provided
src/cpp/eljgrid.cpp: In function ‘bool wxGrid_CanDragRowSize(wxGrid*)’:
src/cpp/eljgrid.cpp:741:30: warning: ‘bool wxGrid::CanDragRowSize() const’ is 
deprecated (declared at /home/mel/local/include/wx-2.9/wx/generic/grid.h:1836) 
[-Wdeprecated-declarations]
src/cpp/eljgrid.cpp: In function ‘bool wxGrid_CanDragColSize(wxGrid*)’:
src/cpp/eljgrid.cpp:756:30: warning: ‘bool wxGrid::CanDragColSize() const’ is 
deprecated (declared at /home/mel/local/include/wx-2.9/wx/generic/grid.h:1837) 
[-Wdeprecated-declarations]
cabal: Error: some packages failed to install:
wx-0.90.0.1 depends on wxc-0.90.0.4 which failed to install.
wxc-0.90.0.4 failed during the building phase. The exception was:
ExitFailure 1
wxcore-0.90.0.3 depends on wxc-0.90.0.4 which failed to install.
[mel@lily ~]$

Any idea, what's going on here?

Thanks,
melanie
------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
wxhaskell-devel mailing list
wxhaskell-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel

Reply via email to