
I'm using GHC 6.8.3 with $ cabal --version cabal-install version 0.5.1 using version 1.4.0.1 of the Cabal library I installed Data.Derive from hackage, only to be unable to find the 'derive' binary! Trying it directly from darcs, I get: $ ghc --make Setup.hs [1 of 1] Compiling Main ( Setup.hs, Setup.o ) Linking Setup ... silverback-wired:derive ronwalf$ ./Setup configure Warning: defaultUserHooks in Setup script is deprecated. Configuring derive-0.1.1... Warning: No 'build-type' specified. If you do not need a custom Setup.hs or ./configure script then use 'build-type: Simple'. -Ron

Hi Ron,
I'm using GHC 6.8.3 with $ cabal --version cabal-install version 0.5.1 using version 1.4.0.1 of the Cabal library
I installed Data.Derive from hackage, only to be unable to find the 'derive' binary!
Did you do the runhaskell Setup configure && runhaskell Setup build && runhaskell Setup install? You may also need to add the install path to your $PATH variable - do -v when running Setup install to see where it goes. Thanks Neil

On Thu, Jul 10, 2008 at 3:18 PM, Neil Mitchell
Hi Ron,
I'm using GHC 6.8.3 with $ cabal --version cabal-install version 0.5.1 using version 1.4.0.1 of the Cabal library
I installed Data.Derive from hackage, only to be unable to find the 'derive' binary!
Did you do the runhaskell Setup configure && runhaskell Setup build && runhaskell Setup install?
I used 'sudo cabal install derive'. I did find the binary - in my user's .cabal/bin directory! Odd that it should default to that when run as root. I don't have the darcs version working yet, though. -Ron

On 10 Jul 2008, at 21:25, Ron Alford wrote:
On Thu, Jul 10, 2008 at 3:18 PM, Neil Mitchell
wrote: Hi Ron,
I'm using GHC 6.8.3 with $ cabal --version cabal-install version 0.5.1 using version 1.4.0.1 of the Cabal library
I installed Data.Derive from hackage, only to be unable to find the 'derive' binary!
Did you do the runhaskell Setup configure && runhaskell Setup build && runhaskell Setup install?
I used 'sudo cabal install derive'. I did find the binary - in my user's .cabal/bin directory! Odd that it should default to that when run as root.
I don't have the darcs version working yet, though.
I've found that cabal install doesn't actually install anything on my system either, despite going through all the motions. I just download the tarballs of hackage and config/build/install them myself, and I then end up with all the relevant bits installed. Bob

Hi
Did you do the runhaskell Setup configure && runhaskell Setup build && runhaskell Setup install?
I used 'sudo cabal install derive'. I did find the binary - in my user's .cabal/bin directory! Odd that it should default to that when run as root.
I think if you pass --global as a flag it will appear somewhere more sensible.
I don't have the darcs version working yet, though.
What is the problem? The message you gave from runhaskell Setup configure was merely a warning, and it should continue to work fine if you build/install it. Thanks Neil
participants (3)
-
Neil Mitchell
-
Ron Alford
-
Thomas Davie