Newbie-question: Ports and Packages

Thomas Schlesinger schlesinger at netcologne.de
Sun Apr 2 09:04:29 PDT 2006


Hi,

I'm a Gentoo Linux user and want to try out DragonFlyBSD, so I'm a *BSD 
rookie.

I've installed DragonFlyBSD successfully, but I'm not able to install software 
with pkg_add. I've tried out to build the lsof-packages, following the 
Handbook (http://leaf.dragonflybsd.org/~justin/handbook/packages-using.html).

I've downloaded the file lsof-4.76.1.1.tbz from ftp2.FreeBSD.org and then I've 
done a pkd_add lsof-4.76.1.1.tbz as root.

SchlesisPC# pkg_add lsof
pkg_add: unable to open +BUILD_INFO file.
pkg_add: can't read build information from +BUILD_INFO: No such file or 
directory
pkg_add: aborting.
pkg_add: 1 package addition failed

Before that, I did a cvsup, like described here: 
http://leaf.dragonflybsd.org/~justin/handbook/ports-using.html .

Installtint software by Ports doesn't work, too:
SchlesisPC# pwd
/usr/ports/editors/nano
SchlesisPC# make install
===>  Vulnerability check disabled, database not found
===>  Extracting for nano-1.2.5
=> MD5 Checksum OK for nano-1.2.5.tar.gz.
===>   nano-1.2.5 depends on file: /usr/local/sbin/pkg_info - not found
===>    Verifying install for /usr/local/sbin/pkg_info 
in /usr/ports/sysutils/pkg_install
===>  Building for pkg_install-20060113
===> lib
cc -O -pipe -mtune=pentiumpro -mtune=pentiumpro -Wno-uninitialized -Wunknown-pragmas -Wsystem-headers -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-format-extra-args  -c 
file.c -o file.o
file.c:22: error: syntax error before string constant
*** Error code 1

Stop in /usr/ports/sysutils/pkg_install/work/pkg_install-20060113/lib.
*** Error code 1

Stop in /usr/ports/sysutils/pkg_install/work/pkg_install-20060113.
*** Error code 1

Stop in /usr/ports/sysutils/pkg_install.
*** Error code 1

Stop in /usr/ports/editors/nano.

I get the same error in file.c in every thing I've tested.

How can I fix that

Thanks,
Thomas





More information about the Users mailing list