Re: [Haskell-cafe] building the unix package and cabal

2008-02-05 Thread Galchin Vasili
Hi Ian, Should gmp-devel be an archive (.a) or a shared object (.so)? If an .a, don't I have to have an environemmt var to point at it's directory? I tried your sequence below on unix-2.2.0.0 and still cannot resolve "gmp". I did find one gmp .rpm on one of the RHEL cds but without "-devel".

Re: [Haskell-cafe] building the unix package and cabal

2008-02-04 Thread Galchin Vasili
Hi Ian, I am trying to add new Posix functionality and it would be nice to be able to build unix myself. In any case, I will try your suggestion and see what happens. Regards, Vasili On 2/4/08, Ian Lynagh <[EMAIL PROTECTED]> wrote: > > On Mon, Feb 04, 2008 at 10:50:13AM -0600, Galchin Vasi

Re: [Haskell-cafe] building the unix package and cabal

2008-02-04 Thread Ian Lynagh
On Mon, Feb 04, 2008 at 10:50:13AM -0600, Galchin Vasili wrote: > more specifically the "gmp" unsatisfied ref shows up with the DynamicLinker. This works for me, with GHC 6.8.2 and http://hackage.haskell.org/packages/archive/unix/2.2.0.0/unix-2.2.0.0.tar.gz $ ghc --make Setup $ ./Setup configure

Re: [Haskell-cafe] building the unix package and cabal

2008-02-04 Thread Galchin Vasili
more specifically the "gmp" unsatisfied ref shows up with the DynamicLinker. On 2/4/08, Thomas Schilling <[EMAIL PROTECTED]> wrote: > > I don't know. Maybe someone on @cafe can help. (I CC'd) > > On Feb 4, 2008 5:22 PM, Galchin Vasili <[EMAIL PROTECTED]> wrote: > > I have the gmp shared objects i

Re: [Haskell-cafe] building the unix package and cabal

2008-02-04 Thread Thomas Schilling
I don't know. Maybe someone on @cafe can help. (I CC'd) On Feb 4, 2008 5:22 PM, Galchin Vasili <[EMAIL PROTECTED]> wrote: > I have the gmp shared objects installed, i.e. .so's. Does ghc require static > linking with .a archive files? > > > > > On 2/4/08, Thomas Schilling <[EMAIL PROTECTED]> wrote

Re: [Haskell-cafe] building the unix package and cabal

2008-02-04 Thread Thomas Schilling
This is the GNU Multi-Precision library. You have to install that separately, Cabal can't do that for you. You should use the redhat package manager to install it. HTH On Feb 4, 2008 4:43 PM, Galchin Vasili <[EMAIL PROTECTED]> wrote: > Hi Thomas, > > Have you tried to build this package your

[Haskell-cafe] building the unix package and cabal

2008-02-04 Thread Galchin Vasili
Hello, I have been trying to build the unix package on RedHat RHEL 5. Over the weekend I read through the Cabal documentation. The unix-2.2.0.0 unix.cabal specifies the "build-type" attribute as "Configure". Based on Cabal doc, I should run ./configure. After this step then what? Bottom line