<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Hi Miguel&nbsp;</div><div>As you say, the pre-loaded mac os version is older than 2.9 (mine is 2.8). &nbsp;</div><div>I was not very clear - it was not really 'removing' the old one that I meant to ask about, but how did you</div><div>perform the instruction (at&nbsp;&nbsp;<a href="http://www.haskell.org/haskellwiki/WxHaskell/MacOS_X">http://www.haskell.org/haskellwiki/WxHaskell/MacOS_X</a>&nbsp; &nbsp;which says:</div><div><div><span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif; line-height: 22px; ">"3. Check your path to make sure you are using your wxWidgets and not the default Mac one"</span></div></div><div><font class="Apple-style-span" face="'Helvetica Neue', Arial, Helvetica, sans-serif"><span class="Apple-style-span" style="line-height: 22px;"><br></span></font></div><div><div>I have installed and built wxWidgets 2.9 but not made any changes to path variables (whichever may be involved).</div><div><br></div><div>If I type command "wx-config --release" it tells me the widgets version is 2.8.</div></div><div>If I type command "wx-config --prefix it tells me it is in "/usr"</div><div>If I type command "wx-config --static it says there is no config to match this.</div><div><br></div><div>So I conclude (if I interpret it right...) that I have a dll version of widgets 2.8 in my path at /usr</div><div><br></div><div>Does homebrew take care of this somehow when it loads 2.9? &nbsp;&nbsp;</div><div><br></div><div>I am not sure if anything else is using this 2.8 dll, and/or how to best set the path up so I can use 2.9&nbsp;</div><div>with wxHaskell.</div><div><br></div><div>Sounds like I should definitely take a look at homebrew, so thanks for the recommendation.</div><div><br></div><div>I'd also be interested to know what you get in response to wx-config (with parameters as above) if you have not</div><div>made any manual changes to path variables etc. yourself.</div><div><br></div><div>I also just saw this posted by Gregory Guthrie in another wxHaskell thread ("wxHaskell install errors"):</div><div>"If the libraries&nbsp;are already installed but in a non-standard location then you can use the<br>&nbsp;&nbsp;&nbsp;&nbsp;flags --extra-include-dirs= and --extra-lib-dirs= to specify where they are."</div><div>This makes me think that the 'instruction 3' in the wxHaskell macosx instructions I quoted above is perhaps not</div><div>necessary, or at least there is an alternative when it comes to the cabal step. This may solve one of my&nbsp;</div><div>problems/questions at least, but needs more investigation.</div><div><br></div><div>Cheers/ Henry</div><br><div><div>On 6 Jun 2012, at 22:18, Miguel Negrao wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hi Henry,<br><br>A 06/06/2012, às 12:31, Henry Lockyer escreveu:<br><br><blockquote type="cite">Thanks a lot Miguel. &nbsp;&nbsp;I recently discovered your posts about 'reactive banana' and wxHaskell and started looking through them.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Unfortunately I am a c/c++ compilation/make/etc. and general unix newbie, or oldbie in my case, (amongst many other areas of deep ignorance ;-)<br></blockquote><blockquote type="cite">so I am finding some of the information/instructions a little hard to follow.<br></blockquote><br>Well, that’s exactly why I use homebrew and you should too . :-) It’s designed to make installing stuff easier, it will also download and install for you any dependencies of what you are trying to install. It’s quite easy to install homebrew just type in the terminal:<br><br>/usr/bin/ruby -e "$(/usr/bin/curl -fsSL <a href="https://raw.github.com/mxcl/homebrew/master/Library/Contributions/install_homebrew.rb">https://raw.github.com/mxcl/homebrew/master/Library/Contributions/install_homebrew.rb</a>)”<br><br>Don’t use sudo. If you can’t install to /usr/local then make sure you own that directory, since homebrew wants to make sure you don’t need to sudo to install stuff.<br><br><blockquote type="cite">How did you establish that your wxWidgets was installed and working as expected, <br></blockquote><br>Well, when I had wxHaskell working I compiled a wxHaskell program and it worked but I didn’t test wxWidgets independently.<br><br><blockquote type="cite">and can I ask how you removed the pre-loaded mac os version of widgets (if you had this) ?<br></blockquote><br><br>No need for that, the pre-installed ones are older versions.<br><br>best,<br>Miguel<br>_______________________________________________<br>Beginners mailing list<br><a href="mailto:Beginners@haskell.org">Beginners@haskell.org</a><br>http://www.haskell.org/mailman/listinfo/beginners<br></div></blockquote></div><br></body></html>