Hi, This is resolved now. The error message was misleading but running cabal install with --verbose=3 helped:
/usr/bin/ld: cannot find -lstdc++ Turned out g++ package was missing, after installing it wxcore built and installed fine. As for the misleading "missing libraries" message produced by cabal, apparently this or a similar issue is already recognised: http://hackage.haskell.org/trac/hackage/ticket/648 so I won't be raising it against cabal for now. Regards, Maciek On Thu, Dec 2, 2010 at 2:25 PM, <maciek.makow...@gmail.com> wrote: > Hi, > > On my system (Ubuntu Maverick with haskell-platform 2010.1.0.0.1) > 'cabal install wx' results in the following: > > Configuring wxcore-0.12.1.6... > setup: Missing dependencies on foreign libraries: > * Missing C libraries: wx_baseu-2.8, wx_baseu_net-2.8, wx_baseu_xml-2.8, > wx_gtk2u_core-2.8, wx_gtk2u_adv-2.8, wx_gtk2u_html-2.8, wx_gtk2u_qa-2.8, > wx_gtk2u_xrc-2.8, wx_gtk2u_aui-2.8, wx_gtk2u_richtext-2.8 > This problem can usually be solved by installing the system packages that > provide these libraries (you may need the "-dev" versions). If the libraries > are already installed but in a non-standard location then you can use the > flags --extra-include-dirs= and --extra-lib-dirs= to specify where they are. > cabal: Error: some packages failed to install: > wx-0.12.1.6 depends on wxcore-0.12.1.6 which failed to install. > wxcore-0.12.1.6 failed during the configure step. The exception was: > ExitFailure 1 > > However: > > mmakow...@tallis:~/temp/wxcore-0.12.1.6$ ls -1 /usr/lib/libwx_*.so > /usr/lib/libwx_baseu-2.8.so > /usr/lib/libwx_baseu_net-2.8.so > /usr/lib/libwx_baseu_xml-2.8.so > /usr/lib/libwx_gtk2u_adv-2.8.so > /usr/lib/libwx_gtk2u_aui-2.8.so > /usr/lib/libwx_gtk2u_core-2.8.so > /usr/lib/libwx_gtk2u_fl-2.8.so > /usr/lib/libwx_gtk2u_gizmos-2.8.so > /usr/lib/libwx_gtk2u_gizmos_xrc-2.8.so > /usr/lib/libwx_gtk2u_gl-2.8.so > /usr/lib/libwx_gtk2u_html-2.8.so > /usr/lib/libwx_gtk2u_ogl-2.8.so > /usr/lib/libwx_gtk2u_plot-2.8.so > /usr/lib/libwx_gtk2u_qa-2.8.so > /usr/lib/libwx_gtk2u_richtext-2.8.so > /usr/lib/libwx_gtk2u_stc-2.8.so > /usr/lib/libwx_gtk2u_svg-2.8.so > /usr/lib/libwx_gtk2u_xrc-2.8.so > > Any idea what I'm doing wrong or how I can diagnose this further? It's > my first attempt to use cabal so apologies if I missed something > obvious. > > Thanks, > Maciek > ------------------------------------------------------------------------------ What happens now with your Lotus Notes apps - do you make another costly upgrade, or settle for being marooned without product support? Time to move off Lotus Notes and onto the cloud with Force.com, apps are easier to build, use, and manage than apps on traditional platforms. Sign up for the Lotus Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d _______________________________________________ wxhaskell-users mailing list wxhaskell-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxhaskell-users