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



W dniu 2021-11-09 21:47, pawel bogdan edu pl napisał(a):
W dniu 2021-11-09 14:48, Milan Crha via evolution-hackers napisał(a):
On Tue, 2021-11-09 at 10:38 +0100, Paweł @ Bogdan wrote:
I'm trying to build evolution from sources.

        Hi,
I do not know whether you are aware, but there is a wiki page about the
build of it, with a lot of useful information:
https://wiki.gnome.org/Apps/Evolution/Building
You do not need to stick to it, it's only one way, which works.
        Bye,
        Milan

_______________________________________________
evolution-hackers mailing list
evolution-hackers gnome org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-hackers

Hello Milan and All!

Thanks for your replies!

Milan, I was aware of this page but I missed the part about Ubuntu dependencies.

Best regards
Paweł
_______________________________________________
evolution-hackers mailing list
evolution-hackers gnome org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-hackers

Hi All!

It's me again. I installed all dependencies listed on the page. But I keep facing the issue:

[ 77%] Generating camel-1.2.vapi
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


I found on the Internet that updating version of Vala could help. I use Ubuntu 20.04. Vala installed from package manager had version 0.48. I installed Vala from source:

/usr/local/share/vala-0.56 valac --version
Vala 0.54.1.85-88801
/usr/local/share/vala-0.56 whereis valac
valac: /usr/local/bin/valac /usr/share/man/man1/valac.1.gz
/usr/local/share/vala-0.56 ls -la /usr/local/bin/valac
lrwxrwxrwx 1 root root 10 Nov 10 20:59 /usr/local/bin/valac -> valac-0.56

And the message from make is:

[ 77%] Generating camel-1.2.vapi
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 Camel-1.2.gir:40916.7-40918.16: warning: Field `Camel.Provider.auto_detect' conflicts with method of the same name
40916 |       <method name="auto_detect"
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~
40917 |               c:identifier="camel_provider_auto_detect"
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
40918 |               throws="1">
      | ~~~~~~~~~~~~~~~~
Camel-1.2.gir:52704.7-52704.58: warning: Field `Camel.StoreInfo.path' conflicts with method of the same name 52704 | <function name="path" c:identifier="camel_store_info_path">
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Generation failed: 3 error(s), 2 warning(s)
make[2]: *** [src/vala/CMakeFiles/vala-files.dir/build.make:80: src/vala/camel-1.2.vapi] Error 1 make[1]: *** [CMakeFiles/Makefile2:8954: src/vala/CMakeFiles/vala-files.dir/all] Error 2
make: *** [Makefile:141: all] Error 2

I don't understand it at all. Any ideas?

Best regards
Paweł


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