demydd / pandoc

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

does not make without ghc in $PATH, simple Makefile edit not sufficient #31

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. install ghc in, say "/opt/ghc/bin"
2. extract pandoc tarball 
3. cd into pandoc dir
4. type make
5. behold the error
6. change GDC* variables in Makefile to full path of binaries
7. try again
8. see the error
9. sigh.
10. make symlinks of all files in /opt/ghc/bin to /usr/local/bin/
11. try again
12. works.
13. there is no step 13.

What is the expected output? What do you see instead?
Eh... works now. Forgot *what* I saw exactly.

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

Original issue reported on code.google.com by thkru...@googlemail.com on 17 Nov 2007 at 2:11

GoogleCodeExporter commented 8 years ago
It would help us to diagnose this if you provided the output after 'make'.

Original comment by fiddloso...@gmail.com on 17 Nov 2007 at 5:05

GoogleCodeExporter commented 8 years ago
ghc -package Cabal Setup.hs -o ./setup
make: ghc: Command not found
make: *** [.setup-config] Error 127

Note that this is after setting GHC to the proper path in the makefile

Original comment by thkru...@googlemail.com on 17 Nov 2007 at 8:29

GoogleCodeExporter commented 8 years ago
We believe this issue has been resolved in r1081.
You can now make pandoc using the ghc in /opt/ghc/bin by doing:

GHC=/opt/ghc/bin/ghc GHC_PKG=/opt/ghc/bin/ghc-pkg make

Thanks for the bug report!

Original comment by fiddloso...@gmail.com on 17 Nov 2007 at 10:58