Newbie-question: Ports and Packages
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
Re: Newbie-question: Ports and Packages
On Sun, April 2, 2006 11:54 am, Thomas Schlesinger wrote: 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). The Handbook is out of date; we're using pkgsrc (pkgsrc.org) now. Early releases of DragonFly used FreeBSD ports, but it worked less and less well over time as FreeBSD and DragonFly diverged paths. The quickest way to get to installing things: (as root, may be wrapped) setenv PKG_PATH ftp://packages.stura.uni-rostock.de/pkgsrc-current/DragonFly/1.4.0-RELEASE/i386/All pkg_add name_of_package For instance: pkg_add xorg; pkg_add xfce4; pkg_add firefox That downloads premade binaries from the above URL. (http://www.pkgsrc.se is a good place to go look for descriptive info on packages.) A few big packages don't completely work on DragonFly yet, like the completed KDE 3, though most parts of it will install. If you've been using Gentoo, you will probably find binary package installation gratifyingly fast. You may want to check the errata page for a few things that got missed; you may need to do this first so that pkg_add will show in your path, for instance: http://www.dragonflybsd.org/main/errata1_4.cgi The wiki has a HOWTO that goes into more detail about pkgsrc: http://wiki.dragonflybsd.org/index.php/Set_up_and_use_pkgsrc Ripping ports out of the Handbook and replacing with something about pkgsrc just became higher priority for me...
Re: Newbie-question: Ports and Packages
Am Sonntag, 2. April 2006 19:29 schrieb Justin C. Sherrill: snip 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). The Handbook is out of date; we're using pkgsrc (pkgsrc.org) now. Early releases of DragonFly used FreeBSD ports, but it worked less and less well over time as FreeBSD and DragonFly diverged paths. snip Justin, thank you for your help, it would be very nice, if the documentation would be upgraded before the next one tapping into this trap ;-) Thomas
Re: Newbie-question: Ports and Packages
On 02.04.2006, at 22:37, Thomas Schlesinger wrote: it would be very nice, if the documentation would be upgraded before the next one tapping into this trap ;-) I think that's barely possible. I could imagine people hitting this issue almost every time, and writing up new stuff in such a small period of time isn't possible. If I'm not making sense here, ignore this. The central problem is that we are quite few people only working on DragonFly, and even less working on docs (Justin is doing a great deal now again, but yet). You could help out by rewriting these chapters to fit pkgsrc (or at least help with writing them). cheers simon -- Serve - BSD +++ RENT this banner advert +++ASCII Ribbon /\ Work - Mac +++ space for low €€€ NOW!1 +++ Campaign \ / Party Enjoy Relax | http://dragonflybsd.org Against HTML \ Dude 2c 2 the max ! http://golden-apple.biz Mail + News / \ PGP.sig Description: This is a digitally signed message part
Re: Newbie-question: Ports and Packages
On Sun, April 2, 2006 6:16 pm, Simon 'corecode' Schubert wrote: On 02.04.2006, at 22:37, Thomas Schlesinger wrote: it would be very nice, if the documentation would be upgraded before the next one tapping into this trap ;-) I think that's barely possible. I could imagine people hitting this issue almost every time, and writing up new stuff in such a small period of time isn't possible. If I'm not making sense here, ignore this. Removing the now totally irrelevant ports section and putting in a look at pkgsrc.org note shouldn't take too long, and it's what I intend to do in the next day or two. But, yeah, if someone wanted to write up something more involved on pkgsrc, I'd be thrilled.