Re: [Evolution-hackers] Issues during building evolution from source



On Wed, 2021-11-10 at 21:23 +0100, pawel bogdan edu pl wrote:

error: Package `GObject-2.0' not found in specified Vala API
directories or GObject-Introspection GIR directories
error: Package `Gio-2.0' not found in specified Vala API directories
or GObject-Introspection GIR directories
error: Package `libxml2-2.0' not found in specified Vala API
directories or GObject-Introspection GIR directories

        Hi,
updating Vala does not help. Those errors say, and mean, that there are
missing three packages from the GObject Introspection world. It's
similar as the -dev packages. Rather than searching where they come
from in the Ubuntu, supposing you want to build the evolution-data-
server only for the Evolution (which does not use the Vala at all), I
suggest you disable Vala and GOject Introspection build. That can be
done with the cmake command, when you change the below options:

   -DENABLE_INTROSPECTION=OFF -DENABLE_VALA_BINDINGS=OFF

You can also -DENABLE_INSTALLED_TESTS=OFF , if you want to (you are
probably not going to run those tests, thus no need to install them).

I suggest to delete the _build directory and start the build from
scratch, to make sure the new options are properly propagated into the
build scripts.

        Bye,
        Milan



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]