Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Io failed to build on 10.7 #15183

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

Io failed to build on 10.7 #15183

anthonymoralez opened this issue Sep 28, 2012 · 10 comments
Assignees

Comments

@anthonymoralez
Copy link

==> 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
Copy link
Contributor

adamv commented Sep 28, 2012

Try brew install --env=std io.

@anthonymoralez
Copy link
Author

I did that with the same result.

On Fri, Sep 28, 2012 at 8:57 AM, Adam Vandenberg
notifications@github.comwrote:

Try brew install --env=std io.


Reply to this email directly or view it on GitHubhttps://github.com//issues/15183#issuecomment-8981251.

@anthonymoralez
Copy link
Author

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

@anthonymoralez
Copy link
Author

Also, needed to add depends_on freetype

@semaperepelitsa
Copy link
Contributor

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
Copy link
Contributor

adamv commented Sep 30, 2012

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

@2bits
Copy link
Contributor

2bits commented Oct 2, 2012

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
Copy link
Contributor

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

@adamv
Copy link
Contributor

adamv commented Oct 6, 2012

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

@ghost ghost assigned adamv Oct 6, 2012
@adamv
Copy link
Contributor

adamv commented Oct 8, 2012

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

@adamv adamv closed this as completed in cc0206d Oct 15, 2012
snakeyroc3 pushed a commit to snakeyroc3/homebrew that referenced this issue Dec 17, 2012
@Homebrew Homebrew 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.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants