[nycbug-talk] pkgsrc on FreeBSD
Marc Spitzer
mspitzer
Fri Jun 24 13:52:15 EDT 2005
On 6/24/05, George Georgalis <george at galis.org> wrote:
> On Fri, Jun 24, 2005 at 08:41:43AM -0700, pete wright wrote:
> >On 6/24/05, George Georgalis <george at galis.org> wrote:
> >> I'm setting up the FreeBSD with pkgsrc... but the bootstrap failed, can
> >> you make sense of this?
> >>
> >> ....
> >> ( cd libedit; make )
> >> sh makelist -h ./common.c > common.h
> >> sh makelist -h ./emacs.c > emacs.h
> >> sh makelist -h ./vi.c > vi.h
> >> sh makelist -fh vi.h emacs.h common.h > fcns.h
> >> sh makelist -fc vi.h emacs.h common.h > fcns.c
> >> sh makelist -bc ./vi.c ./emacs.c ./common.c > help.c
> >> sh makelist -bh ./vi.c ./emacs.c ./common.c > help.h
> >> gcc -g -O2 -I. -I./.. -I. -I.. -I./../libedit -I./../libnetbsd -c chared.c
> >> In file included from chared.c:36:
> >> ./../tnftp.h:316: error: conflicting types for 'dirname'
> >> /usr/include/libgen.h:39: error: previous declaration of 'dirname' was here
> >> ./../tnftp.h:316: error: conflicting types for 'dirname'
> >> /usr/include/libgen.h:39: error: previous declaration of 'dirname' was here
> >> *** Error code 1
> >>
> >> Stop in /usr/pkgsrc/bootstrap/work/tnftp/libedit.
> >> *** Error code 1
> >>
> >> Stop in /usr/pkgsrc/bootstrap/work/tnftp.
> >> ===> exited with status 1
> >> aborted.
> >>
> >>
> >> All I've done is....
> >>
> >> cd /usr/
> >> cvs -d anoncvs at anoncvs.us.netbsd.org:/cvsroot co pkgsrc
> >> set PATH=/usr/pkg/bin:$PATH
> >> export PATH
> >> cd /usr/pkgsrc/bootstrap
> >> ./bootstrap --pkgdbdir=/var/db/pkg --prefix=/usr/pkg
> >>
> >>
> >
> >It's been a while, but should build.sh take care of building the
> >bootstrap envrionment? or is that only used after you've build the
> >pkgsrc toolchain?
>
> Maybe it was but per the README, ./bootstrap seems the way now days.
>
> # ls /usr/pkgsrc/bootstrap/
> CVS README.IRIX README.OpenBSD files testbootstrap
> README README.Interix README.Solaris mkbinarykit ufsdiskimage
> README.AIX README.Linux bmake mkbootstrapkit
> README.Darwin README.MacOSX bootstrap mods
> README.FreeBSD README.OSF1 cleanup pkg.sh
>
> README.FreeBSD doesn't give me any more clues... I just subscribed to
> some pkgsrc lists... I post there soon...
>
> // George
>
try ./bootstrap --pkgdbdir=/var/db/pkgsrc
marc
ps why not just use ports?
>
>
> --
> George Georgalis, systems architect, administrator Linux BSD IXOYE
> http://galis.org/george/ cell:646-331-2027 mailto:george at galis.org
> _______________________________________________
> % NYC*BUG talk mailing list
> http://lists.nycbug.org/mailman/listinfo/talk
> %Be sure to check out our Jobs and NYCBUG-announce lists
> %We meet the first Wednesday of the month
>
More information about the talk
mailing list