alexcrichton / alexcrichton/xz2-rs

lzma-sys build fails on OpenSUSE 42

Abierto
#22 1 comentario 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Rust
Estrellas
93
Forks
67
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

I'm very new to rust, trying to build the [AVR Rust fork](https://github.com/avr-rust/rust), and it's failing when building lzma-sys.

I *think* the issue is with this package; if not, could you point me in the right direction? I'm following the instructions to build the compiler and it's failing here:

```
$ make
...
error: could not find native static library `lzma`, perhaps an -L flag is missing?

error: Could not compile `lzma-sys`.
warning: build failed, waiting for other jobs to finish...
error: build failed
...
```

In OpenSUSE, the lib dir defaults to lib64. If I make a symlink, the build can proceed:

```
$ cd ./build/x86_64-unknown-linux-gnu/stage0-tools/x86_64-unknown-linux-gnu/release/build/lzma-sys-b5e13e4c4ffea1be/out
$ ls -l
total 4
drwxr-xr-x 1 alexh users 160 Jan 8 11:40 build
drwxr-xr-x 1 alexh users 20 Jan 8 11:40 include
drwxr-xr-x 1 alexh users 56 Jan 8 11:40 lib64
drwxr-xr-x 1 alexh users 526 Jan 8 11:40 src
$ ln -s lib64 lib
$ cd -
$ make
...
Compiling lzma-sys v0.1.8
...
```

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.