草庐IT

mysql - 在 Yesod 上安装 mysql

我成功创建了一个Yesod应用程序(使用cabal-dev)并启动了它。但我一直在尝试将mysql与yesod一起使用,但在运行命令“cabal-devinstallyesod-platform,cabal-devinstallyesod-bin;cabal-devinstall”后,我总是收到以下错误消息:Installedyesod-1.2.2.1cabal:Error:somepackagesfailedtoinstall:Youne-0.0.0dependsonpcre-light-0.4whichfailedtoinstall.mysql-0.1.1.5faileddurin

haskell - Cabal 安装需要 C 库 : Windows

我正在尝试在我的Windows机器上cabalinstallyesod。我有一个相对较新的Haskell平台安装。cabal安装失败,报告我需要sqlite3C库才能安装“persistent”,这是Yesod所依赖的一个包。cabal:Missingdependencyonaforeignlibrary:*MissingClibrary:sqlite3所以我去了http://www.sqlite.org/download.html并获取了C源代码和预编译的二进制文件。我尝试同时使用两者,但无济于事:cabalinstallpersistent--extra-lib-dirs=C:\P

haskell - Cabal 安装需要 C 库 : Windows

我正在尝试在我的Windows机器上cabalinstallyesod。我有一个相对较新的Haskell平台安装。cabal安装失败,报告我需要sqlite3C库才能安装“persistent”,这是Yesod所依赖的一个包。cabal:Missingdependencyonaforeignlibrary:*MissingClibrary:sqlite3所以我去了http://www.sqlite.org/download.html并获取了C源代码和预编译的二进制文件。我尝试同时使用两者,但无济于事:cabalinstallpersistent--extra-lib-dirs=C:\P

linux - haskell cabal : Mysterious missing or recursive dependencies

我尝试安装jmacro包。它构建完美,绝对没有问题。但是,当我想使用它或安装像happstack-jmacro这样依赖于jmacro的软件包时,我会收到如下错误消息::cannotsatisfy-package-idjmacro-0.5.2-71bd40707d94b0e8eb6e70515ff6a5f4:jmacro-0.5.2-71bd40707d94b0e8eb6e70515ff6a5f4isunusableduetomissingorrecursivedependencies:haskell-src-meta-0.5-4bf46b12fb313927e18a04de209944

linux - haskell cabal : Mysterious missing or recursive dependencies

我尝试安装jmacro包。它构建完美,绝对没有问题。但是,当我想使用它或安装像happstack-jmacro这样依赖于jmacro的软件包时,我会收到如下错误消息::cannotsatisfy-package-idjmacro-0.5.2-71bd40707d94b0e8eb6e70515ff6a5f4:jmacro-0.5.2-71bd40707d94b0e8eb6e70515ff6a5f4isunusableduetomissingorrecursivedependencies:haskell-src-meta-0.5-4bf46b12fb313927e18a04de209944

windows - 如何在 Windows 7 中正确安装 Cabal 1.18.02?

我正在尝试在Windows7中安装新的Cabal。它成功安装了1.18.02,但是当我运行“cabal--version”时它显示1.16。文件夹C:\Users\me\AppData\Roaming\cabal\bin位于我的PATH的前面。当我直接运行1.18可执行文件时,出现一堆“cabal.exe不存在”错误。如何配置Cabal默认使用1.18版? 最佳答案 haskell平台安装cabal.exe的方式存在路径冲突Asseeninthisticket修复它:Delete`C:/programfiles(x86)/Haske

windows - 使用 Cabal、haskell origin 安装 unix-2.7.0.1 包

这一切都始于hdevtools。我在我的Windows7机器上安装了Sublime3的SublimeHaskell包,并收到一条警告,说找不到hdevtools,或者类似的东西。所以我想我可能会尝试使用Cabal安装该软件包。我安装了Cygwin,并且在我的路径中工作正常。我试试cabalinstallhdevtools我得到了一些可怕的东西:Resolvingdependencies...Configuringunix-2.7.0.1...Warning:Unknownextensions:CApiFFI,InterruptibleFFIconfigure:WARNING:unrec

windows - 无法让 cabal 在 Windows 上找到 haskell-mpi 的 mpi 库

Thisquestionisunlikelytohelpanyfuturevisitors;itisonlyrelevanttoasmallgeographicarea,aspecificmomentintime,oranextraordinarilynarrowsituationthatisnotgenerallyapplicabletotheworldwideaudienceoftheinternet.Forhelpmakingthisquestionmorebroadlyapplicable,visitthehelpcenter。9年前关闭。问题已解决!按照Dons发布的说明进行

windows - Windows 7 上的 Cabal 测试

我正在尝试遵循此处的示例http://www.haskell.org/cabal/users-guide/#test-suites当我运行cabal测试时,它会抛出此错误cabal:未启用测试套件。您是否记得使用“--enable-tests”进行配置?所以我尝试cabalconfigure--enable-tests然后cabaltest但我现在得到了Running1testsuites...Testsuitetest-s3dm:RUNNING...cabal:permissiondenied我做错了什么? 最佳答案 您仍然需要实

windows - 堆栈构建在 Windows 上的 GHC-8.6.4/Cabal-2.4.1.0 上挂起

我的堆栈项目构建在与Cabal相关的步骤中卡在Windows上。查看下面的输出C:\haskell\hrt\Comonad>stackghc----versionTheGloriousGlasgowHaskellCompilationSystem,version8.6.4C:\haskell\hrt\Comonad>stackbuild←[0mCabal-2.4.1.0:configure←[0m←[0mCabal-2.4.1.0:build←[0mProgress0/5我必须用Ctrl+C打断我试着关注HaskellWeeklyComonadicbuildersbyDmitriiKo