Zfs & MacPorts

Charles Darwin macports.users at gmail.com
Sun Sep 28 19:25:31 PDT 2008


On 28-Sep-08, at 4:17 PM, Ryan Schmidt wrote:

> 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
>
>

Perfect. Thanks.



More information about the macports-users mailing list