<div dir="ltr"><div dir="ltr">Hey!<div><br></div><div>dvratil, thanks a lot. :D Finally got PIM up and running. :)</div><div><br></div><div>The issue did turn out to be the environment variables. Actually the script suggested to be sourced in the wiki (<a href="https://community.kde.org/KDE_PIM/Development" rel="noreferrer" target="_blank">https://community.kde.org/KDE_PIM/Development</a> ) has certain paths as */lib64/*. All the directories on my PC were actually at */ib/x86_64-linux-gnu/*. So it wasn't finding the installed packages. </div><div>Maybe we can add this as an example of how the paths need to be adjusted in the wiki? Might help other beginners like myself.</div><div><br></div><div>Also, I did face difficulties in getting all the dependencies for all the modules. Maybe consider adding this link I stumbled upon later to the KDE PIM wiki too? : <a href="https://community.kde.org/Guidelines_and_HOWTOs/Build_from_source/Install_the_dependencies">https://community.kde.org/Guidelines_and_HOWTOs/Build_from_source/Install_the_dependencies</a></div><div><br></div><div>A step-by-step guide would help a lot IMO:</div><div><br></div><div>1. Install all non-KDE dependencies from the above list</div><div>2. Remove qt includes from the kdesrc-buildrc file (as it already got installed in the first step)</div><div>3. Add the includes already mentioned in the wiki to kdesrc-buildrc</div><div>4. Run kdesrc-build and figure out more non-KDE packages to be installed by checking the error logs (Some packages like xsdcxx and libkolabxml-dev aren't mentioned in the above list)</div><div>5. Once build is passing, modify the script paths to reflect your system</div><div>6. Install runtime dependencies (mariadb-server/postgresql)</div><div>6. Source script and run :)</div><div><br></div><div>Might be very basic, but caused a bit of trouble to a newbie like me :P</div><div><br></div><div>Again, thanks a lot! :)</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Mar 15, 2020 at 12:12 AM Daniel Vrátil <<a href="mailto:dvratil@kde.org">dvratil@kde.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Saturday, 14 March 2020 16:49:29 CET Shashwat Jolly wrote:<br>
> I am running a fresh install of Ubuntu 19.10.<br>
> <br>
> - When I followed the first method (sudo apt build-dep on failing modules),<br>
> akonadi started up fine. Then I was able to open up korganizer, but it<br>
> crashed when I tried to create a new event.<br>
> Error log: <a href="https://pastebin.com/x6gDYAVH" rel="noreferrer" target="_blank">https://pastebin.com/x6gDYAVH</a><br>
<br>
This looks like you are mixing the distro-provided packages and the self-<br>
compiled ones.<br>
<br>
Check this guide: <a href="https://community.kde.org/KDE_PIM/Development" rel="noreferrer" target="_blank">https://community.kde.org/KDE_PIM/Development</a> it contains <br>
some environment settings to install PIM into an external directory so it <br>
doesn't clash with the system packages.<br>
<br>
> <br>
> I redid the entire process on a fresh install and still got more errors<br>
> (different this time):<br>
> <br>
> parse error from icalcomponent_new_from_string. string= ""<br>
> <br>
> > org.kde.pim.calendar_serializer: Failed to parse incidence! Item id = 3<br>
> > Storage collection id 13 parentCollectionId = 13<br>
> > org.kde.pim.calendar_serializer: ""<br>
> > org.kde.pim.akonadicore: Unable to deserialize payload part: "RFC822" in<br>
> > item 3 collection 13<br>
> > org.kde.pim.akonadicore: Payload data was: ""<br>
<br>
Looks like Akonadi is not finding the plugins, the link above wil probably <br>
help.<br>
<br>
<br>
> Maybe the event title is being parsed as an empty string?<br>
> <br>
> Also, kontact opened up as a blank window, kmail seemed to work and even<br>
> saved drafts (though I did not connect my account). All PIM applications<br>
> (korganizer, kontact, kmail) had the error "Shared library was not found"<br>
> when I opened up their settings.<br>
> <br>
> - I tried the second method as I thought I would be able to get all non-KDE<br>
> dependencies from the packages listed in the Dockerfile, but the Docker<br>
> image is based on KDE neon and I am running Ubuntu 19.10, which is probably<br>
> why I still got missing dependencies.<br>
> <br>
> Any inputs are appreciated, I'm kind of stuck here :|<br>
> <br>
> On Sat, Mar 14, 2020 at 8:29 PM Shashwat Jolly <<a href="mailto:shashwat.jolly@gmail.com" target="_blank">shashwat.jolly@gmail.com</a>><br>
> <br>
> wrote:<br>
> > Hi,<br>
> > <br>
> > I was trying to build kde-pim using kdesrc-build and was having trouble<br>
> > getting all the dependencies. I've tried the following things:<br>
> > <br>
> > - "sudo apt build-dep <module>" on every module that fails to build<br>
> > <br>
> > This I think also installs the released versions of the modules being<br>
> > built, and these conflicts cause problems. Eg: when I run korganizer, I'm<br>
> > unable to create a new event etc.<br>
> > <br>
> > - I cloned the kdepim-docker repo (<br>
> > <a href="https://community.kde.org/KDE_PIM/Docker" rel="noreferrer" target="_blank">https://community.kde.org/KDE_PIM/Docker</a>) and installed all packages<br>
> > listed there. The list was apparently not exhaustive as I'm still getting<br>
> > many missing dependencies in many modules.<br>
> > <br>
> > Any suggestions on how I can smooth this out? I want to build PIM and<br>
> > work on kontact, kmail etc.<br>
> > <br>
> > Thanks,<br>
> > Shashwat Jolly<br>
<br>
<br>
-- <br>
Daniel Vrátil<br>
<a href="http://www.dvratil.cz" rel="noreferrer" target="_blank">www.dvratil.cz</a> | <a href="mailto:dvratil@kde.org" target="_blank">dvratil@kde.org</a><br>
IRC: dvratil on Freenode (#kde, #kontact, #akonadi, #fedora-kde)<br>
<br>
GPG Key: 0x4D69557AECB13683<br>
Fingerprint: 0ABD FA55 A4E6 BEA9 9A83 EA97 4D69 557A ECB1 3683</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr">-Shashwat Jolly<div><span style="border-collapse:collapse;font-family:"times new roman","new york",times,serif;font-size:16px"><div><font size="4" face="tahoma, new york, times, serif"><strong><font face="garamond, new york, times, serif"><font size="2"><span><br></span></font></font></strong></font></div></span></div></div></div></div></div></div></div>