Re: [Haskell] ANN: Hipmunk 0.1 and HipmunkPlayground 0.1

On Sat, Jul 26, 2008 at 9:50 PM, Felipe Lessa
6.8.1).
You may get Cabal packages for both on Hackage at: - http://hackage.haskell.org/cgi-bin/hackage-scripts/package/Hipmunk - http://hackage.haskell.org/cgi-bin/hackage-scripts/package/HipmunkPlayground
Felipe, I'm getting the following error trying to cabal-install HipmunkPlayground: +++++ Building HipmunkPlayground-0.1... [1 of 1] Compiling Main ( ./Playground.hs, dist/build/HipmunkPlayground/HipmunkPlayground-tmp/Main.o ) Linking dist/build/HipmunkPlayground/HipmunkPlayground ... ld: duplicate symbol _deRefStablePtr in /Library/Frameworks/GHC.framework/Versions/608/usr/lib/ghc-6.8.2.20080211/libHSrts.a(Stable.o) and /Users/alatter/.cabal/lib/Hipmunk-0.1/ghc-6.8.2.20080211/libHSHipmunk-0.1.a(Space_stub.o) collect2: ld returned 1 exit status cabal: Error: some packages failed to install: HipmunkPlayground-0.1 failed during the building phase. The exception was: exit: ExitFailure 1 +++++ I simply typed "cabal install HipmuckPlayground". Should I need to do anything else? I'm running Mac OS 10.5 on Intel. Does this error look useful to anyone? -Antoine

aslatter:
On Sat, Jul 26, 2008 at 9:50 PM, Felipe Lessa
wrote: 6.8.1).
You may get Cabal packages for both on Hackage at: - http://hackage.haskell.org/cgi-bin/hackage-scripts/package/Hipmunk - http://hackage.haskell.org/cgi-bin/hackage-scripts/package/HipmunkPlayground
Felipe,
I'm getting the following error trying to cabal-install HipmunkPlayground:
+++++
Building HipmunkPlayground-0.1... [1 of 1] Compiling Main ( ./Playground.hs, dist/build/HipmunkPlayground/HipmunkPlayground-tmp/Main.o ) Linking dist/build/HipmunkPlayground/HipmunkPlayground ... ld: duplicate symbol _deRefStablePtr in /Library/Frameworks/GHC.framework/Versions/608/usr/lib/ghc-6.8.2.20080211/libHSrts.a(Stable.o) and /Users/alatter/.cabal/lib/Hipmunk-0.1/ghc-6.8.2.20080211/libHSHipmunk-0.1.a(Space_stub.o)
collect2: ld returned 1 exit status cabal: Error: some packages failed to install: HipmunkPlayground-0.1 failed during the building phase. The exception was: exit: ExitFailure 1
+++++
I simply typed "cabal install HipmuckPlayground". Should I need to do anything else?
I had this too, on Linux. The solution is to configure with --enable-split-objs -- Don

On Sun, Jul 27, 2008 at 12:29 AM, Antoine Latter
On Sat, Jul 26, 2008 at 9:50 PM, Felipe Lessa
wrote: 6.8.1).
You may get Cabal packages for both on Hackage at: - http://hackage.haskell.org/cgi-bin/hackage-scripts/package/Hipmunk - http://hackage.haskell.org/cgi-bin/hackage-scripts/package/HipmunkPlayground
Felipe,
I'm getting the following error trying to cabal-install HipmunkPlayground: [duplicate symbol _deRefStablePtr]
Well, I guess this isn't a random problem then. I had this in one of the Linux boxes but the first thing I tried to solve it worked so dismissed it as something not so important. Now dons had this problem as well. The solution: compile Hipmunk with --enable-split-objs . Now, why that happens is something I don't know. Why split-objs helps I don't know either. On the other Linux box and on the Windows one it worked flawless without --enable-split-objs. Some GHC hacker around to shed some light, please? -- Felipe.

On Sun, Jul 27, 2008 at 12:34 AM, Felipe Lessa
On Sun, Jul 27, 2008 at 12:29 AM, Antoine Latter
wrote: I'm getting the following error trying to cabal-install HipmunkPlayground: [duplicate symbol _deRefStablePtr]
Well, I guess this isn't a random problem then. I had this in one of the Linux boxes but the first thing I tried to solve it worked so dismissed it as something not so important. Now dons had this problem as well.
I've filled a GHC ticket at http://hackage.haskell.org/trac/ghc/ticket/2469 . Thanks, -- Felipe.
participants (3)
-
Antoine Latter
-
Don Stewart
-
Felipe Lessa