e.g. with &quot;register&quot; what is filename .. a path? Is this path to the .a (archive) file on Unix systems? <br><br><div class="gmail_quote">On Thu, Apr 10, 2008 at 9:38 PM, Galchin, Vasili &lt;<a href="mailto:vigalchin@gmail.com">vigalchin@gmail.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello,<br><br>&nbsp;&nbsp;&nbsp;&nbsp; Is there better documentation for ghc-pkg than just &quot;help&quot;??<br>
<font color="#888888"><br>Vasili</font><div><div></div><div class="Wj3C7c"><br><br><div class="gmail_quote">On Thu, Apr 10, 2008 at 9:36 PM, Galchin, Vasili &lt;<a href="mailto:vigalchin@gmail.com" target="_blank">vigalchin@gmail.com</a>&gt; wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi Philip,<br><br>&nbsp;&nbsp;&nbsp; Before I got your email, I deregistered unix-2.3.0.0 which made my unix-2.2.0.0 namespace changes visible. However, deregistering seems to made other things worse, e.g. runhaskell Setup.hs configure gives an error message &quot;unknown parameter package: unix-2.3.0.0&quot;. Sigh .. how do I get back to where i was in order to do a &quot;hide&quot;?<br>


<br>Kind regards, Vasili<div><div></div><div><br><br><div class="gmail_quote">On Thu, Apr 10, 2008 at 8:22 PM, Philip Weaver &lt;<a href="mailto:philip.weaver@gmail.com" target="_blank">philip.weaver@gmail.com</a>&gt; wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
2008/4/10 Galchin, Vasili &lt;<a href="mailto:vigalchin@gmail.com" target="_blank">vigalchin@gmail.com</a>&gt;:<br>
<div>&gt; Hello,<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; I doing work using Linux. The wrong version (for me) of the unix<br>
&gt; package seems to be visible. I see possibilities to use ghc-pkg to &nbsp;suppress<br>
&gt; the unix package that I don&#39;t want(<a href="http://2.3.0.0" target="_blank">2.3.0.0</a>) but that seems dangerious.<br>
&gt; Details are below . &nbsp;What should I do?<br>
<br>
</div>If you don&#39;t want to use it, then it&#39;s safe to hide it:<br>
<br>
 &nbsp; ghc-pkg hide unix-2.3.0.0<br>
<br>
You can always unhide it later.<br>
<br>
You can also tell ghc to use a specific version of a package:<br>
<br>
 &nbsp; ghc -package unix-2.2.0.0<br>
<br>
Of course, you&#39;ll need to make sure unix-2.2.0.0 is registered with ghc-pkg.<br>
<div><br>
&gt;<br>
&gt; Regards, vasili<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; When I do:<br>
&gt;<br>
&gt; &gt; ghci<br>
&gt; &nbsp; &nbsp; &nbsp; :m System.Posix<br>
&gt;<br>
&gt; I am getting the wrong version of the Unix package. I know this to be true<br>
&gt; because I did<br>
&gt; ghc-pkg latest unix<br>
&gt;<br>
&gt; and got unix-2.3.0.0<br>
&gt;<br>
&gt; I want unix.2.2.0.0 because this version has changes that I made to the unix<br>
&gt; package. &nbsp;libHSunix-2.2.0.0.a is installed under<br>
&gt; /usr/local/lib/unix-2.2.0.0/ghc-6.8.2 I did a &quot;nm -a libHSunix-2.2.0.0.a&quot;<br>
&gt; and found symbols that I added.<br>
&gt;<br>
</div>&gt; _______________________________________________<br>
&gt; &nbsp;Haskell-Cafe mailing list<br>
&gt; &nbsp;<a href="mailto:Haskell-Cafe@haskell.org" target="_blank">Haskell-Cafe@haskell.org</a><br>
&gt; &nbsp;<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
&gt;<br>
&gt;<br>
</blockquote></div><br>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br>