Fwd: Bug in compiling kdevelop-1.0beta1 under NetBSD ?

Sandy Meier smeier at rz.uni-potsdam.de
Tue Aug 3 15:34:36 BST 1999


Some informations for NetBSD users. Anybody who can fix this in the Makefile.am?

----------  Weitergeleitete Nachricht  ----------
Subject: Bug in compiling kdevelop-1.0beta1 under NetBSD ?
Date: Tue, 3 Aug 1999 16:32:57 +0200 (MEST)
From: Pierre Bourgin <Pierre.Bourgin at lip6.fr>


Hello,

[==============================================================
Excuse-me to write to you, but I'm not in the kdevelop mailing
list.

Perhaps could you forward this mail to this mailing-list ?
==============================================================]

I've got some problem to build Kdevelop under NetBSD, because of
automake/autoconf stuff, I think.

I found some solutions described below that make kdevelop to be
builded. Also, kdevelop seems to work well.

My system is NetBSD/i386 1.4I with egcs and is in ELF stuff.


1).
---

If I use the command 
# ./configure --with-extra-libs=/usr/pkg/lib

it does not find libtiff.so (<- libtiff.so.3.4) that is in the
/usr/pkg/lib directory.

So the search of libs does not match with rpath, even 'rpath=
/usr/pkg/lib' is present on the linker command line to build the
executable 'kdevelop'.

As well, the libpng is neither found, but exists in /usr/pkg/lib
too.

2).
---

On my system, libdl does not exist (on Linux RedHat, it seems
to come with the glibc package). I think ths stuff it contains
must be in another 'standard' lib of my system.

So configure does not find it, but the linker step use it anyway
(-ldl) !

It can't build because even configure does not find 'libdl', the
command line for the link of kdevelop use '-ldl'.

Solution
--------

I edited the kdeveleop/Makefile file and replaced '-ldl' with
'-ltiff -lpng -lz'.

With this, It's compiling, and kdevelop seems to work well.

Regards,

Pierre Bourgin



More information about the KDevelop mailing list