- 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/
出于好奇 - 我知道有 LAMP - Linux、Apache、MySQL 和 PHP。但是还有哪些其他 Web 堆栈替代方案的缩写呢?像 LAMR - Linux、Apache、MySQL Ruby
我有以下代码。 var stackMapIn = []; var stackMapOut = []; var stackBack = []; stackMapOut.push("m1"); $scop
我遇到了导致我的堆栈无法恢复的情况,我别无选择,只能将其删除。使用完全相同的模板,我继续创建了另一个同名的堆栈。 The following resource(s) failed to create:
这是我第一次查看 Node 堆栈,自从我学习使用 Ruby on Rails 进行 Web 开发以来,我对一些基本的东西有点困惑。我了解 Rails 目录是什么样的。 demo/ ..../app .
本文实例讲述了C语言使用深度优先搜索算法解决迷宫问题。分享给大家供大家参考,具体如下: 深度优先搜索 伪代码 (Pseudocode)如下: ?
我正在按照指南 here ,它告诉我: The stack setup will download the compiler if necessary in an isolatedlocation (
同时 trying to debug a different question ,我安装了一个似乎与我安装的其他一些软件包冲突的软件包。 我跑了 $ stack install regex-pcre-
我花了几个小时创建了一个方法,该方法将从堆栈 s1 中获取 null 元素,并将它们放入 s2 中。然后该类应该打印堆栈。方法如下 import net.datastructures.ArraySta
我有一个类Floor,它有一个Stack block ,但我不知道如何初始化它。我曾尝试过这样的: public class Floor { private Stack stack;
我知道这个问题已经问过很多次了,但搜索一个小时后我仍然遇到问题。 我想使用一个 lifo 堆栈,它可以存储最大数量的元素。达到最大数量后,首先删除该元素并将其替换为新元素,这样在第一次弹出时我可以获取
我需要编写一个方法,压缩以执行以下操作; 目标compress方法是从栈s1中移除所有null元素。剩余(非空)元素应按其初始顺序保留在 s1 上。辅助堆栈 s2 应用作s1 中元素的临时存储。在该方
我正在尝试验证以下代码发生的顺序。 function square(n) { return n * n; } setTimeout(function(){ console.log("H
我需要一个字符数组,其中包含基于特定文件夹中文件数量的动态数量的字符数组。我能够通过初始化 char (*FullPathNames)[MAX_FILENAME_AND_PATHNAME_LENGTH
我正在编写一些日志逻辑并想要进行一些缩进。了解是否存在任何函数调用或某个函数是否已完成的最简单方法是查看堆栈/帧的当前地址。让我们假设堆栈颠倒增长。然后,如果 log() 调用中的堆栈地址小于前一次调
所以内存分段在x86-64中被放弃了,但是当我们使用汇编时,我们可以在代码中指定.code和.data段/段,并且还有堆栈指针寄存器。 还有堆栈段、数据段和代码段寄存器。 代码/数据/堆栈的划分是如何
void main() { int x = 5; // stack-allocated Console.WriteLine(x); } 我知道 x 是堆栈分配的。但是关于 x 的堆栈中
这是我关于 SO 的第一个问题。这可能是一个愚蠢的问题,但到目前为止我还没弄明白。 考虑下面的程序 Reader.java: public class Reader { public
java中有没有一种快速的方法来获取嵌套/递归级别? 我正在编写一个函数来创建组及其成员的列表。成员也可以是团体。我们最终可能会得到一组循环的组/成员。 我想在某个任意级别停止。 我知道我可以将变量保
考虑以下代码: struct A{...}; A a[100]; A* pa = new A[100]; delete[] pa; a/pa 元素的销毁顺序是由标准定义的还是实现定义的(对于第二种情况
我在下面有一些代码。此代码是一个基本的压入/弹出堆栈类,我将其创建为模板以允许某人压入/弹出堆栈。我有一个家庭作业,我现在要做的是创建一个具有多个值的堆栈。 所以我希望能够创建一个基本上可以发送三个整
我是一名优秀的程序员,十分优秀!