servo / pathfinder

A fast, practical GPU rasterizer for fonts and vector graphics
Apache License 2.0
3.62k stars 207 forks source link

fontsan fails to compile #39

Closed mbebenita closed 7 years ago

mbebenita commented 7 years ago
OSX: `10.12.6`
cargo 0.23.0-nightly (e447ac7e9 2017-09-27)
rustc 1.22.0-nightly (4c053db23 2017-10-22)

When running:

cargo run --release

I get:

   Compiling num-traits v0.1.40
   Compiling pear_codegen v0.0.10
   Compiling lazy_static v0.2.9
   Compiling utf8-ranges v1.0.0
   Compiling yansi v0.3.4
   Compiling untrusted v0.5.1
   Compiling odds v0.2.25
   Compiling quote v0.3.15
   Compiling httparse v1.2.3
   Compiling serde v1.0.16
   Compiling libc v0.2.32
   Compiling rustc-serialize v0.3.24
   Compiling dtoa v0.4.2
   Compiling typeable v0.1.2
   Compiling gcc v0.3.54
   Compiling core-foundation-sys v0.4.4
   Compiling futures v0.1.16
   Compiling regex-syntax v0.4.1
   Compiling matches v0.1.6
   Compiling traitobject v0.1.0
   Compiling version_check v0.1.3
   Compiling bitflags v1.0.0
   Compiling void v1.0.2
   Compiling log v0.3.8
   Compiling unicode-normalization v0.1.5
   Compiling state v0.3.2
   Compiling half v1.0.1
   Compiling bit-vec v0.4.4
   Compiling safemem v0.2.0
   Compiling ordermap v0.2.13
   Compiling language-tags v0.2.2
   Compiling either v1.3.0
   Compiling heapsize v0.4.1
   Compiling itoa v0.3.4
   Compiling rayon-core v1.2.1
   Compiling percent-encoding v1.0.0
   Compiling linked-hash-map v0.4.2
   Compiling smallvec v0.4.4
   Compiling cc v1.0.2
   Compiling scopeguard v0.3.3
   Compiling foreign-types v0.3.0
   Compiling unicode-xid v0.0.4
   Compiling pear v0.0.10
   Compiling byteorder v1.1.0
   Compiling nodrop v0.1.11
   Compiling memchr v1.0.2
   Compiling isatty v0.1.5
   Compiling num_cpus v1.7.0
   Compiling time v0.1.38
   Compiling rand v0.3.17
   Compiling unicode-bidi v0.3.4
   Compiling unreachable v1.0.0
   Compiling mime v0.2.6
   Compiling unicase v1.4.2
   Compiling rocket_codegen v0.3.3
   Compiling rocket v0.3.3
   Compiling lru-cache v0.1.1
   Compiling coco v0.1.1
   Compiling synom v0.11.3
   Compiling base64 v0.6.0
   Compiling arrayvec v0.4.4
   Compiling aho-corasick v0.6.3
   Compiling thread_local v0.3.4
   Compiling bincode v0.8.0
   Compiling serde_json v1.0.4
   Compiling toml v0.4.5
   Compiling idna v0.1.4
   Compiling syn v0.11.11
   Compiling miniz-sys v0.1.10
   Compiling cmake v0.1.26
   Compiling core-foundation v0.4.4
   Compiling app_units v0.5.6
   Compiling euclid v0.15.4
   Compiling regex v0.2.2
   Compiling core-graphics v0.11.0
   Compiling rayon v0.7.1
   Compiling url v1.5.1
   Compiling fontsan v0.4.0 (https://github.com/servo/fontsan.git#29e879c8)
   Compiling core-text v7.0.0 (https://github.com/servo/core-text-rs.git#c9c689be)
error: failed to run custom build command for `fontsan v0.4.0 (https://github.com/servo/fontsan.git#29e879c8)`
process didn't exit successfully: `/Users/mbebenita/Workspace/pathfinder/demo/server/target/release/build/fontsan-b8694d5e7558edaa/build-script-build` (exit code: 101)
--- stdout
running: "cmake" "/Users/mbebenita/.cargo/git/checkouts/fontsan-75864180be477bc9/29e879c/src" "-DCMAKE_INSTALL_PREFIX=/Users/mbebenita/Workspace/pathfinder/demo/server/target/release/build/fontsan-dacfa508ca9b7c68/out" "-DCMAKE_C_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_C_COMPILER=/usr/bin/cc" "-DCMAKE_CXX_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_CXX_COMPILER=/usr/bin/c++" "-DCMAKE_BUILD_TYPE=Release"

--- stderr
thread 'main' panicked at '
failed to execute command: No such file or directory (os error 2)
is `cmake` not installed?

build script failed, must exit now', /Users/mbebenita/.cargo/registry/src/github.com-1ecc6299db9ec823/cmake-0.1.26/src/lib.rs:599:4
note: Run with `RUST_BACKTRACE=1` for a backtrace.

warning: build failed, waiting for other jobs to finish...
error: build failed
mbebenita commented 7 years ago

Never mind, I was missing CMake.