[nycbug-talk] pkgsrc on FreeBSD

George Georgalis george
Fri Jun 24 08:14:23 EDT 2005


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


// George


-- 
George Georgalis, systems architect, administrator Linux BSD IXOYE
http://galis.org/george/ cell:646-331-2027 mailto:george at galis.org




More information about the talk mailing list