Re: [wxhaskell-users] Using wxHaskell on Mac OS x

2012-04-24 Thread Jeremy O'Donoghue
On 24 April 2012 12:52, Eric Kow  wrote:

>
> /me roots for Nix
>

Which currently doesn't build :-(

See https://github.com/jodonoghue/wxHaskell/issues/4 - I'm working on it,
but will not be able to test the solution as life is too short to create
Yet Another Test Environment - I already test on the following (the top 3
get the most love):

   - Mac OS X Lion (64bit GHC / 64 bit wxWidgets 2.9.3 / wxHaskell 0.90)
   - Windows 7 Enterprise (64bit OS / 32 bit GHC / 32 bit wxWidgets 2.9.3 /
   wxHaskell 0.90) in a VM
   - Debian 6 (32 bit OS / 32 bit GHC / 32 bit wxWidgets 2.9.3 / wxHaskell
   0.90) in a VM
   - FreeBSD (32 bit OS / 32 bit GHC / 32 bit wxWidgets 2.8.12 / wxHaskell
   0.13) in a VM

That's enough for anyone with other things to do, I'm afraid.

Jeremy
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
wxhaskell-users mailing list
wxhaskell-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-users


Re: [wxhaskell-users] wxHaskell 0.90 on Windows 7?

2012-04-24 Thread Jeremy O'Donoghue
Thanks Antton. I will update the wiki build instructions.

Jeremy

On 24 April 2012 13:08, Antton Tapani  wrote:

> Hey,
>
> I got the same error at first too. Running
> set LANG=C
> in cmd before compiling fixed it for me. This is probably not
> common/default behavior since no one has considred it important to
> mention it in the guides. Only info I was able to find on this was
> from a japanese blog using google translate.
>
> On Tue, Apr 24, 2012 at 2:32 PM, carlos gomez 
> wrote:
> > Hello, I'm trying to build wxhaskell on windows 7 and HP.2011.4.0.0,
> > but I've got this error when installing wxdirect:
> >
> > C:\>cabal install wxdirect
> > Resolving dependencies...
> > Configuring strict-0.3.2...
> > Preprocessing library strict-0.3.2...
> > Building strict-0.3.2...
> >
> > :0:5: lexical error (UTF-8 decoding error)
> > cabal: Error: some packages failed to install:
> > strict-0.3.2 failed during the building phase. The exception was:
> > ExitFailure 1
> > wxdirect-0.90.0.1 depends on strict-0.3.2 which failed to install.
> >
> >
> > Any ideas of what to do?
> >
> > thanks, Carlos Gomez
> >
> >
> > On 22 April 2012 09:48, Eric Kow  wrote:
> >>
> >> Hi,
> >>
> >> After struggling a bit to get wxHaskell 0.90 working on a Windows VM, I
> >> thought a few links and tips could be useful
> >>
> >> http://www.haskell.org/haskellwiki/WxHaskell/Windows
> >>
> >> --
> >> Eric Kow 
> >>
> >>
> >>
> >>
> --
> >> For Developers, A Lot Can Happen In A Second.
> >> Boundary is the first to Know...and Tell You.
> >> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
> >> http://p.sf.net/sfu/Boundary-d2dvs2
> >> ___
> >> wxhaskell-users mailing list
> >> wxhaskell-users@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/wxhaskell-users
> >>
> >
> >
> >
> --
> > Live Security Virtual Conference
> > Exclusive live event will cover all the ways today's security and
> > threat landscape has changed and how IT managers can respond. Discussions
> > will include endpoint security, mobile security and the latest in malware
> > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> > ___
> > wxhaskell-users mailing list
> > wxhaskell-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wxhaskell-users
> >
>
>
> --
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> ___
> wxhaskell-users mailing list
> wxhaskell-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wxhaskell-users
>
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
wxhaskell-users mailing list
wxhaskell-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-users


Re: [wxhaskell-users] wxHaskell 0.90 on Windows 7?

2012-04-24 Thread Antton Tapani
Hey,

I got the same error at first too. Running
set LANG=C
in cmd before compiling fixed it for me. This is probably not
common/default behavior since no one has considred it important to
mention it in the guides. Only info I was able to find on this was
from a japanese blog using google translate.

