A little bit of background. I'm running macOS 10.14.6 currently. I have had Nim 
installed in the past as well, but I don't recall the version number. I did 
manually remove Him at one point, deleting .choosenim and .nimble from my Mac 
home directory. Now, I'm trying to reinstall Nim using; curl 
https://nim-lang.org/choosenim/init.sh -sSf | sh, but I keep getting errors 
when I do:
    
    
    curl https://nim-lang.org/choosenim/init.sh -sSf | sh
    choosenim-init: Downloading choosenim-0.4.0_macosx_amd64
    Downloading Nim 1.0.2 from nim-lang.org
          Info: /Users/username/.choosenim/downloads/nim-1.0.2.tar.gz already 
downloaded
     Extracting nim-1.0.2.tar.gz
       Building Nim 1.0.2
     Exception: Execution failed with exit code 1
            ... Command: sh build.sh
            ... Output: # OS: macosx
            ... # CPU: amd64
            ... clang -w -O3 -fno-strict-aliasing -Ic_code -c 
c_code/1_2/stdlib_assertions.nim.c -o c_code/1_2/stdlib_assertions.nim.o
            ... clang -w -O3 -fno-strict-aliasing -Ic_code -c 
c_code/1_2/stdlib_dollars.nim.c -o c_code/1_2/stdlib_dollars.nim.o
            ... c_code/1_2/stdlib_dollars.nim.c:7:10: fatal error: 'string.h' 
file not found
            ... #include <string.h>
            ...          ^~~~~~~~~~
            ... 1 error generated.
       Cleaning failed build
           Tip: 7 messages have been suppressed, use --verbose to show them.
         Error: Build failed
    
    
    Run

I'm not sure why the Nim error is reporting a missing .h file. I've been trying 
to solve this for multiple days now with no luck. Any help would be greatly 
appreciated. Thank you.

Reply via email to