[nycbug-talk] pkgsrc on FreeBSD

pete wright nomadlogic
Fri Jun 24 11:41:43 EDT 2005


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?

-p

-- 
~~o0OO0o~~
Pete Wright
www.nycbug.org
NYC's *BSD User Group




More information about the talk mailing list