[an error occurred while processing this directive] FreeBSD Handbook : Installing applications : The Ports collection : Compiling ports from CDROM
Previous: How does the system compile with no source code?
Next: Compiling ports using an Internet connection

4.2.3. Compiling ports from CDROM

The ports collection is easy to use from CDROM, and all you need to do is to create a "link tree" to it using the lndir(1) command that comes with the XFree86 distribution. Find a location with some free space and create a directory there, and make a symbolic link from /usr/ports to that directory. Then invoke the lndir(1) command with the full pathname of the ``ports'' directory on the CDROM as an argument (this might be, for example, something like: lndir /cdrom/ports). Then you can build ports directly off the CDROM by building them in the link tree you've created.

Note that there are some ports for which we can't provide the original source in the CDROM due to licensing limitations. In that case, you'll need to look at the next section ( Compiling ports using an Internet connection ).


FreeBSD Handbook : Installing applications : The Ports collection : Compiling ports from CDROM
Previous: How does the system compile with no source code?
Next: Compiling ports using an Internet connection [an error occurred while processing this directive]