first version of RC2 has problems with lack of dynamic libraries at least on the Mac

Austin Seipp austin at well-typed.com
Fri Feb 28 15:51:15 UTC 2014


Thanks George. Since this might be confusing for users, I'll add a
note to to the release notes about requiring Cabal 1.18 for GHC to
work properly.

On Fri, Feb 28, 2014 at 8:13 AM, George Colpitts
<george.colpitts at gmail.com> wrote:
> Thanks for everybody's help. I got the latest versions of cabal, installed
> the "early" version of RC2 and then cabal install vector worked
>
>
> On Thu, Feb 27, 2014 at 10:37 PM, George Colpitts
> <george.colpitts at gmail.com> wrote:
>>
>> I am sad. How do I uninstall the current version I have and install that
>> version?
>>
>> Thanks
>>
>>
>> On Thu, Feb 27, 2014 at 10:27 PM, Carter Schonwald
>> <carter.schonwald at gmail.com> wrote:
>>>
>>> you need cabal-install 1.18 or you'll be sad.
>>>
>>>
>>>
>>>
>>> On Thu, Feb 27, 2014 at 9:16 PM, George Colpitts
>>> <george.colpitts at gmail.com> wrote:
>>>>
>>>> I'm using Cabal-1.18.1.3 and cabal-install version 1.16.0.2
>>>>
>>>>
>>>> On Thu, Feb 27, 2014 at 9:04 PM, Austin Seipp <austin at well-typed.com>
>>>> wrote:
>>>>>
>>>>> Thanks. Another question is what version of Cabal you are using, as it
>>>>> knows how to build dylibs properly. I'm using cabal 1.18.
>>>>>
>>>>> To delete the RC, you can just delete the directory it installed into
>>>>> (the GHC-7.8.xxxxx folder). Also make sure you remove the executables from
>>>>> $PATH
>>>>>
>>>>> And no worries about any unnecessary work. I'm here to do the release
>>>>> after all, and feedback is helpful!
>>>>>
>>>>>
>>>>> On Thursday, February 27, 2014, George Colpitts
>>>>> <george.colpitts at gmail.com> wrote:
>>>>>>
>>>>>> Probably my error, I just wanted to make sure there wasn't a problem
>>>>>> that was missed. Thanks for checking. Sorry for any confusion I caused.
>>>>>>
>>>>>> Here are the details of what I did:
>>>>>>
>>>>>> I took ghc-7.8.0.20140226-x86_64-apple-darwin-mavericks.tar.bz2 from
>>>>>> http://www.haskell.org/ghc/dist/7.8.1-rc2/ and followed the instructions in
>>>>>> the INSTALL file to install it, i.e.
>>>>>>
>>>>>> One possible difference is that my gcc is gcc-4.8 from gnu not gcc
>>>>>> from Apple.
>>>>>>
>>>>>> Also my uname output is different than yours:
>>>>>>
>>>>>> uname -a
>>>>>> Darwin iMac27-5.local 13.1.0 Darwin Kernel Version 13.1.0: Thu Jan 16
>>>>>> 19:40:37 PST 2014; root:xnu-2422.90.20~2/RELEASE_X86_64 x86_64
>>>>>>
>>>>>>
>>>>>> Finally I am running XCode 5.2
>>>>>>
>>>>>> Is there a to uninstall or clean these RCs?
>>>>>>
>>>>>> I'll wait for official notice before trying anything else
>>>>>>
>>>>>> I really appreciate all your work and I'm sorry if I caused you any
>>>>>> unnecessary work. I had no problems installing RC1 so may have been
>>>>>> overconfident
>>>>>>
>>>>>>
>>>>>> On Thu, Feb 27, 2014 at 8:05 PM, Austin Seipp <austin at well-typed.com>
>>>>>> wrote:
>>>>>>
>>>>>> I just tested this and cannot reproduce it:
>>>>>>
>>>>>> $ cabal install vector
>>>>>> ... building ...
>>>>>>
>>>>>> $ ls /Users/a/.cabal/lib/x86_64-osx-ghc-7.8.0.20140226/vector-0.10.9.1
>>>>>> Data libHSvector-0.10.9.1-ghc7.8.0.20140226.dylib include
>>>>>> libHSvector-0.10.9.1.a
>>>>>>
>>>>>> $ ls
>>>>>> /Users/a/.cabal/lib/x86_64-osx-ghc-7.8.0.20140226/primitive-0.5.2.1/
>>>>>> Control include libHSprimitive-0.5.2.1.a Data
>>>>>> libHSprimitive-0.5.2.1-ghc7.8.0.20140226.dylib
>>>>>>
>>>>>> $ uname -a
>>>>>> Darwin Calcifer.local 13.0.0 Darwin Kernel Version 13.0.0: Thu Sep 19
>>>>>> 22:22:27 PDT 2013; root:xnu-2422.1.72~6/RELEASE_X86_64 x86_64
>>>>>>
>>>>>> There is certainly a dylib available for both of these libraries.
>>>>>> You're going to need to be very explicit in what you did to install
>>>>>> GHC, and how. (Did you use the binary distribution I pulled from the
>>>>>> server?)* Unfortunately I'm about to run out the door, and don't have
>>>>>> time for the next few hours closely investigate.
>>>>>>
>>>>>> * On another note, I will say that there is not an 'RC2' until I
>>>>>> announce that it is so, to be completely honest. Right this second,
>>>>>> some last minute fixes went into HEAD which will be merged for the
>>>>>> actual RC2. Otherwise I would have released it today. But thank you
>>>>>> for testing anyway!
>>>>>>
>>>>>> On Thu, Feb 27, 2014 at 5:53 PM, George Colpitts
>>>>>> <george.colpitts at gmail.com> wrote:
>>>>>> > corrected subject line
>>>>>> >
>>>>>> >
>>>>>> > On Thu, Feb 27, 2014 at 7:47 PM, George Colpitts
>>>>>> > <george.colpitts at gmail.com>
>>>>>> > wrote:
>>>>>> >>
>>>>>> >> Hi
>>>>>> >>
>>>>>> >> After installing the first version of RC2 I ran into the following
>>>>>> >> problem
>>>>>> >>
>>>>>> >>  cabal install vector
>>>>>> >> Resolving dependencies...
>>>>>> >> Configuring vector-0.10.9.1...
>>>>>> >> ...
>>>>>> >> [ 5 of 19] Compiling Data.Vector.Fusion.Stream.Monadic (
>>>>>> >> Data/Vector/Fusion/Stream/Monadic.hs,
>>>>>> >> dist/build/Data/Vector/Fusion/Stream/Monadic.o )
>>>>>> >> Loading package ghc-prim ... linking ... done.
>>>>>> >> Loading package integer-gmp ... linking ... done.
>>>>>> >> Loading package base ... linking ... done.
>>>>>> >> Loading package primitive-0.5.2.1 ... <command line>: can't load
>>>>>> >> .so/.DLL
>>>>>> >> for: libHSprimitive-0.5.2.1.dylib
>>>>>> >> (dlopen(libHSprimitive-0.5.2.1.dylib, 9):
>>>>>> >> image not found)
>>>>>> >>
>>>>>> >> There seems to be a general problem that the install did not
>>>>>> >> produce any
>>>>>> >> dynamic libraries at least on the Mac:
>>>>>> >>
>>>>>> >>  ls /Users/gcolpitts/Library/Haskell/ghc-7.8.0.20140226/lib/*/lib
>>>>>> >>
>>>>>> >> /Users/gcolpitts/Library/Haskell/ghc-7.8.0.20140226/lib/cpphs-1.18.2/lib:
>>>>>> >> HScpphs-1.18.2.o Language Text libHScpphs-1.18.2.a
>>>>>> >> libHScpphs-1.18.2_p.a
>>>>>> >>
>>>>>> >>
>>>>>> >>
>>>>>> >> /Users/gcolpitts/Library/Haskell/ghc-7.8.0.20140226/lib/hashable-1.2.1.0/lib:
>>>>>> >> Data HShashable-1.2.1.0.o libHShashable-1.2.1.0.a
>>>>>> >> libHShashable-1.2.1.0_p.a
>>>>>> >>
>>>>>> >>
>>>>>> >>
>>>>>> >> /Users/gcolpitts/Library/Haskell/ghc-7.8.0.20140226/lib/hscolour-1.20.3/lib:
>>>>>> >> HShscolour-1.20.3.o Language libHShscolour-1.20.3.a
>>>>>> >> libHShscolour-1.20.3_p.a
>>>>>> >>
>>>>>> >>
>>>>>> >>
>>>>>> >> /Users/gcolpitts/Library/Haskell/ghc-7.8.0.20140226/lib/primitive-0.5.2.1/lib:
>>>>>> >> Control HSprimitive-0.5.2.1.o libHSprimitive-0.5.2.1.a
>>>>>> >> Data include libHSprimitive-0.5.2.1_p.a
>>>>>> >>
>>>>>> >>
>>>>>> >> /Users/gcolpitts/Library/Haskell/ghc-7.8.0.20140226/lib/syb-0.4.1/lib:
>>>>>> >> Data Generics HSsyb-0.4.1.o libHSsyb-0.4.1.a libHSsyb-0.4.1_p.a
>>>>>> >>
>>>>>> >>
>>>>>> >> /Users/gcolpitts/Library/Haskell/ghc-7.8.0.20140226/lib/text-1.1.0.0/lib:
>>>>>> >> Data HStext-1.1.0.0.o libHStext-1.1.0.0.a libHStext-1.1.0.0_p.a
>>>>>> >>
>>>>>> >>
>>>>>> >>
>>>>>> >> /Users/gcolpitts/Library/Haskell/ghc-7.8.0.20140226/lib/unordered-containers-0.2.3.3/lib:
>>>>>> >> Data libHSunordered-containers-0.2.3.3.a
>>>>>> >> HSunordered-containers-0.2.3.3.o
>>>>>> >> libHSunordered-containers-0.2.3.3_p.a
>>>>>> >
>>>>>> >
>>>>>> >
>>>>>> > _______________________________________________
>>>>>> > ghc-devs mailing list
>>>>>> > ghc-devs at haskell.org
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Regards,
>>>>>
>>>>> Austin Seipp, Haskell Consultant
>>>>> Well-Typed LLP, http://www.well-typed.com/
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> ghc-devs mailing list
>>>> ghc-devs at haskell.org
>>>> http://www.haskell.org/mailman/listinfo/ghc-devs
>>>>
>>>
>>
>



-- 
Regards,

Austin Seipp, Haskell Consultant
Well-Typed LLP, http://www.well-typed.com/


More information about the ghc-devs mailing list