-
Notifications
You must be signed in to change notification settings - Fork 46
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
Can't exec "proj": No such file or directory #499
Comments
Actually, that line can be replaced by this: my $text = Alien::proj->run_utility ("proj", "-lP"); The |
Perfect, I'll make that change now. |
Could you try |
This works now, but I should have added error checking to the suggested fix. Something like this should do the trick:
Errors should only happen when the installation has been messed with, e.g. system dependencies uninstalled after Alien::proj was built. Perhaps extra text could be added to that effect but I'll leave that call to you. |
I thought it would be too complicated to try to guess the cause of any such failure. I've gone for a compromise, where it always Do you think this is fixed now? |
That looks good to me. |
Great, and thanks for the help! Please close the issue :-) |
I've hit this error on a fresh Ubuntu 22.04.3 instance (via WSL2).
The issue is that
Alien::proj
on this system is a share install. Theproj
utility is thus not in the system path and is not found.pdl/Libtmp/Transform/Proj4/proj4.pd
Line 145 in 1038d63
The fix is probably to check for
Alien::proj->bin_dir
and prepend it to the call if it is defined. Or it can be prepended to the path, which is currently done for Windows at Line 23.The text was updated successfully, but these errors were encountered: