Subject: Re: kdebase2 link error
To: Greg Oster <oster@cs.usask.ca>
From: None <oinkfreebiker@att.net>
List: netbsd-help
Date: 10/19/2001 18:57:57
Greg,
Had similar probs but got KDE2 this way. Here is my
complete how-to...
http://om-ah-hum.com/share/gus_netbsd_too-big_pkgsrc.html
Enjoy,
Gan
--
Mysterious Starling -- Rarest
Extinct Bird
_
<(+)__ Gan Uesli Starling
((__/)=- Kalamazoo, MI, USA
`||`
++ http://starling.ws
Newbie-2-Newbie NetBSD Unix
How-To Pages at...
http://om-ah-hum.com/share/gus_netb
sd_index.html
> "Joseph N Reed" writes:
> > hi all,
> >
> > i'm currently running NetBSD 1.5.1 on an i386 and tried installing the curren
> > t
> > kde2 (v2.2.1) from /usr/pkgsrc/x11/kde2 however, when it gets to the kdebase
> > 2
> > package, i get the following errors:
> >
> > /usr/lib/crt0.o: In function `___start':
> > /usr/lib/crt0.o(.text+0xc1): undefined reference to 'main'
> > collect2: ld returned 1 exit status
> > gmake[3]: *** [kicker] Error 1
> > gmake[3]: Leaving directory `/usr/tmp/x11/kdebase2/work/kdebase-2.2.1/kicker'
> > gmake[2]: *** [all-recursive] Error 1
> > gmake[2]: Leaving directory `/usr/tmp/x11/kdebase2/work/kdebase-2.2.1/kicker'
> > gmake[1]: *** [all-recursive] Error 1
> > gmake[1]: Leaving directory `/usr/tmp/x11/kdebase2/work/kdebase-2.2.1/'
> > gmake: *** [all-recursive-am] Error 1
> >
> > did i miss something in the upgrade? or is this pkg broken?
> > if i missed something, what?
>
> Something is unhappy... for me, I needed to:
> 1) cd pkgsrc/x11/kdebase2/work/kdebase-2.2.1/kicker
> 2) edit 'Makefile', changing:
>
> kicker_LDADD = $(LDADD)
>
> to
>
> kicker_LDADD = kicker.la
>
> 3) do a 'make'. Discover it gets further, but now dies in 'proxy'.
> 4) 'cd proxy'
> 5) 'make appletproxy.moc'
> 6) 'make extensionproxy.moc'
> 7) 'cd ../'
> 8) 'make'. Discover it dies in 'taskmanager' now..
> 9) 'cd taskmanager'
> 10) 'make taskmanager.moc'
> 11) 'cd ..'
> 12) 'make'
> 13) discover more problems similar to above. repeat similar steps till all of
> kicker is built. Somewhere along the way a 'make conf.h' is needed too...
>
> There are probably 20-30 .moc files that need to get built.. I'm guessing
> there is some trivial change needed to the automated Makefile creation, but
> I don't pretend to (nor want to!) understand KDE Makefiles :)
>
> [as of right now the rest of kdebase2 is building.. with any luck I'll have it
> all built by sleeptime :) ]
>
> Later...
>
> Greg Oster
>
>