On Tue, Apr 24, 2012 at 2:32 PM, carlos gomez  wrote:
> Hello, I'm trying to build wxhaskell on windows 7 and HP.2011.4.0.0,
> but I've got this error when installing wxdirect:
>
> C:\>cabal install wxdirect
> Resolving dependencies...
> Configuring strict-0.3.2...
> Preprocessing library strict-0.3.2...
> Building strict-0.3.2...
>
> :0:5: lexical error (UTF-8 decoding error)
> cabal: Error: some packages failed to install:
> strict-0.3.2 failed during the building phase. The exception was:
> ExitFailure 1
> wxdirect-0.90.0.1 depends on strict-0.3.2 which failed to install.
>
>
> Any ideas of what to do?
>
> thanks, Carlos Gomez
>
>
> On 22 April 2012 09:48, Eric Kow  wrote:
>>
>> Hi,
>>
>> After struggling a bit to get wxHaskell 0.90 working on a Windows VM, I
>> thought a few links and tips could be useful
>>
>> http://www.haskell.org/haskellwiki/WxHaskell/Windows
>>
>> --
>> Eric Kow 
>>
>>
>>
>> --
>> For Developers, A Lot Can Happen In A Second.
>> Boundary is the first to Know...and Tell You.
>> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
>> http://p.sf.net/sfu/Boundary-d2dvs2
>> ___
>> wxhaskell-users mailing list
>> wxhaskell-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wxhaskell-users
>>
>
>
> --
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> ___
> wxhaskell-users mailing list
> wxhaskell-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wxhaskell-users
>

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
wxhaskell-users mailing list
wxhaskell-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-users


Re: [wxhaskell-users] Using wxHaskell on Mac OS x

2012-04-24 Thread Eric Kow

On 24 Apr 2012, at 12:15, Heinrich Apfelmus wrote:
> Both these issues can be avoided by using homebrew. Whether this merely 
> trades them for other issues is another question, of course...

I'll add that whatever you choose to do, I'll add that it's probably a good 
idea to stick to one package manager and not try to combine them (this is pure 
superstitious thinking on my part, however).

That said, when I first switched, I used both for a while until MacPorts usage 
withered away.

Not pushing either way.

/me roots for Nix

-- 
Eric Kow 



signature.asc
Description: Message signed with OpenPGP using GPGMail
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
wxhaskell-users mailing list
wxhaskell-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-users


Re: [wxhaskell-users] wxHaskell 0.90 on Windows 7?

2012-04-24 Thread carlos gomez
Hello, I'm trying to build wxhaskell on windows 7 and HP.2011.4.0.0,
but I've got this error when installing wxdirect:

C:\>cabal install wxdirect
Resolving dependencies...
Configuring strict-0.3.2...
Preprocessing library strict-0.3.2...
Building strict-0.3.2...

:0:5: lexical error (UTF-8 decoding error)
cabal: Error: some packages failed to install:
strict-0.3.2 failed during the building phase. The exception was:
ExitFailure 1
wxdirect-0.90.0.1 depends on strict-0.3.2 which failed to install.


Any ideas of what to do?

thanks, Carlos Gomez


On 22 April 2012 09:48, Eric Kow  wrote:

> Hi,
>
> After struggling a bit to get wxHaskell 0.90 working on a Windows VM, I
> thought a few links and tips could be useful
>
> http://www.haskell.org/haskellwiki/WxHaskell/Windows
>
> --
> Eric Kow 
>
>
>
> --
> For Developers, A Lot Can Happen In A Second.
> Boundary is the first to Know...and Tell You.
> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
> http://p.sf.net/sfu/Boundary-d2dvs2
> ___
> wxhaskell-users mailing list
> wxhaskell-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wxhaskell-users
>
>
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
wxhaskell-users mailing list
wxhaskell-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-users


Re: [wxhaskell-users] Using wxHaskell on Mac OS x

