guitorri / homebrew-tap

Personal formulae for the Homebrew package manager http://mxcl.github.com/homebrew
4 stars 1 forks source link

Another qucs issue on Mavericks (10.9.4) -- configure error #3

Closed RyanMatlock closed 10 years ago

RyanMatlock commented 10 years ago

The relevant part seems to be here:

$ brew install qucs
...
==> Installing qucs
==> Downloading http://sourceforge.net/projects/qucs/files/qucs/0.0.18/qucs-0.0.
Already downloaded: /Library/Caches/Homebrew/qucs-0.0.18.tar.gz
==> ./configure --disable-asco --disable-adms --prefix=/usr/local/Cellar/qucs/0.
checking whether clang understands -c and -o together... yes
checking for ar... ar
checking the archiver (ar) interface... unknown
configure: error: could not determine ar interface
configure: error: ./configure failed for qucs-core

although I can include the full output if that's more helpful.

guitorri commented 10 years ago

If you can include in a gist the full log it would help. I find it weird it fails on ar. Just asking, have you installed the Command Line Tools? I just cleaned up my system (OSX 10.9.4, sitll Xcode 5.1) and rebuilt the formula. It builds fine for me. There is an issue with the macdeployqt failing to bundle the applications, but that is another issue....

RyanMatlock commented 10 years ago

I have command line tools installed, but not the latest version:

$ pkgutil --pkg-info=com.apple.pkg.CLTools_Executables
package-id: com.apple.pkg.CLTools_Executables
version: 5.1.0.0.1.1396320587
volume: /
location: /
install-time: 1398273214
groups: com.apple.FindSystemFiles.pkg-group com.apple.DevToolsBoth.pkg-group com.apple.DevToolsNonRelocatableShared.pkg-group

Here's the gist of it: https://gist.github.com/RyanMatlock/374df7c869744d1a41ee

guitorri commented 10 years ago

I have the same CLT as you. I have other SDKs installed and the configure is in fact using -mmacosx-version-min=10.6. I will investigate further.

guitorri commented 10 years ago

@RyanMatlock, I made some changes to the formula, can you please try again and let me know?

RyanMatlock commented 10 years ago

The updated formula works like a charm. Thank you!!