jcmoyer / rust-lua53

Lua 5.3 bindings for Rust
MIT License
158 stars 45 forks source link

If the compilation fails, build script does not find `mod glue`. #24

Closed dpc closed 8 years ago

dpc commented 8 years ago

I did not have readline-devel installed, compilation failed. I've installed it, but afterward compilation would by failing on:

/home/dpc/.multirust/toolchains/nightly/cargo/git/checkouts/rust-lua53-337f374af0243c90/master/src/ffi/mod.rs:295:5: 295:9 error: file not found for module `g
lue`
/home/dpc/.multirust/toolchains/nightly/cargo/git/checkouts/rust-lua53-337f374af0243c90/master/src/ffi/mod.rs:295 mod glue;
                                                                                                                      ^~~~
/home/dpc/.multirust/toolchains/nightly/cargo/git/checkouts/rust-lua53-337f374af0243c90/master/src/ffi/mod.rs:295:5: 295:9 help: name the file either glue.rs 
or glue/mod.rs inside the directory "/home/dpc/.multirust/toolchains/nightly/cargo/git/checkouts/rust-lua53-337f374af0243c90/master/src/ffi"

I had to wipe the out directory, and retry, then it worked.