2012-04-24 Thread Heinrich Apfelmus
Andrew Butterfield wrote:
> 
> $ ghc --make -package wx HelloWorld.hs 
> [2 of 2] Compiling Main ( HelloWorld.hs, HelloWorld.o )
> Linking HelloWorld ...
> ld: warning: in /opt/local/lib/libwx_osx_cocoau_xrc-2.9.dylib, file was built 
> for unsupported file format which is not the architecture being linked (i386)
> ld: warning: in /opt/local/lib/libwx_osx_cocoau_webview-2.9.dylib, file was 
> built for unsupported file format which is not the architecture being linked 
> (i386)
>  [..]
> Undefined symbols:
>   "_iconv_open", referenced from:
>   _hs_iconv_open in libHSbase-4.3.1.0.a(iconv.o)
>  (maybe you meant: _hs_iconv_open)
>   "_locale_charset", referenced from:
>   _localeEncoding in libHSbase-4.3.1.0.a(PrelIOUtils.o)
>   "_iconv", referenced from:
>   _hs_iconv in libHSbase-4.3.1.0.a(iconv.o)
>  (maybe you meant: _hs_iconv_open, _hs_iconv , _hs_iconv_close )
>   "_iconv_close", referenced from:
>   _hs_iconv_close in libHSbase-4.3.1.0.a(iconv.o)
>  (maybe you meant: _hs_iconv_close)
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
> 
> [~/Documents/wxOnMacOSX]
> $

Yay, I know what's going on!

* The first error messages indicate that GHC complains about your 
wxWidgets installation being 32bit. This means that you have a 64bit 
GHC. The solution is to install the wxWidgets library with the 
+universal flag, i.e.

 sudo port install wxWidgets-devel +universal

It might be that you have to do the same with the dependencies of the 
wxWidgets-devel port. You can set the +universal flag globally in

 /opt/local/etc/macports/variants.conf

* The undefined symbols are due to two different libiconv, one provided 
by OS X and one provided by Macports. The solution is to tell GHC to 
prefer the former

 ghc --make -package wx HelloWorld.hs -L/usr/lib


Both these issues can be avoided by using homebrew. Whether this merely 
trades them for other issues is another question, of course...


Concerning the EnableGUI thing, it will be obsolete very soon. I have 
submitted a patch to Jeremy who will upload a new version to hackage 
once he has tested all platforms.


Best regards,
Heinrich Apfelmus

--
http://apfelmus.nfshost.com


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
wxhaskell-users mailing list
wxhaskell-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-users


Re: [wxhaskell-users] Using wxHaskell on Mac OS x

2012-04-24 Thread Andrew Butterfield
Thanks Eric,
  I have a proposal to help in this regard, just sent to wxhaskell-devel


On 24 Apr 2012, at 09:15, Eric Kow wrote:

> 
> 
> What's your architecture? If 64 bit, what sort of GHC do you have?

My Mac: 10.6.8, Intel Core i7

 System Version:Mac OS X 10.6.8 (10K549)
  Kernel Version:   Darwin 10.8.0
  Boot Volume:  Macintosh HD
  Boot Mode:Normal
  Computer Name:Andrew Butterfield’s iMac
  User Name:Andrew Butterfield (andrewbutterfield)
  Secure Virtual Memory:Not Enabled
  64-bit Kernel and Extensions: No
  Time since boot:  1 day44 minutes

I guess thats 32bit, then...

