Io failed to build on 10.7 #15183

Closed
anthonymoralez opened this Issue Sep 28, 2012 · 10 comments

Projects

None yet

4 participants

@anthonymoralez
==> 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

@adamv

Try brew install --env=std io.

@anthonymoralez
@anthonymoralez

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

@anthonymoralez

Also, needed to add depends_on freetype

@semaperepelitsa

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
@adamv

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
@semaperepelitsa

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

@adamv

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

@adamv adamv was assigned Oct 6, 2012
@adamv

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

@adamv adamv added a commit that closed this issue Oct 15, 2012
@adamv adamv IO: fix deps
Closes #15183.
cc0206d
@adamv adamv closed this in cc0206d Oct 15, 2012
@snakeyroc3 snakeyroc3 pushed a commit to snakeyroc3/homebrew that referenced this issue Dec 17, 2012
@adamv adamv IO: fix deps
Closes #15183.
b30f7e0
@xu-cheng xu-cheng locked and limited conversation to collaborators Feb 16, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.