i have tried build quipper quantum programming language dr selinger found error in haskell don't understand.
/applications/xcode.app/contents/developer/usr/bin/make subdir_target=all quipper libraries quipperlib algorithms/bf algorithms/bwt algorithms/cl algorithms/gse algorithms/qls algorithms/tf algorithms/usv programs/qclparser programs/tools tests tests/template /applications/xcode.app/contents/developer/usr/bin/make -c "libraries" cd /private/var/.home/admin/documents/code/quipper-0.7; "/private/var/.home/admin/documents/code/quipper-0.7/quipper/scripts/quipper" -o -rtsopts -with-rtsopts=-k50m -i"/private/var/.home/admin/documents/code/quipper-0.7/quipper" -i"/private/var/.home/admin/documents/code/quipper-0.7" -fwarn-incomplete-patterns -werror libraries/auxiliary.hs && touch -c libraries/auxiliary.hi [1 of 1] compiling libraries.auxiliary ( libraries/auxiliary.hs, libraries/auxiliary.o ) cd /private/var/.home/admin/documents/code/quipper-0.7; "/private/var/.home/admin/documents/code/quipper-0.7/quipper/scripts/quipper" -o -rtsopts -with-rtsopts=-k50m -i"/private/var/.home/admin/documents/code/quipper-0.7/quipper" -i"/private/var/.home/admin/documents/code/quipper-0.7" -fwarn-incomplete-patterns -werror libraries/commandline.hs && touch -c libraries/commandline.hi [2 of 2] compiling libraries.commandline ( libraries/commandline.hs, libraries/commandline.o ) cd /private/var/.home/admin/documents/code/quipper-0.7; "/private/var/.home/admin/documents/code/quipper-0.7/quipper/scripts/quipper" -o -rtsopts -with-rtsopts=-k50m -i"/private/var/.home/admin/documents/code/quipper-0.7/quipper" -i"/private/var/.home/admin/documents/code/quipper-0.7" -fwarn-incomplete-patterns -werror libraries/portablesignals.hs && touch -c libraries/portablesignals.hi [1 of 1] compiling libraries.portablesignals ( libraries/portablesignals.hs, libraries/portablesignals.o ) cd /private/var/.home/admin/documents/code/quipper-0.7; "/private/var/.home/admin/documents/code/quipper-0.7/quipper/scripts/quipper" -o -rtsopts -with-rtsopts=-k50m -i"/private/var/.home/admin/documents/code/quipper-0.7/quipper" -i"/private/var/.home/admin/documents/code/quipper-0.7" -fwarn-incomplete-patterns -werror libraries/randomsource.hs && touch -c libraries/randomsource.hi libraries/randomsource.hs:17:8: not find module ‘system.random’ use -v see list of files searched for. make[2]: *** [randomsource.hi] error 1 make[1]: *** [libraries] error 2 make: *** [all] error 2
i resolved by
sudo apt-get install cabal-install cabal update
then able install random package
cabal install random
Comments
Post a Comment