Send Beginners mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        http://www.haskell.org/mailman/listinfo/beginners
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Beginners digest..."


Today's Topics:

   1.  cmath Install troubles (Tom Murphy)
   2. Re:  cmath Install troubles (Antoine Latter)
   3. Re:  cmath Install troubles (Tom Murphy)
   4.  Another install problem (Tom Murphy)
   5. Re:  cmath Install troubles (Tom Murphy)
   6. Re:  Another install problem (Brandon Allbery)
   7. Re:  cmath Install troubles (Antoine Latter)
   8. Re:  cmath Install troubles (Bernardo Barros)
   9. Re:  cmath Install troubles (Brandon Allbery)


----------------------------------------------------------------------

Message: 1
Date: Thu, 19 Jan 2012 15:06:34 -0500
From: Tom Murphy <[email protected]>
Subject: [Haskell-beginners] cmath Install troubles
To: beginners <[email protected]>
Message-ID:
        <CAO9Q0tXhSKD=2un08vuclkblebksdcxpisvzah11wgsyjzq...@mail.gmail.com>
Content-Type: text/plain; charset=windows-1252

Any advice?

If you can't even install a package with no dependencies except base,
I think there's trouble:

$ cabal install cmath
Resolving dependencies...
Configuring cmath-0.3...
Preprocessing library cmath-0.3...
Building cmath-0.3...
[1 of 1] Compiling Foreign.C.Math.Double (
dist/build/Foreign/C/Math/Double.hs,
dist/build/Foreign/C/Math/Double.o )
/var/folders/+p/+pUVycVKFDWsYP8YiYnM3k+++TM/-Tmp-/ghc70799_0/ghc70799_0.hc:
In function ?s2sB_ret?:

/var/folders/+p/+pUVycVKFDWsYP8YiYnM3k+++TM/-Tmp-/ghc70799_0/ghc70799_0.hc:2850:0:
     error: ?gamma? undeclared (first use in this function)

/var/folders/+p/+pUVycVKFDWsYP8YiYnM3k+++TM/-Tmp-/ghc70799_0/ghc70799_0.hc:2850:0:
     error: (Each undeclared identifier is reported only once

/var/folders/+p/+pUVycVKFDWsYP8YiYnM3k+++TM/-Tmp-/ghc70799_0/ghc70799_0.hc:2850:0:
     error: for each function it appears in.)
/var/folders/+p/+pUVycVKFDWsYP8YiYnM3k+++TM/-Tmp-/ghc70799_0/ghc70799_0.hc:
In function ?s2t0_ret?:

/var/folders/+p/+pUVycVKFDWsYP8YiYnM3k+++TM/-Tmp-/ghc70799_0/ghc70799_0.hc:2896:0:
     error: ?gamma? undeclared (first use in this function)
/var/folders/+p/+pUVycVKFDWsYP8YiYnM3k+++TM/-Tmp-/ghc70799_0/ghc70799_0.hc:
In function ?s2uH_ret?:

/var/folders/+p/+pUVycVKFDWsYP8YiYnM3k+++TM/-Tmp-/ghc70799_0/ghc70799_0.hc:3088:0:
     error: ?isinf? undeclared (first use in this function)
/var/folders/+p/+pUVycVKFDWsYP8YiYnM3k+++TM/-Tmp-/ghc70799_0/ghc70799_0.hc:
In function ?s2v6_ret?:

/var/folders/+p/+pUVycVKFDWsYP8YiYnM3k+++TM/-Tmp-/ghc70799_0/ghc70799_0.hc:3134:0:
     error: ?isinf? undeclared (first use in this function)
/var/folders/+p/+pUVycVKFDWsYP8YiYnM3k+++TM/-Tmp-/ghc70799_0/ghc70799_0.hc:
In function ?s2vv_ret?:

/var/folders/+p/+pUVycVKFDWsYP8YiYnM3k+++TM/-Tmp-/ghc70799_0/ghc70799_0.hc:3180:0:
     error: ?isnan? undeclared (first use in this function)
/var/folders/+p/+pUVycVKFDWsYP8YiYnM3k+++TM/-Tmp-/ghc70799_0/ghc70799_0.hc:
In function ?s2vU_ret?:

