FS#6619 - kdevelop bdb dependency issue (according to kdevelop's faq)

Attached to Project: Arch Linux
Opened by héctor (hacosta) - Saturday, 17 March 2007, 20:30 GMT
Last edited by Roman Kyrylych (Romashka) - Sunday, 18 March 2007, 07:52 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Travis Willard (Cerebral)
Architecture not specified
Severity Medium
Priority Normal
Reported Version 0.7.2 Gimmick
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

When i start kdevelop i get a Could not create language plugin for C.

This is in kdevelop's FAQ

I get an error message "couldn't create a language plugin". What is wrong?

Just as any other KDE application, you have to make sure that KDevelop's plugins are recognized by KDE. Either install it into your KDE directory (configure --prefix=/opt/kde3 for example) or add KDevelop path to your KDEDIRS environment variable and rerun "kbuildsycoca". Example command line for bash (assuming KDevelop is installed in /home/harry/kdevelop):

export KDEDIRS=/home/harry/kdevelop:$KDEDIRS && kbuildsycoca


If the error is specifically "Could not create language plugin for C++.", try also making sure you have a valid bdb (Berkeley DB) installation.

You should see something like this:

ldd ~/devel/install/lib/libkdevcatalog.so | grep libdb
libdb-4.3.so => /usr/lib64/libdb-4.3.so (0x00002ba8687c9000)

If you see something like this:

ldd ~/devel/install/lib/libkdevcatalog.so | grep libdb
libdb-4.3.so => not found

then your distro's package management hasn't managed to track the bdb dependency correctly and you need to install a compatible bdb version.


when i do.. ldd /opt/kde/lib/libkdevelopcatalog.so|greo libdb
i get... libdb-4.4.so => not found

This task depends upon

Closed by  Tobias Powalowski (tpowa)
Sunday, 18 March 2007, 11:53 GMT
Reason for closing:  Fixed
Comment by héctor (hacosta) - Saturday, 17 March 2007, 22:23 GMT
a recompile works
Comment by Roman Kyrylych (Romashka) - Sunday, 18 March 2007, 07:51 GMT
I guess you use Testing.
kdedevelop wasn't rebuild during db-4.5 rebuild process.
Comment by Tobias Powalowski (tpowa) - Sunday, 18 March 2007, 09:24 GMT
congrats you seem to have found a hidden depend :)
Comment by Tobias Powalowski (tpowa) - Sunday, 18 March 2007, 10:15 GMT
will be fixed this afternoon

Loading...