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

[bug] debian 9.13 build error #5684

Closed
cheng990629 opened this issue Nov 24, 2022 · 3 comments · Fixed by #5697
Closed

[bug] debian 9.13 build error #5684

cheng990629 opened this issue Nov 24, 2022 · 3 comments · Fixed by #5697
Labels
platform: Linux status: needs triage This issue needs to triage, applied to new issues type: bug

Comments

@cheng990629
Copy link

Describe the bug

image

Reproduction

No response

Expected behavior

No response

Platform and versions

debian 9.13

Stack trace

No response

Additional context

No response

@cheng990629 cheng990629 added status: needs triage This issue needs to triage, applied to new issues type: bug labels Nov 24, 2022
@FabianLars
Copy link
Member

Please always include the full output of tauri info as required by the template.

Also, try running cargo update in the src-tauri dir, we just released a new wry version which fixes a problem that very likely is related.

@goenning
Copy link
Contributor

Sorry if I'm hijacking this tthread, but I believe it's the same root cause as the error I'm seeing. We had a brief chat about that on discord @FabianLars so I'll just add the details here as well.

  ...
  cargo:warning=`"pkg-config" "--libs" "--cflags" "webkit2gtk-4.0" "webkit2gtk-4.0 >= 2.36"` did not exit successfully: exit status: 1
  error: could not find system library 'webkit2gtk-4.0' required by the 'webkit2gtk-sys' crate

  --- stderr
  Requested 'webkit2gtk-4.0 >= 2.36' but version of WebKitGTK is 2.32.4
  You may find new versions of WebKitGTK at https://webkitgtk.org
npx tauri info
npx tauri info

Environment
› OS: Ubuntu 18.04 X64
› Node.js: 16.17.0
› npm: 8.15.0
› pnpm: Not installed!
› yarn: Not installed!
› rustup: 1.25.1
› rustc: 1.63.0
› cargo: 1.63.0
› Rust toolchain: stable-x86_64-unknown-linux-gnu 

Packages
› @tauri-apps/cli [NPM]: 1.2.0 (outdated, latest: 1.2.1)
› @tauri-apps/api [NPM]: 1.2.0
› tauri [RUST]: 1.2.1,
› tauri-build [RUST]: 1.2.1,
› tao [RUST]: 0.15.6,
› wry [RUST]: 0.22.5,

App
› build-type: bundle
› CSP: unset
› distDir: ../dist
› devPath: http://localhost:5173/

App directory structure
├─ .github
├─ node_modules
├─ examples
├─ .git
├─ dist
├─ src
├─ etc
├─ .vscode
└─ src-tauri

@FabianLars FabianLars linked a pull request Nov 25, 2022 that will close this issue
13 tasks
@FabianLars
Copy link
Member

alrighty, finally got around testing it myself. Fix is in #5697

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform: Linux status: needs triage This issue needs to triage, applied to new issues type: bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants