You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The two R packages fail during the configure phase, pointing to inability to include the PROJ library
To Reproduce
nix-shell --packages "rPackages.rgdal"
and
nix-shell --packages "rPackages.sf"
tail output:
checking for gdal.h... yes
checking GDAL: linking with --libs only... yes
checking GDAL: /nix/store/kx0ck0m310dzakkbi7556ml2c25cgs4c-gdal-3.0.1/share/gdal/pcs.csv readable... no
checking GDAL: checking whether PROJ is available for linking:... yes
checking GDAL: checking whether PROJ is available fur running:... yes
checking proj_api.h usability... no
checking proj_api.h presence... no
checking for proj_api.h... no
configure: error: proj_api.h not found in standard or given locations.
ERROR: configuration failed for package 'sf'
* removing '/nix/store/4b8hhwbg5l6nhglar7jbf41rxyk9qrc2-r-sf-0.7-7/library/sf'
builder for '/nix/store/sznpd3bfjj5vlwy2d0hx4gjlqprrg1ba-r-sf-0.7-7.drv' failed with exit code 1
error: build of '/nix/store/sznpd3bfjj5vlwy2d0hx4gjlqprrg1ba-r-sf-0.7-7.drv' failed
Expected behavior
It should build
Metadata
Please run nix run nixpkgs.nix-info -c nix-info -m and paste the result.
This has been automatically marked as stale because it has had no activity for 180 days.
If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity.
Here are suggestions that might help resolve this more quickly:
Search for maintainers and people that previously touched the related code and @ mention them in a comment.
Describe the bug
The two R packages fail during the configure phase, pointing to inability to include the PROJ library
To Reproduce
and
tail output:
Expected behavior
It should build
Metadata
Please run
nix run nixpkgs.nix-info -c nix-info -m
and paste the result.Maintainer information:
The text was updated successfully, but these errors were encountered: