Obteniendo un error al intentar instalar vino usando brew. Me aseguré de correr brew update
y brew upgrade
. Intenté instalar libpng por sí mismo también, pero aún obtengo el mismo error.
Acabo de instalar Xcode y me aseguré de aceptar los términos.
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... clang
checking whether the C compiler works... no
configure: error: in `/private/tmp/libpng-20161205-66702-a4brfd/libpng-1.6.26':
configure: error: C compiler cannot create executables
See `config.log' for more details
Editar: Agregar versiones.
Mac OS X 10.11.6
Código X: 8.1
Otra edición: Mirando a través de la esencia del error, creo que este podría ser el culpable.
configure:3291: checking whether the C compiler works
configure:3313: clang conftest.c >&5
ld: unexpected token: !tapi-tbd-v2 file '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/lib/libSystem.tbd' for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
configure:3317: $? = 1
configure:3355: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libpng"
| #define PACKAGE_TARNAME "libpng"
| #define PACKAGE_VERSION "1.6.26"
| #define PACKAGE_STRING "libpng 1.6.26"
| #define PACKAGE_BUGREPORT "png-mng-implement@lists.sourceforge.net"
| #define PACKAGE_URL ""
| #define PACKAGE "libpng"
| #define VERSION "1.6.26"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3360: error: in `/private/tmp/libpng-20161205-66702-a4brfd/libpng-1.6.26':
configure:3362: error: C compiler cannot create executables
See `config.log' for more details
Editar: agregar registros esenciales. https://gist.github.com/codephobia/98b8c8e5954c7d324384c49c6ebd99dc
Editar: Pude hacer que funcionara clonando el repositorio y construyéndolo a partir del código fuente. Voy a dejar esta pregunta abierta, ya que preferiría instalarlo con brew para facilitar la actualización.
Buen trabajo con el mensaje de error detallado. Intentaría instalar solo libpng con brew install libpng
y luego, si eso falla, brew update && brew update && brew doctor
solo verifique los problemas comunes. (Sé que dijiste que intentaste esto, pero no está claro si lo lograste con ese intento)
La recomendación anterior es de https://github.com/Homebrew/brew/blob/master/docs/README.md#readme
Eso se vincula a la Lista de verificación de solución de problemas si encuentra un paquete que falla (se parece a libpng de sus registros hasta ahora).
ejecutar
brew gist-logs <formula>
(donde<formula>
está el nombre de la fórmula que te falla).
brew update
, y brew doctor
solo mostré que el nodo no estaba vinculado, lo cual he solucionado. brew install libpng
instalado, pero sigo recibiendo el mismo error al instalar Wine. Recibo el mismo error cuando ejecuto brew install libpng --universal
que cuando instalo Wine.
bmike
xquartz
operativo también?codefobia
brew cask install java xquartz
. Sin embargo, no estoy seguro de cómo probar si está funcionando.voces
wine
realmente compatible con OS X?jivan pal
brew cask install wineskin-winery