GHCi, version 7.0.4: http://www.haskell.org/ghc/  :? for help
> 
> I personally threw my hands up a couple of years ago and ended up switching 
> to HomeBrew (see 
> http://permalink.gmane.org/gmane.comp.lang.haskell.wxhaskell.general/908 )

I switched as well, but had no better luck...

> 


Andrew Butterfield Tel: +353-1-896-2517 Fax: +353-1-677-2204
Lero@TCD, Head of Foundations & Methods Research Group
Director of Teaching and Learning - Undergraduate,
School of Computer Science and Statistics,
Room G.39, O'Reilly Institute, Trinity College, University of Dublin
  http://www.scss.tcd.ie/Andrew.Butterfield/



--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
wxhaskell-users mailing list
wxhaskell-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-users


[wxhaskell-users] wxHaskell 0.90 still not working on Windows XP

2012-04-24 Thread Rene de Visser


Hello,
I suspect something went wrong when building something...
ghc-pkg describe wxc 
gives this:
library-dirs: C:\other\bin C:\ghc\ghc-7.4.1\mingw\lib  
C:\other\wxWidgets-2.9.3\lib\gcc_dllhs-libraries:extra-libraries: uuid 
wxmsw29u_xrc wxmsw29u_stc wxmsw29u_richtext wxmsw29u_ribbon 
wxmsw29u_propgrid wxmsw29u_webview wxmsw29u_aui wxmsw29u_gl 
wxmsw29u_media wxmsw29u_html wxmsw29u_adv wxmsw29u_core 
wxbase29u_xml wxbase29u_net wxbase29u wxtiff wxjpeg wxpng wxzlib
 wxregexu wxexpat opengl32 glu32 kernel32 user32 gdi32 comdlg32 
wxregexu winspool winmm shell32 comctl32 ole32 oleaut32 uuid rpcrt4 
advapi32 wsock32extra-ghci-libraries:include-dirs: 
C:\other\wxWidgets-2.9.3\include  
C:\other\wxWidgets-2.9.3\lib\gcc_dll\mswu  "C:\\Dokumente und 
Einstellungen\\Rene\\Anwendungsdaten\\cabal\\wxc-0.90.0.2\\ghc-7.4.1\\include"includes:depends:
 base-4.5.0.0-597748f6f53a7442bcae283373264bb6 
wxdirect-0.90.0.1-6ac67ae0372ee1a7703691afae80d181hugs-options:cc-options:ld-options:framework-dirs:frameworks:

Can someone send the same output of a working wxHaskell ?
Attempting to use ghci gives me
Loading package wxc-0.90.0.2 ... ghc.exe: panic! (the 'impossible' happened)  
(GHC version 7.4.1 for i386-unknown-mingw32): loadArchive 
"C:\\other\\wxWidgets-2.9.3\\lib\\gcc_dll\\libwxmsw29u_xrc.a": failed
The error comes because ghci cannot handle the .data$4 section into the above 
archive library.
I am not even sure why the attempt is being made to load the above file. I 
don't see any dependencies to it in the DLL's.
Rene.
  --
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
wxhaskell-users mailing list
wxhaskell-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-users


Re: [wxhaskell-users] Using wxHaskell on Mac OS x

2012-04-24 Thread Eric Kow

On 24 Apr 2012, at 08:40, Andrew Butterfield wrote:

> 
> On 23 Apr 2012, at 23:47, Eric Kow wrote:
> 
>> I'm a bit confused by this. Isn't /opt/local used by Macports rather than 
>> Homebrew?
>> also, does non-ghci stuff work?
> 
> Apologies - it was MacPorts  - I was getting hopelessly confused at this 
> stage ..

That's our fault! :-)
We do need to work on making this sort of stuff easier to understand.

One mild annoyance being that Haskell wiki doesn't give a separate colour

> ld: warning: in /opt/local/lib/libwx_baseu-2.9.dylib, file was built for 
> unsupported file format which is not the architecture being linked (i386)
> ld: warning: in /opt/local/lib/libiconv.dylib, file was built for unsupported 
> file format which is not the architecture being linked (i386)

What's your architecture? If 64 bit, what sort of GHC do you have?

> Undefined symbols:
>   "_iconv_open", referenced from:
>   _hs_iconv_open in libHSbase-4.3.1.0.a(iconv.o)
>  (maybe you meant: _hs_iconv_open)
>   "_locale_charset", referenced from:
>   _localeEncoding in libHSbase-4.3.1.0.a(PrelIOUtils.o)
>   "_iconv", referenced from:
>   _hs_iconv in libHSbase-4.3.1.0.a(iconv.o)
>  (maybe you meant: _hs_iconv_open, _hs_iconv , _hs_iconv_close )
>   "_iconv_close", referenced from:
>   _hs_iconv_close in libHSbase-4.3.1.0.a(iconv.o)
>  (maybe you meant: _hs_iconv_close)
> ld: symbol(s) not found
> collect2: ld returned 1 exit status

I notice apfelmus mentioned that he'd tweaked the Portfile for wxWidgets.
Comments?

I personally threw my hands up a couple of years ago and ended up switching to 
HomeBrew (see 
http://permalink.gmane.org/gmane.comp.lang.haskell.wxhaskell.general/908 )

-- 
Eric Kow 



signature.asc
Description: Message signed with OpenPGP using GPGMail
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
wxhaskell-users mailing list
wxhaskell-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-users


Re: [wxhaskell-users] Using wxHaskell on Mac OS x

2012-04-24 Thread Andrew Butterfield

On 23 Apr 2012, at 23:47, Eric Kow wrote:

> I'm a bit confused by this. Isn't /opt/local used by Macports rather than 
> Homebrew?
> also, does non-ghci stuff work?

Apologies - it was MacPorts  - I was getting hopelessly confused at this stage 
..

If I try to compile HelloWorld.hs I get the error below

It seems clear that I need to identify and inform the build process about my 
architecture

However there are no clear instructions on the wiki on how to do this

(PS - I am having equal  difficulties build wxH 0.9 on wxW 2.9.3  on 64bit 
windows - but that's for another email)


$ ghc --make -package wx HelloWorld.hs 
[2 of 2] Compiling Main ( HelloWorld.hs, HelloWorld.o )
Linking HelloWorld ...
ld: warning: in /opt/local/lib/libwx_osx_cocoau_xrc-2.9.dylib, file was built 
for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libwx_osx_cocoau_webview-2.9.dylib, file was 
built for unsupported file format which is not the architecture being linked 
(i386)
ld: warning: in /opt/local/lib/libwx_osx_cocoau_stc-2.9.dylib, file was built 
for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libwx_osx_cocoau_richtext-2.9.dylib, file was 
built for unsupported file format which is not the architecture being linked 
(i386)
ld: warning: in /opt/local/lib/libwx_osx_cocoau_ribbon-2.9.dylib, file was 
built for unsupported file format which is not the architecture being linked 
(i386)
ld: warning: in /opt/local/lib/libwx_osx_cocoau_propgrid-2.9.dylib, file was 
built for unsupported file format which is not the architecture being linked 
(i386)
ld: warning: in /opt/local/lib/libwx_osx_cocoau_aui-2.9.dylib, file was built 
for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libwx_osx_cocoau_gl-2.9.dylib, file was built 
for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libwx_osx_cocoau_html-2.9.dylib, file was built 
for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libwx_osx_cocoau_qa-2.9.dylib, file was built 
for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libwx_osx_cocoau_adv-2.9.dylib, file was built 
for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libwx_osx_cocoau_core-2.9.dylib, file was built 
for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libwx_baseu_xml-2.9.dylib, file was built for 
unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libwx_baseu_net-2.9.dylib, file was built for 
unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libwx_baseu-2.9.dylib, file was built for 
unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libiconv.dylib, file was built for unsupported 
file format which is not the architecture being linked (i386)
Undefined symbols:
  "_iconv_open", referenced from:
  _hs_iconv_open in libHSbase-4.3.1.0.a(iconv.o)
 (maybe you meant: _hs_iconv_open)
  "_locale_charset", referenced from:
  _localeEncoding in libHSbase-4.3.1.0.a(PrelIOUtils.o)
  "_iconv", referenced from:
  _hs_iconv in libHSbase-4.3.1.0.a(iconv.o)
 (maybe you meant: _hs_iconv_open, _hs_iconv , _hs_iconv_close )
  "_iconv_close", referenced from:
  _hs_iconv_close in libHSbase-4.3.1.0.a(iconv.o)
 (maybe you meant: _hs_iconv_close)
ld: symbol(s) not found
collect2: ld returned 1 exit status

[~/Documents/wxOnMacOSX]
$ 


> 
> On Monday, 23 April 2012, Andrew Butterfield wrote:
> I've done yet another attempt at installing wxHaskell on Mac OS X (Intel, 
> Snow Leopard)
> following the page at 
> 
>  http://www.haskell.org/haskellwiki/WxHaskell/MacOS_X
> 
> I setup ghc 7.0.4
> I did brew install wxmac --devel
> 
> I am then asked to check my path to make sure I am using  "my" wxWidgets and 
> not the default one
> 
> (I had deleted an old reference to wx 2.8 - now my path does not mention 
> wxwidgets at all)
> 
> wx2.9.3 was installed by homebrew in /opt/local/ but I had no idea what 
> to put in my path
> (A question to stackoverflow got a completely useless answer)
> 
> So I decided to soldier on...
>   I did   cabal install wx cabal-macosx   --- waited - all installed just 
> fine - it seemed
> to have picked up all the stuff installed by brew.
> 
> I then got the EnableGUI module as described lower down the page
> it compiled fine
> I then edited HelloWord.hs to import it
> ,and then started ghci as recommended
> 
> 
> -- 
> Eric Kow 
> PGP Key ID: 08AC04F9
> -