Zfs & MacPorts

Ryan Schmidt ryandesign at macports.org
Sun Sep 28 13:17:02 PDT 2008


On Sep 28, 2008, at 07:33, Rainer Müller wrote:

> Charles Darwin wrote:
>
>> Is it possible to install ports on a zfs formatted volume?
>
> Can't think of a reason why it should not be possible.
>
>> and if so,
>> what is the proper way of doing it? Would ´PATH=/bin:/sbin:/usr/bin:/
>> usr/sbin ./configure --enable-readline --prefix=path/to/zfs/some/dir/
>> opt´ do it?
>
> If this is the only install of MacPorts on this Mac this will work. It
> will install the MacPorts Tcl package to /Library/Tcl.
> But you can also specify another location in order to have  
> everything on
> one filesystem, for example:
>   --with-tclpackage=path/to/zfs/some/dir/opt/Library/Tcl

Also consider your applications and frameworks. You may want to use -- 
with-applications-dir and --with-frameworks-dir also.

So if you want everything to be on the ZFS drive, then you may want:


PREFIX=/path/to/zfs/some/dir

PATH=/bin:/sbin:/usr/bin:/usr/sbin \
./configure \
--prefix=$PREFIX \
--with-tclpackage=$PREFIX/Library/Tcl \
--with-applications-dir=$PREFIX/Applications/MacPorts \
--with-frameworks-dir=$PREFIX/Library/Frameworks \
--enable-readline
make
sudo make install
make clean




More information about the macports-users mailing list