No pkg-config .pc file installed.
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 67/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- c
- Domain
- build-system
Research direction
Inspect meson.build, especially the dependency setup around line 243, and reproduce the installation with meson install. Confirm that the installed library exposes the metadata xpu-smi expects through pkg-config; done means xpu-smi's Meson configure step reports that the igsc dependency is found.
Written by the indexing model from the issue text.
Description
I expected a pkg-config .pc file to get installed, but no such file is installed:
$ meson install
ninja: Entering directory `/usr/src/igsc/build'
ninja: no work to do.
Installing lib/libigsc.so.1.3.1 to /usr/local/lib/x86_64-linux-gnu
Installation failed due to insufficient permissions.
Attempt to use /usr/bin/sudo to gain elevated privileges? [y/n] y
[sudo: authenticate] Password:
Installing lib/libigsc.so.1.3.1 to /usr/local/lib/x86_64-linux-gnu
Installing lib/libigsc.a to /usr/local/lib/x86_64-linux-gnu
Installing src/igsc to /usr/local/bin
Installing /usr/src/igsc/build/igsc_lib.h to /usr/local/include
Installing symlink pointing to libigsc.so.1.3.1 to /usr/local/lib/x86_64-linux-gnu/libigsc.so.1
Installing symlink pointing to libigsc.so.1 to /usr/local/lib/x86_64-linux-gnu/libigsc.so
So when I try to build xpu-smi afterwards:
Run-time dependency igsc found: NO (tried pkgconfig and cmake)
meson.build:243:11: ERROR: Dependency "igsc" not found, tried pkgconfig and cmake
- Dominant language
- C
- Stars
- 86
- Forks
- 17
- Avg merge
- 1h 10m
- Merged PRs (30d)
- 1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from intel/igsc
-
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
Similar issues
-
level/task module/gcp type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
-
Difficulty 1/5 Under an hour Newbie friendliness 86/100
hapostgres/pg_auto_failover#1190 ·
-
docs
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
P3 sonic-vpp
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
sonic-net/sonic-buildimage#29662 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 94/100
spack/spack-packages#6586 ·