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

Doctor command not finding pkg-config on Solus #3669

Closed
ianmjones opened this issue Aug 8, 2024 · 0 comments · Fixed by #3670
Closed

Doctor command not finding pkg-config on Solus #3669

ianmjones opened this issue Aug 8, 2024 · 0 comments · Fixed by #3670
Labels
Bug Something isn't working

Comments

@ianmjones
Copy link
Contributor

Description

Running wails doctor on Solus complains that pkg-config is not installed, but the backwards compatible pkgconf is installed and working as expected with wails build etc.

Since May 2024, Solus, a rolling Linux distribution, has been using pkgconf.

getsolus/packages#2446

To Reproduce

On an up to date Solus install...

wails doctor

Expected behaviour

wails doctor should find that pkgconf is installed, which satisfies the pkg-config requirement.

Screenshots

wails-doctor-on-solus-pkg-config-missing

Attempted Fixes

I have a fix prepared.

System Details

# Wails
Version         | v2.9.1
Package Manager | eopkg 3.12.2

# System
┌───────────────────────────────────────────────────────────────────────────────────────┐
| OS           | Solus                                                                  |
| Version      | 4.5                                                                    |
| ID           | solus                                                                  |
| Go Version   | go1.22.5                                                               |
| Platform     | linux                                                                  |
| Architecture | amd64                                                                  |
| CPU          | 12th Gen Intel(R) Core(TM) i7-1280P                                    |
| GPU          | Alder Lake-P GT2 [Iris Xe Graphics] (Intel Corporation) - Driver: i915 |
| Memory       | 66GB                                                                   |
└───────────────────────────────────────────────────────────────────────────────────────┘

# Dependencies
┌───────────────────────────────────────────────────────────────┐
| Dependency | Package Name        | Status    | Version        |
| *docker    | docker              | Installed | 27.1.1 (r63)   |
| gcc        | gcc                 | Installed | 14.2.0 (r83)   |
| libgtk-3   | libgtk-3-devel      | Installed | 3.24.43 (r118) |
| libwebkit  | libwebkit-gtk-devel | Installed | 2.44.2 (r120)  |
| npm        | nodejs              | Installed | 20.16.0 (r120) |
| pkg-config | Unknown             | Not Found | 2.2.0          |
└─────────────────── * - Optional Dependency ───────────────────┘

# Diagnosis
 WARNING  Your system has missing dependencies!
Fatal:
Required dependencies missing: pkg-config
Please read this article on how to resolve this: https://wails.io/guides/resolving-missing-packages

Additional context

No response

@ianmjones ianmjones added the Bug Something isn't working label Aug 8, 2024
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

Successfully merging a pull request may close this issue.

1 participant