You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
zmant@zmant-PC:~/Projects/rust_demo$ cargo build
Compiling servo-fontconfig-sys v4.0.7
error: failed to run custom build command for `servo-fontconfig-sys v4.0.7`
process didn't exit successfully: `/home/zmant/Projects/rust_demo/target/debug/build/servo-fontconfig-sys-ab35303d25e9c957/build-script-build` (exit code: 101)
--- stdout
cd /home/zmant/Projects/rust_demo/target/debug/build/servo-fontconfig-sys-d6a6c48eec147b8b/out && \
CC="gcc" \
AR="ar" \
FREETYPE_CFLAGS="" \
FREETYPE_LIBS="" \
CFLAGS=""" -fPIC" \
/home/zmant/.cargo/registry/src/code.aliyun.com-738b7dba08a2a41e/servo-fontconfig-sys-4.0.7/configure \
--disable-docs \
--disable-shared \
\
--host=x86_64-unknown-linux-gnu --sysconfdir=/etc --localstatedir=/var
.........
checking for FT_Bitmap_Size.y_ppem... yes
checking for EXPAT... no
checking expat.h usability... no
checking expat.h presence... no
checking for expat.h... no
checking xmlparse.h usability... no
checking xmlparse.h presence... no
checking for xmlparse.h... no
makefile.cargo:83: recipe for target '/home/zmant/Projects/rust_demo/target/debug/build/servo-fontconfig-sys-d6a6c48eec147b8b/out/Makefile' failed
--- stderr
configure: error:
*** expat is required. or try to use --enable-libxml2
make: *** [/home/zmant/Projects/rust_demo/target/debug/build/servo-fontconfig-sys-d6a6c48eec147b8b/out/Makefile] Error 1
thread 'main' panicked at 'assertion failed: Command::new("make").env("MAKEFLAGS",
env::var("CARGO_MAKEFLAGS").unwrap_or_default()).args(&["-R",
"-f",
"makefile.cargo"]).status().unwrap().success()', /home/zmant/.cargo/registry/src/code.aliyun.com-738b7dba08a2a41e/servo-fontconfig-sys-4.0.7/build.rs:20:5
note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
The dependencies:
zmant@zmant-PC:~/Projects/rust_demo$ cat Cargo.toml
[package]
name = "rust_demo"
version = "0.1.0"
authors = ["zmant"]
edition = "2018"
[dependencies]
plotters = "0.2"
Did I miss something?
The text was updated successfully, but these errors were encountered:
Can't build the example, as following:
The dependencies:
Did I miss something?
The text was updated successfully, but these errors were encountered: