Hi,
I use gtk2hs in linux. Well, I have no idea how to install gtk2hs by
cabal, but my program needs it, and I want my program cabalized. So
how to do this?
Thanks.
--
竹密岂妨流水过
山高哪阻野云飞
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.ha
I was upgrading happstutorial.com to ghc 6.10.1 when I came across a
cabal install issue.
Somewhere in day 1 (probably as a HAppS dependency), HaXml 1.13.1 got installed.
On day 2, I wanted the latest version of HaXml (1.19.4), a dependency
for for xml-parsec.
cabal install HaXml gave me: alread
> 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 windows? How
can cabal find out where those files are, w
> 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
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
conal:
> Fails during configuration:
>
> bash-3.2$ cabal install lhs2tex
> Resolving dependencies...
> [1 of 1] Compiling Main ( /tmp/lhs2tex-1.1423397/lhs2tex-1.14/
> Setup.hs, /tmp/lhs2tex-1.1423397/lhs2tex-1.14/dist/setup/Main.o )
> Linking /tmp/lhs2tex-1.1423397/lhs2tex
On Jul 27, 2009, at 14:23 , Conal Elliott wrote:
Note that the the first module to be compiled is Main. On my linux
machine, Main is the *last* of several modules to be compiled.
It's compiling the setup program which is presumably used by cabal to
do the work a configure script normally do
>
> Via cabal:
>
>--constraint='base<4'
>
> or replace Control.Exception with Control.OldException
>
> or add 'base < 4' to the depends in the .cabal file.
>
Thanks, Don.
Trying your first suggestion, I get the same result for the first and third
method, and a ghc panic on cat_evals for the
Yo ho! I just installed ghc-6.10.4 over my 6.10.3. Now 'cabal install
lhs2tex' works. Phew!
On Mon, Jul 27, 2009 at 11:44 AM, Conal Elliott wrote:
> Via cabal:
>>
>>--constraint='base<4'
>>
>> or replace Control.Exception with Control.OldException
>>
>> or add 'base < 4' to the depends i
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
Build-depends: base
Main-is:Bar.hs
ghc-options:
robin morisset writes:
> Hello,
>
> I have the following directories set :
> Project/
> Project/Language
> Project/Language/Copilot/
> in Project there is the copilot.cabal file.
> in Project/Language/Copilot there are a bunch of .hs files, including Main.hs
> All the modules in these files are n
Hello,
> (Ivan Lazar Miljenovi)
> Why not just have a Main.hs file?
> As for that error message, do you have a main function? Are you sure
> you were using --make?
thank you for taking the time for reply. A friend finally found the issue. The
main function in the Main module was ok, the probl
Hello Eric,
most packages fail to install because zlib-conduit fails to install.
The reason for this -- as can be seen in the last line -- is that the
tar archive from which the source is extracted is corrupted. Simply
run cabal install to try again. I suspect the source archives are
re-downloaded
I tried running cabal install again, but just got the same error.
On Mon, Jul 2, 2012 at 10:34 PM, Alexander Foremny <
alexanderfore...@gmail.com> wrote:
> Hello Eric,
>
> most packages fail to install because zlib-conduit fails to install.
> The reason for this -- as can be seen in the last line
Apparently package archives are retained by cabal.
Try deleting ~/.cabal/packages/hackage.haskell.org/zlib-conduit-0.4.0.2.tar.gz
and try again.
Regards
Alexander Foremny
2012/7/3 Eric Macaulay :
> I tried running cabal install again, but just got the same error.
>
>
> On Mon, Jul 2, 2012 at 10:
Recently I experimented a little with putting several Hackage packages
into a single Linux distro package, but I ran into a slight problem
with registering Haskell packages temporarily.
These are the basic steps taken to configure, compile, and stage a
Haskell package in ArchLinux:
runhaskell
Magnus,
You might try Capri which operates Cabal-related stuff privately on a
local-to-project package database not touching global or user
databases.
http://hackage.haskell.org/package/capri
http://www.haskell.org/haskellwiki/Capri
--
Dimitry Golubovsky
Anywhere on the Web
__
* Magicloud Magiclouds [2009-06-14
17:30:33+0800]
> Hi,
> I use gtk2hs in linux. Well, I have no idea how to install gtk2hs by
> cabal, but my program needs it, and I want my program cabalized. So
> how to do this?
> Thanks.
gtk2hs consists of several cabal packages, e.g. gtk, glib and so on.
* Magicloud Magiclouds [2009-06-14
18:48:26+0800]
> My gtk2hs is install manually, `configure && make && make install`. So
It's okay.
> when I add gtk to build-dependency, it tells me
> Setup.hs: At least the following dependencies are missing:
> gtk -any
Installation of gtk2hs registers these
I'm CC:ing Duncan, probably he can help.
* Magicloud Magiclouds [2009-06-15
10:01:03+0800]
> # ghc-pkg list gtk
> /var/lib/ghc-6.10.3/./package.conf:
> /home/shidaw/.ghc/i386-linux-6.10.3/package.conf:
> gtk-0.10.1
> Well, still, I have the problem
>
> On Sun, Jun 14, 2009 at 6:52 PM, R
http://haskell.org/cabal/FAQ.html#runghc-setup-complains-of-missing-packages
On Mon, 2009-06-15 at 10:30 +0300, Roman Cheplyaka wrote:
> I'm CC:ing Duncan, probably he can help.
>
> * Magicloud Magiclouds [2009-06-15
> 10:01:03+0800]
> > # ghc-pkg list gtk
> > /var/lib/ghc-6.10.3/./package.con
problemw with the -I flag to ghc are causing cabal install to fail for
hdbc-odbc (darcs head).
man ghc still reports that -I is a valid flag after installing ghc 6.7
from darcs head a couple days ago.
I think the problem might be the space after the -I flag (which is bad for
both 6.6.1 and 6.7
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
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
"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
Sorry, I meant runhaskell Setup.hs . 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
>
> b
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
On 10-11-05 06:43 AM, Magnus Therning wrote:
runhaskell Setup register --gen-script
runhaskell Setup unregister --gen-script
[...]
Except
that the generated register/unregister scripts now also point to
my-temp-db, and there seems to be no way to prevent this. I solved it
for now b
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:
homas Hartman/ext/[EMAIL PROTECTED]
cc
haskell-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 fai
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
> $ e
uncan Coutts <[EMAIL PROTECTED]>
08/28/2007 08:08 PM
To
Thomas Hartman/ext/[EMAIL PROTECTED]
cc
haskell-cafe@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:
>
>
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
> 1>build.out 2>build.err
>
> and this does indeed seem more informative. advice?
Turns out this was a bug in FilePath that Cabal was hitting. Th
901 - 933 of 933 matches
Mail list logo