Skip to content

Instantly share code, notes, and snippets.

@nandub
Last active December 25, 2015 06:09
Show Gist options
  • Select an option

  • Save nandub/6929334 to your computer and use it in GitHub Desktop.

Select an option

Save nandub/6929334 to your computer and use it in GitHub Desktop.
Latest update from master fails on Mac OS X Lion
cd `/opt/mxe` && git pull
remote: Counting objects: 90, done.
remote: Compressing objects: 100% (52/52), done.
remote: Total 68 (delta 51), reused 32 (delta 16)
Unpacking objects: 100% (68/68), done.
From https://github.com/mxe/mxe
ca7e78d..e6be142 master -> origin/master
Updating ca7e78d..e6be142
Fast-forward
...
After running `make file` I get the following:
[check requirements]
[target] i686-w64-mingw32 with 1 goal from command line
[build] binutils
[done] binutils
[build] gcc
Failed to build package gcc!
------------------------------------------------------------
patching file gcc/config/i386/xtestintrin.h
# build standalone gcc
# unpack support libraries
cd '/opt/mxe/tmp-gcc/gcc-4.8.1' && tar xjf '/opt/mxe/pkg/gmp-5.1.3.tar.bz2'
tar: Error opening archive: Failed to open '/opt/mxe/pkg/gmp-5.1.3.tar.bz2'
make[1]: *** [build-only-gcc_i686-w64-mingw32] Error 1
real 0m58.358s
user 0m22.559s
sys 0m10.164s
------------------------------------------------------------
[log] /opt/mxe/log/gcc
make: *** [/opt/mxe/usr/i686-w64-mingw32/installed/gcc] Error 1
When I checked `/opt/mxe/pkg` folder for `gmp-5.1.3.tar.bz2` file it appears is not there. I have to manually download the archive to successfully compile `gcc` package.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment