This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Koffice install from source fails, can't find database serve

Tags: None
(comma "," separated)
msjs
Registered Member
Posts
8
Karma
0
OS
Hi All
These last few days I've been trying to get kexi installed. I gave up on Base after 3 weeks, when it could not do what I was able to do on M$Access 13yrs ago.

I have Mandriva 2010.0 on my main PC (Dual core xeon with 3GB ram) and have updated to Mandriva 2010.1 on my laptop.
I tried installing kexi by itself and then koffice from rpms but because they were from backports they wouldn't start.

On the PC I downloaded koffice-2.2.1.tar.bz2 and untarred into /Installs/ (I'm not in familiar ground working with tarballs)
As root in /Installs/, I ran
Code: Select all
cmake -DCMAKE_INSTALL_PREFIX=/usr/share/apps/koffice/ /Installs/koffice-2.2.1/ -DCMAKE_BUILD_TYPE=RelWithDebInfo

from the /Installs/ directory. I had to install a few other devel packages to get it to complete.
Then I ran make and make install and both appeared to complete OK.

I as a normal user, added
Code: Select all
export KDEDIRS=$KDEDIRS:/usr/share/apps/koffice
export PATH=$PATH:/usr/share/apps/koffice/bin
kbuildsycoca4


I then started kexi and attempted to create my first database. I went through the obvious until I clicked save and got the error Could not find database driver "". I tried to do the same for MySQL and got the same error.

Any thoughts?

Thanks
Max
msjs
Registered Member
Posts
8
Karma
0
OS
I also tried starting kword, kspread, and others and they did not even appear to start.
msjs
Registered Member
Posts
8
Karma
0
OS
This time I recompiled using
Code: Select all
cmake -DCMAKE_INSTALL_PREFIX=/usr/share/apps/koffice/ /Installs/koffice-2.2.1/ -DCMAKE_BUILD_TYPE=Debug > CMake.txt
make > make.txt
make install > make_install.txt


All appeared to complete OK, lots of warnings about things but no obvious errors. The *.txt files can be made available if needed (these didn't grab all that was shown to the screen during the various stages (I don't know enough yet to say why)).

Again I, as a normal user, added
Code: Select all
export KDEDIRS=$KDEDIRS:/usr/share/apps/koffice
export PATH=$PATH:/usr/share/apps/koffice/bin
kbuildsycoca4


This time I was able to save the database file. The only thing I did different was changed -DCMAKE_BUILD_TYPE=RelWithDebInfo to -DCMAKE_BUILD_TYPE=Debug

Any clues why setting to Debug would have changed anything????
Max


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Google [Bot], markhm, rblackwell, sethaaaa, Sogou [Bot], Yahoo [Bot]