Sounds like you might have one of these 32 bit vs 64 bit issues? On 19 Mar 2013, at 06:49, luc taesch wrote:
> Are there any setup to do after install , > > what i did , following [0]( manual compile) > > [1]/ install wxwigets went fine (any post make setup on MacOs?)(the > equivalent of LD_CONFIG ?) > > [2]/ but I cannot get a helllo world example running . > - the cabal-macosx does not seems to be seen ( what is expected in fact > ?). any setup ? > - what are the funny message on architecture being wrong .. ? > ..( was built for unsupported file format ( ... ) which is not the > architecture being linked (i386) > > > [3]/ trying and run the sample by hand raise an Error > > > I wanted to play with reactive banana, on OSX 10.8 wx 2.9.4 ghc 7.4.2 > > which [0] says has been working ( besides, apfelmus is developing on > Mac OS , isn it ?) > > Any help appreciated, gentlemen :-) > > ----------------- > [0](http://www.haskell.org/haskellwiki/WxHaskell/Mac ) > > [1]: > ./configure --enable-unicode --disable-debug --with-osx_cocoa > --prefix=/usr/local --enable-stc --enable-aui --enable-propgrid > --enable-xrc --enable-ribbon --enable-richtext --enable-webkit > --with-opengl > > make && make install > > ….. > htext/richtextsizepage.h wx/richtext/richtextstyledlg.h > wx/richtext/richtextstylepage.h wx/richtext/richtextstyles.h > wx/richtext/richtextsymboldlg.h wx/richtext/richtextuicustomization.h > wx/richtext/richtextxml.h wx/stc/stc.h > wx/osx/webviewhistoryitem_webkit.h wx/osx/webview_webkit.h wx/webview.h > wx/webviewarchivehandler.h; do \ > if test ! -d /usr/local/include/wx-2.9/`dirname $f` ; then \ > mkdir -p /usr/local/include/wx-2.9/`dirname $f`; \ > fi; \ > cp -fp ./include/$f /usr/local/include/wx-2.9/$f; \ > done > > ------------------------------------------------------ > > The installation of wxWidgets is finished. On certain > platforms (e.g. Linux) you'll now have to run ldconfig > if you installed a shared library and also modify the > LD_LIBRARY_PATH (or equivalent) environment variable. > > wxWidgets comes with no guarantees and doesn't claim > to be suitable for any purpose. > > Read the wxWindows Licence on licencing conditions. > > ------------------------------------------------------ > > mbp2-de-luc:wxWidgets-2.9.4 luc$ > > --------- > [2:] > ghc --make HelloWorlds.hs > [1 of 1] Compiling Main ( HelloWorlds.hs, HelloWorlds.o ) > Linking HelloWorlds … > ld: warning: ld: warning: ignoring file > /usr/local/lib/libwx_osx_cocoau_webview-2.9.dylib, file was built for > unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 > 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture > being linked (i386): > /usr/local/lib/libwx_osx_cocoau_webview-2.9.dylibignoring file > /usr/local/lib/libwx_osx_cocoau_xrc-2.9.dylib, file was built for > unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 > 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture > being linked (i386): /usr/local/lib/libwx_osx_cocoau_xrc-2.9.dylib > > ld: warning: ld: warning: ignoring file > /usr/local/lib/libwx_osx_cocoau_stc-2.9.dylib, file was built for > unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 > 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture > being linked (i386): > /usr/local/lib/libwx_osx_cocoau_stc-2.9.dylibignoring file > /usr/local/lib/libwx_osx_cocoau_richtext-2.9.dylib, file was built for > unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 > 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture > being linked (i386): /usr/local/lib/libwx_osx_cocoau_richtext-2.9.dylib > > ld: warning: ignoring file > /usr/local/lib/libwx_osx_cocoau_ribbon-2.9.dylib, file was built for > unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 > 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture > being linked (i386): /usr/local/lib/libwx_osx_cocoau_ribbon-2.9.dylib > ld: warning: ignoring file > /usr/local/lib/libwx_osx_cocoau_propgrid-2.9.dylib, file was built for > unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 > 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture > being linked (i386): /usr/local/lib/libwx_osx_cocoau_propgrid-2.9.dylib > ld: warning: ignoring file > /usr/local/lib/libwx_osx_cocoau_aui-2.9.dylib, file was built for > unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 > 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture > being linked (i386): /usr/local/lib/libwx_osx_cocoau_aui-2.9.dylib > ld: warning: ignoring file > /usr/local/lib/libwx_osx_cocoau_gl-2.9.dylib, file was built for > unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 > 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture > being linked (i386): /usr/local/lib/libwx_osx_cocoau_gl-2.9.dylib > ld: warning: ld: warning: ignoring file > /usr/local/lib/libwx_osx_cocoau_qa-2.9.dylib, file was built for > unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 > 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture > being linked (i386): > /usr/local/lib/libwx_osx_cocoau_qa-2.9.dylibignoring file > /usr/local/lib/libwx_osx_cocoau_html-2.9.dylib, file was built for > unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 > 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture > being linked (i386): /usr/local/lib/libwx_osx_cocoau_html-2.9.dylib > > ld: warning: ignoring file > /usr/local/lib/libwx_osx_cocoau_core-2.9.dylib, file was built for > unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 > 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture > being linked (i386): /usr/local/lib/libwx_osx_cocoau_core-2.9.dylib > ld: warning: ignoring file > /usr/local/lib/libwx_osx_cocoau_adv-2.9.dylib, file was built for > unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 > 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture > being linked (i386): /usr/local/lib/libwx_osx_cocoau_adv-2.9.dylib > ld: warning: ignoring file /usr/local/lib/libwx_baseu_xml-2.9.dylib, > file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 > 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not > the architecture being linked (i386): > /usr/local/lib/libwx_baseu_xml-2.9.dylib > ld: warning: ignoring file /usr/local/lib/libwx_baseu-2.9.dylib, file > was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 > 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the > architecture being linked (i386): /usr/local/lib/libwx_baseu-2.9.dylib > ld: warning: ignoring file /usr/local/lib/libwx_baseu_net-2.9.dylib, > file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 > 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not > the architecture being linked (i386): > /usr/local/lib/libwx_baseu_net-2.9.dylib > mbp2-de-luc:wxtest luc$ cabal-macosx HelloWorlds > -bash: cabal-macosx: command not found > mbp2-de-luc:wxtest luc$ which cabal-macosx > mbp2-de-luc:wxtest luc$ cabal install cabal-macosx > Warning: The package list for ‘hackage.haskell.org’ is 18 days old. > Run ‘cabal update’ to get the latest list of available packages. > Resolving dependencies… > All the requested packages are already installed: > cabal-macosx-0.2.2 > Use --reinstall if you want to reinstall anyway. > > [3]: > /Volumes/Macintosh\ > HD/Users/luc/Downloads/cabal-macosx-master/dist/build/macosx-app/macosx-app > ./HelloWorlds > Creating application bundle directory HelloWorlds.app > Copying executable HelloWorlds into place > Running Rez, etc. > > Last login: Tue Mar 19 00:17:59 on ttys013 > You have mail. > mbp2-de-luc:~ luc$ /Users/luc/test/wxtest/HelloWorlds ; exit; > dyld: Symbol not found: __ZN10wxDateTime13TIME_T_FACTORE > Referenced from: /Users/luc/.cabal/lib/wxc-0.90.0.4/ghc-7.4.2/libwxc.dylib > Expected in: flat namespace > in /Users/luc/.cabal/lib/wxc-0.90.0.4/ghc-7.4.2/libwxc.dylib > Trace/BPT trap: 5 > logout > > [Opération terminée] > > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_mar > _______________________________________________ > wxhaskell-devel mailing list > wxhaskell-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel -- Eric Kow <http://erickow.com> ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar _______________________________________________ wxhaskell-devel mailing list wxhaskell-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel