[Haskell-beginners] Execution error in using text-icu on windows

S. H. Aegis shaegis at gmail.com
Sat Mar 4 13:05:27 UTC 2017


Thank you so much, Francesco Ariis.
Thanks to your help, I stepped foreword.

But I got following error message. I googled this error message & try to
fix this, but faild.
How can I fix or get info. for this error message?
Thank you so much.

C:\Users\shaeg\Documents\Haskell\samChecker3> stack build
--ghc-options="-static -optl-static"
Warning: File listed in samChecker3.cabal file does not exist: README.md
samChecker3-0.1.0.0: unregistering (local file changes: app\Main.hs
samChecker3.cabal src\Lib.hs test\Spec.hs)
samChecker3-0.1.0.0: configure (lib + exe)
Configuring samChecker3-0.1.0.0...
samChecker3-0.1.0.0: build (lib + exe)
Preprocessing library samChecker3-0.1.0.0...
[1 of 1] Compiling Lib              ( src\Lib.hs,
.stack-work\dist\ca59d0ab\build\Lib.o )
Preprocessing executable 'samChecker3-exe' for samChecker3-0.1.0.0...
[1 of 1] Compiling Main             ( app\Main.hs,
.stack-work\dist\ca59d0ab\build\samChecker3-exe\samChecker3-exe-tmp\Main.o )
Linking .stack-work\dist\ca59d0ab\build\samChecker3-exe\samChecker3-exe.exe
...
C:/Users/shaeg/AppData/Local/Programs/stack/x86_64-windows/ghc-8.0.2/mingw/bin/ld.exe:
cannot find -licuuc
C:/Users/shaeg/AppData/Local/Programs/stack/x86_64-windows/ghc-8.0.2/mingw/bin/ld.exe:
cannot find -licuin
C:/Users/shaeg/AppData/Local/Programs/stack/x86_64-windows/ghc-8.0.2/mingw/bin/ld.exe:
cannot find -licudt
collect2.exe: error: ld returned 1 exit status
`gcc.exe' failed in phase `Linker'. (Exit code: 1)
Warning: File listed in samChecker3.cabal file does not exist: README.md

--  While building package samChecker3-0.1.0.0 using:

C:\sr\setup-exe-cache\x86_64-windows\Cabal-simple_Z6RU0evB_1.24.2.0_ghc-8.0.2.exe
--builddir=.stack-work\dist\ca59d0ab build lib:samChecker3
exe:samChecker3-exe --ghc-options " -ddump-hi -ddump-to-file"
    Process exited with code: ExitFailure 1

2017-03-04 16:12 GMT+09:00 Francesco Ariis <fa-ml at ariis.it>:

> On Sat, Mar 04, 2017 at 08:57:02AM +0900, S. H. Aegis wrote:
> > Hi.
> >
> > I worte some code. and fixed some errors with the help of good persons.
> > Now, this utility works properly in Stack environment.
> > How can I install this utility in other computer?
> > This utility use text-icu and I coded this utility on windows. Of
> course, I
> > want to work this utility on other windows OS.
> >
> > I copied %stackPath%\.stack-work\install\~\bin\samCheceker-exe.exe to
> some
> > other folder, and execution through CMD.
> > But I got error message that says "libicuuc57.dll dose not exist. so
> > program can't start. please re-install the program."
> > I copied libicuuc57.dll, and so... as like programming newbees, but
> failed.
> > "stack install" command was the same result.
> >
> > How can I install the Executable File to other windows system?
>
> Hello, maybe you can try compiling with:
>
>     stack build  --ghc-options '-static -optl-static'
>
> (and stack clean before, probably).
>
> I am not a windows or stack user, so this I cannot test this. Report
> back and let us know if it worked or not.
> _______________________________________________
> Beginners mailing list
> Beginners at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
>



-- 
Sok Ha, CHANG
Dr. Chang's Clinic. #203. 503-23. AmSa-Dong, GangDong-Gu, Seoul.
Tel: +82-2-442-7585
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/beginners/attachments/20170304/6adcd09d/attachment.html>


More information about the Beginners mailing list