Closed sbeleidy closed 6 years ago
Hello,
I don't support Mac because I don't have one but some users reported pp to work on their Mac. So I just hope it works as in Linux ;-)
The problem is stack, not Plantuml. It seems your version of stack does not support the script
argument.
Which version of stack are you using? (stack --version
) I'm using stack 1.7.1. I think this works at least with stack 1.6.*
Did you upgrade stack? (stack upgrade
)
It does seem to be the stack version. I had run stack upgrade
before posting the issue but it seems I had an issue with stack downloading the upgraded stack somewhere not in my path 😕
I am able to get it working now. Thank you for your help and the work on this awesome tool. Can't wait to use it.
I'm having trouble installing
pp
on Mac and I believe the issue has something to do with Planuml. I was able to get Planuml working if I installed it independently.Is there support for Mac?
It seems the issue is in the following line that is executed by
make
:Full log
This is what I get when I run `make`. ```bash Downloading lts-11.8 build plan ... Downloaded lts-11.8 build plan. AesonException "Error in $.packages.cassava.constraints.flags['bytestring--lt-0_10_4']: Invalid flag name: \"bytestring--lt-0_10_4\"" -e \x1b[1m\x1b[32m#### downloading Plantuml.jar\x1b[0m wget http://sourceforge.net/projects/plantuml/files/plantuml.jar -O .stack-work/Plantuml.jar || wget https://cdsoft.fr/pp/plantuml.jar -O .stack-work/Plantuml.jar URL transformed to HTTPS due to an HSTS policy --2018-05-12 17:28:45-- https://sourceforge.net/projects/plantuml/files/plantuml.jar Resolving sourceforge.net (sourceforge.net)... 216.105.38.13 Connecting to sourceforge.net (sourceforge.net)|216.105.38.13|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://sourceforge.net/projects/plantuml/files/plantuml.jar/download [following] --2018-05-12 17:28:46-- https://sourceforge.net/projects/plantuml/files/plantuml.jar/download Connecting to sourceforge.net (sourceforge.net)|216.105.38.13|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://downloads.sourceforge.net/project/plantuml/plantuml.jar?r=&ts=1526167726&use_mirror=newcontinuum [following] --2018-05-12 17:28:46-- https://downloads.sourceforge.net/project/plantuml/plantuml.jar?r=&ts=1526167726&use_mirror=newcontinuum Resolving downloads.sourceforge.net (downloads.sourceforge.net)... 216.105.38.13 Connecting to downloads.sourceforge.net (downloads.sourceforge.net)|216.105.38.13|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://newcontinuum.dl.sourceforge.net/project/plantuml/plantuml.jar [following] --2018-05-12 17:28:46-- https://newcontinuum.dl.sourceforge.net/project/plantuml/plantuml.jar Resolving newcontinuum.dl.sourceforge.net (newcontinuum.dl.sourceforge.net)... 64.79.96.4 Connecting to newcontinuum.dl.sourceforge.net (newcontinuum.dl.sourceforge.net)|64.79.96.4|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 7241886 (6.9M) [application/java-archive] Saving to: ‘.stack-work/Plantuml.jar’ .stack-work/Plantum 100%[===================>] 6.91M 3.88MB/s in 1.8s 2018-05-12 17:28:49 (3.88 MB/s) - ‘.stack-work/Plantuml.jar’ saved [7241886/7241886] -e \x1b[1m\x1b[32m[OK] .stack-work/Plantuml.jar\x1b[0m -e \x1b[1m\x1b[32m#### converting .stack-work/Plantuml.jar to C\x1b[0m stack tools/blob.hs .stack-work/Plantuml.jar Invalid argument `script' Error executing interpreter command: stack script --resolver lts-11.8 --package bytestring --package filepath --package split -- tools/blob.hs .stack-work/Plantuml.jar Usage: stack [--help] [--version] [--numeric-version] [--hpack-numeric-version] [--docker*] [--nix*] ([--verbosity VERBOSITY] | [-v|--verbose] | [--silent]) [--[no-]time-in-log] [--stack-root STACK-ROOT] [--work-dir WORK-DIR] [--[no-]system-ghc] [--[no-]install-ghc] [--arch ARCH] [--ghc-variant VARIANT] [--ghc-build BUILD] [-j|--jobs JOBS] [--extra-include-dirs DIR] [--extra-lib-dirs DIR] [--with-gcc PATH-TO-GCC] [--[no-]skip-ghc-check] [--[no-]skip-msys] [--local-bin-path DIR] [--[no-]modify-code-page] [--[no-]allow-different-user] [--[no-]dump-logs] [--resolver RESOLVER] [--compiler COMPILER] [--[no-]terminal] [--color WHEN] [--stack-yaml STACK-YAML] COMMAND|FILE make: *** [.stack-work/PlantumlJar_c.c] Error 1 ```