Skip to content
This repository

Io failed to build on 10.7 #15183

Closed
anthonymoralez opened this Issue · 10 comments

4 participants

Anthony Moralez Adam Vandenberg Semyon Perepelitsa 2bits
Anthony Moralez
==> Downloading https://github.com/stevedekorte/io/tarball/2011.09.12
Already downloaded: /Users/anthony/Library/Caches/Homebrew/io-2011.09.12.tgz
==> Patching
patching file libs/basekit/source/Common_inline.h
==> cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/io/2011.09.12 -DCMAKE_BUILD_TYPE=None -DCMAKE_FIND_FRAMEWORK=LAST -Wno-dev
==> make
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make[2]: *** [addons/BigNum/_build/dll/libIoBigNum.dylib] Error 1
make[1]: *** [addons/BigNum/CMakeFiles/IoBigNum.dir/all] Error 2
make: *** [all] Error 2

Error: io did not build
Logs: /Users/anthony/Library/Logs/Homebrew/io/
Help: https://github.com/mxcl/homebrew/wiki/troubleshooting

https://gist.github.com/3800651

Adam Vandenberg
Owner

Try brew install --env=std io.

Anthony Moralez
Anthony Moralez

I needed to install GNU MP. i.e. brew install gmp.
Should the io formula depend on gmp?

Anthony Moralez

Also, needed to add depends_on freetype

Semyon Perepelitsa

I'm getting a different error on 10.8. The suggestions above did not help.

==> Installing io
==> Downloading https://github.com/stevedekorte/io/tarball/2011.09.12
Already downloaded: /Library/Caches/Homebrew/io-2011.09.12.tgz
==> Patching
patching file libs/basekit/source/Common_inline.h
==> cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/io/2011.09.12 -DCMAKE_BUIL
==> make
/tmp/io-bsIl/stevedekorte-io-23afbcc/addons/ObjcBridge/source/Io2Objc.m:510: error: old-style parameter declarations in prototyped function definition
/tmp/io-bsIl/stevedekorte-io-23afbcc/addons/ObjcBridge/source/Io2Objc.m:510: error: expected ‘{’ at end of input
make[2]: *** [addons/ObjcBridge/CMakeFiles/IoObjcBridge.dir/source/Io2Objc.m.o] Error 1
make[1]: *** [addons/ObjcBridge/CMakeFiles/IoObjcBridge.dir/all] Error 2
make: *** [all] Error 2

Error: io did not build
Adam Vandenberg
Owner

Someone should probably ask upstream to provide a newer tagged download.

2bits

It built for me on 10.8.2 without making any changes (though I had a lot of other things brewed). I am

/usr/local-0.9.3 10.8.2 4.5 clang-421 llvm-2336 /opt/X11-2.7.4
Semyon Perepelitsa

Turns out I forgot to reinstall Command Line Tools. It works now. Sorry for false alarm!

Adam Vandenberg
Owner

Yeah, if we're missing deps we should add them. I'll try to look into this.

Adam Vandenberg
Owner

Built for me on Snow Leopard; will try on a Lion machine later.

Adam Vandenberg adamv closed this issue from a commit
Adam Vandenberg IO: fix deps
Closes #15183.
cc0206d
Adam Vandenberg adamv closed this in cc0206d
theirix theirix referenced this issue from a commit
Commit has since been removed from the repository and is no longer available.
snakeyroc3 snakeyroc3 referenced this issue from a commit in snakeyroc3/homebrew
Adam Vandenberg IO: fix deps
Closes #15183.
b30f7e0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.