-
Notifications
You must be signed in to change notification settings - Fork 849
Closed
Description
I try to install network with stack-2.1.3 and lts-14.1, but the installation always fails. The final message of the error tells " terminateProcess: permission denied (Permission denied)". The full error is as follows:
network > configure
network > [1 of 2] Compiling Main ( C:\Users\chenyulue\App Data\Local\Temp\stack8408\network-2.8.0.1\Setup.hs, C:\Users\chenyulue\AppData\ Local\Temp\stack8408\network-2.8.0.1.stack-work\dist\e626a42b\setup\Main.o )
network > [2 of 2] Compiling StackSetupShim ( C:\sr\setup-exe-src\setup-shim-Z6RU0evB.hs, C:\Users\chenyulue\AppData\Local\Temp\stack8408\network-2 .8.0.1.stack-work\dist\e626a42b\setup\StackSetupShim.o )
network > Linking C:\Users\chenyulue\AppData\Local\Temp\stack8408 \network-2.8.0.1\.stack-work\dist\e626a42b\setup\setup.exe ...
network > Configuring network-2.8.0.1...
network > configure: WARNING: unrecognized options: --with-compiler
network > configure: loading site script /usr/local/etc/config.site
network > checking build system type... x86_64-w64-mingw32
network > checking host system type... x86_64-w64-mingw32
network > checking for gcc... C:\Users\CHENYU1\AppData\Local\Programs\ stack\X86_641\GHC-861.5\lib../mingw/bin\gcc.exe
network > checking whether the C compiler works... yes
network > checking for C compiler default output file name... a.exe
network > checking for suffix of executables... .exe
network > checking whether we are cross compiling... no
network > checking for suffix of object files... o
network > checking whether we are using the GNU C compiler... yes
network > checking whether C:\Users\CHENYU1\AppData\Local\Programs\sta ck\X86_641\GHC-861.5\lib../mingw/bin\gcc.exe accepts -g... yes
network > checking for C:\Users\CHENYU1\AppData\Local\Programs\stack\X 86_641\GHC-861.5\lib../mingw/bin\gcc.exe option to accept ISO C89... none needed
network > checking for an ANSI C-conforming const... yes
network > checking how to run the C preprocessor... C:\Users\CHENYU1\A ppData\Local\Programs\stack\X86_641\GHC-861.5\lib../mingw/bin\gcc.exe -E
network > checking for grep that handles long lines and -e... /usr/bin/grep
network > checking for egrep... /usr/bin/grep -E
network > checking for ANSI C header files... yes
network > checking for sys/types.h... yes
network > checking for sys/stat.h... yes
network > checking for stdlib.h... yes
network > checking for string.h... yes
network > checking for memory.h... yes
network > checking for strings.h... yes
network > checking for inttypes.h... yes
network > checking for stdint.h... yes
network > checking for unistd.h... yes
network > checking fcntl.h usability... yes
network > checking fcntl.h presence... yes
network > checking for fcntl.h... yes
network > checking limits.h usability... yes
network > checking limits.h presence... yes
network > checking for limits.h... yes
network > checking for stdlib.h... (cached) yes
network > checking for sys/types.h... (cached) yes
network > checking for unistd.h... (cached) yes
network > checking winsock2.h usability... yes
network > checking winsock2.h presence... yes
network > checking for winsock2.h... yes
network > checking ws2tcpip.h usability... yes
network > checking ws2tcpip.h presence... yes
network > checking for ws2tcpip.h... yes
network > checking arpa/inet.h usability... no
network > checking arpa/inet.h presence... no
network > checking for arpa/inet.h... no
network > checking netdb.h usability... no
network > checking netdb.h presence... no
network > checking for netdb.h... no
network > checking netinet/in.h usability... no
network > checking netinet/in.h presence... no
network > checking for netinet/in.h... no
network > checking netinet/tcp.h usability... no
network > checking netinet/tcp.h presence... no
network > checking for netinet/tcp.h... no
network > checking sys/socket.h usability... no
network > checking sys/socket.h presence... no
network > checking for sys/socket.h... no
network > checking sys/uio.h usability... no
network > checking sys/uio.h presence... no
network > checking for sys/uio.h... no
network > checking sys/un.h usability... no
network > checking sys/un.h presence... no
network > checking for sys/un.h... no
network > checking linux/can.h usability... no
network > checking linux/can.h presence... no
network > checking for linux/can.h... no
network > checking linux/tcp.h usability... no
network > checking linux/tcp.h presence... no
network > checking for linux/tcp.h... no
network > checking net/if.h usability... no
network > checking net/if.h presence... no
network > checking for net/if.h... no
network > checking for readlink... no
network > checking for symlink... no
network > checking for if_nametoindex... no
network > checking for struct msghdr.msg_control... no
network > checking for struct msghdr.msg_accrights... no
network > checking for struct sockaddr.sa_len... no
network > checking for in_addr_t in netinet/in.h... no
network > checking for SO_PEERCRED and struct ucred in sys/socket.h... no
network > checking for getpeereid in unistd.h... checking for getpeereid... no
network > checking for _head_libws2_32_a in -lws2_32... no
network > checking for getaddrinfo... yes
network > checking for gai_strerror... no
network > checking whether AI_ADDRCONFIG is declared... no
network > checking whether AI_ALL is declared... no
network > checking whether AI_NUMERICSERV is declared... no
network > checking whether AI_V4MAPPED is declared... no
network > checking whether IPV6_V6ONLY is declared... yes
network > checking whether IPPROTO_IP is declared... yes
network > checking whether IPPROTO_TCP is declared... yes
network > checking whether IPPROTO_IPV6 is declared... yes
network > checking for sendfile in sys/sendfile.h... no
network > checking for sendfile in sys/socket.h... no
network > checking for gethostent... no
network > checking for accept4... no
network > configure: creating ./config.status
network > config.status: creating network.buildinfo
network > config.status: creating include/HsNetworkConfig.h
network > configure: WARNING: unrecognized options: --with-compiler
network > build
network > Preprocessing library for network-2.8.0.1..
network > Building library for network-2.8.0.1..
network > [1 of 9] Compiling Network.Socket.Types
network > [2 of 9] Compiling Network.Socket.Internal
network > [3 of 9] Compiling Network.Socket.ByteString.Internal
network > [4 of 9] Compiling Network.Socket
network > terminateProcess: permission denied (Permission denied)
Progress 1/14
I don't know whether it is related to the fact that the configuration has many Noes.
Thanks for any help!