<div dir="ltr">Hi Jeffrey,<div><br></div><div>Haskell is what convinced me to switch to Linux (from Windows).  Since then, I've occasionally worked with Haskell on OS X, and I've found it to have more snags than working with Haskell on Linux.  Workarounds are usually forthcoming though, since a substantial fraction of Haskell users do use OS X.  Generally, there seems to be a bit more friction using Haskell with OS X than with Linux, but it can definitely be overcome.  Of course, Linux tends to have a bit more friction in dealing with the hardware, especially Apple hardware.</div><div><br></div><div><br></div><div>Ryan</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Oct 19, 2014 at 4:13 PM, Jeffrey Brown <span dir="ltr"><<a href="mailto:jeffbrown.the@gmail.com" target="_blank">jeffbrown.the@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>I have read that Haskell is easier to work with on Linux than on Windows. Is Haskell on Linux also easier than Haskell on OS X?</div><div><br></div><div>I'm trying to do realtime OSC output from Haskell, because concurrency in Python is hard. Brandon Allbery on the haskell-cafe list, told me "chrt" and "sched_setscheduler" would be helpful. At the shell prompt I found that my system (OS X 10.9) does not recognize "chrt". I found a library on Hackage, "posix-realtime", that claims Mac compatibility and has a "sched_setscheduler" function, but my attempts to install it fail:</div><div><br></div><div><span style="white-space:pre-wrap"> </span>sh-3.2# cabal install posix-realtime</div><div><span style="white-space:pre-wrap">     </span>Resolving dependencies...</div><div><span style="white-space:pre-wrap">        </span>Downloading unix-2.3.2.0...</div><div><span style="white-space:pre-wrap">      </span>Configuring unix-2.3.2.0...</div><div><span style="white-space:pre-wrap">      </span>Building unix-2.3.2.0...</div><div><span style="white-space:pre-wrap"> </span>Failed to install unix-2.3.2.0</div><div><span style="white-space:pre-wrap">   </span>Last 10 lines of the build log ( /var/root/.cabal/logs/unix-2.3.2.0.log ):</div><div><span style="white-space:pre-wrap">       </span>Building unix-2.3.2.0...</div><div><span style="white-space:pre-wrap"> </span>Preprocessing library unix-2.3.2.0...</div><div><span style="white-space:pre-wrap">    </span></div><div><span style="white-space:pre-wrap"> </span>dist/build/System/Posix/Signals.hs:124:10:</div><div><span style="white-space:pre-wrap">                       </span> fatal error: 'Signals.h' file not found</div><div><span style="white-space:pre-wrap"> </span>#include "Signals.h"</div><div><span style="white-space:pre-wrap">                                   </span> ^</div><div><span style="white-space:pre-wrap">       </span>1 error generated.</div><div><br></div><div>Even if I found a solution to this particular problem, I'm worried I'll keep running into similar ones, because I'm sure I'll keep trying new packages. Would this kind of work be substantially easier if I were using, say, Linux Mint?</div></div>
<br>_______________________________________________<br>
Beginners mailing list<br>
<a href="mailto:Beginners@haskell.org">Beginners@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/beginners" target="_blank">http://www.haskell.org/mailman/listinfo/beginners</a><br>
<br></blockquote></div><br></div>