demydd / pandoc

Automatically exported from code.google.com/p/pandoc
0 stars 0 forks source link

Error building under Gutsy #74

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Install all the dependencies
2. Rune make

What is the expected output? What do you see instead?

Should make.

What version of the product are you using? On what operating system?

Checkout from svn. r1285.

Please provide any additional information below.

~/Vendors/pandoc/trunk$ make
ghc -package Cabal Setup.hs -o ./setup

Setup.hs:2:0:
    Failed to load interface for `Distribution.Simple.Setup':
      Use -v to see a list of the files searched for.
make: *** [setup] Error 1

Looking at my installed libraries, I have a Distribution.Setup but no
Distribution.Simple.Setup.

Original issue reported on code.google.com by diaere...@gmail.com on 16 Jun 2008 at 9:54

GoogleCodeExporter commented 8 years ago
For information, I was able to build release 44.

Original comment by diaere...@gmail.com on 16 Jun 2008 at 12:04

GoogleCodeExporter commented 8 years ago
Could you send the output of 'ghc-pkg list', 'which ghc', and 'ghc --version'?
Thanks.  The problem is due to changes in Setup.hs, which now depends on a 
recent
version of Cabal.  Probably this should be documented, and a workaround 
provided.

Note that v 0.46 should build fine on Gutsy, and the development version in SVN
should build fine on Hardy, which has a more recent version of Cabal.

Original comment by fiddloso...@gmail.com on 16 Jun 2008 at 4:48

GoogleCodeExporter commented 8 years ago
Here you have:
$ ghc-pkg list
/usr/lib/ghc-6.6.1/package.conf:
    Cabal-1.1.3, Cabal-1.1.6.2, base-2.1.1, filepath-1.0, (ghc-6.6.1),
    haskell98-1.0, mtl-1.0.1, network-2.0.1, parsec-2.0, readline-1.0,
    regex-base-0.72, regex-compat-0.71, regex-posix-0.71, rts-1.0,
    stm-2.0, template-haskell-2.1, unix-2.1, xhtml-3000.0.2
$ which ghc
/usr/bin/ghc
$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 6.6.1

Original comment by diaere...@gmail.com on 16 Jun 2008 at 5:54

GoogleCodeExporter commented 8 years ago
The problem is that pandoc now requires Cabal 1.2.3 or higher.  (That is the
version included with ghc 6.8.2, and the version in Ubuntu Hardy.)
Your best immediate fix, if you don't want to upgrade to Hardy, is to
install Cabal 1.2.3 from source, and then try pandoc again.
http://hackage.haskell.org/cgi-bin/hackage-scripts/package/Cabal-1.2.3.0

Please post a followup message if that doesn't work.

I should also document this requirement in INSTALL.

Original comment by fiddloso...@gmail.com on 16 Jun 2008 at 6:15

GoogleCodeExporter commented 8 years ago
Ok, then, I will do an upgrade to Hardy this WE. It will simplify everything. 
Thanks
a lot for your speed in responding to this issue!

Original comment by diaere...@gmail.com on 16 Jun 2008 at 6:57

GoogleCodeExporter commented 8 years ago
Maybe you can "wont-fix" this bug as anyway I have upgraded to Hardy and I don't
think that many people will try to build it with Gutsy.

Original comment by diaere...@gmail.com on 25 Jun 2008 at 7:47

GoogleCodeExporter commented 8 years ago
Added note to INSTALL about Cabal >= 1.2 dependency in r1296.

Original comment by fiddloso...@gmail.com on 10 Jul 2008 at 11:27