installation on nfs disk
James Linder
jam at tigger.ws
Sat Mar 31 18:17:57 PDT 2012
On 31/03/2012, at 10:00 PM, macports-users-request at lists.macosforge.org wrote:
>> ./configure --prefix=/ibpc/osx/lbt/macport/2.0.4/SL --enable-readline
>> --with-install-user=`id -un` --with-install-group=`id -gn`
>> --with-tcl-package=/ibpc/osx/lbt/macport/2.0.4/SL/share/macports/Tcl
>>
>> And here is the error message I get.
>>
>> Warning: No index(es) found! Have you synced your source indexes?
>> port registry doesn't exist at
>> "/ibpc/osx/lbt/macport/2.0.4/SL/var/macports/registry/registry.db" and
>> couldn't write to this location
>>
>> I'm supprised because I specify that I should have all the permissions in
>> the configure (--with-install-user and --with-install-group).
>>
>
> MacPorts requires root permissions by default. The root user is normally
> converted to "nobody" over NFS, because root is a locally privileged
> account, not a network-wide superuser account. You could change NFS export
> options to suppress that (not recommended) or you could configure MacPorts
> to not use root privileges.
Actually if you are NOT on a trusted lan then you ought not be building on it
If you are on a trusted lan then IMHO no_root_squash is a much easier option than trying to run macports as a non root user.
ReadTheMan on NFS options
James
More information about the macports-users
mailing list