I have an iMac and MacBook that I use interchangeably, and keeping the
same ports installed on both is becoming a hassle. Is there any way to
either sync the /opt/local directories, or export a list of installed
ports from one to load onto the other?
Thanks!
--
Tony McDaniel
On Wed, Nov 17, 2010 at 2:57 PM, Tony McDaniel t...@tonymcdaniel.com wrote:
Is there any way to either
sync the /opt/local directories, or export a list of installed ports from
one to load onto the other?
This lists installed ports' names:
port installed | grep -v The following ports | cut
On Nov 17, 2010, at 09:33, Andrea D'Amore wrote:
On Wed, Nov 17, 2010 at 2:57 PM, Tony McDaniel t...@tonymcdaniel.com wrote:
Is there any way to either
sync the /opt/local directories, or export a list of installed ports from
one to load onto the other?
This lists installed ports' names:
On Nov 17, 2010, at 7:33 AM, Andrea D'Amore wrote:
On Wed, Nov 17, 2010 at 2:57 PM, Tony McDaniel
t...@tonymcdaniel.com wrote:
Is there any way to either
sync the /opt/local directories, or export a list of installed
ports from
one to load onto the other?
This lists installed ports'
Hi I just installed the latest SnowLeopard Mac Ports
(MacPorts-1.9.2-10.6-SnowLeopard.dmg) from the website, on my brand new 27
iMac
with SnowLeopard and latest xcode, and when running port, it fails with:
dlopen(/opt/local/share/macports/Tcl/macports1.0/MacPorts.dylib, 10): no
suitable image
On Nov 17, 2010, at 7:55 PM, Potato Soup wrote:
Hi I just installed the latest SnowLeopard Mac Ports
(MacPorts-1.9.2-10.6-SnowLeopard.dmg) from the website, on my brand new 27
iMac with SnowLeopard and latest xcode, and when running port, it fails with:
Ok, I removed it, and then logged into OSX with an admin account and
reinstalled
and then did selfupdate. Everything worked fine. So what's the deal, how do I
set it to work from a non Admin account? I never work in an Admin account for
fear of security issues.
I run macports as a regular user... but when I want to run the port
command I first su to an admin account and then run the port
commands with sudo. As far as I know macports requires full
privileges to work properly. Likely you could get something working
fully as non-admin by installing from
I just logged in to my non Admin account and su'd to my admin account, and when
trying selfupdate, it failed with:
Error: Synchronization of the local ports tree failed doing rsync
Error: /opt/local/bin/port: port selfupdate failed: Couldn't sync the ports
tree: Synchronization of 1 source(s)
Ok, tried that but now it doesn't even see what 'port' command is, it's 'not
found'. I am new to OSX, although not quite as new to Linux. I am just not
getting how OSX is managing these things. It is acting quite weird.
From: Stephen Langer
Your root account doesn't have the right environment (path, etc), but your user
account doesn't have the right permissions. Since you probably don't actually
have a root account, I don't know how to give it the right environment...
It might be easier if you use sudo instead of su. Use visudo
You have to be admin (i.e. su to your admin account). And THEN use
sudo to run the port command. I believe only admin accounts can use
sudo to get root permissions, which is what you need.
On Wed, Nov 17, 2010 at 6:22 PM, Stephen Langer stephen.lan...@nist.gov wrote:
Your root account doesn't
Yes, or you could use visudo to edit the sudoers file to give your non-admin
account permission to run the port command with sudo, as Stephen explained
below.
On Nov 17, 2010, at 23:40, Scott Webster wrote:
You have to be admin (i.e. su to your admin account). And THEN use
sudo to run the
13 matches
Mail list logo