Homebrew / legacy-homebrew

💀 The former home of Homebrew/homebrew (deprecated)
https://brew.sh
26.96k stars 11.34k forks source link

error compiling fceux on osx mavericks #31602

Closed aphixe closed 10 years ago

aphixe commented 10 years ago

brew install fceux doesn't seem to work for me. here is the following details brew doctor says its ok..

brew config HOMEBREW_VERSION: 0.9.5 ORIGIN: https://github.com/Homebrew/homebrew HEAD: 394d75b9a8cac1b5e68f05e1cc5016360dde769f HOMEBREW_PREFIX: /usr/local HOMEBREW_CELLAR: /usr/local/Cellar CPU: dual-core 64-bit penryn OS X: 10.9.4-x86_64 Xcode: 5.1.1 Clang: 5.1 build 503 X11: 2.7.6 => /opt/X11 System Ruby: 2.0.0-451 Perl: /usr/bin/perl Python: /usr/bin/python Ruby: /usr/bin/ruby

Downloading https://downloads.sourceforge.net/project/fceultra/Source%20Code Already downloaded: /Library/Caches/Homebrew/fceux-2.2.2.tar.gz ==> Patching patching file SConstruct patching file src/drivers/sdl/SConscript ==> /usr/local/opt/scons/bin/scons

include

     ^

1 error generated. scons: *\ [src/lua-engine.o] Error 1 scons: building terminated because of errors.

READ THIS: https://github.com/Homebrew/homebrew/wiki/troubleshooting

mistydemeo commented 10 years ago

READ THIS: https://github.com/Homebrew/homebrew/wiki/troubleshooting

Please read this and follow the steps/post the requested diagnostics. Thanks!

aphixe commented 10 years ago

if i post brew install -v fceux it is super long

mistydemeo commented 10 years ago

Please post brew gist-logs --config --doctor fceux.

aphixe commented 10 years ago

https://gist.github.com/4ecdfaffa81733c5a438

asparagui commented 10 years ago

WFM, dunno.

mistydemeo commented 10 years ago

Try reinstalling lua.

aphixe commented 10 years ago

Not sure how to. A bit new to osx, I know how it's done in Ubuntu. Guess I will Google how to get lua for osx

aphixe commented 10 years ago

Okay so I ran curl as they told me on lua site and ran the make macosx test, reran the brew and same error

mistydemeo commented 10 years ago

Sorry, lua was installed by Homebrew. Try: brew reinstall lua

aphixe commented 10 years ago

sadly didn't help, even did a brew uninstall and then install

mistydemeo commented 10 years ago

Can you regenerate the logs, please?

aphixe commented 10 years ago

it seems Brew doctor forgot to tell me that my Xcode command line tools were not installed right. it worked after doing so