Re: [Haskell-cafe] Cabal: error on configure
On Tue, 2008-10-07 at 15:50 -0400, David Barton wrote: OK, I suspect this is a real newbie error, but please have mercy. I have downloaded and installed cabal (at least it responds to the --help command from the command line). Yet when I do, say (to give a real example): cabal configure parameterized_ data (having done he fetch) I get this error: cabal.exe: Using 'build-type Custom' but there is no Setup.hs or Setup.lhs script.' When I download the package manually and look, there is a perfectly servicable Setup.hs script, which I call manually. So what gives? You mean to run: cabal install parameterized-data cabal configure expects to be run inside the build tree. It's looking for a Setup.hs in the current directory. The configure command is for developers working with their own packages locally, rather than for working with released packages directly from hackage. There are basically two sets of commands, those for working with released packages by name, and those for working with a local package in the current directory. I'll tried to make that clearer in the cabal-install README, and perhaps in the --help output in future. Duncan ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] Cabal: error on configure
On Tue, Oct 7, 2008 at 9:50 PM, David Barton [EMAIL PROTECTED] wrote: OK, I suspect this is a real newbie error, but please have mercy. I have downloaded and installed cabal (at least it responds to the --help command from the command line). Yet when I do, say (to give a real example): cabal configure parameterized_ data It's great to read that you are using the parameterized-data package. If you have any questions on its use, or have any suggestions, don't hesitate to ask. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
[Haskell-cafe] Cabal: error on configure
OK, I suspect this is a real newbie error, but please have mercy. I have downloaded and installed cabal (at least it responds to the --help command from the command line). Yet when I do, say (to give a real example): cabal configure parameterized_ data (having done he fetch) I get this error: cabal.exe: Using 'build-type Custom' but there is no Setup.hs or Setup.lhs script.' When I download the package manually and look, there is a perfectly servicable Setup.hs script, which I call manually. So what gives? Dave Barton ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] Cabal: error on configure
dlb: OK, I suspect this is a real newbie error, but please have mercy. I have downloaded and installed cabal (at least it responds to the --help command from the command line). Yet when I do, say (to give a real example): cabal configure parameterized_ data (having done he fetch) I get this error: cabal.exe: Using 'build-type Custom' but there is no Setup.hs or Setup.lhs script.' When I download the package manually and look, there is a perfectly servicable Setup.hs script, which I call manually. So what gives? Dave Barton $ cabal update Downloading package list from server 'http://hackage.haskell.org/packages/archive' $ cabal install parameterized-data Downloading parameterized-data-0.1.3... Configuring parameterized-data-0.1.3... Preprocessing library parameterized-data-0.1.3... Building parameterized-data-0.1.3... [1 of 2] Compiling Data.Param.FSVec ( src/Data/Param/FSVec.hs, dist/build/Data/Param/FSVec.o ) [2 of 2] Compiling Data.Param ( src/Data/Param.hs, dist/build/Data/Param.o ) /usr/bin/ar: creating dist/build/libHSparameterized-data-0.1.3.a Installing library in /home/dons/.cabal/lib/parameterized-data-0.1.3/ghc-6.8.2 Registering parameterized-data-0.1.3... Reading package info from dist/installed-pkg-config ... done. Saving old package config file... done. Writing new package config file... done. Looks ok to me? ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe