Subject: Re: kdeadmin - heimdal
To: Christian Biere <christianbiere@gmx.de>
From: Lieven De Keyzer <lieven.dekeyzer@gmail.com>
List: pkgsrc-users
Date: 12/07/2006 16:13:44
On 12/7/06, Christian Biere <christianbiere@gmx.de> wrote:
> Ond?ej T?ma wrote:
> > 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
>
> I think the only reasonable approach is to get rid of these headers
> altogether. Either by using building in a chroot
>
I'm not really familiar with chroot. Could you elaborate on this or
exemplify how heimdal and kdeadmin should be built using chroot?

>or by removing them physically. The same is true for library files of
course. The static
> ones can be removed just like headers as they are never used after
> compiling. For shared libraries one would have to remove the
> non-versioned .so file respectively move replace symlinks to it
> with hardlinks.
>
Are you talking about Slackware's glibc headers or the ones from heimdal?

> Using chroot is probably the better option unless you really know
> what you're doing. On a typical Linux machine it's a good idea to
> get rid of all their "-dev" or "-devel" packages before you start
> using pkgsrc.
>
Slackware usually doesn't make this difference. The only -devel
package is x11-devel.