Skip to content
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

Error occurred during installation on ubuntu system #7999

Closed
Ekko-G0d opened this issue May 9, 2024 · 1 comment
Closed

Error occurred during installation on ubuntu system #7999

Ekko-G0d opened this issue May 9, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Ekko-G0d
Copy link

Ekko-G0d commented May 9, 2024

Bug Description

error: failed to run custom build command for pam-sys v1.0.0-alpha4

Caused by:
process didn't exit successfully: /home/ekko/myappdata/rustdesk/rustdesk/rustdesk/target/debug/build/pam-sys-8f2e6b1acacb4aab/build-script-build (exit status: 101)
--- stdout
cargo:rustc-link-lib=pam
cargo:rustc-link-lib=pam_misc
cargo:rerun-if-changed=wrapper.h

--- stderr
wrapper.h:1:10: fatal error: 'security/pam_appl.h' file not found
wrapper.h:1:10: fatal error: 'security/pam_appl.h' file not found, err: true
thread 'main' panicked at /home/ekko/.cargo/registry/src/index.crates.io-6f17d22bba15001f/pam-sys-1.0.0-alpha4/build.rs:69:10:
Unable to generate bindings: ()
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...

How to Reproduce

When executing the build command:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source $HOME/.cargo/env
git clone https://github.com/rustdesk/rustdesk
cd rustdesk
mkdir -p target/debug
wget https://raw.githubusercontent.com/c-smile/sciter-sdk/master/bin.lnx/x64/libsciter-gtk.so
mv libsciter-gtk.so target/debug
VCPKG_ROOT=$HOME/vcpkg cargo run

Expected Behavior

successfully installed rustdesk

Operating system(s) on local side and remote side

ubuntu

RustDesk Version(s) on local side and remote side

1.2.3-2

Screenshots

微信截图_20240510014743

Additional Context

No response

@Ekko-G0d Ekko-G0d added the bug Something isn't working label May 9, 2024
@rustdesk
Copy link
Owner

#763

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants