Subject: RE: Trouble building KDEBASE
To: 'Thorsten Frueauf' <s_frueau@ira.uka.de>
From: Job Hanssen <hanssen@dds.nl>
List: tech-pkg
Date: 02/21/1999 01:44:32
Sorry for the long time it took to give you some feedback on this =
topic... I definitly have to look for another internet-provider, as this =
one really sucks (I only got busytones dialing their numbers....).

Anyway, I did as you proposed, and KDE compiled straight out of the box. =
However on install it started complaining about some amiga specific =
headerfiles that were missing. I then decided to have a try and compile =
the complete NetBSD-1.3.2 system :-), including the complete X-tree. Up =
'till now I only compiled some packages, and ran the precompiled =
binary-distribution. WOW! It compiled right away! No problems at all!
And I must say, the difference in speed is amazing.

Well, to get back on topic, after I completed installing the new system =
and X, I tried installing KDE again and then it went on flawlessly. The =
only thing is that the panel dumps core on me, but I guess I'll just =
wait a few days and have another go with KDE1.1.

Thanks for all the help!

Oh.. Just one more minor thing... I noticed that if I issue a 'make =
package', the packages that are installed to resolve the depencies are =
NOT made into packages, they are just installed and you'd have to issue =
a 'make pacakage' for them seperately to get the gzipped tar-balls for =
'm.
Wouldn't it be a logical step to have this done automatically? Anyway, =
that's just a thought.

Regards,

   Job Hanssen - hanssen@dds.nl

----------
From: 	Thorsten Frueauf[SMTP:s_frueau@ira.uka.de]
Sent: 	woensdag 17 februari 1999 13:47
To: 	Job Hanssen
Cc: 	tech-pkg@netbsd.org
Subject: 	Re: Trouble building KDEBASE

Hello!

[ Please note that issues like this should go to tech-pkg@netbsd.org.
  I did cc: it to there, please regard that if replying, thanx.       ]

> I'm trying to build KDE on my NetBSD-1.3.2 system, but up to now =
without
> luck. I have unpacked the package-sources  found on the Gateway! V3 =
CD's
> into /usr/pkgsrc, removed the directory distfiles, and made a softlink
> to the directory on CD-2 containing the distfiles (ln -s
> /mnt/cd1/packages/distfiles distfiles). This works pretty well for me
> and safes a lot of diskspace.

While this might work, its propably better to just set DISTDIR to
/mnt/cd1/packages/distfiles :)

> checking for KDE... libraries /usr/pkg/lib, headers /usr/pkg/include
                                ^^^^^^^^              ^^^^^^^^
[...]
> checking for kde headers installed... configure: error: your system is =
=3D
> not able to compile a small KDE application!
> Check, if you installed the KDE header files correctly.
> Stop.
[...]
> I DID of course check the headerfiles and they ARE in =
/usr/pkg/include.
> After all, kdelibs was build nicely.

Below you show your /etc/mk.conf. You do set PREFIX there - this is
the fault. Don't set PREFIX, just LOCALBASE. KDE expects the includes
in X11BASE. PREFIX gets set to either LOCALBASE ot X11BASE, depending
on where the pakcage is expected to go. If you overwrite PREFIX you
get strange effetcs like that.

> Also, just trying things, I unpacked (but not installed) the
> binary-package for kdelibs and cp'd all the *.h files into
> /usr/pkg/include, but still to no avail.

You really should not do such things. If you want to use binary
packages, use pkg_add(1) to install them.

> Could this have something to do with my entries in /etc/mk.conf?

Yes :)

> Kylian# cat /etc/mk.conf=20
> LOCALBASE=3D /usr/pkg
> PREFIX=3D /usr/pkg
  ^^^^^^^^^^^^^^^^
Just remove the entry for PREFIX.

> M68060=3D YES
> COPTS=3D -m68060
> HAVE_MOTIF=3D YES
> PAPERSIZE=3D A4

> Or do I miss something in /etc/ld.so.conf?

No, that one is ok.

> Suggestions anyone?

You might want to wait some days until Matthias Scheler finished the
KDE 1.1 integration. Then its maybe a better idea to fetch the current
pkgsrc tarball, or just install the binary packages if they get
available. The KDE version from the Gateway! CD had some problems on
m68k if I recall right.

Greets
--=20
   Name  : Thorsten Frueauf            Milano@irc cri@onaliM       //
   E-Mail: s_frueau@ira.uka.de oder ukfy@rz.uni-karlsruhe.de     \X/