/var/folders/+p/+pUVycVKFDWsYP8YiYnM3k+++TM/-Tmp-/ghc70799_0/ghc70799_0.hc:3226:0:
     error: ?isnan? undeclared (first use in this function)
/var/folders/+p/+pUVycVKFDWsYP8YiYnM3k+++TM/-Tmp-/ghc70799_0/ghc70799_0.hc:
In function ?s2wj_ret?:

/var/folders/+p/+pUVycVKFDWsYP8YiYnM3k+++TM/-Tmp-/ghc70799_0/ghc70799_0.hc:3272:0:
     error: ?finite? undeclared (first use in this function)
/var/folders/+p/+pUVycVKFDWsYP8YiYnM3k+++TM/-Tmp-/ghc70799_0/ghc70799_0.hc:
In function ?s2wI_ret?:

/var/folders/+p/+pUVycVKFDWsYP8YiYnM3k+++TM/-Tmp-/ghc70799_0/ghc70799_0.hc:3318:0:
     error: ?finite? undeclared (first use in this function)
/var/folders/+p/+pUVycVKFDWsYP8YiYnM3k+++TM/-Tmp-/ghc70799_0/ghc70799_0.hc:
In function ?s2Kh_ret?:

/var/folders/+p/+pUVycVKFDWsYP8YiYnM3k+++TM/-Tmp-/ghc70799_0/ghc70799_0.hc:4856:0:
     error: ?significand? undeclared (first use in this function)
/var/folders/+p/+pUVycVKFDWsYP8YiYnM3k+++TM/-Tmp-/ghc70799_0/ghc70799_0.hc:
In function ?s2KG_ret?:

/var/folders/+p/+pUVycVKFDWsYP8YiYnM3k+++TM/-Tmp-/ghc70799_0/ghc70799_0.hc:4902:0:
     error: ?significand? undeclared (first use in this function)
cabal: Error: some packages failed to install:
cmath-0.3 failed during the building phase. The exception was:
ExitFailure 1




Thanks for any help!
amindfv / Tom



------------------------------

Message: 2
Date: Thu, 19 Jan 2012 14:14:59 -0600
From: Antoine Latter <[email protected]>
Subject: Re: [Haskell-beginners] cmath Install troubles
To: Tom Murphy <[email protected]>
Cc: beginners <[email protected]>
Message-ID:
        <cakjsnqge4-rog_ydqldh-vfm39jxzn8rs4jseu3p6g1yjce...@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8

On Thu, Jan 19, 2012 at 2:06 PM, Tom Murphy <[email protected]> wrote:
> Any advice?
>
> If you can't even install a package with no dependencies except base,
> I think there's trouble:
>
> $ cabal install cmath
> Resolving dependencies...
> Configuring cmath-0.3...
> Preprocessing library cmath-0.3...
> Building cmath-0.3...

Which version of ghc are you using? Which version of the 'cabal'
executable do you have installed?

Thanks,
Antoine



------------------------------

Message: 3
Date: Thu, 19 Jan 2012 15:21:12 -0500
From: Tom Murphy <[email protected]>
Subject: Re: [Haskell-beginners] cmath Install troubles
To: Antoine Latter <[email protected]>
Cc: beginners <[email protected]>
Message-ID:
        <CAO9Q0tX2_MaqyR2qVkRwSPz+O_0Q3Tw_P=aaTLE96UT2==m...@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

Sorry; brain not working today:

The Glorious Glasgow Haskell Compilation System, version 7.0.3
cabal-install version 0.10.2
using version 1.10.1.0 of the Cabal library

amindfv / Tom

On 1/19/12, Antoine Latter <[email protected]> wrote:
> On Thu, Jan 19, 2012 at 2:06 PM, Tom Murphy <[email protected]> wrote:
>> Any advice?
>>
>> If you can't even install a package with no dependencies except base,
>> I think there's trouble:
>>
>> $ cabal install cmath
>> Resolving dependencies...
>> Configuring cmath-0.3...
>> Preprocessing library cmath-0.3...
>> Building cmath-0.3...
>
> Which version of ghc are you using? Which version of the 'cabal'
> executable do you have installed?
>
> Thanks,
> Antoine
>



------------------------------

