logger
logger copied to clipboard
installing fast-logger 2.4.3 and 2.4.2 using cabal on windows fails
While installing fast-logger 2.4.3 and 2.4.2 using cabal, I get the following error message:
Configuring fast-logger-2.4.3... Building fast-logger-2.4.3... Preprocessing library fast-logger-2.4.3... [1 of 7] Compiling System.Log.FastLogger.LogStr ( System\Log\FastLogger\LogStr.hs, dist\build\System\Log\FastLogger\LogStr.o ) [2 of 7] Compiling System.Log.FastLogger.IORef ( System\Log\FastLogger\IORef.hs, dist\build\System\Log\FastLogger\IORef.o ) [3 of 7] Compiling System.Log.FastLogger.FileIO ( System\Log\FastLogger\FileIO.hs, dist\build\System\Log\FastLogger\FileIO.o )
System\Log\FastLogger\FileIO.hs:26:47:
Not in scope: fILE_SHARE_DELETE' Perhaps you meant
fILE_SHARE_WRITE' (imported from System.Win32.File)
Failed to install fast-logger-2.4.3
$ cabal install fast-logger-2.4.2 Resolving dependencies... Downloading fast-logger-2.4.2... Configuring fast-logger-2.4.2... Building fast-logger-2.4.2... Preprocessing library fast-logger-2.4.2... [1 of 7] Compiling System.Log.FastLogger.LogStr ( System\Log\FastLogger\LogStr.hs, dist\build\System\Log\FastLogger\LogStr.o ) [2 of 7] Compiling System.Log.FastLogger.IORef ( System\Log\FastLogger\IORef.hs, dist\build\System\Log\FastLogger\IORef.o ) [3 of 7] Compiling System.Log.FastLogger.FileIO ( System\Log\FastLogger\FileIO.hs, dist\build\System\Log\FastLogger\FileIO.o )
System\Log\FastLogger\FileIO.hs:22:47:
Not in scope: fILE_SHARE_DELETE' Perhaps you meant
fILE_SHARE_WRITE' (imported from System.Win32.File)
Failed to install fast-logger-2.4.2
cabal.exe: Error: some packages failed to install:
fast-logger-2.4.2 failed during the building phase. The exception was:
ExitFailure 1
Version 2.4.1 is fine:
$ cabal install fast-logger-2.4.1 Resolving dependencies... Downloading fast-logger-2.4.1... Configuring fast-logger-2.4.1... Building fast-logger-2.4.1... Preprocessing library fast-logger-2.4.1... [1 of 6] Compiling System.Log.FastLogger.LogStr ( System\Log\FastLogger\LogStr.hs, dist\build\System\Log\FastLogger\LogStr.o ) [2 of 6] Compiling System.Log.FastLogger.IORef ( System\Log\FastLogger\IORef.hs, dist\build\System\Log\FastLogger\IORef.o ) [3 of 6] Compiling System.Log.FastLogger.IO ( System\Log\FastLogger\IO.hs, dist\build\System\Log\FastLogger\IO.o ) [4 of 6] Compiling System.Log.FastLogger.Logger ( System\Log\FastLogger\Logger.hs, dist\build\System\Log\FastLogger\Logger.o ) [5 of 6] Compiling System.Log.FastLogger.File ( System\Log\FastLogger\File.hs, dist\build\System\Log\FastLogger\File.o ) [6 of 6] Compiling System.Log.FastLogger ( System\Log\FastLogger.hs, dist\build\System\Log\FastLogger.o ) [1 of 6] Compiling System.Log.FastLogger.LogStr ( System\Log\FastLogger\LogStr.hs, dist\build\System\Log\FastLogger\LogStr.p_o ) [2 of 6] Compiling System.Log.FastLogger.IORef ( System\Log\FastLogger\IORef.hs, dist\build\System\Log\FastLogger\IORef.p_o ) [3 of 6] Compiling System.Log.FastLogger.IO ( System\Log\FastLogger\IO.hs, dist\build\System\Log\FastLogger\IO.p_o ) [4 of 6] Compiling System.Log.FastLogger.Logger ( System\Log\FastLogger\Logger.hs, dist\build\System\Log\FastLogger\Logger.p_o ) [5 of 6] Compiling System.Log.FastLogger.File ( System\Log\FastLogger\File.hs, dist\build\System\Log\FastLogger\File.p_o ) [6 of 6] Compiling System.Log.FastLogger ( System\Log\FastLogger.hs, dist\build\System\Log\FastLogger.p_o ) In-place registering fast-logger-2.4.1... Installing library in C:\Users\laarpjljvd\AppData\Roaming\cabal\fast-logger-2.4.1\ghc-7.6.3 Registering fast-logger-2.4.1... Installed fast-logger-2.4.1
installation info:
Ghc-7.6.3
cabal-install version 1.16.0.2 using version 1.16.0 of the Cabal library
Microsoft Windows [Version 6.1.7601]
Good luck solving this bug!
Added info: Hi Pierre,
While installing fast-logger 2.4.3 and 2.4.2 using cabal, I get the following error message:
Would you register this issue to github issues?
https://github.com/kazu-yamamoto/logger/issues
And write comment which notify to @drchaos? This code is from him:
https://github.com/kazu-yamamoto/logger/pull/79
Since I don't have Windows environment, I cannot help you. But I believe that @drchaos helps you.
--Kazu