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

configure script should not edit PATH and other variables #66

Open
mdorier opened this issue Jan 3, 2025 · 0 comments
Open

configure script should not edit PATH and other variables #66

mdorier opened this issue Jan 3, 2025 · 0 comments

Comments

@mdorier
Copy link

mdorier commented Jan 3, 2025

What the configure.in script does here is pretty bad practice, changing PATH, CPATH, and LD_LIBRARY_PATH, as well as other environment variables in a way that effectively overrides the user's preferred values by prepending to them instead of appending to them.

I am on a machine where /usr/bin/gcc is an old gcc that doesn't have the standard required to build tkrzw. I have in my PATH a newer gcc (13.2.0) that is the one I use by default. gcc --version gives me 13.2.0, but because tkrzw's configure script prepends /usr/bin to the PATH variable, it picks up the old gcc and fails to compile. Took me a while to figure out why.

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

No branches or pull requests

1 participant