Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 May 2000 22:03:22 -0400
From:      Will Andrews <andrews@technologist.com>
To:        Scott Blachowicz <scott@sabmail.rresearch.com>
Cc:        R Joseph Wright <rjoseph@mammalia.org>, freebsd-ports@FreeBSD.ORG
Subject:   Re: KDE2: make install 'fails' ...
Message-ID:  <20000519220322.A45875@argon.blackdawn.com>
In-Reply-To: <87hfbuvwqh.fsf@sabmail.rresearch.com>; from scott@sabmail.rresearch.com on Fri, May 19, 2000 at 06:25:26PM -0700
References:  <Pine.BSF.4.21.0005191538420.1206-100000@manatee.mammalia.org> <87hfbuvwqh.fsf@sabmail.rresearch.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, May 19, 2000 at 06:25:26PM -0700, Scott Blachowicz wrote:
> 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".

Ah geez, you had to go and do all this evaluation for me!  (I was busy
doing other things today, as you might have noticed.  The kde2 stuff was
reserved for nighttime when I'm less busy)

> * 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!

> ** Library building ports don't seem to run ldconfig to update so cache
>    stuff...I did it "manually".

I already fixed this in kde-qt-addon's PLIST.

> ** The header file <arpa/nameser.h> 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 <arpa/nameser.h>
>     #endif

Ok, I'll add this patch, although I didn't have a problem with this
particular nit.

> ** 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)

Yeah, sorry.. I know a better way to fix this.  :-)

> ** 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?

Hmm... you're right, they were satisfied by the old kde installations.
We could certainly use unique ones for these:

        kdf:${PORTSDIR}/misc/kdeutils2
        kjumpingcube:${PORTSDIR}/games/kdegames2

Unfortunately, I am unable to find anything in terms of a RUN_DEPENDS
that we can use for kdenetwork.  But I did find

        LIB_DEPENDS=     libsearch.3:${PORTSDIR}/net/kdenetwork2

which should do the trick.

> * 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

I don't use kdm..

> ** 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.

> ** 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.

> * 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.

as i said before, no exp. w/ kdm

> ** 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:
>     <kpartgui name="standard_containers" >
>     <MenuBar>
>     <Menu name="file" >
>     <text>
>     &amp;File</text>
>     <Separator weakSeparator="1" />
>     <Action name="file_quit" />
>     </Menu>
>     <Menu name="view" >
>     <text>
>     &amp;View</text>
>     <Separator weakSeparator="1" />
>     <Menu name="view_mode" >
>     <text>
>     &amp;Mode</text>
>     <Action name="activate_iconview" />
>     <Action name="activate_treeview" />
>     </Menu>
>     <Menu name="view_iconsize" >
>     <text>
>     Icon &amp;size</text>
>     <Action name="activate_smallicons" />
>     <Action name="activate_mediumicons" />
>     <Action name="activate_largeicons" />
>     </Menu>
>     </Menu>
>     <Menu name="help" >
>     <text>
>     &amp;Help</text>
>     <Action name="help_contents" />
>     <Action name="help_whats_this" />
>     <Separator weakSeparator="1" />
>     <Action name="help_report_bug" />
>     <Separator weakSeparator="1" />
>     <Action name="help_about_app" />
>     <Action name="help_about_kde" />
>     </Menu>
>     </MenuBar>
>     </kpartgui>
> 
>     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.

wheefun..

> ** 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

This is unusual.. looks like some protocol handling code isn't being
built for you.  konqueror works flawlessly for me.

-- 
Will Andrews <andrews@technologist.com>
GCS/E/S @d- s+:+>+:- a--->+++ C++ UB++++ P+ L- E--- W+++ !N !o ?K w---
?O M+ V-- PS+ PE++ Y+ PGP+>+++ t++ 5 X++ R+ tv+ b++>++++ DI+++ D+ 
G++>+++ e->++++ h! r-->+++ y?


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000519220322.A45875>