From owner-freebsd-ports Fri May 19 19:14:43 2000 Delivered-To: freebsd-ports@freebsd.org Received: from sabami.seaslug.org (ip18.gte13.rb1.bel.nwlink.com [207.202.150.18]) by hub.freebsd.org (Postfix) with ESMTP id BF0AB37B5BD for ; Fri, 19 May 2000 19:14:40 -0700 (PDT) (envelope-from scott@sabmail.rresearch.com) Received: by sabami.seaslug.org (Postfix, from userid 1000) id CD3D71F7C; Fri, 19 May 2000 19:15:55 -0700 (PDT) Date: Fri, 19 May 2000 19:15:55 -0700 From: Scott Blachowicz To: Will Andrews Cc: Scott Blachowicz , R Joseph Wright , freebsd-ports@FreeBSD.ORG Subject: Re: KDE2: make install 'fails' ... Message-ID: <20000519191555.A25707@sabami.seaslug.org> Reply-To: Scott Blachowicz References: <87hfbuvwqh.fsf@sabmail.rresearch.com> <20000519220322.A45875@argon.blackdawn.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20000519220322.A45875@argon.blackdawn.com>; from andrews@technologist.com on Fri, May 19, 2000 at 10:03:22PM -0400 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, May 19, 2000 at 10:03:22PM -0400, Will Andrews wrote: > > * Tricks needed to build kde2 ports > > ** make PREFIX=/usr/X11R6/kde2 > > Does this allow people to have both KDE2 and KDE on their systems?? If > so, that's GREAT! If you're careful with paths, I think it might...but I'm not completely sure yet. > > ** The header file has a struct field named "class" that > > g++ didn't like a whole lot :-). It was included from > > kdelibs-1.90/kdecore/ksock.cpp to get a constant for Solaris. I > > ifdef'd it out like this: > > #ifndef __FreeBSD__ > > // defines MAXDNAME under Solaris > > #include > > #endif > > Ok, I'll add this patch, although I didn't have a problem with this > particular nit. Yes - I think someone else pointed out that that header file was fixed in a later FreeBSD version than I have (3.2). That reminds me...I forgot to include that problem with the missing mkstemps() function in this list. That was in kdelibs-1.90/kdecore/ktempfile.cpp and this code: bool KTempFile::create(const QString &filePrefix, const QString &fileExtension, int mode) { #ifdef __FreeBSD__ I changed that ifdef to '#if __FreeBSD_version >= 330002'. > > ** Make sure my $PATH setting has /usr/X11R6/kde2/bin before > > /usr/local/bin (where the old kde port installed things). > > Yup.. can have a simple script in .xinitrc to take care of this. Well...the .xinitrc that I've been accumulating over the past 9 years or so isn't so simple any more :-)). > > ** Make sure my $LD_LIBRARY_PATH setting has /usr/X11R6/kde2/lib before > > /usr/local/lib (where the old kde port installed things). Not sure if > > this is needed or has an effect. I need to read up on shared library > > handling on FreeBSD... > > ldconfig -m %B calls ``ldconfig -m ${PREFIX}/lib'', which adds the > correct search path for where you installed the libs. Yes...but I'm wondering if there are kde1 vs kde2 conflicts in the library names. If so, the kde2 programs would need to prefer the kde2 lib dir over the kde1 lib dir. > > ... > > kio (Slave): slave has connected to application > > kio (Slave): got answer 103 > > kio (KIOJob): error 24 www.freebsd.org > > kio (Scheduler): Scheduler: job finished job = 0x8119200 pid = 5022 > > kio (Scheduler): slave status > > kio (Scheduler): Slave = 0x8198000 (PID = 5022) protocol = http host = www.freebsd.org Not connected > > This is unusual.. looks like some protocol handling code isn't being > built for you. konqueror works flawlessly for me. Hmmm...maybe I should just break down and upgrade my OS to 4.0 :-)...what are you running? Ah well...dinner calls... -- Scott Blachowicz To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message