-
Notifications
You must be signed in to change notification settings - Fork 848
Open
Labels
Milestone
Description
Running on Alpine Linux 3.4.3 with linux-x86_64-static, stack/ghc fails as below (might be missing some packages??):
/tmp/mypackage # /usr/local/bin/stack setup
Preparing to install GHC to an isolated location.
This will not interfere with any system-level installation.
Already downloaded.
Running /root/.stack/programs/x86_64-linux/ghc-8.0.1.temp/ghc-8.0.1/configure --prefix=/root/.stack/programs/x86_64-linux/ghc-8.0.1/ in directory /root/.stack/programs/x86_64-linux/ghc-8.0.1.temp/ghc-8.0.1/ exited with ExitFailure 1
checking for path to top of build tree...
/root/.stack/programs/x86_64-linux/ghc-8.0.1.temp/ghc-8.0.1/configure: ./configure.lineno: line 2234: utils/ghc-pwd/dist-install/build/tmp/ghc-pwd-bindist: not found
configure: error: cannot determine current directory
Error encountered while configuring GHC with
/root/.stack/programs/x86_64-linux/ghc-8.0.1.temp/ghc-8.0.1/configure --prefix=/root/.stack/programs/x86_64-linux/ghc-8.0.1/
run in /root/.stack/programs/x86_64-linux/ghc-8.0.1.temp/ghc-8.0.1/
The following directories may now contain files, but won't be used by stack:
- /root/.stack/programs/x86_64-linux/ghc-8.0.1.temp/
- /root/.stack/programs/x86_64-linux/ghc-8.0.1/
Configuring GHC .../tmp/mypackage
Stack version
$ stack --version
Version 1.2.0, Git revision 241cd07d576d9c0c0e712e83d947e3dd64541c42 (4054 commits) x86_64 hpack-0.14.0
jml