where is kdelibs-devel?

Discussions Regarding Software

Moderator: Moderators

where is kdelibs-devel?

Postby superpat » Sat Oct 13, 2007 21:02

Hi,

I am trying to install (from source, no ebuild) the PDA program plptools v 0.18

This compiles fine without kde support!

However when I tell config to build with kde support, the configure program fails stating that:-

Checking for kde configure error. In the prefix you have chosen there are no KDE headers installed, this will fail. So check this please and use another prefix.

NOW I AM POSITIVE I AM USING THE CORRECT PREFIX. However reading the README file it states that a prerequisite is that :-

(install kde stuff) This needs installed KDE (=>2) headers/development libraries as well as QT (=>) 2.2.4 headers/development libraries.

Please can someone put me out of my misery and tell me where I can find the kdelibs-devel and kdebase-devel packages. I cannot see them in Gentoo portage or Sabayon SVN!

regards

Patrick
superpat
Young Hen
 
Posts: 21
Joined: Fri May 05, 2006 17:28
Location: Silchester U.K.

Re: where is kdelibs-devel?

Postby wolfden » Sat Oct 13, 2007 21:07

is there a reason why you need that particular version?

plptools-0.13 is in portage.

I myself would download the ebuild and look at it and see If I couldn't get it to do the 0.18
User avatar
wolfden
Sharecropper
 
Posts: 8822
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA

Re: where is kdelibs-devel?

Postby rand.a » Sat Oct 13, 2007 22:40

Should be easy to update the ebuild for that version. Check out the guide:

http://gentoo-wiki.com/HOWTO_Create_an_Updated_Ebuild
User avatar
rand.a
Growing Hen
 
Posts: 163
Joined: Fri Mar 23, 2007 20:08
Location: Shelton, WA

Re: where is kdelibs-devel?

Postby superpat » Sun Oct 14, 2007 0:19

@wolfden

Version 0.18 is essential due to changes in versions of qt and gcc used now, V 0.13 dates from 2005!

@convict

EVEN if I updated the ebuild for o.13, it would still fail with the same problem with KDE devel libs.

plptools is a toolkit of 4-5 command line apps plus a KIO slave library app

BOTH versions need the devel libs to compile the KDE portion of the program!

All I want to know is how to get the kdelibs-devel package??????????

Please!


EDIT 13:40 14-10-2007

@convict.

Looking at the 0.13 ebuild, ALL that the ebuild is checking for is kdebase- kdelibs NOT kde-devel libs.

I already have kdebase-kdelibs installed.

The README for plptools SPECIFICALLY states that it needs kdelibs-devel package to be able to compile the kde part of the program


Patrick
superpat
Young Hen
 
Posts: 21
Joined: Fri May 05, 2006 17:28
Location: Silchester U.K.

Re: where is kdelibs-devel?

Postby superpat » Sun Oct 14, 2007 22:00

Well I have got past the configure problem, it did not REALLY need kde devel libs, that part of the README appears to be a fossil from a very old version!!!!
Now of course the compile fails --- ( what else!)

The problem with the configure, was that it was not checking the installed file structures correctly!

I finally had to give this command:
Code: Select all
>./configure --enable-kde --with-kdedir=/usr/kde/3.5/ --prefix=/usr  --with-qt-dir=/usr/qt/3/ --with-kdeversion=3       


Configure now produces the MAKEFILES OK, but when the KIOslave part of the kde app is compiling it bombs with


Code: Select all
 g++ -shared -nostdlib /usr/lib/gcc/i586-pc-linux-gnu/4.1.2/../../../crti.o /usr/lib/gcc/i586-pc-linux-gnu/4.1.2/crtbeginS.o  .libs/plpprops.o .libs/plppropsFactory.o .libs/pie3dpiece.o .libs/pie3dwidget.o .libs/libplpprops_la_meta_unload.o  -Wl,--rpath -Wl,/home/patrick/plptools-0.18/lib/.libs -Wl,--rpath -Wl,/usr/kde/3.5/lib -Wl,--rpath -Wl,/usr/qt/3/lib -L/home/patrick/plptools-0.18/lib/.libs -L/usr/kde/3.5//lib ../../lib/.libs/libplp.so /usr/kde/3.5/lib/libkio.so -lkfile -lnsl -L/usr/lib/gcc/i586-pc-linux-gnu/4.1.2 -L/usr/lib/gcc/i586-pc-linux-gnu/4.1.2/../../../../i586-pc-linux-gnu/lib -L/usr/lib/gcc/i586-pc-linux-gnu/4.1.2/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/i586-pc-linux-gnu/4.1.2/crtendS.o /usr/lib/gcc/i586-pc-linux-gnu/4.1.2/../../../crtn.o  -Wl,-soname -Wl,libplpprops.so -o .libs/libplpprops.so
/usr/lib/gcc/i586-pc-linux-gnu/4.1.2/../../../../i586-pc-linux-gnu/bin/ld: cannot find -lkfile
collect2: ld returned 1 exit status
make[2]: *** [libplpprops.la] Error 1
make[2]: Leaving directory `/home/patrick/plptools-0.18/kde2/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/patrick/plptools-0.18/kde2'
make: *** [all-recursive] Error 1




What is the missing "-lkfile" ?

How do I fix this?

regards

Patrick
superpat
Young Hen
 
Posts: 21
Joined: Fri May 05, 2006 17:28
Location: Silchester U.K.

Re: where is kdelibs-devel?

Postby cyrwyn » Mon Oct 15, 2007 16:47

When you see a line in compile that is like "-lkfile", the "l" means library. So, there is a missing development library that is needed or needs a path to it if it is installed. Any KDE program must have some of the KDE-devel libs to compile, as well as QT-devel.
cyrwyn
Young Hen
 
Posts: 31
Joined: Fri Apr 13, 2007 17:57
Location: NM

Re: where is kdelibs-devel?

Postby superpat » Mon Oct 15, 2007 18:56

@cyrwyn

Thankyou!

Have I understood this correctly, even though the configure program does not barf about no kde-devel libs any more, plptools is failing to compile because it DOES need the kde-devel libs?


If that is the case, WHERE CAN I find the package or rpm or whatever?

Back to square one!

regards

Patrick
superpat
Young Hen
 
Posts: 21
Joined: Fri May 05, 2006 17:28
Location: Silchester U.K.


Return to Software in General

Who is online

Users browsing this forum: No registered users and 1 guest