new 3.4 build errors

Bernd Schubert bernd-schubert at gmx.de
Fri May 26 18:05:42 UTC 2006


On Friday 26 May 2006 19:20, Andreas Pakulat wrote:
> On 26.05.06 14:48:55, Bernd Schubert wrote:
> > and after installing libnfsidmap-dev:
> >
> > make[4]: Entering directory
> > `/home/bernd/src/kdevelop/3.4/kdevelop/lib/widgets'
> > /bin/sh ../../libtool --silent --tag=CXX --mode=link
> > g++-4.1  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE
> > -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -g3
> > -fno-inline -g -Wall -Wformat-security -Wmissing-format-attribute
> > -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common
> > -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT
> > -DQT_NO_TRANSLATION    -o libkdevwidgets.la -rpath /home/bernd/local/lib
> > -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -L/usr/lib
> > -L/usr/share/qt3/lib -L/usr/X11R6/lib flagboxes.lo qcomboview.lo
> > klistviewaction.lo kcomboview.lo resizablecombo.lo kdevhtmlpart.lo
> > processlinemaker.lo processwidget.lo ksavealldialog.lo
> > fancylistviewitem.lo ../../lib/interfaces/libkdevinterfaces.la
> > /usr/bin/ld: cannot find -lldap
> > collect2: ld returned 1 exit status
> > make[4]: *** [libkdevwidgets.la] Error 1
> > make[4]: Leaving directory
> > `/home/bernd/src/kdevelop/3.4/kdevelop/lib/widgets'
> >
> > So I'm not allowed to have libldap and libnfsid map installed without
> > having their -dev packages installed?
>
> Well, if kdevelop should use libldap and libnfsidmap for specific
> features you'll need the -dev packages.

Thats clear, of course. Though, it shouldn't fail during the compilation but 
during the configure step. However, I would be really surprised if kdevelop 
would really need libldap or libnfsidmap.

>
> However I do not have libnfsidmap or libnfsidmap-dev installed and I
> also don't see any nfsidmap mentioned in any build-system-file. I guess
> it is pulled in by another lib (or it's linking flags). I also don't see
> -lldap mentioned in the snipped above. Did you specify any
> configure-flags?

Only "./configure --prefix=/home/bernd/local/ --disable-final --enable-debug=full"

My guess is that its libtool related. The libnfsidmap message shows even an 
sed error, this is clearly not compiler related. 
Don't know what it is up to, but when libnfsidmap is not installed, it doesn't 
have a problem. Only when its installed, it also wants to have 
libnfsidmap-dev. Thats what I'm complaining about ;) Same goes for libldap.
Unfortunately I have absolutely no experience with libtool, so far I refused 
to use it for my project.

-- 
Bernd Schubert
PCI / Theoretische Chemie
Universität Heidelberg
INF 229
69120 Heidelberg





More information about the KDevelop-devel mailing list