Subject: Re: kdeadmin - heimdal
To: None <pkgsrc-users@netbsd.org>
From: =?ISO-8859-2?Q?Ond=F8ej_T=F9ma?= <pkgsrc@blackmouse.biz>
List: pkgsrc-users
Date: 12/07/2006 14:01:59
--Signature=_Thu__7_Dec_2006_14_01_59_+0100_nudylJNpnUR5_poF
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:
-I/usr/pkg/include

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" <lieven.dekeyzer@gmail.com> wrote:

> I'm trying to build misc/kdeadmin3 on Slackware 11 and get the following =
errors:
>
> 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.=
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. :)

www.blackmouse.biz                                        hash.webjet.cz
ICQ: 107760454       JABBER: mcbig@jabber.cz      MSN: ondra.tu@atlas.cz

--Signature=_Thu__7_Dec_2006_14_01_59_+0100_nudylJNpnUR5_poF
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFeBDHBmNIPxOnb/IRApdbAJ9A3z1Excq1GaKYHFHZ4k7oyxBxRACfWO+M
r+av9AsZsyM/kf+SpsMMUys=
=2dHP
-----END PGP SIGNATURE-----

--Signature=_Thu__7_Dec_2006_14_01_59_+0100_nudylJNpnUR5_poF--