Quando provo ad aggiornare osxfuse, ricevo il messaggio "mancante DEVELOPER_DIR path"

1

Recentemente ho installato Yosemite e sto cercando di aggiornare tutte le mie installazioni di brew ( brew update , poi brew upgrade ). Dopo aver ricordato di fare xcode-select --install , ho finalmente aggiornato tutte le mie installazioni tranne per encfs e osxfuse (encfs dipende da osxfuse). Ora, quando provo ad aggiornare, ottengo i seguenti risultati (inclusa interamente perché non è così grande):

▶ brew upgrade                                                   
==> Upgrading 2 outdated packages, with result:
encfs 1.7.5_1, osxfuse 2.7.1
==> Upgrading encfs
==> Installing encfs dependency: osxfuse
==> Cloning https://github.com/osxfuse/osxfuse.git
Updating /Library/Caches/Homebrew/osxfuse--git
==> Checking out tag osxfuse-2.7.1
==> ./build.sh -t homebrew -f /usr/local/Cellar/osxfuse/2.7.1

OSXFUSEBuildTool()            : supported platforms: 10.9 10.10
OSXFUSEBuildTool()            : building OSXFUSE kernel extension and tools
xcrun: error: missing DEVELOPER_DIR path: 
OSXFUSEBuildTool() failed: xcodebuild cannot build configuration Release.

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

Naturalmente, sono stato nella pagina di risoluzione dei problemi e non ero ancora in grado di risolvere i miei problemi (anche se mi avrebbe aiutato a risolvere problemi con formule precedenti). I risultati di brew doctor sono:

▶ brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry and just ignore them. Thanks!

Warning: Broken symlinks were found. Remove them with 'brew prune':
  /usr/local/lib/libosxfuse.la

Warning: Unbrewed dylibs were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected dylibs:
    /usr/local/lib/libyices.2.1.0.dylib

Warning: You have unlinked kegs in your Cellar
Leaving kegs unlinked can lead to build-trouble and cause brews that depend on
those kegs to fail to run properly once built. Run 'brew link' on these:

    fuse4x
    gcc
    ghostscript
    ruby

Warning: Your Xcode (6.0.1) is outdated
Please update to Xcode 6.1.
Xcode can be updated from the App Store.

I risultati di brew --config sono:

▶ brew --config
HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/Homebrew/homebrew.git
HEAD: b7feb05f247b5cf934991d8035bf44ff6c4180ba
Last commit: 43 minutes ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: 8-core 64-bit ivybridge
OS X: 10.10-x86_64
Xcode: 6.0.1
CLT: 6.1.0.0.1.1413057044
couldn't understand kern.osversion '14.0.0'
GCC-4.2: build 5666
Clang: 6.0 build 600
X11: 2.7.7 => /opt/X11
System Ruby: 2.0.0-481
Perl: /usr/bin/perl
Python: /usr/local/bin/python => /usr/local/Cellar/python/2.7.8_2/Frameworks/Python.framework/Versions/2.7/bin/python2.7
Ruby: /Users/benjaminhocking/.rvm/rubies/ruby-2.1.3/bin/ruby

Ho provato a impostare manualmente DEVELOPER_DIR :

▶ export DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer

Questo non ha fatto alcuna differenza. Qualcuno ha qualche suggerimento su come posso risolvere questo problema?

    
posta Ben Hocking 19.10.2014 - 19:11
fonte

1 risposta

1

L'aggiornamento di Xcode alla versione 6.1 con il collegamento fornito da pczora ha infatti risolto il problema per me: link

    
risposta data 20.10.2014 - 15:48
fonte

Leggi altre domande sui tag