Skip to content
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

Update Installations instructions #4052

Closed
robinrosenstock opened this issue Nov 8, 2017 · 8 comments
Closed

Update Installations instructions #4052

robinrosenstock opened this issue Nov 8, 2017 · 8 comments
Labels

Comments

@robinrosenstock
Copy link

I followed the installation from Instructions Installing the development version of pandoc,
but got this failure:

Error: While constructing the build plan, the following exceptions were encountered:

In the dependencies for pandoc-2.0.1.1(-embed_data_files +network-uri -old-locale -trypandoc):
    cmark-gfm must match >=0.1.1 && <0.2, but the stack configuration has no specified version
              (latest applicable is 0.1.3)
    doctemplates-0.1.0.2 must match >=0.2.1 && <0.3 (latest applicable is 0.2.1)
    skylighting-0.3.3 must match >=0.4.3.2 && <0.5 (latest applicable is 0.4.3.2)
needed since pandoc-2.0.1.1 is a build target.

In the dependencies for pandoc-citeproc-0.12(+bibutils +embed_data_files):
    hs-bibutils-5.5 must match >=6.2.0.1 (latest applicable is 6.2.0.1)
needed since pandoc-citeproc-0.12 is a build target.

Recommended action: try adding the following to your extra-deps in /home/robin/Downloads/pandoc-build/pandoc/stack.full.yaml:
- cmark-gfm-0.1.3

You may also want to try the 'stack solver' command
@mb21
Copy link
Collaborator

mb21 commented Nov 8, 2017

what exactly are the commands you're using?

you might not need pandoc-citeproc etc., what I do:

git clone https://github.com/jgm/pandoc
cd pandoc
stack setup # only first time
stack install

@robinrosenstock
Copy link
Author

When adding these entries to the extra-deps in /pandoc-build/pandoc/stack.full.yaml

  • cmark-gfm-0.1.3
  • doctemplates-0.2.1
  • skylighting-0.4.3.2
  • hs-bibutils-6.2.0.1

then I get a build failure.

@robinrosenstock
Copy link
Author

thanks @mb21 .
I have now done it individually, similar like you said.

@robinrosenstock
Copy link
Author

I will close this and open a new Issue to update the installation instructions.

@mb21
Copy link
Collaborator

mb21 commented Nov 8, 2017

I'll reopen this one... since all the infos are here...

@mb21 mb21 reopened this Nov 8, 2017
@mb21 mb21 added the docs label Nov 8, 2017
@mb21 mb21 changed the title Stack developer installation exceptions build plan Update Installations instructions Nov 8, 2017
@jgm
Copy link
Owner

jgm commented Nov 8, 2017 via email

jgm added a commit that referenced this issue Nov 8, 2017
@jgm
Copy link
Owner

jgm commented Nov 8, 2017 via email

@mb21
Copy link
Collaborator

mb21 commented Nov 8, 2017

I've updated the wiki page: https://github.com/jgm/pandoc/wiki/Installing-the-development-version-of-pandoc

everyone, feel free to add further clarifications...

@mb21 mb21 closed this as completed Nov 8, 2017
RakhithJK pushed a commit to RakhithJK/jgm-pandoc-wiki that referenced this issue Mar 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants