Subject: Re: kdeadmin - heimdal
To: None <>
From: =?ISO-8859-2?Q?Ond=F8ej_T=F9ma?= <>
List: pkgsrc-users
Date: 12/07/2006 14:01:59
Content-Type: text/plain; charset=ISO-8859-2
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Yes problematic heimdal :( I have problem like this with building
gnome-commander. I fix this problem with deleting
${WRKDIR}/.buildlink/include/krb5/fnmatch.h from build directory. May
be, u can fix the problem with delete file (link)
work/.buildlink/include/krb5/glob.h from build directory. See to source
files in work/kdeadmin-3.5.5/ksysv where they use glob.h.

Problem is, that hemidal config generate these CFLAGS:
# krb5-config --cflags
-I/usr/pkg/include/krb5 -I/usr/pkg/include
instead of:

and projects which are using hemidal could include it's headers via:
#include <krb5/glob.h>
#include <krb5/fnmatch.h>
instead of:
#include <glob.h>
#include <fnmatch.h>

But, problem is more disputable, cause these headers is in system too,
but with some another extension for krb5 (heimdal) :S

On Wed, 6 Dec 2006 19:13:22 +0100
"Lieven De Keyzer" <> wrote:

> I'm trying to build misc/kdeadmin3 on Slackware 11 and get the following =
> leveldb.o(.text+0x9a8): In function `findServiceEntries':
> : undefined reference to `rk_glob'
> leveldb.o(.text+0xad4): In function `isConfigured':
> : undefined reference to `rk_globfree'
> leveldb.o(.text+0xb44): In function `isOn':
> : undefined reference to `rk_globfree'
> leveldb.o(.text+0xcde): In function `doSetService':
> : undefined reference to `rk_globfree'
> collect2: ld returned 1 exit status
> make[3]: *** [ksysv] Error 1
> make[3]: Leaving directory
> `/usr/pkgsrc/misc/kdeadmin3/work/kdeadmin-3.5.5/ksysv'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
> `/usr/pkgsrc/misc/kdeadmin3/work/kdeadmin-3.5.5/ksysv'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/pkgsrc/misc/kdeadmin3/work/kdeadmin-3.5.=
> make: *** [all] Error 2
> I think the problem lies in the fact that I have two glob.h headers.
> One in /usr/include for my glibc Slackware package and one in
> /usr/pkg/include/krb5 from the /security/heimdal pkgsrc package. How
> would I make sure the one in /usr/include is used?

Ond=F8ej T=F9ma

Unix-like system is the best operation system from the top of the world.
I'm lucky BSD and linux user. :) Use unix-like, be free. :)                              
ICQ: 107760454       JABBER:      MSN:

Content-Type: application/pgp-signature

Version: GnuPG v1.4.5 (GNU/Linux)