anammari / pandoc

Automatically exported from code.google.com/p/pandoc
GNU General Public License v2.0
0 stars 0 forks source link

Error during installation: strip "File format not recognized" #161

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I'm installing pandoc 1.2.1 on Ubuntu Server (9.04 (jaunty)). I
installed the Ubuntu packages as described in the pandoc install doc.
Then had to also install the zlib1g-dev package, and then did the
cabal quick install.

Then used cabal to install utf8-string and zip-archive. Worked fine.

Finally, I grabbed the pandoc source and attempted to install into my
own ~/opt dir. I unpacked into ~/opt/src, ran `CABALOPTS=--user make`,
then `make test` (everything passed). Finally, here's where I hit my
issue:

$ PREFIX=~/opt make install ./setup build Preprocessing library pandoc-1.2.1... Preprocessing executables for pandoc-1.2.1... Building pandoc-1.2.1... /usr/bin/ar: creating dist/build/libHSpandoc-1.2.1.a for f in pandoc; do \ find dist -type f -name "$f" -perm +a=x \ -exec ln -s -f {} . \; ; \ done for f in hsmarkdown; do \ find dist -type f -name "$f" -perm +a=x \ -exec ln -s -f {} . \; ; \ done for f in markdown2pdf; do \ find dist -type f -name "$f" -perm +a=x \ -exec ln -s -f {} . \; ; \ done strip pandoc hsmarkdown markdown2pdf strip:hsmarkdown: File format not recognized strip:markdown2pdf: File format not recognized make: *\ [install-exec] Error 1

Original issue reported on code.google.com by jmg3...@gmail.com on 13 Aug 2009 at 7:07

GoogleCodeExporter commented 8 years ago
Thanks for reporting.  Quick fix in the mean time:
Edit Makefile, line 21:

- EXECSBASE := $(shell sed -ne 's/^[Ee]xecutable:\{0,1\}[[:space:]]*//p' 
$(CABAL))
+ EXECSBASE := pandoc

Then do your make install again.

Original comment by fiddloso...@gmail.com on 13 Aug 2009 at 8:04

GoogleCodeExporter commented 8 years ago
Fixed in r1606, but keeping this bug report open as a reminder to give the 
Makefile
some attention before the next release.

Original comment by fiddloso...@gmail.com on 13 Aug 2009 at 8:08

GoogleCodeExporter commented 8 years ago
Makefile seems to work properly now.

Original comment by fiddloso...@gmail.com on 31 Oct 2009 at 9:09