39aldo39 / Evolution-DecSync

Evolution plugin to sync contacts and calendars without a server using DecSync
Other
53 stars 5 forks source link

Does not work on Fedora 32 #31

Closed MoSattler closed 4 years ago

MoSattler commented 4 years ago

OS: Fedora 32 evolution 3.36.5 (3.36.5-1.fc32) Latest DecSync,

Following the instructions, I first got

Run-time dependency json-c found: NO (tried pkgconfig and cmake)

This was fixed after installing the devel package sudo dnf install -y json-c-devel

But now I get the problem:

meson.build:13:0: ERROR: Dependency "decsync" not found, tried pkgconfig and cmake

39aldo39 commented 4 years ago

Thanks for the notice. The latest version uses libdecsync, so you need to install that as well. I did add it to the README, but it wasn't clear that it applies for all distros. I have updated the README to make it clearer, and also updated the other dependencies like json-c.

MoSattler commented 4 years ago

Thanks @39aldo39

As someone who is not super familiar how all this works I ahve some more questions. I followed the build instructions for libdecsync and it was installed:

BUILD SUCCESSFUL in 12m 54s
2 actionable tasks: 2 executed
cat src/linuxX64Main/decsync.pc.in >> build/bin/linuxX64/releaseShared/decsync.pc

though the error remains

Run-time dependency decsync found: NO (tried pkgconfig and cmake)

meson.build:13:0: ERROR: Dependency "decsync" not found, tried pkgconfig and cmake

are there any addition steps I need to take?

39aldo39 commented 4 years ago

The building is indeed a bit complicated. But as long as there are no packages for it, it has to be built from source. I think you only executed make, but forgot sudo make install. Probably because it took 12 (!) minutes. I didn't know the first build takes that long.

MoSattler commented 4 years ago

that was indeed it! Thank you!