Registered Member
|
Hi. Jaroslaw.
I did a new build last night late after a 'git pull' and all seemed ok. Kexi started up. BUT 1. All projects have disappeared from the Welcome screen. They are still in ~/inksi/.kde/share/apps/kexi/recent_projects/ but do not show on the screen for click selection. BUT 2. If I click on Open/Projects Stored On Database Server - then a warning notice arrives telling me "No Database Server Drivers Found". well, i did have them, particularly the postgresql driver. If i download that via my package manager I will get the old kexi installed as well. I could be cleverer, but then it might not be installed in the correct place and is likely to be an older version (with the double quotes ' -> "" bug as well). BUT 3. Even the .kexi sqlite database under Projects Stored In File is not recognised as a database. Before I break this further, please advise. Ian |
Registered Member
|
Addendum.
As regards BUT 1, they are not all in the recent_projects directory, some have definitely disappeared from there. Only 2 remain of maybe half a dozen. Ian |
Administrator
|
When compiling your own version of Kexi, it is possible necessary dependencies are missing from your system.
Could you please post the output CMake generates when configuring Kexi to be built?
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Hello, bcooksley
here is the output as requested. hope use of code tag is appropriate.
I am not in the source directory as stated and as you can see. But I cannot rule out the fact that this may have occured earlier in error. regards Ian |
Moderator
|
@Ian in the top source code directory please type:
|
Administrator
|
The use of the code tags was perfect. Please clean your checkout and then perform an out-of-source configuration as recommended, then post the output again.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Hi there.
I did the following.
This runs with the final line (following many similar)
But the situation is unchanged from earlier. Even the .kexi database file is unrecognised. Maybe we are going to have to do a fresh install/build from scratch? Ian |
Administrator
|
It is the log output by CMake itself that is particularly interesting here - it is likely certain dependencies are not installed on your system which may be crucial to Postgres/SQLite support.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Hi,
I am checking through all kde dependencies as I write. All seem good, but I note the following kdelibs5 are there except -dbg which is suprising. Should I install that? if I run 'apt-get build-dep kdelibs5' then it selects kdelibs4 with the message below, so I did not answer 'yes'
sqlite has a large selection of packages installed but for postgresql, there is nothing installed on this machine from the package manager - and which will install the full package kexi if I try to install just the kexi-postgresql-driver. Did not the postgresql driver not come with my original master installation? I find no files named 'postgres' in the ~/kde4 directory Ian |
Moderator
|
The name should rather contain pqxx. Possible issue with non-clean rebuilds come from the fact that plugins/drivers in Kexi changed some underlying way of loading. I recommend a clean rebuild, that is:
Then, proceed with the usual build instructions: https://community.kde.org/Calligra/Buil ... d_Calligra. PS: You may need to recall all the options you picked for cmake. PS2: Do not forget 'make instal'. |
Registered Member
|
jstaniek, hi.
short story. still not running. long story follows: I followed that carefully, removed and recreated appropriate directories did cmake did make install followed the instructions in 'Running from the command line". ie sourced my .profile beause all the export lines are still there made the tmp directories $ kbuildsycoca4 right, we are all done there. Where we are at now is that kexi starts. The 'Welcome' shows no existing items to choose from. If I go to the 'Open Projects' page it hangs with the 'egg timer' revolving non-stop. Thus i am unable to look for file or server database, exit, or choose another menu item If I leave that for another screen, then all is blank when I return and I have to force a close. So I do a fresh git pull, and work through the process again. We are back where I was at the beginning of this thread. The .kexi file unrecognised, no postgresql driver, and on top of this the app proceeds at slower than snail speed. Many minutes for anything to happen. Then I spot the 'Calligra 2,8' logo! This was from way back. Checking, the directory structure kde4/build/calligra kde4/build/calligra-2.8 - both exist. So in effect the only the /calligra directory was deleted. But definitely a clean build (over 1 hour of it) and I have not been in the 2.8 branch. I don't know how it picks up 2.8, must be something somewhere. Unless any advice to the contrary i wll delete both of these directories and make another build this weekend. Looking at Calligra/Building#Working_with_multiple_versions and note that this needs updating. 2.9 is master, right? Yo!! TGIF tomorrow Ian |
Moderator
|
You can type "git branch" to see if you're on master branch. To change to master: "git checkout master".
To be sure, have you set environment variables before you run cmake and "make install"? Details: https://community.kde.org/Calligra/Buil ... mmand_Line PS: Recommended speedup: add -j5 option right after 'make' (for 4 CPU cores) |
Registered Member
|
Hi, Jaroslaw,
Right! There we go, the latest installed and up and running. Build time 1h 20m All your git command line options saved for future reference. How we got here I do not know, but I will be certain to run the cmake/make/install commands from the correct directory next time, that could have been the source of these errors? I should have been smarter. Not upgraded is the shop m/c, and we had a hiccup with the kexi+sheets option there that did not occur on this laptop when upgrading. Should have been a pointer to an older install. Ian |
Administrator
|
In regards to diagnosing why the Postgres driver isn't being built, please post the output from CMake so we can examine it. As Jaroslaw mentioned, you are probably missing the appropriate libpq* development package. It is not necessary to install the build dependencies for kdelibs5 in order to build Calligra/Kexi.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Hello, bc.
Cannot post that now, too late. But, using Mint, I did now update prior to the new build according to the information in Calliga/Building#Debian using:
and then many packages were updated. In respect of that I note that then running cmake still generated an error for non-appearance of 'boost'. This on two distinct machines updated within a day of one another. Installing libboost-system-dev cured this message and then the build went successfully ahead. Next new builds will all be preceded by a full system update. Build time 32min on older 2-core amd machine The build on the Pentium M based laptop took an hour and a half. maybe I should try gold linker, would this speed it up much? Ian |
Registered users: bancha, Bing [Bot], Evergrowing, Google [Bot], lockheed, mesutakcan, sandyvee, Sogou [Bot]