2011-03-22 12 views
8

Estoy tratando de instalar PyGTK en OSX 10.6 (leopardo de las nieves). He seguido este tema Where is PyGTK for Mac OS X?.¿Cómo instalar GTK +/PyGTK en OSX?

Cuando ejecuto el último comando:

~/.local/bin/jhbuild build meta-gtk-osx-python 

Tengo el siguiente error:

*** Checking out gtk+ *** [10/18] 
*** Configuring gtk+ *** [10/18] 
autoreconf -fis && ./configure --prefix /Users/smu/gtk/inst --libdir '/Users/smu/gtk/inst/lib' --with-gdktarget=quartz --disable-static 
libtoolize: putting auxiliary files in `.'. 
libtoolize: linking file `./ltmain.sh' 
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'. 
libtoolize: linking file `m4/libtool.m4' 
libtoolize: linking file `m4/ltoptions.m4' 
libtoolize: linking file `m4/ltsugar.m4' 
libtoolize: linking file `m4/ltversion.m4' 
libtoolize: linking file `m4/lt~obsolete.m4' 
configure.in:150: error: possibly undefined macro: dnl 
     If this token and others are legitimate, please use m4_pattern_allow. 
     See the Autoconf documentation. 
autoreconf: /Users/smu/gtk/inst/bin/autoconf failed with exit status: 1 
*** Error during phase configure of gtk+: ########## Error running autoreconf -fis && ./configure --prefix /Users/smu/gtk/inst --libdir '/Users/smu/gtk/inst/lib' --with-gdktarget=quartz --disable-static *** [10/18] 

    [1] Rerun phase configure 
    [2] Ignore error and continue to build 
    [3] Give up on module 
    [4] Start shell 
    [5] Reload configuration 
    [6] Go to phase "wipe directory and start over" 
    [7] Go to phase "clean" 
    [8] Go to phase "distclean" 
choice: 

¿Qué puedo hacer para solucionar este error? Gracias.

Respuesta

8

He encontrado una solución. Creo que es un problema con algunas versiones de las bibliotecas.

Simplemente arranque con --ignore-system para asegurarse de que todas las bibliotecas con sus versiones correctas estén instaladas correctamente.

jhbuild bootstrap --ignore-system 
+0

¿Cómo se llegó a esa solución? Actualmente estoy instalando Gnome en Mountain Lion y estoy teniendo el mismo problema. – chaz

Cuestiones relacionadas