Eric Kow | 24 Apr 2012 10:15
Picon
Gravatar

Re: Using wxHaskell on Mac OS x


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 <http://erickow.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/
------------------------------------------------------------------------------
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/

Gmane