- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
⚓ ~ stack build X11-xft
X11-xft-0.3.1: configure
-- While building package X11-xft-0.3.1 using:
/home/suzumiya/.stack/setup-exe-cache/x86_64-linux-ncurses6/Cabal-simple_mPHDZzAJ_1.24.0.0_ghc-8.0.1 --builddir=.stack-work/dist/x86_64-linux-ncurses6/Cabal-1.24.0.0 configure --with-ghc=/home/suzumiya/.stack/programs/x86_64-linux/ghc-ncurses6-8.0.1/bin/ghc --with-ghc-pkg=/home/suzumiya/.stack/programs/x86_64-linux/ghc-ncurses6-8.0.1/bin/ghc-pkg --user --package-db=clear --package-db=global --package-db=/home/suzumiya/.stack/snapshots/x86_64-linux-ncurses6/lts-7.18/8.0.1/pkgdb --package-db=/home/suzumiya/.stack/global-project/.stack-work/install/x86_64-linux-ncurses6/lts-7.18/8.0.1/pkgdb --libdir=/home/suzumiya/.stack/global-project/.stack-work/install/x86_64-linux-ncurses6/lts-7.18/8.0.1/lib --bindir=/home/suzumiya/.stack/global-project/.stack-work/install/x86_64-linux-ncurses6/lts-7.18/8.0.1/bin --datadir=/home/suzumiya/.stack/global-project/.stack-work/install/x86_64-linux-ncurses6/lts-7.18/8.0.1/share --libexecdir=/home/suzumiya/.stack/global-project/.stack-work/install/x86_64-linux-ncurses6/lts-7.18/8.0.1/libexec --sysconfdir=/home/suzumiya/.stack/global-project/.stack-work/install/x86_64-linux-ncurses6/lts-7.18/8.0.1/etc --docdir=/home/suzumiya/.stack/global-project/.stack-work/install/x86_64-linux-ncurses6/lts-7.18/8.0.1/doc/X11-xft-0.3.1 --htmldir=/home/suzumiya/.stack/global-project/.stack-work/install/x86_64-linux-ncurses6/lts-7.18/8.0.1/doc/X11-xft-0.3.1 --haddockdir=/home/suzumiya/.stack/global-project/.stack-work/install/x86_64-linux-ncurses6/lts-7.18/8.0.1/doc/X11-xft-0.3.1 --dependency=X11=X11-1.6.1.2-22TNurK7nbm9YWNib5sChe --dependency=base=base-4.9.0.0 --dependency=utf8-string=utf8-string-1.0.1.1-2T8mBCuEDlXDo8zed8Onw4
Process exited with code: ExitFailure 1
Logs have been written to: /home/suzumiya/.stack/global-project/.stack-work/logs/X11-xft-0.3.1.log
Configuring X11-xft-0.3.1...
Cabal-simple_mPHDZzAJ_1.24.0.0_ghc-8.0.1: Missing dependency on a foreign
library:
* Missing C library: Xft
This problem can usually be solved by installing the system package that
provides this library (you may need the "-dev" version). If the library is
already installed but in a non-standard location then you can use the flags
--extra-include-dirs= and --extra-lib-dirs= to specify where it is.
⚓ ~ ls /usr/include/X11/Xft/Xft.h
/usr/include/X11/Xft/Xft.h
⚓ ~ ls /usr/lib/libXft.so
/usr/lib/libXft.so@
我已经安装了xft并且可以在默认路径中找到它。但它仍然说缺少一个 C 库。使用 arch x86_64、堆栈 1.3.2、沙盒 ghc
⚓ ~ pkg-config --version
0.29.1
⚓ ~ pkg-config xft --libs
-lXft
并列出详细的调试信息:
⚓ ~ stack build X11-xft --verbose
Version 1.3.2 x86_64
Compiled with:
- Cabal-1.24.0.0
- Glob-0.7.14
- HUnit-1.5.0.0
- MonadRandom-0.4.2.3
- QuickCheck-2.9.2
- SHA-1.6.4.2
- StateVar-1.1.0.4
- aeson-1.0.2.1
- aeson-compat-0.3.6
- annotated-wl-pprint-0.7.0
- ansi-terminal-0.6.2.3
- ansi-wl-pprint-0.6.7.3
- array-0.5.1.1
- asn1-encoding-0.9.4
- asn1-parse-0.9.4
- asn1-types-0.3.2
- async-2.1.1
- attoparsec-0.13.1.0
- auto-update-0.1.4
- base-4.9.0.0
- base-compat-0.9.1
- base-orphans-0.5.4
- base16-bytestring-0.1.1.6
- base64-bytestring-1.0.0.1
- bifunctors-5.4.1
- binary-0.8.3.0
- binary-tagged-0.1.4.2
- bitarray-0.0.1.1
- blaze-builder-0.4.0.2
- blaze-html-0.8.1.3
- blaze-markup-0.7.1.1
- byteable-0.1.1
- bytestring-0.10.8.1
- call-stack-0.1.0
- case-insensitive-1.2.0.7
- cereal-0.5.4.0
- clock-0.7.2
- comonad-5
- conduit-1.2.8
- conduit-extra-1.1.15
- connection-0.2.6
- constraints-0.8
- containers-0.5.7.1
- contravariant-1.4
- cookie-0.4.2.1
- cryptohash-0.11.9
- cryptohash-conduit-0.1.1
- cryptonite-0.21
- data-default-class-0.1.2.0
- deepseq-1.4.2.0
- digest-0.0.1.2
- directory-1.2.6.2
- distributive-0.5.1
- dlist-0.8.0.2
- easy-file-0.2.1
- either-4.4.1.1
- enclosed-exceptions-1.0.2
- errors-2.1.3
- exceptions-0.8.3
- extra-1.5.1
- fast-logger-2.4.7
- file-embed-0.0.10
- filelock-0.1.0.1
- filepath-1.4.1.0
- foundation-0.0.3
- free-4.12.4
- fsnotify-0.2.1
- generic-deriving-1.11.1
- generics-sop-0.2.3.0
- ghc-boot-th-8.0.1
- ghc-prim-0.5.0.0
- gitrev-1.2.0
- hashable-1.2.5.0
- hastache-0.6.1
- hinotify-0.3.9
- hit-0.6.3
- hourglass-0.2.10
- hpack-0.16.0
- hpc-0.6.0.3
- hspec-2.3.2
- hspec-core-2.3.2
- hspec-discover-2.3.2
- hspec-expectations-0.8.2
- hspec-smallcheck-0.4.1
- http-api-data-0.3.5
- http-client-0.5.5
- http-client-tls-0.3.3.1
- http-conduit-2.2.3
- http-types-0.9.1
- ieee754-0.7.9
- integer-gmp-1.0.0.1
- lifted-async-0.9.1
- lifted-base-0.2.3.8
- logict-0.6.0.2
- memory-0.14
- microlens-0.4.7.0
- mime-types-0.1.0.7
- mmorph-1.0.9
- monad-control-1.0.1.0
- monad-logger-0.3.20.1
- monad-loops-0.4.3
- monad-unlift-0.2.0
- mono-traversable-1.0.1.1
- mtl-2.2.1
- network-2.6.3.1
- network-uri-2.6.1.0
- old-locale-1.0.0.7
- old-time-1.1.0.3
- open-browser-0.2.1.0
- optparse-applicative-0.13.0.0
- optparse-simple-0.0.3
- parsec-3.1.11
- path-0.5.11
- path-io-1.2.2
- path-pieces-0.2.1
- patience-0.1.1
- pem-0.2.2
- persistent-2.6
- persistent-sqlite-2.6
- persistent-template-2.5.1.6
- pid1-0.1.0.1
- prelude-extras-0.4.0.3
- pretty-1.1.3.3
- primitive-0.6.1.0
- process-1.4.2.0
- profunctors-5.2
- project-template-0.2.0
- quickcheck-io-0.1.4
- random-1.1
- regex-applicative-0.3.3
- regex-applicative-text-0.1.0.1
- resource-pool-0.2.3.2
- resourcet-1.1.9
- retry-0.7.4.2
- rts-1.0
- safe-0.3.11
- safe-exceptions-0.1.4.0
- scientific-0.3.4.9
- semigroupoids-5.1
- semigroups-0.18.2
- setenv-0.1.1.3
- silently-1.2.5
- smallcheck-1.1.1
- socks-0.5.5
- split-0.2.3.1
- stm-2.4.4.1
- stm-chans-3.0.0.4
- store-0.3
- store-core-0.3
- streaming-commons-0.1.17
- syb-0.6
- system-fileio-0.3.16.3
- system-filepath-0.4.13.4
- tagged-0.8.5
- tar-0.5.0.3
- template-haskell-2.11.0.0
- temporary-1.2.0.4
- text-1.2.2.1
- text-binary-0.2.1.1
- text-metrics-0.2.0
- tf-random-0.5
- th-expand-syns-0.4.2.0
- th-lift-0.7.6
- th-lift-instances-0.1.11
- th-orphans-0.13.3
- th-reify-many-0.1.6
- th-utilities-0.2.0.1
- time-1.6.0.1
- time-locale-compat-0.1.1.3
- tls-1.3.9
- transformers-0.5.2.0
- transformers-base-0.4.4
- transformers-compat-0.5.1.4
- unexceptionalio-0.3.0
- unicode-transforms-0.2.1
- unix-2.7.2.0
- unix-compat-0.4.3.1
- unix-time-0.3.7
- unordered-containers-0.2.7.2
- uri-bytestring-0.2.2.1
- utf8-string-1.0.1.1
- uuid-types-1.0.3
- vector-0.11.0.0
- vector-algorithms-0.7.0.1
- vector-binary-instances-0.2.3.4
- void-0.7.1
- x509-1.6.5
- x509-store-1.6.2
- x509-system-1.6.4
- x509-validation-1.6.5
- yaml-0.8.21.1
- zip-archive-0.3.0.5
- zlib-0.6.1.2
- zlib-bindings-0.1.1.5
2017-01-30 19:43:15.759454: [debug] Checking for project config at: /home/suzumiya/stack.yaml
@(Stack/Config.hs:863:9)
2017-01-30 19:43:15.759977: [debug] Checking for project config at: /home/stack.yaml
@(Stack/Config.hs:863:9)
2017-01-30 19:43:15.760139: [debug] Checking for project config at: /stack.yaml
@(Stack/Config.hs:863:9)
2017-01-30 19:43:15.760278: [debug] No project config file found, using defaults.
@(Stack/Config.hs:885:13)
2017-01-30 19:43:15.768047: [debug] Run from outside a project, using implicit global project config
@(Stack/Config.hs:464:13)
2017-01-30 19:43:15.769112: [debug] Using resolver: lts-7.18 from implicit global project's config file: /home/suzumiya/.stack/global-project/stack.yaml
@(Stack/Config.hs:478:32)
2017-01-30 19:43:15.769413: [debug] Trying to decode /home/suzumiya/.stack/build-plan-cache/x86_64-linux/lts-7.18.cache
@(Data/Store/VersionTagged.hs:68:5)
2017-01-30 19:43:15.783271: [debug] Success decoding /home/suzumiya/.stack/build-plan-cache/x86_64-linux/lts-7.18.cache
@(Data/Store/VersionTagged.hs:72:13)
2017-01-30 19:43:15.807020: [debug] Run process: /sbin/ldconfig -p
@(System/Process/Read.hs:306:3)
2017-01-30 19:43:15.811417: [debug] Process finished in 4ms: /sbin/ldconfig -p
@(System/Process/Read.hs:306:3)
2017-01-30 19:43:15.812074: [debug] Run process: /usr/bin/gcc -v
@(System/Process/Read.hs:306:3)
2017-01-30 19:43:15.814212: [debug] Process finished in 1ms: /usr/bin/gcc -v
@(System/Process/Read.hs:306:3)
2017-01-30 19:43:15.814849: [debug] PIE enabled
@(Stack/Setup.hs:574:17)
2017-01-30 19:43:15.816948: [debug] Did not find shared library libtinfo.so.5
@(Stack/Setup.hs:564:38)
2017-01-30 19:43:15.817373: [debug] Did not find shared library libtinfo.so.6
@(Stack/Setup.hs:564:38)
2017-01-30 19:43:15.817570: [debug] Found shared library libncursesw.so.6 in 'ldconfig -p' output
@(Stack/Setup.hs:550:29)
2017-01-30 19:43:15.817762: [debug] Found shared library libgmp.so.10 in 'ldconfig -p' output
@(Stack/Setup.hs:550:29)
2017-01-30 19:43:15.818056: [debug] Did not find shared library libgmp.so.3
@(Stack/Setup.hs:564:38)
2017-01-30 19:43:15.818220: [debug] Using ncurses6 GHC build
@(Stack/Setup.hs:600:9)
2017-01-30 19:43:15.830396: [debug] Getting global package database location
@(Stack/GhcPkg.hs:55:5)
2017-01-30 19:43:15.833333: [debug] Asking GHC for its version
@(Stack/Setup/Installed.hs:103:13)
2017-01-30 19:43:15.833807: [debug] Getting Cabal package version
@(Stack/GhcPkg.hs:189:5)
2017-01-30 19:43:15.833975: [debug] Run process: /home/suzumiya/.stack/programs/x86_64-linux/ghc-ncurses6-8.0.1/bin/ghc-pkg --no-user-package-db list --global
@(System/Process/Read.hs:306:3)
2017-01-30 19:43:15.836559: [debug] Run process: /home/suzumiya/.stack/programs/x86_64-linux/ghc-ncurses6-8.0.1/bin/ghc --numeric-version
@(System/Process/Read.hs:306:3)
2017-01-30 19:43:15.839088: [debug] Run process: /home/suzumiya/.stack/programs/x86_64-linux/ghc-ncurses6-8.0.1/bin/ghc-pkg --no-user-package-db field --simple-output Cabal version
@(System/Process/Read.hs:306:3)
2017-01-30 19:43:15.908432: [debug] Process finished in 66ms: /home/suzumiya/.stack/programs/x86_64-linux/ghc-ncurses6-8.0.1/bin/ghc-pkg --no-user-package-db field --simple-output Cabal version
@(System/Process/Read.hs:306:3)
2017-01-30 19:43:15.943582: [debug] Process finished in 109ms: /home/suzumiya/.stack/programs/x86_64-linux/ghc-ncurses6-8.0.1/bin/ghc-pkg --no-user-package-db list --global
@(System/Process/Read.hs:306:3)
2017-01-30 19:43:15.981260: [debug] Process finished in 142ms: /home/suzumiya/.stack/programs/x86_64-linux/ghc-ncurses6-8.0.1/bin/ghc --numeric-version
@(System/Process/Read.hs:306:3)
2017-01-30 19:43:15.981640: [debug] Resolving package entries
@(Stack/Setup.hs:252:5)
2017-01-30 19:43:15.982926: [debug] Starting to execute command inside EnvConfig
@(Stack/Runners.hs:163:18)
2017-01-30 19:43:15.983190: [debug] Parsing the cabal files of the local packages
@(Stack/Build/Source.hs:298:5)
2017-01-30 19:43:15.983322: [debug] Parsing the targets
@(Stack/Build/Source.hs:235:5)
2017-01-30 19:43:15.983505: [debug] Finding out which packages are already installed
@(Stack/Build/Installed.hs:68:5)
2017-01-30 19:43:15.983970: [debug] Run process: /home/suzumiya/.stack/programs/x86_64-linux/ghc-ncurses6-8.0.1/bin/ghc-pkg --global --no-user-package-db dump --expand-pkgroot
@(System/Process/Read.hs:306:3)
2017-01-30 19:43:16.045432: [debug] Process finished in 61ms: /home/suzumiya/.stack/programs/x86_64-linux/ghc-ncurses6-8.0.1/bin/ghc-pkg --global --no-user-package-db dump --expand-pkgroot
@(System/Process/Read.hs:306:3)
2017-01-30 19:43:16.069883: [debug] Ignoring package haskeline due to wanting version 0.7.3.0 instead of 0.7.2.3
@(Stack/Build/Installed.hs:191:5)
2017-01-30 19:43:16.070184: [debug] Ignoring package Cabal due to wanting version 1.24.2.0 instead of 1.24.0.0
@(Stack/Build/Installed.hs:191:5)
2017-01-30 19:43:16.070511: [debug] Run process: /home/suzumiya/.stack/programs/x86_64-linux/ghc-ncurses6-8.0.1/bin/ghc-pkg --user --no-user-package-db --package-db /home/suzumiya/.stack/snapshots/x86_64-linux-ncurses6/lts-7.18/8.0.1/pkgdb dump --expand-pkgroot
@(System/Process/Read.hs:306:3)
2017-01-30 19:43:16.137950: [debug] Process finished in 67ms: /home/suzumiya/.stack/programs/x86_64-linux/ghc-ncurses6-8.0.1/bin/ghc-pkg --user --no-user-package-db --package-db /home/suzumiya/.stack/snapshots/x86_64-linux-ncurses6/lts-7.18/8.0.1/pkgdb dump --expand-pkgroot
@(System/Process/Read.hs:306:3)
2017-01-30 19:43:16.138582: [debug] Run process: /home/suzumiya/.stack/programs/x86_64-linux/ghc-ncurses6-8.0.1/bin/ghc-pkg --user --no-user-package-db --package-db /home/suzumiya/.stack/global-project/.stack-work/install/x86_64-linux-ncurses6/lts-7.18/8.0.1/pkgdb dump --expand-pkgroot
@(System/Process/Read.hs:306:3)
2017-01-30 19:43:16.178161: [debug] Process finished in 39ms: /home/suzumiya/.stack/programs/x86_64-linux/ghc-ncurses6-8.0.1/bin/ghc-pkg --user --no-user-package-db --package-db /home/suzumiya/.stack/global-project/.stack-work/install/x86_64-linux-ncurses6/lts-7.18/8.0.1/pkgdb dump --expand-pkgroot
@(System/Process/Read.hs:306:3)
2017-01-30 19:43:16.179668: [debug] Trying to decode /home/suzumiya/.stack/indices/Hackage/00-index.cache
@(Data/Store/VersionTagged.hs:68:5)
2017-01-30 19:43:16.382636: [debug] Success decoding /home/suzumiya/.stack/indices/Hackage/00-index.cache
@(Data/Store/VersionTagged.hs:72:13)
2017-01-30 19:43:16.549706: [debug] Constructing the build plan
@(Stack/Build/ConstructPlan.hs:159:5)
2017-01-30 19:43:16.552510: [debug] Checking if we are going to build multiple executables with the same name
@(Stack/Build.hs:196:5)
2017-01-30 19:43:16.552797: [debug] Executing the build plan
@(Stack/Build/Execute.hs:454:5)
2017-01-30 19:43:16.553846: [debug] Getting global package database location
@(Stack/GhcPkg.hs:55:5)
2017-01-30 19:43:16.554005: [debug] Run process: /home/suzumiya/.stack/programs/x86_64-linux/ghc-ncurses6-8.0.1/bin/ghc-pkg --no-user-package-db list --global
@(System/Process/Read.hs:306:3)
2017-01-30 19:43:16.591687: [debug] Process finished in 37ms: /home/suzumiya/.stack/programs/x86_64-linux/ghc-ncurses6-8.0.1/bin/ghc-pkg --no-user-package-db list --global
@(System/Process/Read.hs:306:3)
2017-01-30 19:43:16.596523: [debug] Exception ignored when attempting to load /tmp/stack2527/X11-xft-0.3.1/.stack-work/dist/x86_64-linux-ncurses6/Cabal-1.24.0.0/stack-config-cache: /tmp/stack2527/X11-xft-0.3.1/.stack-work/dist/x86_64-linux-ncurses6/Cabal-1.24.0.0/stack-config-cache: openBinaryFile: does not exist (No such file or directory)
@(Data/Store/VersionTagged.hs:86:9)
2017-01-30 19:43:16.596963: [debug] Exception ignored when attempting to load /tmp/stack2527/X11-xft-0.3.1/.stack-work/dist/x86_64-linux-ncurses6/Cabal-1.24.0.0/stack-cabal-mod: /tmp/stack2527/X11-xft-0.3.1/.stack-work/dist/x86_64-linux-ncurses6/Cabal-1.24.0.0/stack-cabal-mod: openBinaryFile: does not exist (No such file or directory)
@(Data/Store/VersionTagged.hs:86:9)
2017-01-30 19:43:16.597160: [info] X11-xft-0.3.1: configure
@(Stack/Build/Execute.hs:826:23)
2017-01-30 19:43:16.597834: [debug] Run process: /home/suzumiya/.stack/setup-exe-cache/x86_64-linux-ncurses6/Cabal-simple_mPHDZzAJ_1.24.0.0_ghc-8.0.1 --builddir=.stack-work/dist/x86_64-linux-ncurses6/Cabal-1.24.0.0 configure --with-ghc=/home/suzumiya/.stack/programs/x86_64-linux/ghc-ncurses6-8.0.1/bin/ghc --with-ghc-pkg=/home/suzumiya/.stack/programs/x86_64-linux/ghc-ncurses6-8.0.1/bin/ghc-pkg --user --package-db=clear --package-db=global --package-db=/home/suzumiya/.stack/snapshots/x86_64-linux-ncurses6/lts-7.18/8.0.1/pkgdb --package-db=/home/suzumiya/.stack/global-project/.stack-work/install/x86_64-linux-ncurses6/lts-7.18/8.0.1/pkgdb --libdir=/home/suzumiya/.stack/global-project/.stack-work/install/x86_64-linux-ncurses6/lts-7.18/8.0.1/lib --bindir=/home/suzumiya/.stack/global-project/.stack-work/install/x86_64-linux-ncurses6/lts-7.18/8.0.1/bin --datadir=/home/suzumiya/.stack/global-project/.stack-work/install/x86_64-linux-ncurses6/lts-7.18/8.0.1/share --libexecdir=/home/suzumiya/.stack/global-project/.stack-work/install/x86_64-linux-ncurses6/lts-7.18/8.0.1/libexec --sysconfdir=/home/suzumiya/.stack/global-project/.stack-work/install/x86_64-linux-ncurses6/lts-7.18/8.0.1/etc --docdir=/home/suzumiya/.stack/global-project/.stack-work/install/x86_64-linux-ncurses6/lts-7.18/8.0.1/doc/X11-xft-0.3.1 --htmldir=/home/suzumiya/.stack/global-project/.stack-work/install/x86_64-linux-ncurses6/lts-7.18/8.0.1/doc/X11-xft-0.3.1 --haddockdir=/home/suzumiya/.stack/global-project/.stack-work/install/x86_64-linux-ncurses6/lts-7.18/8.0.1/doc/X11-xft-0.3.1 --dependency=X11=X11-1.6.1.2-22TNurK7nbm9YWNib5sChe --dependency=base=base-4.9.0.0 --dependency=utf8-string=utf8-string-1.0.1.1-2T8mBCuEDlXDo8zed8Onw4
@(System/Process/Read.hs:340:3)
-- While building package X11-xft-0.3.1 using:
/home/suzumiya/.stack/setup-exe-cache/x86_64-linux-ncurses6/Cabal-simple_mPHDZzAJ_1.24.0.0_ghc-8.0.1 --builddir=.stack-work/dist/x86_64-linux-ncurses6/Cabal-1.24.0.0 configure --with-ghc=/home/suzumiya/.stack/programs/x86_64-linux/ghc-ncurses6-8.0.1/bin/ghc --with-ghc-pkg=/home/suzumiya/.stack/programs/x86_64-linux/ghc-ncurses6-8.0.1/bin/ghc-pkg --user --package-db=clear --package-db=global --package-db=/home/suzumiya/.stack/snapshots/x86_64-linux-ncurses6/lts-7.18/8.0.1/pkgdb --package-db=/home/suzumiya/.stack/global-project/.stack-work/install/x86_64-linux-ncurses6/lts-7.18/8.0.1/pkgdb --libdir=/home/suzumiya/.stack/global-project/.stack-work/install/x86_64-linux-ncurses6/lts-7.18/8.0.1/lib --bindir=/home/suzumiya/.stack/global-project/.stack-work/install/x86_64-linux-ncurses6/lts-7.18/8.0.1/bin --datadir=/home/suzumiya/.stack/global-project/.stack-work/install/x86_64-linux-ncurses6/lts-7.18/8.0.1/share --libexecdir=/home/suzumiya/.stack/global-project/.stack-work/install/x86_64-linux-ncurses6/lts-7.18/8.0.1/libexec --sysconfdir=/home/suzumiya/.stack/global-project/.stack-work/install/x86_64-linux-ncurses6/lts-7.18/8.0.1/etc --docdir=/home/suzumiya/.stack/global-project/.stack-work/install/x86_64-linux-ncurses6/lts-7.18/8.0.1/doc/X11-xft-0.3.1 --htmldir=/home/suzumiya/.stack/global-project/.stack-work/install/x86_64-linux-ncurses6/lts-7.18/8.0.1/doc/X11-xft-0.3.1 --haddockdir=/home/suzumiya/.stack/global-project/.stack-work/install/x86_64-linux-ncurses6/lts-7.18/8.0.1/doc/X11-xft-0.3.1 --dependency=X11=X11-1.6.1.2-22TNurK7nbm9YWNib5sChe --dependency=base=base-4.9.0.0 --dependency=utf8-string=utf8-string-1.0.1.1-2T8mBCuEDlXDo8zed8Onw4
Process exited with code: ExitFailure 1
Logs have been written to: /home/suzumiya/.stack/global-project/.stack-work/logs/X11-xft-0.3.1.log
Configuring X11-xft-0.3.1...
Cabal-simple_mPHDZzAJ_1.24.0.0_ghc-8.0.1: Missing dependency on a foreign
library:
* Missing C library: Xft
This problem can usually be solved by installing the system package that
provides this library (you may need the "-dev" version). If the library is
already installed but in a non-standard location then you can use the flags
--extra-include-dirs= and --extra-lib-dirs= to specify where it is.
<小时/>
我已经解决了。这只是由于使用旧 harfbuzz 的旧版本 freetype2 包被破坏造成的。这根本与堆栈构建无关。
最佳答案
升级freetype2。这只是由于使用旧的 harfbuzz 的旧版本 freetype2 包被破坏造成的。
关于Haskell 堆栈 : Missing C library Xft when using stack building X11-xft?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41943494/
我看过有关 CocoaPods 的指南,建议像这样导入所需的 pod 的库 header : #import 在哪里Library是库的名称(例如 #import )。 我还看到指南建议像这样导入
我正在尝试创建一个包含其他库的 PHP 库,我敢打赌我遗漏了一些基本的东西。 使用 AWS PHP SDK作为指南,我想创建一个库,在使用 Composer 安装后,它需要其他库,但是类的整个范围(包
我正在为 Android 产品开发我的 gradle 版本,以使产品风格正常工作。 我有以下项目结构: at.mkw.inlocs.android - Library Project at.mkw.i
使用@testing-library/react-hooks 我过去常常通过initialProps 传递模拟存储,正如Advanced Hooks 中提到的那样文档。假设我有一个代码: import
我试图获得一个静态链接到我的程序的音频库。我用 this灵活的包。为了让它运行,我必须按照描述构建 soloud 库 here .下载后不久,我在“build”文件夹中运行了“genie --with
我刚刚安装了 zkcm library在我的 kubuntu 机器上,我在编译 C++ 代码时遇到了问题。 我已经安装了 gmp 和 mpfr 库并检查它们是否工作;代码 mpfr_t m1, m2,
我正在尝试编译我的 native 代码。这是我的 android.mk 文件 //part1-static lib LOCAL_PATH := $(call my-dir) include $(CLE
我正在开发一个带有沙丘的大型图书馆。让我们调用这个库L . 为了避免造成大困惑,沙丘项目有许多较小的库:A , B , C , ... 这些库相互依赖。 我希望用户能够 opam install L
在 unix 之上使用 C 语言工作,我正在加载和使用共享库,如下所示: ... handle = dlopen("nameOfLib"); ... libInit(); ... libGoToSta
我试图找出一种更简单的方法来为XCode中的链接器构建阶段复制/同步框架列表。我知道我可以在Xcode中复制目标,但这是用于创建新的Cocoa Touch Unit Testing Bundle目标。
例如/lib/的描述是它包含系统的共享库文件。 图书馆到底是什么?我们谈论的库文件是否类似于在 C 中导入库?库文件中包含什么以及它们的用途是什么? 它与.dll 有什么关系 最佳答案 库只是一个代码
我有这样的目录结构 . --compile_c.sh --compile_java.sh --config.sh --execute_java.sh --run.sh --src --ccode
我正在更新一些 Makefile 以从 Make 3.81 移动到 3.82。在多个地方,原作者使用了类似这样的东西来构建静态库: all: lib$(library).a($objects) 这似乎
我是 Rust 的新手,正在尝试了解 Cargo 的东西。我在他们的常见问题解答中读到关于 "why do binaries have Cargo.lock in version control, b
我正在尝试使用 Microsoft Enterprise Library 中的 DatabaseFactory 方法。 using Microsoft.Practices.EnterpriseLibr
我刚刚升级到Xcode 5.1,突然出现一个新警告: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctool
然后新的Enterprise Library 6出来了,可以是downloaded here .我已将 EnterpriseLibrary6-binaries.exe 下载并解压缩到我的 C: 驱动器
我正在尝试将 native 库与我的 Eclipse 插件捆绑在一起。当我提供库的路径时 -Djava.library.path ,它完美无缺。 但是,当我将它添加到 MANIFEST.MF 中时文件
在我的 Android Studio 项目中,我有两个子项目/模块:一个 Android 应用程序(App1)和一个 Android 库项目(LibraryProject1)。 App1取决于 Lib
我最近使用 Google 的 Closure 编译器创建了一个 JavaScript 库:https://github.com/bvaughn/task-runner 我打算让这个库供那些也需要完整闭
我是一名优秀的程序员,十分优秀!