BSD DevCenter

oreilly.comSafari Books Online.Conferences.

We've expanded our LAMP news coverage and improved our search! Search for all things LAMP across O'Reilly!

Search
Search Tips

advertisement

Listen Print Subscribe to BSD Subscribe to Newsletters

NetBSD for the FreeBSD User: Customizations
Pages: 1, 2

The NetBSD "package tree" is stored on the ftp server as pkgsrc.tar.gz. I snagged a copy and unpacked it under /usr. It blew up into a very familiar-looking directory tree, with different software set up in different categories.



Eventually, a couple thousand package extractions later, I could make myself comfortable.

alpha: {108} cd /usr/pkgsrc/shell/tcsh
alpha: {109} make all install clean
"../../mk/bsd.prefs.mk", line 78: Could not find bsd.own.mk
Fatal errors encountered -- cannot continue
alpha: {110}

To my surprise, a locate bsd.own.mk gave me nothing, even after refreshing the locate database. I could be assured that bsd.own.mk wasn't on my system.

For my first real NetBSD problem, I applied the same tools that I use for FreeBSD. NetBSD has an extensive mailing list archive. A search for "Could not find bsd.own.mk" gives me an answer: "double-check that you have the comp.tgz set." I downloaded comp.tgz from the netbsd.org ftp site, copied it to /, and unpacked.

Once again, I tried to install tcsh. This time, a make all install clean zipped right through. I added a user account with a decent shell, logged out, logged back in, and entered the command su -m.

Other packages are installed in the same way, and they handle dependencies perfectly. Emacs installs gmake, just as I expected from FreeBSD.

Anyone who can administer a FreeBSD box should have no trouble with NetBSD packaging system. It's the same solid BSD core, with the added bonus of being cross-platform. It's a different project, with different goals, but if you need BSD on your palmtop or on that old PDP, NetBSD is your friend.

Now, if you'll excuse me, I have an SGI IRIS whose hard drive needs formatting.

Michael W. Lucas


Read more Big Scary Daemons columns.

Discuss this article in the Operating Systems Forum.

Return to the BSD DevCenter.

 




Sponsored Resources

  • Inside Lightroom
Advertisement

Sponsored by:

O'Reilly Media

©2009, O'Reilly Media, Inc.
(707) 827-7000 / (800) 998-9938
All trademarks and registered trademarks appearing on oreilly.com are the property of their respective owners.
About O'Reilly
Academic Solutions
Authors
Contacts
Customer Service
Jobs
Newsletters
O'Reilly Labs
Press Room
Privacy Policy
RSS Feeds
Terms of Service
User Groups
Writing for O'Reilly
Content Archive
Business Technology
Computer Technology
Google
Microsoft
Mobile
Network
Operating System
Digital Photography
Programming
Software
Web
Web Design
More O'Reilly Sites
O'Reilly Radar
Ignite
Tools of Change for Publishing
Digital Media
Inside iPhone
O'Reilly FYI
makezine.com
craftzine.com
hackszine.com
perl.com
xml.com

Partner Sites
InsideRIA
java.net
O'Reilly Insights on Forbes.com