-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to install pandoc-crossref that's required by the Makefile #38
Comments
I'm not sure either what is the problem here. Note that if you intend to make a submission, it is not absolutely necessary to have crossref since your paper can be later compiled by the editor. This would mean temporarily removing references in the paper (such that you can compile) and add them at the time of submission. Hopefully, the editor will be able to compile it for you. Anyone experienced such installation problem ? |
Note also that the current build is failing at pandoc-crossref: https://github.com/lierdakil/pandoc-crossref This might be related. Maybe you can try to install a less recent version. |
Current build's fine, it's just CI being uncooperative. P.S. In any case, hackage-published packages are definitely fine https://matrix.hackage.haskell.org/package/pandoc-crossref |
@lierdakil Thanks. |
None yet. I get the same issue on three different Fedora 26 installations. I'll ask the Fedora haskell folks for help. |
Same issue on my side. The |
@tpoisoit You mean you cannot install the pandoc-crossref ? |
Yes -- tried with the ghc devel stack too, and no luck. |
A slighty roundabout way to get these binaries is ... via RStudio for your system/distro. I get both server and desktop, and most systems should at least get the desktop. It will be in there: $ dpkg -L rstudio-server|grep pandoc
/usr/lib/rstudio-server/bin/pandoc
/usr/lib/rstudio-server/bin/pandoc/pandoc-citeproc
/usr/lib/rstudio-server/bin/pandoc/pandoc
$ dpkg -L rstudio|grep pandoc
/usr/lib/rstudio/bin/pandoc
/usr/lib/rstudio/bin/pandoc/pandoc-citeproc
/usr/lib/rstudio/bin/pandoc/pandoc
$ |
On a Fedora system, one needs to install the |
Or, of course, use the binary: $ COLUMNS=90 dpkg -l | grep pandoc
ii libghc-pandoc-ci 0.10.2.2-1bui all Pandoc support for Citation Style Lang
ii pandoc 1.17.2~dfsg-3 amd64 general markup converter
ii pandoc-citeproc 0.10.2.2-1bui amd64 Pandoc support for Citation Style Lang
ii pandoc-data 1.17.2~dfsg-3 all general markup converter - data files
$ But some people run (for reason I fail to grasp) outdated versions of their distro and then the RStudio trick can help (as the |
The |
@sanjayankur31 this is not working for me (on F26) |
@eddelbuettel, you're apparently confusing pandoc-citeproc and pandoc-crossref. I know names are similar, but latter isn't universally available in binary distros. I think only Arch, NixOS and Gentoo have it easily-available. @tpoisot, make sure to clean up the mess that's left after previous attempt. If you used sandbox, delete it and create a new one ( |
@lierdakil Indeed. And RStudio doesn't ship it either. I'll crawl back under my rock then. [ Now, the pandoc complex has a (apparently well-earned) reputation for being hard to build. Maybe an easier way to get binaries across would get. Maybe a Docker container for ReScience ? ] |
Okay, so with relation to this issue, further investigation shows you don't have to get The root of the problem is, apparently, installing just So, to summarize. On Fedora, you need I guess I'll add a paragraph or two to Readme. |
On Mac OS X, I get:
which seems related. Researching now. (I'm acting as editor... :) |
Most likely unrelated. The error seems to stem from the fact that your system C compiler is clang instead of gcc, and not a fresh version apparently. Until last summer clang used |
ok. I do find it funny that the first two or three google matches for my
specific error came up with rescience-related people's attempts to install
pandoc crossref :)
In any case I found a precompiled binary that seems to be working.
|
On OSX it's also available via Homebrew ( |
Have likewise been struggling to install pandoc-crossref, and have now admitted defeat :( , as any further installation avenues are beyond my abilities. Just in case it is useful in developing a more robust installation process to help others in the future, I'm noting my failures here. On Ubuntu native and Ubuntu Windows Linux Subsystem, all goes well until running
I've also tried from a Debian Windows Linux Subsystem as this has a more up to date version of pandoc, but again at
Fortunately, as @rougier notes earlier in this thread that a submission can be made without submitting a compiled pdf I'll hopefully still be able to submit my paper! |
@tretherington, the fact that cabal tries to build v2.5.0 indicates that your compiler is way too old. You might have some luck with prebuilt binaries available at the github releases page. If not, try building with stack, here's an issue detailing the process somewhat: lierdakil/pandoc-crossref#195. ... Also, there are native Windows binaries available for both Pandoc and pandoc-crossref, no build necessary. Why are you trying to do this through WSL? |
Having continued my Unix education, I've now got things working on my Ubuntu Windows Linux Subsystem. It was actually embarassingly simple, but just in case it is helpful for others who fail to get pandoc-crossref installed via
I simply checked my pandoc version with Then once unzipped, it was a simple case of just moving the |
@tretherington Thanks for the report. Maybe the culprit is insinde the Makefile. I know I added the |
Hiya,
I've been trying to install pandoc-crossref that's required by the makefile, but I can't seem to get it to work somehow. I've also filed a ticket upstream, but they're not quite sure what's happening either.
pandoc-crossref.txt
This is a Fedora 26 system here. Anyone else seeing this?
The text was updated successfully, but these errors were encountered: