Skip to content

Instantly share code, notes, and snippets.

@redtrumpet
Created May 31, 2017 17:53
Show Gist options
  • Save redtrumpet/65c08383ac1684baf64fcc5605097f91 to your computer and use it in GitHub Desktop.
Save redtrumpet/65c08383ac1684baf64fcc5605097f91 to your computer and use it in GitHub Desktop.
Error installing tectonic
jonas@jonas-elementary:~$ cargo install tectonic
Updating registry `https://github.com/rust-lang/crates.io-index`
Downloading tectonic v0.1.5
Installing tectonic v0.1.5
Downloading clap v2.24.2
Downloading hyper-native-tls v0.2.2
Downloading app_dirs v1.1.1
Downloading lazy_static v0.2.8
Downloading hyper v0.10.11
Downloading zip v0.2.3
Downloading fs2 v0.4.1
Downloading flate2 v0.2.19
Downloading sha2 v0.5.2
Downloading mkstemp-rs v0.0.2
Downloading md-5 v0.4.3
Downloading serde v0.9.15
Downloading serde_derive v0.9.15
Downloading termcolor v0.3.2
Downloading toml v0.3.2
Downloading strsim v0.6.0
Downloading unicode-segmentation v1.2.0
Downloading vec_map v0.8.0
Downloading term_size v0.3.0
Downloading antidote v1.0.0
Downloading native-tls v0.1.2
Downloading httparse v1.2.3
Downloading url v1.4.1
Downloading mime v0.2.6
Downloading unicode-bidi v0.3.3
Downloading podio v0.1.5
Downloading msdos_time v0.1.5
Downloading bzip2 v0.3.2
Downloading bzip2-sys v0.1.5
Downloading gcc v0.3.49
Downloading miniz-sys v0.1.9
Downloading digest v0.5.2
Downloading fake-simd v0.1.2
Downloading generic-array v0.7.2
Downloading digest-buffer v0.3.1
Downloading byte-tools v0.1.3
Downloading typenum v1.5.2
Downloading nodrop v0.1.9
Downloading odds v0.2.25
Downloading backtrace v0.3.2
Downloading cfg-if v0.1.0
Downloading rustc-demangle v0.1.4
Downloading serde_codegen_internals v0.14.2
Downloading quote v0.3.15
Downloading syn v0.11.11
Downloading synom v0.11.3
Downloading pkg-config v0.3.9
Downloading regex v0.2.2
Downloading regex-syntax v0.4.1
Downloading openssl v0.9.13
Downloading bitflags v0.9.1
Downloading openssl-sys v0.9.13
Downloading foreign-types v0.2.0
Downloading xdg v2.1.0
Downloading backtrace-sys v0.1.11
Downloading thread-id v3.1.0
Compiling termcolor v0.3.2
Compiling httparse v1.2.3
Compiling libc v0.2.23
Compiling odds v0.2.25
Compiling language-tags v0.2.2
Compiling vec_map v0.8.0
Compiling unicode-width v0.1.4
Compiling strsim v0.6.0
Compiling bitflags v0.9.1
Compiling openssl v0.9.13
Compiling void v1.0.2
Compiling traitobject v0.1.0
Compiling nodrop v0.1.9
Compiling unicode-normalization v0.1.4
Compiling lazy_static v0.2.8
Compiling unicode-xid v0.0.4
Compiling pkg-config v0.3.9
Compiling regex-syntax v0.4.1
Compiling ansi_term v0.9.0
Compiling atty v0.2.2
Compiling thread-id v3.1.0
Compiling mkstemp-rs v0.0.2
Compiling memchr v1.0.1
Compiling fs2 v0.4.1
Compiling synom v0.11.3
Compiling aho-corasick v0.6.3
Compiling antidote v1.0.0
Compiling unreachable v0.1.1
Compiling typenum v1.5.2
Compiling thread_local v0.3.3
Compiling fake-simd v0.1.2
Compiling typeable v0.1.2
Compiling unicode-segmentation v1.2.0
Compiling num_cpus v1.5.0
Compiling quote v0.3.15
Compiling podio v0.1.5
Compiling cfg-if v0.1.0
Compiling semver v0.1.20
Compiling term_size v0.3.0
Compiling serde v0.9.15
Compiling gcc v0.3.49
Compiling syn v0.11.11
Compiling rustc-demangle v0.1.4
Compiling xdg v2.1.0
Compiling rustc_version v0.1.7
Compiling generic-array v0.7.2
Compiling time v0.1.37
Compiling digest v0.5.2
Compiling utf8-ranges v1.0.0
Compiling hyper v0.10.11
Compiling unicase v1.4.0
Compiling app_dirs v1.1.1
Compiling byte-tools v0.1.3
Compiling digest-buffer v0.3.1
Compiling sha2 v0.5.2
Compiling log v0.3.8
Compiling msdos_time v0.1.5
Compiling byteorder v1.0.0
Compiling md-5 v0.4.3
Compiling mime v0.2.6
Compiling bitflags v0.8.2
Compiling clap v2.24.2
Compiling openssl-sys v0.9.13
Compiling base64 v0.5.2
Compiling backtrace-sys v0.1.11
Compiling miniz-sys v0.1.9
Compiling bzip2-sys v0.1.5
Compiling foreign-types v0.2.0
Compiling toml v0.3.2
Compiling flate2 v0.2.19
Compiling regex v0.2.2
Compiling bzip2 v0.3.2
Compiling matches v0.1.4
Compiling unicode-bidi v0.3.3
Compiling zip v0.2.3
Compiling idna v0.1.2
Compiling serde_codegen_internals v0.14.2
Compiling backtrace v0.3.2
Compiling error-chain v0.7.2
Compiling native-tls v0.1.2
Compiling url v1.4.1
Compiling serde_derive v0.9.15
Compiling tectonic v0.1.5
error: failed to run custom build command for `tectonic v0.1.5`
process didn't exit successfully: `/tmp/cargo-install.9oKPXitf6VDs/release/build/tectonic-75bfbd05e1adfb40/build-script-build` (exit code: 101)
--- stderr
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Failure { command: "\"pkg-config\" \"--libs\" \"--cflags\" \"fontconfig harfbuzz harfbuzz-icu icu-uc freetype2 graphite2 libpng zlib\"", output: Output { status: ExitStatus(ExitStatus(256)), stdout: "", stderr: "Package fontconfig was not found in the pkg-config search path.\nPerhaps you should add the directory containing `fontconfig.pc\'\nto the PKG_CONFIG_PATH environment variable\nNo package \'fontconfig\' found\nPackage harfbuzz was not found in the pkg-config search path.\nPerhaps you should add the directory containing `harfbuzz.pc\'\nto the PKG_CONFIG_PATH environment variable\nNo package \'harfbuzz\' found\nPackage harfbuzz-icu was not found in the pkg-config search path.\nPerhaps you should add the directory containing `harfbuzz-icu.pc\'\nto the PKG_CONFIG_PATH environment variable\nNo package \'harfbuzz-icu\' found\nPackage icu-uc was not found in the pkg-config search path.\nPerhaps you should add the directory containing `icu-uc.pc\'\nto the PKG_CONFIG_PATH environment variable\nNo package \'icu-uc\' found\nPackage freetype2 was not found in the pkg-config search path.\nPerhaps you should add the directory containing `freetype2.pc\'\nto the PKG_CONFIG_PATH environment variable\nNo package \'freetype2\' found\nPackage graphite2 was not found in the pkg-config search path.\nPerhaps you should add the directory containing `graphite2.pc\'\nto the PKG_CONFIG_PATH environment variable\nNo package \'graphite2\' found\nPackage libpng was not found in the pkg-config search path.\nPerhaps you should add the directory containing `libpng.pc\'\nto the PKG_CONFIG_PATH environment variable\nNo package \'libpng\' found\n" } }', /checkout/src/libcore/result.rs:859
note: Run with `RUST_BACKTRACE=1` for a backtrace.
Build failed, waiting for other jobs to finish...
error: failed to compile `tectonic v0.1.5`, intermediate artifacts can be found at `/tmp/cargo-install.9oKPXitf6VDs`
Caused by:
build failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment