* Can'f find pandoc-types @ 2021-12-13 15:15 sprock [not found] ` <d969a04d-796e-4633-9fb0-4f863cb2d053n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> 0 siblings, 1 reply; 3+ messages in thread From: sprock @ 2021-12-13 15:15 UTC (permalink / raw) To: pandoc-discuss [-- Attachment #1.1: Type: text/plain, Size: 949 bytes --] Hello, I installed pandoc from source on FreeBSD 13.0 using stack, which also installed ghc in my home directory. I do not have a system-wide ghc installation, nor do I have cabal. I also need pandoc-types, which I have also built from source using stack, but stack install does not seem to install anything. At least when I try examples from the filters page I get Could not find module ‘Text.Pandoc.JSON’ If anyone can spare a few minutes to help it would be much appreciated. Thanks, sprock -- You received this message because you are subscribed to the Google Groups "pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/d969a04d-796e-4633-9fb0-4f863cb2d053n%40googlegroups.com. [-- Attachment #1.2: Type: text/html, Size: 1424 bytes --] ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <d969a04d-796e-4633-9fb0-4f863cb2d053n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>]
* Re: Can'f find pandoc-types [not found] ` <d969a04d-796e-4633-9fb0-4f863cb2d053n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> @ 2021-12-13 17:36 ` John MacFarlane [not found] ` <m2fsqw9zke.fsf-d8241O7hbXoP5tpWdHSM3tPlBySK3R6THiGdP5j34PU@public.gmane.org> 0 siblings, 1 reply; 3+ messages in thread From: John MacFarlane @ 2021-12-13 17:36 UTC (permalink / raw) To: sprock, pandoc-discuss 'stack install' just installs executables, I think. Are you trying to compile the filters? If so, then what you want is stack ghc -- --make myfilter.hs If you do this in the directory in which you've installed pandoc, then (if I recall correctly) stack will be able to find the libraries. Alternatively, you could set up a separate stack project for the filter, with the dependencies listed. Or, you could use a "stack script" https://www.fpcomplete.com/haskell/tutorial/stack-script/ Hope that helps. sprock <rmason-by2PdLBuqAc@public.gmane.org> writes: > Hello, > > I installed pandoc from source on FreeBSD 13.0 using stack, which also > installed ghc in my home directory. I do not have a system-wide ghc > installation, nor do I have cabal. > > I also need pandoc-types, which I have also built from source using stack, > but stack install does not seem to install anything. At least when I try > examples from the filters page I get > > Could not find module ‘Text.Pandoc.JSON’ > > If anyone can spare a few minutes to help it would be much appreciated. > > Thanks, > sprock > > > > > -- > You received this message because you are subscribed to the Google Groups "pandoc-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/d969a04d-796e-4633-9fb0-4f863cb2d053n%40googlegroups.com. -- You received this message because you are subscribed to the Google Groups "pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/m2fsqw9zke.fsf%40Johns-Air.hsd1.ca.comcast.net. ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <m2fsqw9zke.fsf-d8241O7hbXoP5tpWdHSM3tPlBySK3R6THiGdP5j34PU@public.gmane.org>]
* Re: Can'f find pandoc-types [not found] ` <m2fsqw9zke.fsf-d8241O7hbXoP5tpWdHSM3tPlBySK3R6THiGdP5j34PU@public.gmane.org> @ 2021-12-13 18:48 ` Roger Mason 0 siblings, 0 replies; 3+ messages in thread From: Roger Mason @ 2021-12-13 18:48 UTC (permalink / raw) To: pandoc-discuss Hello, John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org> writes: > 'stack install' just installs executables, I think. > > Are you trying to compile the filters? If so, then what you want > is > > stack ghc -- --make myfilter.hs > > If you do this in the directory in which you've installed pandoc, > then (if I recall correctly) stack will be able to find the libraries. > > Alternatively, you could set up a separate stack project for > the filter, with the dependencies listed. > > Or, you could use a "stack script" > https://www.fpcomplete.com/haskell/tutorial/stack-script/ > > Hope that helps. It does, thanks. I used the stack script method. ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-12-13 18:48 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2021-12-13 15:15 Can'f find pandoc-types sprock [not found] ` <d969a04d-796e-4633-9fb0-4f863cb2d053n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> 2021-12-13 17:36 ` John MacFarlane [not found] ` <m2fsqw9zke.fsf-d8241O7hbXoP5tpWdHSM3tPlBySK3R6THiGdP5j34PU@public.gmane.org> 2021-12-13 18:48 ` Roger Mason
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).