Message: 4
Date: Thu, 19 Jan 2012 16:20:35 -0500
From: Tom Murphy <[email protected]>
Subject: [Haskell-beginners] Another install problem
To: beginners <[email protected]>
Message-ID:
        <CAO9Q0tU2=vprahc9pwkbtvuxwx4koeautfs5whuowiuaspd...@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

Hi,
     Sorry to copy-paste more install errors, but this one has been
confusing me for a while:

     Summary:
     "The pkg-config package poppler-glib version >=0.12.4 is required but it
could not be found."
     I don't know how to fix this, as "poppler-glib" is not a package
(and not a dependency).

Thanks in advance!
Tom


$ cabal install poppler
Resolving dependencies...

/var/folders/+p/+pUVycVKFDWsYP8YiYnM3k+++TM/-Tmp-/poppler-0.12.277867/poppler-0.12.2/Gtk2HsSetup.hs:25:0:
     warning: #warning Setup.hs is guessing the version of Cabal. If
compilation of Setup.hs fails use -DCABAL_VERSION_MINOR=x for Cabal
version 1.x.0 when building (prefixed by --ghc-option= when using the
'cabal' command)
[1 of 2] Compiling Gtk2HsSetup      (
/var/folders/+p/+pUVycVKFDWsYP8YiYnM3k+++TM/-Tmp-/poppler-0.12.277867/poppler-0.12.2/Gtk2HsSetup.hs,
/var/folders/+p/+pUVycVKFDWsYP8YiYnM3k+++TM/-Tmp-/poppler-0.12.277867/poppler-0.12.2/dist/setup/Gtk2HsSetup.o
)
[2 of 2] Compiling Main             (
/var/folders/+p/+pUVycVKFDWsYP8YiYnM3k+++TM/-Tmp-/poppler-0.12.277867/poppler-0.12.2/Setup.hs,
/var/folders/+p/+pUVycVKFDWsYP8YiYnM3k+++TM/-Tmp-/poppler-0.12.277867/poppler-0.12.2/dist/setup/Main.o
)
Linking 
/var/folders/+p/+pUVycVKFDWsYP8YiYnM3k+++TM/-Tmp-/poppler-0.12.277867/poppler-0.12.2/dist/setup/setup
...
Configuring poppler-0.12.2...
setup: The pkg-config package poppler-glib version >=0.12.4 is required but it
could not be found.
cabal: Error: some packages failed to install:
poppler-0.12.2 failed during the configure step. The exception was:
ExitFailure 1



------------------------------

Message: 5
Date: Thu, 19 Jan 2012 16:24:24 -0500
From: Tom Murphy <[email protected]>
Subject: Re: [Haskell-beginners] cmath Install troubles
To: Antoine Latter <[email protected]>
Cc: beginners <[email protected]>
Message-ID:
        <CAO9Q0tXz2LCCC-NrRPouMH2+kL=r=XqV-iPec=fj_n-g_ah...@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

Is it possible that I have a version of math.h which doesn't have
these definitions ("gamma," "finite," "isinf," etc.) in it?

Tom

On 1/19/12, Tom Murphy <[email protected]> wrote:
> Sorry; brain not working today:
>
> The Glorious Glasgow Haskell Compilation System, version 7.0.3
> cabal-install version 0.10.2
> using version 1.10.1.0 of the Cabal library
>
> amindfv / Tom
>
> On 1/19/12, Antoine Latter <[email protected]> wrote:
>> On Thu, Jan 19, 2012 at 2:06 PM, Tom Murphy <[email protected]> wrote:
>>> Any advice?
>>>
>>> If you can't even install a package with no dependencies except base,
>>> I think there's trouble:
>>>
>>> $ cabal install cmath
>>> Resolving dependencies...
>>> Configuring cmath-0.3...
>>> Preprocessing library cmath-0.3...
>>> Building cmath-0.3...
>>
>> Which version of ghc are you using? Which version of the 'cabal'
>> executable do you have installed?
>>
>> Thanks,
>> Antoine
>>
>



------------------------------

Message: 6
Date: Thu, 19 Jan 2012 16:28:47 -0500
From: Brandon Allbery <[email protected]>
Subject: Re: [Haskell-beginners] Another install problem
To: Tom Murphy <[email protected]>
Cc: beginners <[email protected]>
Message-ID:
        <cakfcl4vl0pwmxjetqrf7xa6cwtaqzsf_cairrvtpg8czd_g...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

