Thanks, but stull no luck, could it be somehow related to XCode?
Here the last part of the installation;
checking for gsed⌠sed
checking XCode version⌠xcode-select: error: tool âxcodebuildâ requires Xcode, but active developer directory â/Library/Developer/CommandLineToolsâ is a command line tools instance
not found (too old?)
checking for gcc⌠gcc
checking whether the C compiler works⌠no
configure: error: in `/var/folders/f9/qk5nnl710tv6vzs50dd91zlr0000gn/T/ghcup.XXXXXXX.PvbZfhY4/ghc-8.8.3â:
configure: error: C compiler cannot create executables
See `config.logâ for more details
Failed to install, consider updating this script via: ghcup upgrade
FYI: xcode-select --install didnât work.
Installed the full xcode (manual download).
Reinstalled all the rest afterwards⌠and we have sound now. Yighaa.
I have the same problem with Bin/ghci and after "Failed to install, consider updating this script via: ghcup upgrade
âghcup --cache installâ failed!
xcode command line tools is installed
I donât want to install the full XCode
What happens when you try to run gcc in a terminal window? The problem seems to be that you donât have a working compiler, but that should be part of the xcode commandline tools, so I donât know why that is.
Sorry I canât see why ghcup isnât installing then. You could raise it with the ghcup people, but maybe itâs easiest to just install haskell via a different method.
In file included from /usr/local/include/stdint.h:59:0: error:
/usr/local/include/stdint.h:2:10: error:
error: #include nested too deeply
|
2 | #include <stddef.h>
| ^
#include <stddef.h>
^
/usr/local/include/stdint.h:59:11: error:
error: #include nested too deeply
|
59 | # include <stdint.h>
| ^
# include <stdint.h>
^
/usr/local/include/stdint.h:72:11: error:
error: #include nested too deeply
|
72 | # include <sys/types.h>
| ^
# include <sys/types.h>
^
/usr/local/include/stdint.h:76:10: error:
error: #include nested too deeply
|
76 | #include <limits.h>
| ^
#include <limits.h>
^
/usr/local/include/stdint.h:82:11: error:
error: #include nested too deeply
|
82 | # include <inttypes.h>
| ^
# include <inttypes.h>
^
In file included from /var/folders/2d/3t7bbstd7531hgrt33trf3xr0000gn/T/ghc21106_0/ghc_5.c:2:0: error:
In file included from /Library/Frameworks/GHC.framework/Versions/8.6.3-x86_64/usr/lib/ghc-8.6.3/include/Rts.h:29:0: error:
In file included from /Library/Frameworks/GHC.framework/Versions/8.6.3-x86_64/usr/lib/ghc-8.6.3/include/Stg.h:222:0: error:
In file included from /Library/Frameworks/GHC.framework/Versions/8.6.3-x86_64/usr/lib/ghc-8.6.3/include/stg/Types.h:37:0: error:
In file included from /Library/Developer/CommandLineTools/usr/lib/clang/10.0.1/include/inttypes.h:30:0: error:
/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/inttypes.h:235:8: error:
error: unknown type name 'intmax_t'
|
235 | extern intmax_t
| ^
extern intmax_t
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/inttypes.h:236:9: error:
error: unknown type name 'intmax_t'
|
236 | imaxabs(intmax_t j);
| ^
imaxabs(intmax_t j);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/inttypes.h:240:2: error:
error: unknown type name 'intmax_t'
intmax_t quot;
^
|
240 | intmax_t quot;
| ^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/inttypes.h:241:2: error:
error: unknown type name 'intmax_t'
intmax_t rem;
^
|
241 | intmax_t rem;
| ^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/inttypes.h:246:9: error:
error: unknown type name 'intmax_t'
|
246 | imaxdiv(intmax_t __numer, intmax_t __denom);
| ^
imaxdiv(intmax_t __numer, intmax_t __denom);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/inttypes.h:246:27: error:
error: unknown type name 'intmax_t'
|
246 | imaxdiv(intmax_t __numer, intmax_t __denom);
| ^
imaxdiv(intmax_t __numer, intmax_t __denom);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/inttypes.h:250:8: error:
error: unknown type name 'intmax_t'
|
250 | extern intmax_t
| ^
extern intmax_t
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/inttypes.h:256:8: error:
error: unknown type name 'uintmax_t'
|
256 | extern uintmax_t
| ^
extern uintmax_t
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/inttypes.h:263:8: error:
error: unknown type name 'intmax_t'
|
263 | extern intmax_t
| ^
extern intmax_t
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/inttypes.h:269:8: error:
error: unknown type name 'uintmax_t'
|
269 | extern uintmax_t
| ^
extern uintmax_t
^
In file included from /var/folders/2d/3t7bbstd7531hgrt33trf3xr0000gn/T/ghc21106_0/ghc_5.c:2:0: error:
In file included from /Library/Frameworks/GHC.framework/Versions/8.6.3-x86_64/usr/lib/ghc-8.6.3/include/Rts.h:29:0: error:
In file included from /Library/Frameworks/GHC.framework/Versions/8.6.3-x86_64/usr/lib/ghc-8.6.3/include/Stg.h:222:0: error:
/Library/Frameworks/GHC.framework/Versions/8.6.3-x86_64/usr/lib/ghc-8.6.3/include/stg/Types.h:93:9: error:
error: unknown type name 'int64_t'; did you mean '__int64_t'?
|
93 | typedef int64_t StgInt64;
| ^
typedef int64_t StgInt64;
^~~~~~~
__int64_t
/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/i386/_types.h:46:33: error:
note: '__int64_t' declared here
|
46 | typedef long long __int64_t;
| ^
typedef long long __int64_t;
^
In file included from /var/folders/2d/3t7bbstd7531hgrt33trf3xr0000gn/T/ghc21106_0/ghc_5.c:2:0: error:
In file included from /Library/Frameworks/GHC.framework/Versions/8.6.3-x86_64/usr/lib/ghc-8.6.3/include/Rts.h:29:0: error:
In file included from /Library/Frameworks/GHC.framework/Versions/8.6.3-x86_64/usr/lib/ghc-8.6.3/include/Stg.h:222:0: error:
/Library/Frameworks/GHC.framework/Versions/8.6.3-x86_64/usr/lib/ghc-8.6.3/include/stg/Types.h:94:9: error:
error: unknown type name 'uint64_t'
|
94 | typedef uint64_t StgWord64;
| ^
typedef uint64_t StgWord64;
^
/Library/Frameworks/GHC.framework/Versions/8.6.3-x86_64/usr/lib/ghc-8.6.3/include/stg/Types.h:116:9: error:
error: unknown type name 'int64_t'; did you mean '__int64_t'?
|
116 | typedef int64_t StgInt;
| ^
typedef int64_t StgInt;
^~~~~~~
__int64_t
/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/i386/_types.h:46:33: error:
note: '__int64_t' declared here
|
46 | typedef long long __int64_t;
| ^
typedef long long __int64_t;
^
In file included from /var/folders/2d/3t7bbstd7531hgrt33trf3xr0000gn/T/ghc21106_0/ghc_5.c:2:0: error:
In file included from /Library/Frameworks/GHC.framework/Versions/8.6.3-x86_64/usr/lib/ghc-8.6.3/include/Rts.h:29:0: error:
In file included from /Library/Frameworks/GHC.framework/Versions/8.6.3-x86_64/usr/lib/ghc-8.6.3/include/Stg.h:222:0: error:
/Library/Frameworks/GHC.framework/Versions/8.6.3-x86_64/usr/lib/ghc-8.6.3/include/stg/Types.h:117:9: error:
error: unknown type name 'uint64_t'
|
117 | typedef uint64_t StgWord;
| ^
typedef uint64_t StgWord;
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
`gcc' failed in phase `C Compiler'. (Exit code: 1)
cabal: Leaving directory '/var/folders/2d/3t7bbstd7531hgrt33trf3xr0000gn/T/cabal-tmp-20995/random-1.1'
cabal: Error: some packages failed to install:
clock-0.8-H1S1zDefxirImaRbI6ITNv failed during the building phase. The
exception was:
ExitFailure 1
random-1.1-3ypV4EIycgb35PKjTYYr5q failed during the building phase. The
exception was:
ExitFailure 1
tidal-1.4.8-BUBj7CkVY0qEI6Vxv8Pjam depends on tidal-1.4.8 which failed to
install.