-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Parenthesis in PATH causes build of libgfortran to fail in WSL #33581
Comments
Is this a Julia issue? It doesn't seem to be. |
Is there another place to register problems with the Makefile? |
I misunderstood, I thought it was just that Line 272 in 220681f
Can you check if the latest release candidate has this problem? |
Apologies, it was apparently fixed 5 months ago. I'm building from v1.2. Thanks! |
xref-ing issues: #32100 |
I don't know how much this matters per se, but having a parenthesis in the PATH variable (as sometimes occurs on Windows) seems to cause building of libgfortran to fail with
/bin/sh: 1: Syntax error: "(" unexpected
Changing line 267 of Makefile to place PATH in quotation marks appears to resolve the issue:
Current:
-$(CUSTOM_LD_LIBRARY_PATH) PATH=$(PATH):$(build_depsbindir) $(JULIAHOME)/contrib/fixup-libgfortran.sh --verbose $(build_libdir)
Works(?):
-$(CUSTOM_LD_LIBRARY_PATH) PATH="$(PATH):$(build_depsbindir)" $(JULIAHOME)/contrib/fixup-libgfortran.sh --verbose $(build_libdir)
This is in Windows Subsystem for Linux (Ubuntu) on Windows 10 x64. I'm not cross-compiling because that gave me other issues and I wanted to keep things simple.
The text was updated successfully, but these errors were encountered: