Cuando intento compilar los libvips desde el código fuente, me encuentro con el siguiente error:
pruebas paralelas: instalando './test-driver'
libvips / Makefile.am: 77: error: HAVE_INTROSPECTION no aparece en AM_CONDITIONAL
............
./configure: línea 3659: error de sintaxis cerca del token inesperado 1.30.0'
./configure: line 3659:
GOBJECT_INTROSPECTION_CHECK (1.30.0) '
Obtuve una solución del siguiente enlace:
https://github.com/thestinger/vte-ng/issues/4
La solucion es:
clone https://github.com/GNOME/gobject-introspection y busque el directorio m4 /, donde está el archivo instrospection.m4. Copie ese archivo en el directorio vte-ng / m4 y vuelva a ajustar autogen.sh.
Hola @huskier ,
Gracias por el informe. Intenté aquí con git master libvips:
tar xf ../vips-8.10.0.tar.gz
cd vips-8.10.0/
CFLAGS="-g -Wall" CXXFLAGS="-g -Wall" ./configure --prefix=/home/john/vips
make
make install
Y parece funcionar bien. ¿Cómo desencadenó este error? ¿Quizás ejecutó autogen.sh en lugar de configurar?
@jcupitt Sí, el error se activa cuando ejecuto autogen.sh en lugar de configurarlo.
En realidad, no hay un archivo "condigure" en el paquete gitcloned y solo está disponible autogen.sh.
Sí, necesita tener gobject-introspection instalado para poder ejecutar autogen.sh
. Los lanzamientos oficiales de tarball incluyen un configure
prediseñado.
Gracias por tu explicación.
Comentario más útil
Sí, necesita tener gobject-introspection instalado para poder ejecutar
autogen.sh
. Los lanzamientos oficiales de tarball incluyen unconfigure
prediseñado.