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

Fix build with GPSD #290

Merged
merged 1 commit into from
Mar 14, 2024
Merged

Fix build with GPSD #290

merged 1 commit into from
Mar 14, 2024

Conversation

wegank
Copy link
Contributor

@wegank wegank commented Oct 6, 2023

The following error was observed (NixOS/nixpkgs#259434 (comment)) when building Merkaartor with GPSD support:

error: builder for '/nix/store/b4c5hs4509g37l7y9kmb1ysd1916jjrj-merkaartor-0.19.0.drv' failed with exit code 1;
       last 10 log lines:
       > -- Checking for modules 'gdal;proj;exiv2;gpsd'
       > --   No package 'gpsd' found
       > CMake Error at /nix/store/yi235g10sp8jx939zpfli0s74154ph3v-cmake-3.26.4/share/cmake-3.26/Modules/FindPkgConfig.cmake:607 (message):
       >   A required package was not found
       > Call Stack (most recent call first):
       >   /nix/store/yi235g10sp8jx939zpfli0s74154ph3v-cmake-3.26.4/share/cmake-3.26/Modules/FindPkgConfig.cmake:829 (_pkg_check_modules_internal)
       >   CMakeLists.txt:523 (pkg_check_modules)
       >
       >
       > -- Configuring incomplete, errors occurred!

It turns out that the package is known as libgps instead.

@Krakonos Krakonos merged commit 5bd9cf7 into openstreetmap:master Mar 14, 2024
12 checks passed
@Krakonos
Copy link
Member

Merged, thanks for your contribution. I'm not sure how this got through, I'm pretty sure I tested that.

@wegank wegank deleted the pkg-config-libgps branch March 14, 2024 08:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants