[Haskell-beginners] cabal problem

Carsten König Spam at gettingsharper.de
Fri May 15 07:45:14 UTC 2015


I think almost any Linux distro would do - but still: try to reinstall
those - if it seems to much work you could also deinstall/reinstall
Haskell Plattform (I guess this is what you are using)

PS: sorry for the type - it should have been "QuickCheck" of course

Am 15.05.2015 um 09:42 schrieb Roelof Wobben:
> Hello,
>
> I did not updated GHC because I use the IDe of a cloud provider codio.com
>
> I think more and more to switch to a linux distro.
>
> Do you experts have recommendations ?
>
> Roelof
>
>
>
> Carsten König schreef op 15-5-2015 om 9:31:
>> You most likely updated GHC or something and so you have to reinstall
>> all the packages you get errors for first:
>>
>> cabal install QuckCheck -reinstall --force-reinstalls
>>
>> Am 15.05.2015 um 09:10 schrieb Roelof Wobben:
>>> Another problem.
>>>
>>> I now see this output :
>>>
>>> Preprocessing library digits-0.2...                                                                                      
>>> [1 of 1] Compiling Data.Digits      ( src/Data/Digits.hs, dist/build/Data/Digits.o )                                     
>>> /usr/bin/ld: cannot find -lHSQuickCheck-2.8.1-ghc7.8.3                                                                   
>>> /usr/bin/ld: cannot find -lHStf-random-0.5-ghc7.8.3                                                                      
>>> /usr/bin/ld: cannot find -lHSprimitive-0.6-ghc7.8.3                                                                      
>>> /usr/bin/ld: cannot find -lHStransformers-0.4.3.0-ghc7.8.3                                                               
>>> /usr/bin/ld: cannot find -lHSrandom-1.1-ghc7.8.3                                                                         
>>> collect2: error: ld returned 1 exit status                                                                               
>>> Failed to install digits-0.2                                                                                             
>>> cabal: Error: some packages failed to install:                                                                           
>>> digits-0.2 failed during the building phase. The exception was:                                                          
>>> ExitFailure 1                                                                                                            
>>> codio at switch-grille:~/workspace$ ghc                                                                                     
>>> ghc: no input files                                                                                                      
>>> Usage: For basic information, try the `--help' option.                                                                   
>>> codio at switch-grille:~/workspace$ ghc --version                                                                           
>>> The Glorious Glasgow Haskell Compilation System, version 7.8.3  
>>>
>>> Roelof
>>>
>>>
>>>
>>>
>>> Roelof Wobben schreef op 15-5-2015 om 9:08:
>>>> Thanks,
>>>>
>>>> And if I want to import it into my project , do I then do import
>>>> Data.Digits ?
>>>>
>>>> Roelof
>>>>
>>>>
>>>> Alex Hammel schreef op 14-5-2015 om 23:25:
>>>>> `Data.Digits` is the name of the module. The name of the package
>>>>> is `digits`. Therefore: $(cabal install digits)
>>>>>
>>>>> `cabal` installs packages, which may contain many modules
>>>>>
>>>>> On Thu, 14 May 2015 at 14:14 Roelof Wobben <r.wobben at home.nl
>>>>> <mailto:r.wobben at home.nl>> wrote:
>>>>>
>>>>>     Hello,,
>>>>>
>>>>>     I want to use the module Digits which according to Hoogle is
>>>>>     in Data.Digits
>>>>>
>>>>>     But when I do cabal install Data.Digits I see this error message :
>>>>>
>>>>>     cabal install Data.Digits
>>>>>     cabal: The file does not exist 'Data.Digits'
>>>>>
>>>>>     What do I do wrong ?
>>>>>
>>>>>     Roelof
>>>>>
>>>>>
>>>>>     ---
>>>>>     Dit e-mailbericht is gecontroleerd op virussen met Avast
>>>>>     antivirussoftware.
>>>>>     http://www.avast.com
>>>>>
>>>>>     _______________________________________________
>>>>>     Beginners mailing list
>>>>>     Beginners at haskell.org <mailto:Beginners at haskell.org>
>>>>>     http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Beginners mailing list
>>>>> Beginners at haskell.org
>>>>> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------
>>>> Avast logo <http://www.avast.com/> 	
>>>>
>>>> Dit e-mailbericht is gecontroleerd op virussen met Avast
>>>> antivirussoftware.
>>>> www.avast.com <http://www.avast.com/>
>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Beginners mailing list
>>>> Beginners at haskell.org
>>>> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
>>>
>>>
>>>
>>> ------------------------------------------------------------------------
>>> Avast logo <http://www.avast.com/> 	
>>>
>>> Dit e-mailbericht is gecontroleerd op virussen met Avast
>>> antivirussoftware.
>>> www.avast.com <http://www.avast.com/>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Beginners mailing list
>>> Beginners at haskell.org
>>> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
>>
>>
>>
>> _______________________________________________
>> Beginners mailing list
>> Beginners at haskell.org
>> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
>
>
>
> ------------------------------------------------------------------------
> Avast logo <http://www.avast.com/> 	
>
> Dit e-mailbericht is gecontroleerd op virussen met Avast
> antivirussoftware.
> www.avast.com <http://www.avast.com/>
>
>
>
>
> _______________________________________________
> Beginners mailing list
> Beginners at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/beginners/attachments/20150515/07de1632/attachment-0001.html>


More information about the Beginners mailing list