[Haskell-cafe] building the unix package and cabal

Galchin Vasili vigalchin at gmail.com
Mon Feb 4 11:50:13 EST 2008


more specifically the "gmp" unsatisfied ref shows up with the DynamicLinker.

On 2/4/08, Thomas Schilling <nominolo at googlemail.com> wrote:
>
> I don't know.  Maybe someone on @cafe can help. (I CC'd)
>
> On Feb 4, 2008 5:22 PM, Galchin Vasili <vigalchin at gmail.com> 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 <nominolo at googlemail.com> wrote:
> > > 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 <vigalchin at gmail.com> wrote:
> > > > Hi Thomas,
> > > >
> > > >     Have you tried to build this package yourself? I get a linker
> error
> > ..
> > > > unresolved symbol "gmp".
> > > >
> > > > Vasili
> > > >
> > > >
> > > >
> > > >
> > > > On 2/4/08, Thomas Schilling <nominolo at googlemail.com> wrote:
> > > > > Build-type: Configure means that *Cabal uses ./configure * to
> build
> > > > > the package.  Nothing changes for you.  Just use the usual:
> > > > >
> > > > > runhaskell Setup.hs configure --prefix=... [--user]
> > > > > runhaskell Setup.hs build
> > > > > runhaskell Setup.hs install
> > > > >
> > > > > or with cabal-install:
> > > > >
> > > > > cabal install unix
> > > > >
> > > > > 2008/2/4 Galchin Vasili <vigalchin at gmail.com>:
> > > > > > 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
> > > > > > is how do I build the unix-2.2.0.0 package on RHEL 5?
> > > > > >
> > > > > > Thank you, Vasili
> > > > > > _______________________________________________
> > > > > > Haskell-Cafe mailing list
> > > > > > Haskell-Cafe at haskell.org
> > > > > > http://www.haskell.org/mailman/listinfo/haskell-cafe
> > > > > >
> > > > > >
> > > > >
> > > >
> > > >
> > >
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20080204/2f900afa/attachment.htm


More information about the Haskell-Cafe mailing list