Subject: Re: kdebase2 link error
To: None <oinkfreebiker@att.net>
From: Greg Oster <oster@cs.usask.ca>
List: netbsd-help
Date: 10/19/2001 13:04:15
oinkfreebiker@att.net writes:
> 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
Thanks... The problems were fixed in the pkgsrc tree before kde2 finished
building, so I just anoncvs updated and built away... due to some leftover
bits from a XFree3.3.6->4.1.0 transition I've had to nuke a bunch of stuff and
restart the builds, but everything looks like it's going to complete without a
hitch.
Later...
Greg Oster
> > "Joseph N Reed" writes:
> > > hi all,
> > >
> > > i'm currently running NetBSD 1.5.1 on an i386 and tried installing the cu
> rren
> > > t
> > > kde2 (v2.2.1) from /usr/pkgsrc/x11/kde2 however, when it gets to the kde
> base
> > > 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/kic
> ker'
> > > gmake[2]: *** [all-recursive] Error 1
> > > gmake[2]: Leaving directory `/usr/tmp/x11/kdebase2/work/kdebase-2.2.1/kic
> ker'
> > > 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
> >
> >