From owner-freebsd-ports Fri May 19 18:24:20 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 8204437B8FA for ; Fri, 19 May 2000 18:24:12 -0700 (PDT) (envelope-from scott@sabmail.rresearch.com) Received: from sabmail.rresearch.com (ip18.gte13.rb1.bel.nwlink.com [207.202.150.18]) by sabami.seaslug.org (Postfix) with SMTP id 876D41F7C; Fri, 19 May 2000 18:25:26 -0700 (PDT) To: R Joseph Wright Cc: freebsd-ports@FreeBSD.ORG Subject: Re: KDE2: make install 'fails' ... References: Reply-To: scott@sabami.seaslug.org From: Scott Blachowicz Date: 19 May 2000 18:25:26 -0700 Message-ID: <87hfbuvwqh.fsf@sabmail.rresearch.com> Lines: 281 User-Agent: Gnus/5.0805 (Gnus v5.8.5) XEmacs/21.1 (Canyonlands) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Ki kwas kable kto kbuild kit kokay, kbut kit kmatters knot. Knone kof > kthe kprograms kwill krun. Kthe konly kone kthat kdoesn't kcrash kis kthe > kcrash kwizard! Knot for me. I got it all built into a PREFIX=/usr/X11R6/kde2 setup (after some fixing & tweaking) and mostly running. I'll append my notes. I wonder, though, if some of my runtime problems are related, maybe, to picking up some old files somewhere, somehow... So...how much of this should go to KDE bug reports? If so, what version do I claim to be using? The kcontrol app claims "2.0pre" where the distribution files claim "1.90". -- Scott Blachowicz * Environment: FreeBSD 3.2-RELEASE * Tricks needed to build kde2 ports ** make PREFIX=/usr/X11R6/kde2 ** Library building ports don't seem to run ldconfig to update so cache stuff...I did it "manually". ** 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 ** Got compile errors from kdebase-1.90/nsplugins/wrapper: /bin/sh ../../libtool --mode=compile gcc295 -DHAVE_CONFIG_H -I. -I. -I../.. -I../../nsplugins -O -pipe -c wrapper.c gcc295 -DHAVE_CONFIG_H -I. -I. -I../.. -I../../nsplugins -O -pipe -c wrapper.c -fPIC -DPIC -o wrapper.lo In file included from ../../nsplugins/sdk/npupp.h:16, from wrapper.c:6: ../../nsplugins/sdk/npapi.h:39: X11/Xlib.h: No such file or directory ../../nsplugins/sdk/npapi.h:40: X11/Xutil.h: No such file or directory Fixed by altering Makefile.am to include X dirs: lib_LTLIBRARIES = libnswrapper.la libnswrapper_la_SOURCES = wrapper.c libnswrapper_la_LDFLAGS = -L$(x_libraries) INCLUDES = -I$(top_srcdir)/nsplugins -I$(x_includes) ** The following dependencies in the x11/kde2/Makefile were satisfied by the old kde files I still have laying around: kcalc:${PORTSDIR}/misc/kdeutils2 \ kmahjongg:${PORTSDIR}/games/kdegames2 \ kmail:${PORTSDIR}/net/kdenetwork2 so I went into those directories and explicitly built them. Do those kde2 ports install anything that is unique to kde2 that could be used for the test instead of kcalc, kmahjongg & kmail? * Tricks needed to run ** /usr/local/bin/kdm: #! /bin/sh PATH=/usr/X11R6/kde2/bin:$PATH export PATH LD_LIBRARY_PATH=/usr/X11R6/kde2/lib:$LD_LIBRARY_PATH export LD_LIBRARY_PATH exec /usr/X11R6/kde2/bin/kdm -nodaemon ** Make sure my $PATH setting has /usr/X11R6/kde2/bin before /usr/local/bin (where the old kde port installed things). ** 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... * Broken stuff at runtime ** kdm - There's no text insertion cursor in the username or password text fields. Kind of disconcerting. ** kdm - Hitting return from the password field doesn't activate the "Go" button - I have to hit it myself. ** kcontrol - Going into the "Look & Feel" -> "Desktop" -> "Background" configuration generates a SIGSEGV. Here is the debug output: KApp: Unable to find style plugin coldionsstyle.la. kdecore (KIconLoader): Theme tree: (KDE-HiColor: (KDE-LoColor)) kcontrol: Path Applications/ kcontrol: Path LookNFeel/Windows/ kcontrol: Path LookNFeel/ kcontrol: Path LookNFeel/Windows/ kcontrol: Path LookNFeel/Desktop/ kcontrol: Path LookNFeel/ kcontrol: Path LookNFeel/Desktop/ kcontrol: Path LookNFeel/Desktop/ kcontrol: Path LookNFeel/Desktop/ kcontrol: Path LookNFeel/Desktop/ kcontrol: Path LookNFeel/ kcontrol: Path LookNFeel/ kcontrol: Path LookNFeel/ kcontrol: Path LookNFeel/Themes/ kcontrol: Path LookNFeel/ kcontrol: Path LookNFeel/ kcontrol: Path LookNFeel/ kcontrol: Path LookNFeel/ kcontrol: Path LookNFeel/ kcontrol: Path Information/ kcontrol: Path Sound/ kcontrol: Path Sound/ kcontrol: Path Peripherals/ kcontrol: Path Peripherals/ kcontrol: Path Browsing/Files/ kcontrol: Path Browsing/ kcontrol: Path Browsing/Files/ kcontrol: Path Browsing/Neighbourhood/ kcontrol: Path Browsing/ kcontrol: Path Browsing/Web/ kcontrol: Path Browsing/ kcontrol: Path Browsing/Web/ kcontrol: Path Browsing/Web/ kcontrol: Path Browsing/Web/ kcontrol: Path Browsing/Web/ kcontrol: Path PowerControl/ kcontrol: Path Personalization/ kcontrol: Path Personalization/ kcontrol: Path Personalization/ kcontrol: Path Laptop/ kcontrol: Path Laptop/ kcontrol: Path Laptop/ kcontrol: Path Laptop/ kcontrol: Path Laptop/ kcontrol: path: &File &View &Mode Icon &size &Help kcontrol: Path Applications/ kcontrol: Path LookNFeel/Windows/ kcontrol: Path LookNFeel/ kcontrol: Path LookNFeel/Windows/ kcontrol: Path LookNFeel/Desktop/ kcontrol: Path LookNFeel/ kcontrol: Path LookNFeel/Desktop/ kcontrol: Path LookNFeel/Desktop/ kcontrol: Path LookNFeel/Desktop/ kcontrol: Path LookNFeel/Desktop/ kcontrol: Path LookNFeel/ kcontrol: Path LookNFeel/ kcontrol: Path LookNFeel/ kcontrol: Path LookNFeel/Themes/ kcontrol: Path LookNFeel/ kcontrol: Path LookNFeel/ kcontrol: Path LookNFeel/ kcontrol: Path LookNFeel/ kcontrol: Path LookNFeel/ kcontrol: Path Information/ kcontrol: Path Sound/ kcontrol: Path Sound/ kcontrol: Path Peripherals/ kcontrol: Path Peripherals/ kcontrol: Path Browsing/Files/ kcontrol: Path Browsing/ kcontrol: Path Browsing/Files/ kcontrol: Path Browsing/Neighbourhood/ kcontrol: Path Browsing/ kcontrol: Path Browsing/Web/ kcontrol: Path Browsing/ kcontrol: Path Browsing/Web/ kcontrol: Path Browsing/Web/ kcontrol: Path Browsing/Web/ kcontrol: Path Browsing/Web/ kcontrol: Path PowerControl/ kcontrol: Path Personalization/ kcontrol: Path Personalization/ kcontrol: Path Personalization/ kcontrol: Path Laptop/ kcontrol: Path Laptop/ kcontrol: Path Laptop/ kcontrol: Path Laptop/ kcontrol: Path Laptop/ kcontrol: path: kcontrol: path: kcontrol: path: kcontrol: activate: Background kcontrol: path: LookNFeelDesktop kcontrol: KCrash: crashing.... crashRecursionCounter = 0 kcontrol: KCrash: Appname = 0x80abbe0 apppath = 0x0 KApp: Unable to find style plugin coldionsstyle.la. ** konqueror - Whenever I try to connect to an http url, I get this kind of debug output (this for http://www.freebsd.org) and a "Connection to host www.freebsd.org is broken" error. konqueror: Instance kshorturifilter has no about data konqueror: Instance kuriikwsfilter has no about data konqueror: KonqMainView::openURL : url = 'http://www.freebsd.org' serviceType='' konqueror: KonqMainView::setLocationBarURL : url = http://www.freebsd.org konqueror: trying openView for http://www.freebsd.org (servicetype ) konqueror: Creating new konqrun for http://www.freebsd.org konqueror: FILTERING text/html konqueror: KonqMainView::openView text/html http://www.freebsd.org KonqKfmIconView::stop() konqueror: KonqMainView::setLocationBarURL : url = http://www.freebsd.org konqueror: trying to create view for "text/html" libkonq: text/html.desktop libkonq: X-KDE-AutoEmbed set to true konqueror: KonqChildView::switchView kdecore (KIconLoader): Theme tree: (KDE-HiColor: (KDE-LoColor)) konqueror: KonqFrame::attachInternal() kparts: Part child view removed konqueror: slotPartActivated 0x0 kparts: MainWindow::createGUI for 0L kparts: deactivating GUI for child view konqueror: slotPartActivated 0x811d780 kparts: MainWindow::createGUI for child view konqueror: KonqViewManager(0x8087040)::chooseNextView(0x811f100) konqueror: slotPartActivated: setting location bar url to http://www.freebsd.orgkdecore (KProtocolManager): ERROR: Protocol not found kparts: WARNING: Part child view must have at least a ClickFocus policy. Prepare for trouble ! konqueror: -KonqKfmIconView libkonq: forgetting about /usr/users/scott kparts: deleting widget [KonqIconViewWidget pointer (0x8113e00) to widget qiconview, geometry=700x388+0+0] qiconview kdecore (KLibLoader): KLibrary: shutdown timer started! khtml (part): KHTMLPart::openURLhttp://www.freebsd.org khtml (part): closing old URL khtml (part): KHTMLPart::openURL now (before started) m_url = http://www.freebsd.org khtml (part): saveState! khtml (part): KHTMLPart::saveState saving URL http://www.freebsd.org konqueror: KonqChildView::show() kio (Scheduler): Scheduling job kio (Scheduler): Scheduler Info kio (Scheduler): ========== kio (Scheduler): Total Slaves: 1 kio (Scheduler): Slave: file 0 pid: 5018 kio (Scheduler): -- active: 0 idle: 1 kio (Scheduler): Idle Slaves: 1 kio (Scheduler): IdleSlave: file 0 kio (Scheduler): Jobs in Queue: 1 kio (Scheduler): Job: http://www.freebsd.org kio (Slave): createSlave for http://www.freebsd.org kio (Slave): PID of slave = 5022 kio (Scheduler): scheduler: job started 0x8119200 konqueror: KonqRun::~KonqRun() 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message