On Thu, Jan 19, 2012 at 16:20, Tom Murphy <[email protected]> wrote:

>     "The pkg-config package poppler-glib version >=0.12.4 is required but
> it
> could not be found."
>     I don't know how to fix this, as "poppler-glib" is not a package
> (and not a dependency).
>

It's not a Haskell package, but a C package.  pkg-config is a mostly
portable mechanism C programs can use to find out the location of a C
library package, and how to link against that package.  One thing it can
*not* help you with, though, is figuring out how to install said library on
your platform.

(And all I can recommend is, don't try to use MacPorts to install poppler,
because you'll end up with a conflicting version of iconv.  Fink or
Homebrew may work better.)

-- 
brandon s allbery                                      [email protected]
wandering unix systems administrator (available)     (412) 475-9364 vm/sms
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://www.haskell.org/pipermail/beginners/attachments/20120119/30beba88/attachment-0001.htm>

------------------------------

Message: 7
Date: Thu, 19 Jan 2012 15:37:19 -0600
From: Antoine Latter <[email protected]>
Subject: Re: [Haskell-beginners] cmath Install troubles
To: Tom Murphy <[email protected]>
Cc: beginners <[email protected]>
Message-ID:
        <CAKjSnQEiYAN9puZ8vGiKSBz=rvz5ucvdj8husuroynh6izc...@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8

On Thu, Jan 19, 2012 at 3:24 PM, Tom Murphy <[email protected]> wrote:
> Is it possible that I have a version of math.h which doesn't have
> these definitions ("gamma," "finite," "isinf," etc.) in it?
>

That's a good guess based on the error messages - or math.h isn't in
whatever paths we're looking in.

What sort of system are you compiling this on?

You could write a test C program using those functions, if you're
familiar with your C tool-chain.

Antoine



------------------------------

Message: 8
Date: Thu, 19 Jan 2012 15:35:01 -0800
From: Bernardo Barros <[email protected]>
Subject: Re: [Haskell-beginners] cmath Install troubles
To: Antoine Latter <[email protected]>
Cc: beginners <[email protected]>
Message-ID:
        <CAOEEKGVPmmiGpWna8v-001vXyH5=xqbjp+yysdexuih3v-j...@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8

I had this problem with an updated archlinux 64bit.

I ``fixed'' it forcing binutils to downgrade.

  pacman -Udd 
http://arm.konnichi.com/core/os/x86_64/binutils-2.20.1-4-x86_64.pkg.tar.xz
  cabal install cmath
  pacman -S binutils

I'm also having a similar error with bindings-sc3 now, but it does not
``fix'' it.



------------------------------

Message: 9
Date: Thu, 19 Jan 2012 19:57:12 -0500
From: Brandon Allbery <[email protected]>
Subject: Re: [Haskell-beginners] cmath Install troubles
To: Antoine Latter <[email protected]>
Cc: beginners <[email protected]>
Message-ID:
        <cakfcl4ueejbr2nb08ett8wcsgznsd4kkfosse5rxqrgvw-z...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

On Thu, Jan 19, 2012 at 16:37, Antoine Latter <[email protected]> wrote:

> On Thu, Jan 19, 2012 at 3:24 PM, Tom Murphy <[email protected]> wrote:
> > Is it possible that I have a version of math.h which doesn't have
> > these definitions ("gamma," "finite," "isinf," etc.) in it?
>
> That's a good guess based on the error messages - or math.h isn't in
> whatever paths we're looking in.
>
> What sort of system are you compiling this on?
>

Pathnames indicated it's OS X.  My first question is whether the
appropriate Xcode is installed, including the optional components
(pre-Xcode 4, the "BSD" packages needed to compile most Unix software were
optional).  Note that Xcode 4 from the App Store actually puts an installer
program in /Applications; that has to be run to actually install Xcode.

-- 
brandon s allbery                                      [email protected]
wandering unix systems administrator (available)     (412) 475-9364 vm/sms
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://www.haskell.org/pipermail/beginners/attachments/20120119/0e1833af/attachment.htm>

------------------------------

_______________________________________________
Beginners mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/beginners


End of Beginners Digest, Vol 43, Issue 24
*****************************************

Reply via email to