-
Notifications
You must be signed in to change notification settings - Fork 131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compilation error on 'unknown-linux' #181
Comments
I'm not familiar with travis but make sure you have development headers for dbus installed. In Debian/Ubuntu based distributions, this means installing the package |
Here are instructions on how to install dependencies: https://docs.travis-ci.com/user/installing-dependencies It seems like Travis is running some Ubuntu version rather than "unknown-linux"? |
Hey, thank you. It compiles successfully on But it is not compiling for
Output:
OS:
|
I have not done cross compilation myself but according to this comment: #134 (comment) ...a workaround is possibly to set |
Ty, After After dozens of tries, i am getting this error: Env:
before_install:
|
Let's try without pkg-config instead. Could you try putting something like this in your
...replace See https://doc.rust-lang.org/cargo/reference/build-scripts.html#overriding-build-scripts Also if you get this to work could you help me documenting it for the next person who wants to cross compile dbus-rs? |
Also there is a reddit thread here: https://www.reddit.com/r/rust/comments/bn0xn1/trying_to_cross_compile_for_32_bit_system_from_64/ |
@diwic No, I am not that person. :) I tried what you said. And now I am getting this:
Is my
Should I just use Project: https://github.com/Dentrax/Netlyser This bug bothers me now and I don't want to challenge it anymore. :( |
I am trying to build the project on Travis. But unknown-linux distributions won't compiling.
Error:
How can i fix this problem on Travis? @diwic
Thank you!
The text was updated successfully, but these errors were encountered: