RE: How to Build a Custom Port Tree
I am a newbie to FreeBSD I'm using an old machine right now with limited disk space, so I don't want to install the entire ports collection. I want to build a custom port tree, and I'm finding the docs to be a bit silent on this account as I guess nowadays disk space is usually abundant so installing the entire port tree is the preferred route. Can someone give some basic guidance on: 1) Do I install a compiler or does the basic FreeBSD install have it installed already? Already installed if you did a base install. 2) How do I setup a single application port? See this: http://www.hempeldesigngroup.com/embedded/stories/bdgFreeBSDPortsAndPerl.html It described setting up perl 5.8 from a port, without all the other ports. 3) Will I need to trace dependence or will make pull in the required libraries? See above. 4) Can I use CVsup to keep a limited number of ports up to date? That I'm still looking at...stay tuned Ralph ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to Build a Custom Port Tree
On Thu, Aug 19, 2004 at 06:34:25PM -0400, Abid Saigol wrote: I am a newbie to FreeBSD I'm using an old machine right now with limited disk space, so I don't want to install the entire ports collection. I want to build a custom port tree, and I'm finding the docs to be a bit silent on this account as I guess nowadays disk space is usually abundant so installing the entire port tree is the preferred route. Can someone give some basic guidance on: 1) Do I install a compiler or does the basic FreeBSD install have it installed already? 2) How do I setup a single application port? 3) Will I need to trace dependence or will make pull in the required libraries? 4) Can I use CVsup to keep a limited number of ports up to date? Any and all guidance in this regard will be highly appreciated. Abid portcheckout(1) may be what you are looking for. It's in the Ports :-) but of course you can also install it with pkg_add portcheckout. Using the method described in it's manpage, you would only fetch the files necessary for a specific port + it's dependencies. GH ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How to Build a Custom Port Tree
I am a newbie to FreeBSD I'm using an old machine right now with limited disk space, so I don't want to install the entire ports collection. I want to build a custom port tree, and I'm finding the docs to be a bit silent on this account as I guess nowadays disk space is usually abundant so installing the entire port tree is the preferred route. Can someone give some basic guidance on: 1) Do I install a compiler or does the basic FreeBSD install have it installed already? 2) How do I setup a single application port? 3) Will I need to trace dependence or will make pull in the required libraries? 4) Can I use CVsup to keep a limited number of ports up to date? Any and all guidance in this regard will be highly appreciated. Abid ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to Build a Custom Port Tree
Abid Saigol wrote: I am a newbie to FreeBSD Welcome! I'm using an old machine right now with limited disk space, so I don't want to install the entire ports collection. I want to build a custom port tree, and I'm finding the docs to be a bit silent on this account as I guess nowadays disk space is usually abundant so installing the entire port tree is the preferred route. Probably because it's not really that big, and more importantly for reasons that will soon become more clear ... Can someone give some basic guidance on: 1) Do I install a compiler or does the basic FreeBSD install have it installed already? FreeBSD's compiler is GNU's gcc; it is included in the base install, as it's necessary to have a compiler for make world(s) and kernels... and anyone who desires to program in c/c++ 2) How do I setup a single application port? You would need the skeleton installed in some directory, (generally /usr/ports/somecategory/someapp), and then go to that location and type make install clean, most usually. 3) Will I need to trace dependence or will make pull in the required libraries? If you have all the necessary ports skeletons in place, make will take care of it. However, if you want to be selective about the tree, I don't know of a tool that will help a great deal. 4) Can I use CVsup to keep a limited number of ports up to date? CVsup is used to keep the ports tree (or any collection of code) up to date by connecting to a CVS (Concurrent versioning system) server. Many people rely on portupgrade (/usr/ports/sysutils/portupgrade) to handle the actual updating of the ports themselves, as it compares versions, handles dependencies (recursively!) etc., etc. It's written in the Ruby language, and has ruby, rubydb, and openssl as dependancies. Any and all guidance in this regard will be highly appreciated. Abid If you're limited on space and don't want the ports tree, I'd suggest you not install it at all, and use packages instead. You could always see what's out there by browsing over at freshports.org, or, for a small set of apps, the individual home pages of each project, and simply use pkg_add(1) and friends... HTH, Kevin Kinsey DaleCo, S.P. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to Build a Custom Port Tree
Kevin: Thanks for the initial feedback and welcome message: 2) How do I setup a single application port? You would need the skeleton installed in some directory, (generally /usr/ports/somecategory/someapp), and then go to that location and type make install clean, most usually. I get the fact that I have to create the directory structure in /usr/ports. What I can't figure out is where to get the skeleton for a single port. When I search a single port and it points me to mirrors for the specific port, is that the skeleton you are referring to. If I download that file and extract, will it extract to the correct directory, like WinZip does if path info is stored in the archive? If you're limited on space and don't want the ports tree, I'd suggest you not install it at all, and use packages instead. You could always see what's out there by browsing over at freshports.org, or, for a small set of apps, the individual home pages of each project, and simply use pkg_add(1) and friends... I am trying to use the packages, but find it difficult to add some of the features (modules) to these packages as the documentation normally calls for a recompile. This is why I am trying to nail down the ability to compile individual ports without installing the entire Ports tree. I am actually trying to setup a lean and limited function (HTTP/SMTP/SQL) server on an old box with limited disk space. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]