On 31/03/2012, at 10:00 PM, [email protected] 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
_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Reply via email to