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
i686-linux-gnu-gcc: error: unrecognized command line option '-V' #372
Comments
Good job on the full log; that error isn't the problem, (
I'm not sure why it's trying to pass |
This is a buggy interaction between libtool and autoconf. A workaround was discussed in 2004(!) but I don't believe it was ever implemented. The suggested solution was to run |
Horrible hack solution: #!/bin/sh
WRAPPED_BIN="gcc"
ARGS=("$@")
ARGS=("${ARGS[@]/#-all-static/-static}")
ARGS=("${ARGS[@]/-V}")
"$WRAPPED_BIN" "${ARGS[@]}" |
Why not just do the |
...because I'm an idiot sorry. I'll see if BinaryBuilder works on NixOS first, though. Not sure how to setup Travis on a fork. |
Wait a second. ImageMagickBuilder explicitly specifies -all-static. Why is it doing this? How did this ever work? |
If I had a nickel for every time I thought that to myself....... I'll try running it locally without that. Looks like it's a very recent commit that Simon added to try and fix Windows: JuliaIO/ImageMagickBuilder@22377e5 |
Wait, there's already a PR for this. Hm. JuliaIO/ImageMagickBuilder#5 |
Confirmed that removing that |
Sorry about this, I just copy & pasted that flag from the imagemagick forums and messed up when trying to make sense of the error log.... |
Not sure if this is an issue with the environment or with ImageMagick:
Full log:
https://gist.github.com/SimonDanisch/fb87d53ce5efd1409168c53c73c6e6b9#file-config-log
The text was updated successfully, but these errors were encountered: