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 build gettext-sys if any parent path has a space in it #9
Comments
Here's the output of running $ cargo build build script failed, must exit now', gettext-sys/build.rs:251:5 |
@audiodude Thanks for your feedback, I'll try to fix this when I'll have some spare time |
I reproduced with GNU gettext 0.21 on Debian testing. That's directly from the upstream's tarball, but with our |
Got a reply. This is indeed a limitation of autoconf, and not something upstream intends to address. GNU gettext maintainer also pointed out that it's dangerous to even try to build in such situation (since the commands can be cut short and do something unintended). I'll work on moving the build to a temporary directory (don't know yet if I'll hard-code it, or rely on tempdir crate or something). |
This works around the autotools limitation, which prevented us from building in directories whose absolute paths have spaces in them. Fixes Koka#9.
Probably because of https://www.gnu.org/software/autoconf/manual/autoconf-2.60/autoconf.html#Special-Chars-in-Variables
I believe the solution would be to build gettext in /tmp or some other place that has a known good path, but I'm new to this project.
The text was updated successfully, but these errors were encountered: