On 2008.10.01 13:24:55 -0700, Martin DeMello [EMAIL PROTECTED] scribbled 0.9K
characters:
On Wed, Oct 1, 2008 at 1:06 PM, Gwern Branwen [EMAIL PROTECTED] wrote:
Yi fails on Alex because Cabal doesn't track executables, nor executables
needed for installation. You want 'cabal install alex
On Wed, 2008-10-01 at 20:53 +0200, Svein Ove Aas wrote:
On Wed, Oct 1, 2008 at 7:54 PM, Duncan Coutts
Because we actually consult the index of available packages more often
than you think. Every time you cabal install in a local directory we
make sure all the required packages are available
On Wed, Oct 1, 2008 at 10:52 PM, Duncan Coutts
[EMAIL PROTECTED]wrote:
and you have network access, start updating it.
That's hard. Detecting if we would be able to make a network connection
without actually doing it is not something I know how to do (esp in a
portable way). We would very
On Thu, Oct 2, 2008 at 00:00, Svein Ove Aas [EMAIL PROTECTED] wrote:
That aside, why not start downloading in the background, while it's
doing whatever you started cabal for? Assuming the network is working,
you should have an updated package list by the time it's done;
granted, it won't be
A reminder:
When I wanted to upgrade to yi 0.4.6.2, I needed to download the new package
list
cabal update #download list of new packages
cabal upgrade #make any upgrades
Regards,
CS
2008/9/26 Duncan Coutts [EMAIL PROTECTED]
On Fri, 2008-09-26 at 10:49 +0200, Achim
On 2008 Sep 26, at 4:49, Achim Schneider wrote:
Well, I might be spoiled by portage but shouldn't there be a thing
like
cabal upgrade pureMD5
and
cabal upgrade --all
snuffy:502 Z$ cabal help upgrade
Usage: cabal upgrade [FLAGS]
or: cabal upgrade [PACKAGES]
--
brandon s. allbery
On Fri, 2008-09-26 at 10:49 +0200, Achim Schneider wrote:
% cabal update
Downloading package list from server
'http://hackage.haskell.org/packages/archive'
% cabal install pureMD5
All requested packages already installed. Nothing to do.
% cabal install pureMD5-0.2.4
Downloading
On Mon, Sep 01, 2008 at 12:01:49PM +0200, minh thu wrote:
Hi,
I've followed the instruction from the upcoming book Real World
Haskell to install cabal.
Now, when I enter cabal update, it answers this:
Downloading package list from server
'http://hackage.haskell.org/packages/archive'
2008/9/1 Marc Weber [EMAIL PROTECTED]:
On Mon, Sep 01, 2008 at 12:01:49PM +0200, minh thu wrote:
Hi,
I've followed the instruction from the upcoming book Real World
Haskell to install cabal.
Now, when I enter cabal update, it answers this:
Downloading package list from server
| On Wed, 2008-08-20 at 13:53 -0500, Nicolas Frisby wrote:
| I have a question about cabal's behavior for the build command. When
| using the build command on a cabalized project, any version changes
| for installed packages go unnoticed - the necessary modules in the
| project are not
On Thu, 2008-08-21 at 08:23 +0100, Simon Peyton-Jones wrote:
| On Wed, 2008-08-20 at 13:53 -0500, Nicolas Frisby wrote:
| I have a question about cabal's behavior for the build command. When
| using the build command on a cabalized project, any version changes
| for installed packages go
On Wed, 2008-08-20 at 13:53 -0500, Nicolas Frisby wrote:
I have a question about cabal's behavior for the build command. When
using the build command on a cabalized project, any version changes
for installed packages go unnoticed - the necessary modules in the
project are not re-compiled.
On Thu, 2008-08-14 at 22:32 -0400, Nicholas Andrews wrote:
Hi!
I'm trying to set up a project with both src and lib directories with
cabal. My blah.cabal file looks like:
Library
Build-Depends: base
Exposed-Modules:Foo
hs-source-dirs: lib/foo
Executable hai
Sorry, I meant runhaskell Setup.hs configure|build. To clarify, I DO
have a Setup.hs, and am getting the error in my original post when
running it.
On Fri, Aug 15, 2008 at 1:42 AM, Ketil Malde [EMAIL PROTECTED] wrote:
Nicholas Andrews [EMAIL PROTECTED] writes:
$ runhaskell blah.cabal configure
UncommonProgrammingLanguages
:(
On Thu, Aug 14, 2008 at 4:51 PM, Martin DeMello [EMAIL PROTECTED]wrote:
I'm running Ubuntu 8 (Hardy Heron), and while trying to install cabal
ran into this bug:
https://bugs.launchpad.net/ubuntu/+source/haskell-cabal/+bug/231099
I finally had to install
Nicholas Andrews [EMAIL PROTECTED] writes:
$ runhaskell blah.cabal configure
blah.cabal isn't a Haskell file, you need a file Setup.hs that you can
'runhaskell'. Setup.hs need only contain the following three lines:
#!/usr/bin/env runhaskell
import Distribution.Simple
main = defaultMain
-k
On Sun, 2008-07-27 at 21:01 -0500, John Lato wrote:
Use Haskell String syntax for paths that contain spaces:
include-dirs: C:\\Program Files\\program\\include
Hi Duncan,
Thanks, this worked (mostly). Although I had to change the line to
include-dirs: \C:\\Program
On Fri, Aug 1, 2008 at 8:39 AM, Duncan Coutts
[EMAIL PROTECTED] wrote:
On Sun, 2008-07-27 at 21:01 -0500, John Lato wrote:
Use Haskell String syntax for paths that contain spaces:
include-dirs: C:\\Program Files\\program\\include
Hi Duncan,
Thanks, this worked (mostly). Although I
Excerpts from Yann Golanski's message of Wed Jul 30 02:34:05 -0500 2008:
I cannot seem to be able to install yi via cabal install. The error I
get is as follows. I suspect alex is not installed in the correct
place.
...
Hi,
cabal-install will put installed binaries in $HOME/.cabal/bin by
Quoth Austin Seipp on Wed, Jul 30, 2008 at 03:45:49 -0500
Excerpts from Yann Golanski's message of Wed Jul 30 02:34:05 -0500 2008:
I cannot seem to be able to install yi via cabal install. The error I
get is as follows. I suspect alex is not installed in the correct
place.
...
Hi,
Excerpts from Yann Golanski's message of Wed Jul 30 10:59:35 +0200 2008:
Quoth Austin Seipp on Wed, Jul 30, 2008 at 03:45:49 -0500
Excerpts from Yann Golanski's message of Wed Jul 30 02:34:05 -0500 2008:
I cannot seem to be able to install yi via cabal install. The error I
get is as
On Wed, 2008-07-30 at 03:45 -0500, Austin Seipp wrote:
Excerpts from Yann Golanski's message of Wed Jul 30 02:34:05 -0500 2008:
I cannot seem to be able to install yi via cabal install. The error I
get is as follows. I suspect alex is not installed in the correct
place.
...
Hi,
Quoth Nicolas Pouillard on Wed, Jul 30, 2008 at 11:06:43 +0200
Excerpts from Yann Golanski's message of Wed Jul 30 10:59:35 +0200 2008:
; sudo cabal install yi
Resolving dependencies...
'yi-0.4.3' is cached.
Configuring yi-0.4.3...
Preprocessing library yi-0.4.3...
Preprocessing
[problems with cabal install yi]
Curious, I tried this out, on a Debian etch box with GHC 6.8.3.
cabal update ; cabal install yi --global
complained about needing alex =2.0.something and 3.
Then cabal install alex happily installed alex version 2.2. Finally,
cabal install yi --global worked
Excerpts from John Dorsey's message of Wed Jul 30 13:58:26 -0500 2008:
Is something amiss with cabal-install? Shouldn't it have automatically
installed alex? Or does it only do that with libraries, by design?
AFAICT, dependencies are only downloaded and installed if they are
listed in a
On Wed, 2008-07-30 at 14:58 -0400, John Dorsey wrote:
[problems with cabal install yi]
Curious, I tried this out, on a Debian etch box with GHC 6.8.3.
cabal update ; cabal install yi --global
complained about needing alex =2.0.something and 3.
Then cabal install alex happily installed
Philip Weaver [EMAIL PROTECTED] wrote:
I'm trying to use CPP-defined strings in a Haskell module, like this:
main :: IO ()
main = putStrLn FOO
This of course will not work:
ghc -DFOO=hello world --make Main.hs -o test
Have you tried using ANSI cpp's stringification operator?
On Tue, Jul 29, 2008 at 3:14 AM, Malcolm Wallace
[EMAIL PROTECTED] wrote:
Philip Weaver [EMAIL PROTECTED] wrote:
I'm trying to use CPP-defined strings in a Haskell module, like this:
main :: IO ()
main = putStrLn FOO
This of course will not work:
ghc -DFOO=hello world --make
On Sun, 2008-07-27 at 21:01 -0500, John Lato wrote:
On Sun, Jul 27, 2008 at 3:25 PM, Duncan Coutts
Use Haskell String syntax for paths that contain spaces:
include-dirs: C:\\Program Files\\program\\include
Hi Duncan,
Thanks, this worked (mostly). Although I had to change the line
On Mon, 2008-07-28 at 15:02 -0700, Philip Weaver wrote:
However, passing the same CPP definition via cabal does not work.
runhaskell Setup.hs build --ghc-options=-DFOO=\hello world\
runhaskell Setup.hs build --ghc-options=-DFOO='hello world'
With either of these commands, I get
On Sun, 27 Jul 2008 03:23:09 +0200, John Lato [EMAIL PROTECTED] wrote:
Hello,
Can anyone point me to a method for including path names with spaces
in a cabal file? I would like to add a line similar to the following:
include-dirs: C:\Program Files\program\include
and of course a
On Sat, 2008-07-26 at 20:23 -0500, John Lato wrote:
Hello,
Can anyone point me to a method for including path names with spaces
in a cabal file? I would like to add a line similar to the following:
include-dirs: C:\Program Files\program\include
and of course a corresponding library as
On Sun, Jul 27, 2008 at 3:25 PM, Duncan Coutts
[EMAIL PROTECTED] wrote:
On Sat, 2008-07-26 at 20:23 -0500, John Lato wrote:
Hello,
Can anyone point me to a method for including path names with spaces
in a cabal file? I would like to add a line similar to the following:
include-dirs:
On 2008.06.14 08:56:34 +0100, Duncan Coutts [EMAIL PROTECTED] scribbled 1.3K
characters:
On Fri, 2008-06-13 at 22:10 -0400, Gwern Branwen wrote:
I think this may be Cabal's fault anyway. The yi.cabal includes the line:
build-tools: alex = 2.0.1 3
in the 'executable yi'
On Mon, 2008-06-16 at 13:25 +0100, Claus Reinke wrote:
The main point of the Program abstraction is about configuring and
running programs. As it happens some programs are provided by some
haskell packages (but not all, eg ld, ar, etc).
option to get version info and code to extract it
In the specific case of parsing --version strings, I'm not sure regexes
are any easier. Using words and then selecting the Nth word seems to do
pretty well.
for comparison, see the examples below:-) There's no reason
this can't be massaged further, but it already allows for IO if
necessary (I
The main point of the Program abstraction is about configuring and
running programs. As it happens some programs are provided by some
haskell packages (but not all, eg ld, ar, etc).
option to get version info and code to extract it (with one apparently
very special case being hsc2hs).
And
On Sat, 2008-06-14 at 11:03 +0100, Claus Reinke wrote:
http://hackage.haskell.org/trac/hackage/ticket/227
One problem is that not all build-tools correspond to haskell
packages. Some do some don't. We have a hard coded list of them
at the moment (which can be
On Fri, 2008-06-13 at 22:10 -0400, Gwern Branwen wrote:
I think this may be Cabal's fault anyway. The yi.cabal includes the line:
build-tools: alex = 2.0.1 3
in the 'executable yi' section, right after the build-depends, so Yi
is being straightforward and upfront about its
http://hackage.haskell.org/trac/hackage/ticket/227
One problem is that not all build-tools correspond to haskell
packages. Some do some don't. We have a hard coded list of them
at the moment (which can be extended in Setup.hs files) so we
could extend that with what
Thanks so much for your help. Actually Don got it fixed within twenty minutes
but I mistakenly didn't cc the group. But it works perfectly now.
-Deech
Subject: Re: [Haskell-cafe] Cabal-Install Fails To Compile
From: [EMAIL PROTECTED]
To: [EMAIL
On Fri, 2008-06-13 at 11:19 -0400, Darrin Thompson wrote:
Cabal-install is looking good. It now, for the record, has only two
deps outside of Cabal-1.4.
I installed cabal-install-0.5 on ubuntu with the haskell.org linux
binary for ghc 6.8.2.
I then tried cabal-install yi
Got this
On 2008.06.13 22:22:06 +0100, Duncan Coutts [EMAIL PROTECTED] scribbled 2.1K
characters:
On Fri, 2008-06-13 at 11:19 -0400, Darrin Thompson wrote:
Cabal-install is looking good. It now, for the record, has only two
deps outside of Cabal-1.4.
I installed cabal-install-0.5 on ubuntu with
Could you try the cabal-1.4 package just put up on hackage.haskell.org?
aditya_siram:
Hi all,
I downloaded cabal-install and the cabal-1.4 branch from darcs. The following
error occurs when building:
runhaskell Setup.hs build
Building cabal-install-0.4.9...
[19 of 27] Compiling
On Thu, 2008-06-12 at 16:07 -0500, Aditya Siram wrote:
Hi all,
I downloaded cabal-install and the cabal-1.4 branch from darcs. The following
error occurs when building:
runhaskell Setup.hs build
Building cabal-install-0.4.9...
[19 of 27] Compiling Hackage.SrcDist ( Hackage/SrcDist.hs,
On Mon, 2008-06-02 at 09:42 -0700, Thomas Hartman wrote:
Can cabal install be made to work for this package?
*
[EMAIL PROTECTED]:~sudo cabal install happs-hsp-template
[sudo] password for thartman:
cabal: internal error: could not construct a valid install plan.
The proposed (invalid)
I did a complete uninstall and reinstall of GHC and that seems to have
fixed it.
So i probably broke things (i guess).
On Sun, 2008-05-18 at 17:11 -0400, Gwern Branwen wrote:
On 2008.05.19 06:53:22 +1000, geoffrey [EMAIL PROTECTED] scribbled 1.8K
characters:
Hi,
I am trying to
On 2008.05.19 06:53:22 +1000, geoffrey [EMAIL PROTECTED] scribbled 1.8K
characters:
Hi,
I am trying to install nanocurses, but cabal isn't creating the
setup-config file in dist/
I have run (and re-run) runghc Setup.hs configure
The first time it complained about mpg123
On 3/6/08, Magnus Therning [EMAIL PROTECTED] wrote:
On 3/4/08, Thomas Schilling [EMAIL PROTECTED] wrote:
On 4 mar 2008, at 11.37, Magnus Therning wrote:
On 3/4/08, Thomas Schilling [EMAIL PROTECTED] wrote:
executable foo
main-is: bla
if !os(windows):
buildable:
On 3/6/08, Magnus Therning [EMAIL PROTECTED] wrote:
On 3/6/08, Magnus Therning [EMAIL PROTECTED] wrote:
On 3/4/08, Thomas Schilling [EMAIL PROTECTED] wrote:
On 4 mar 2008, at 11.37, Magnus Therning wrote:
On 3/4/08, Thomas Schilling [EMAIL PROTECTED] wrote:
executable foo
On Thu, 2008-03-06 at 16:29 +, Magnus Therning wrote:
On 3/6/08, Magnus Therning [EMAIL PROTECTED] wrote:
On 3/6/08, Magnus Therning [EMAIL PROTECTED] wrote:
On 3/4/08, Thomas Schilling [EMAIL PROTECTED]
wrote:
Oh, right.
executable foo
main-is: bla
if !os(windows):
buildable: false
Unfortunately this gives rather unhelpful error messages when used
with flags, but it works well enough for now.
/ Thomas
On 4 mar 2008, at 09.10, Magnus Therning wrote:
I'm putting together a package consisting of 2
On Tue, 4 Mar 2008, Magnus Therning wrote:
I'm putting together a package consisting of 2 executables. Only one of
them is pure Haskell and thus buildable on all platforms, the other
relies on Windows API calls and can only be built on that platform. I
found the âif os(...)â conditional
On 3/4/08, Henning Thielemann [EMAIL PROTECTED] wrote:
On Tue, 4 Mar 2008, Magnus Therning wrote:
I'm putting together a package consisting of 2 executables. Only one of
them is pure Haskell and thus buildable on all platforms, the other
relies on Windows API calls and can only be built
On 4 mar 2008, at 10.58, Magnus Therning wrote:
Good point. Does CABAL 1.2 have support for multiple .cabal files
in the same directory? If not then I'm not too happy with this
solution.
No. Eventually, Cabal will support something like this, but it's
unlikely that Cabal 1.4 will.
On 3/4/08, Thomas Schilling [EMAIL PROTECTED] wrote:
executable foo
main-is: bla
if !os(windows):
buildable: false
Unfortunately this gives rather unhelpful error messages when used
with flags, but it works well enough for now.
/ Thomas
Hmmm, I don't seem to get this to work
On 4 mar 2008, at 11.37, Magnus Therning wrote:
On 3/4/08, Thomas Schilling [EMAIL PROTECTED] wrote:
executable foo
main-is: bla
if !os(windows):
buildable: false
Unfortunately this gives rather unhelpful error messages when used
with flags, but it works well enough for now.
/
2008/3/1 Galchin Vasili [EMAIL PROTECTED]:
I am trying to install a package on my Linux Ubuntu machine. It chokes
build-depends: base, directory because directory dependency is
unresolvable. Do I have to specify extra-libs so that correct library
space is searched? Actually I tried this
exactly .. I have version 6.6.1 ... question is how do I get the Unbuntu
package for version 6.8?
V.
On Sat, Mar 1, 2008 at 8:02 PM, Adam Langley [EMAIL PROTECTED] wrote:
2008/3/1 Galchin Vasili [EMAIL PROTECTED]:
I am trying to install a package on my Linux Ubuntu machine. It
chokes
On Thu, 2008-02-28 at 07:10 -0500, Kristofer Buffington wrote:
Hi
I installed ghc 6.8 from source and I've been installing packages from
hackage. I'm not sure when the problem started, but I've been getting
this error trying to install any cabal package.. accept apparently,
Cabal itself.
On Thu, Feb 28, 2008 at 07:10:03AM -0500, Kristofer Buffington wrote:
I installed ghc 6.8 from source and I've been installing packages from
hackage. I'm not sure when the problem started, but I've been getting
this error trying to install any cabal package.. accept apparently,
Cabal itself.
Duncan Coutts wrote:
On Sat, 2008-02-02 at 22:33 +, Magnus Therning wrote:
Duncan Coutts wrote:
[..]
Just so I'm sure I understand...
Sure thing.
Or are you just trying to link some C code statically into a haskell
program, but it just so happens that this C code relies on being built
On Fri, 2008-02-01 at 11:42 +, Magnus Therning wrote:
Is it possible to get Cabal to use 'cl' (Microsoft's C/C++ compiler
shipped with Visual Studio Express)?
The problem is to get GHC to use 'cl'. That's a longer term project that
GHC HQ are interested in. There's something about it on
Magnus Therning wrote:
Is it possible to get Cabal to use 'cl' (Microsoft's C/C++ compiler
shipped with Visual Studio Express)?
Duncan Coutts wrote:
The problem is to get GHC to use 'cl'. That's a longer term project that
GHC HQ are interested in. There's something about it on the GHC dev
On Sat, 2008-02-02 at 18:15 +0100, Felix Martini wrote:
Magnus Therning wrote:
Is it possible to get Cabal to use 'cl' (Microsoft's C/C++ compiler
shipped with Visual Studio Express)?
Duncan Coutts wrote:
The problem is to get GHC to use 'cl'. That's a longer term project that
GHC HQ
Duncan Coutts wrote:
[..]
It would be reasonable to use the system C compiler rather than ghc,
however we will have to do more work to find what extra include dirs get
used and have Cabal pass those.
Currently we pass the -package flags to ghc which ghc uses to look up
what include dirs
On Sat, 2008-02-02 at 18:50 +, Magnus Therning wrote:
Duncan Coutts wrote:
[..]
It would be reasonable to use the system C compiler rather than ghc,
however we will have to do more work to find what extra include dirs get
used and have Cabal pass those.
Currently we pass the
Duncan Coutts wrote:
[..]
Just so I'm sure I understand...
Sure thing.
Or are you just trying to link some C code statically into a haskell
program, but it just so happens that this C code relies on being built
with MS's C compiler rather than gcc.
Yes, this is exactly it. I mean, I could
On Sat, 2008-02-02 at 22:33 +, Magnus Therning wrote:
Duncan Coutts wrote:
[..]
Just so I'm sure I understand...
Sure thing.
Or are you just trying to link some C code statically into a haskell
program, but it just so happens that this C code relies on being built
with MS's C
garious:
Has the Haskell Program Coverage tool been integrated into Cabal? That
is, is there anything like runhaskell Setup.hs coverage to generate a
coverage report?
Not yet, but definitely on the todo list (its a variant of the test
target, that would add -fhpc to each compile, so
This is how I successfully installed haskelldb-0.10 package with ghc-6.8.2
today:
Assuming you have downloaded and unpacked haskelldb-0.10 from
http://hackage.haskell.org/packages/archive/haskelldb/0.10/haskelldb-0.10.tar.gz
you need to append in haskelldb-0.10/haskelldb.cabal
pretty,
On Thu, 2007-11-29 at 13:51 +1100, Tim Docker wrote:
Well I'd say none of the packages I've tried, build out of the box...
I'm not a windows developer, but
Is it actually reasonable to expect any cabal packages that depend on
external c libraries and headers to build out of the box on
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Duncan Coutts
On Thu, 2007-11-29 at 13:51 +1100, Tim Docker wrote:
Is it actually reasonable to expect any cabal packages that
depend on
external c libraries and headers to build out of the box on
windows? How
can
Duncan Coutts wrote:
Tim Docker wrote:
Is it actually reasonable to expect any cabal packages that depend
on
external c libraries and headers to build out of the box on windows?
How can cabal find out where those files are, without requiring a
config file to be edited?
It's usually
On Tue, 2007-11-27 at 18:02 -0800, Don Stewart wrote:
ben.franksen:
Just thought I install the latest version (0.4.0) from hackage and test it.
Build and install went fine, but then it gets strange:
cabal: dist/Conftest.c: openFile: does not exist (No such file or directory)
This
On 11/28/07, Tim Docker [EMAIL PROTECTED] wrote:
Well I'd say none of the packages I've tried, build out of the box...
I'm not a windows developer, but
Is it actually reasonable to expect any cabal packages that depend on
external c libraries and headers to build out of the box on
ben.franksen:
Just thought I install the latest version (0.4.0) from hackage and test it.
Build and install went fine, but then it gets strange:
[EMAIL PROTECTED]: .../haskell/cabal-install-0.4.0 sudo runhaskell Setup.lhs
install
Installing: /usr/local/bin
[EMAIL PROTECTED]:
On Sun, 2007-11-25 at 18:49 +0100, manu wrote:
Hello,
I'm trying to do something that should be fairly simple, installing
some DB package so I can use MySQL or SQLite.
However I've had troubles building HSQL, HaskellDB and Takusen before
giving up (I am using ghc 6.8.1 and
On 25/11/2007, Thomas Schilling [EMAIL PROTECTED] wrote:
On Sun, 2007-11-25 at 18:49 +0100, manu wrote:
Hello,
I'm trying to do something that should be fairly simple, installing
some DB package so I can use MySQL or SQLite.
with Takusen :
$ runhaskell Setup.hs configure
On Thu, 2007-11-15 at 11:14 -0600, Nicolas Frisby wrote:
It seems the meaning of the -main-is switch for GHC and the Main-Is
build option for Cabal executables differ. With GHC, I can point to
any function main in any module, but in Cabal I must point to a
filename with precisely the module
jens.blanck:
I have problems building X11. I just installed ghc 6.8 but I got the same
behaviour when asking it to use the old compiler.
Jens
runghc Setup.hs configure
Configuring X11-1.3.0.2007...
checking for gcc... gcc
checking for C compiler default output
On Wed, 2007-11-14 at 16:16 +, Jens Blanck wrote:
sudo runghc Setup.hs install
root's password:
Setup.hs : Warning: Unknown field 'build-type'
Setup.hs: error reading ./.setup-config; run setup configure
command?
I suspect your path is different for your root user, so it's picking up
On Wed, 2007-08-29 at 10:05 -0400, Thomas Hartman wrote:
Ah ok, so I did
echo :main build -v3 | /usr/local/bin/ghci-6.7.20070816 Setup.hs
1build.out 2build.err
and this does indeed seem more informative. advice?
Turns out this was a bug in FilePath that Cabal was hitting. The bug was
@haskell.org
Subject
Re: [Haskell-cafe] cabal install of HDBC-odbc fails on ghc 6.7, -I flag
causes problems
On Tue, 2007-08-28 at 18:19 -0400, Thomas Hartman wrote:
Well, I built with -v3 as suggested, but the ouptut doesn't seem that
helpful to me. ghc compile commands, at any rate, do
-cafe@haskell.org
Subject
Re: [Haskell-cafe] cabal install of HDBC-odbc fails on ghc 6.7, -I flag
causes problems
On Mon, 2007-08-20 at 13:10 -0400, Thomas Hartman wrote:
problemw with the -I flag to ghc are causing cabal install to fail for
hdbc-odbc (darcs head).
Any tips on debugging
On Tue, 2007-08-28 at 18:19 -0400, Thomas Hartman wrote:
Well, I built with -v3 as suggested, but the ouptut doesn't seem that
helpful to me. ghc compile commands, at any rate, do not appear to be
outputted
Sorry, I meant to pass -v3 to cabal, not to ghc compiling/running
Setup.hs
$ echo
On Mon, 2007-08-20 at 13:10 -0400, Thomas Hartman wrote:
problemw with the -I flag to ghc are causing cabal install to fail for
hdbc-odbc (darcs head).
Any tips on debugging this cabal install would be appreciated.
$ runghc Setup.hs configure; runghc Setup.hs build
Try with -v3 is:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Grzegorz wrote:
Hi,
It seems that if GHC is installed non-user-writable directory, and you want to
install a package in the home directory (using runghc Setup configure
--prefix=$HOME) this isn't possible: when running runghc Setup install you
Duncan Coutts wrote:
On Tue, 2007-05-01 at 22:29 +0100, Magnus Therning wrote:
So if foo.hs is in test-src and Foo/Bar.hs is in src then I think you
just need:
hs-source-dirs: test-src, src
No, that's not enough, I also have to add the following lines to make
the executable compile and link:
On Wed, May 02, 2007 at 10:08:41 +0100, Simon Marlow wrote:
[..]
IMO we shouldn't allow both a library and an exe in the same package.
I think I argued against this originally, and my understanding is that
doing this is deprecated, although perhaps not visibly enough.
Whenever the question of what
I think Simon is right, and not just from a Haskell point of view.
Allowing a package to contain a both a library and an executable
makes the behavior of the package system less obvious. That's not to
say that it can't behave correctly, but that it can't behave both
correctly and in a
On Tue, 2007-05-01 at 09:34 +0100, Magnus Therning wrote:
I'm trying to create a single cabal file containing specs for both a
library and an executable using that library. I'm not having much luck
though :(
This is what I have so far:
name: foo
version: 0.1
exposed-modules:
On Tue, May 01, 2007 at 12:02:18 +0100, Duncan Coutts wrote:
On Tue, 2007-05-01 at 09:34 +0100, Magnus Therning wrote:
I'm trying to create a single cabal file containing specs for both a
library and an executable using that library. I'm not having much luck
though :(
This is what I have so
On Tue, 2007-05-01 at 22:29 +0100, Magnus Therning wrote:
So if foo.hs is in test-src and Foo/Bar.hs is in src then I think you
just need:
hs-source-dirs: test-src, src
No, that's not enough, I also have to add the following lines to make
the executable compile and link:
extensions:
On Fri, Dec 15, 2006 at 03:14:32AM +, Dougal Stanton wrote:
The cabal setup recognises a small set of licences which I don't think
are well explained. I'm trying to put together a canonical list for
setting up new projects.
This has bugged me about cabal, why does it have a built in
On 12/14/06, Dougal Stanton [EMAIL PROTECTED] wrote:
The cabal setup recognises a small set of licences which I don't think
are well explained. I'm trying to put together a canonical list for
setting up new projects.
GPL: http://www.gnu.org/licenses/gpl.txt
LGPL:
Quoth Jason Dagit, nevermore:
Something that has always confused me about .cabal files is that BSD
has two versions but GPL only has one version and I don't know if I'd
be selecting GPL version 2 or 3. Could it be changed to support
different versions of the GPL like it does with BSD?
Yes,
On Wed, Aug 23, 2006 at 10:42:54PM +0100, Neil Mitchell wrote:
I have a cabal executable, which requires additional data files. How
do I do this in Cabal? I have seen extra-source-files, but they are
not added at install time to the destination directory, which doesn't
help me.
The field you
Hi
The field you want is data-files, documented in section 2.1.1 of the
Cabal User's Guide.
That looks perfect. Is there any reason that Alex doesn't use this? I
was trying to learn by example.
Thanks
Neil
___
Haskell-Cafe mailing list
On Wed, Aug 23, 2006 at 11:36:00PM +0100, Neil Mitchell wrote:
Hi
The field you want is data-files, documented in section 2.1.1 of the
Cabal User's Guide.
That looks perfect. Is there any reason that Alex doesn't use this? I
was trying to learn by example.
Perhaps because Alex predates
601 - 700 of 715 matches
Mail list logo