Libvips: [Bug report with solution] error: HAVE_INTROSPECTION does not appear in AM_CONDITIONAL

Created on 30 Jul 2020  ·  4Comments  ·  Source: libvips/libvips

When I try to compile the libvips from the source code, I've encountered the following error:
parallel-tests: installing './test-driver'
libvips/Makefile.am:77: error: HAVE_INTROSPECTION does not appear in AM_CONDITIONAL
............
./configure: line 3659: syntax error near unexpected token 1.30.0' ./configure: line 3659:GOBJECT_INTROSPECTION_CHECK(1.30.0)'

I've gotten a solution from the following link:
https://github.com/thestinger/vte-ng/issues/4

The solution is:
clone https://github.com/GNOME/gobject-introspection and look for the m4/ directory, where the instrospection.m4 file is. Copy that file to vte-ng/m4 directory and tun the autogen.sh again.

bug

Most helpful comment

Yes, you need to have gobject-introspection installed to be able to run autogen.sh. The official tarball releases include a pre-built configure.

All 4 comments

Hello @huskier,

Thanks for the report. I tried here with 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

And it seems to work fine. How did you trigger this error? Did you perhaps run autogen.sh rather than configure?

@jcupitt Yes, the bug is triggered when I run autogen.sh rather than configure.

Actually, there is no "condigure" file in the gitcloned package, and only autogen.sh is available.

Yes, you need to have gobject-introspection installed to be able to run autogen.sh. The official tarball releases include a pre-built configure.

Thanks for your explanation.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

codecitizen picture codecitizen  ·  4Comments

helloqhx picture helloqhx  ·  3Comments

BorntraegerMarc picture BorntraegerMarc  ·  3Comments

harukizaemon picture harukizaemon  ·  4Comments

Kyle-Kyle picture Kyle-Kyle  ·  4Comments