Questions tagged [macports]
MacPorts is a package management tool for OS X, which provides many third party applications the operating system doesn't ship with.
17
questions
50
votes
1
answer
40k
views
Bash completion for commands in Mac OS X
How do I get fink and macports to autocomplete program names when typing commands, as in Ubuntu's apt-get?
For example when I type
sudo port install ca
and press tab, I want the terminal to ...
7
votes
3
answers
4k
views
`which python` points to the python I want, but `python` runs the wrong version
I want to use python24 provided by ports, so I've installed it, and python_select -s shows that the version I want is indeed selected. Running which python gives /opt/local/bin/python, and running /...
1
vote
2
answers
16k
views
Getting PATH right for python after MacPorts install
I can't import some python libraries (PIL, psycopg2) that I just installed with MacPorts. I looked through these forums, and tried to adjust my PATH variable in ~/.bash_profile in order to fix this ...
77
votes
3
answers
57k
views
How can I clean up my MacPorts installation?
Which command should I run to
delete all old port versions
delete downloaded files
temp files created during build
all other stuff which I don't need when I am sure that updated version works fine
...
64
votes
3
answers
47k
views
Using `shred` from the command line
I need to securely erase some files. I have used shred on linux systems before, so I looked around and found that shred is part of the coreutils package in macports. I did port install coreutils to ...
42
votes
2
answers
65k
views
How do you remove MacPorts and all the packages it has installed?
I have installed MacPorts on my Mac OS X Lion, and I would like to remove it.
There should be no more trace of MacPorts?
Is there a way to do this?
28
votes
2
answers
18k
views
Linux-like top/netstat/etc. on Mac OS X?
Unix utilities on Mac OS X are quite painful to use. port install coreutils +with_default_names and a few other such replacements fix most of them, but it leaves some in broken Mac OS X defaults - ...
11
votes
4
answers
17k
views
How can I copy into the Mac clipboard from vim?
I can paste from vim in one terminal window to vim in another, but not to anything outside vim. I've read numerous posts on the subject, and nothing I've found has helped. Copy/pasting from MacVim ...
6
votes
2
answers
3k
views
Can pkgsrc, Homebrew, Fink, and MacPorts peacefully coexist?
I heard that some people like to use both Fink and Macports since some packages exist in one and not the other.
Recently I've had trouble building and running packages like GRASS and Digikam w/ ...
3
votes
1
answer
1k
views
meld on OS X 10.7 doesn't work?
I'm installing meld on Mac OS 10.7 using port.
It has downloaded all dependencies and told that everything is ok:
Staging meld into destroot
Installing meld @1.5.3_0
Activating meld @1.5.3_0
...
3
votes
3
answers
4k
views
X11.app (on SnowLeopard) won't start
Today I discovered that X11.app no longer works on my Mac. I'm not sure when this happened. I think it's been several weeks since I last used an X11 application.
By "no longer works" I mean it does ...
2
votes
1
answer
2k
views
Unable to execute port when installing ImageMagick
I'm trying to install ImageMagick by using MacPorts. I've successfully installed MacPorts by using their Mountain Lion .pkg file.
I open the terminal and run:
sudo port install ImageMagick
However ...
2
votes
1
answer
1k
views
Installing MacPorts on Snow Leopard
I installed MacPorts from the DMG package at http://www.macports.org/install.php
After installing it I tried to use it and get this:
dlopen(/opt/local/share/macports/Tcl/macports1.0/MacPorts.dylib, ...
1
vote
2
answers
190
views
Installing MySQL on MacOS
I want to install mysql. Big Internet told me that I should do it via MacPorts. I've downloaded MacPort's dmg and it asks me to install XCode which I can buy via App Store. It is ridiculous to pay ...
1
vote
6
answers
3k
views
Can't install mercurial on Mac OS X
I can't install Mercurial. I am getting this error:
---> Computing dependencies for mercurial
Error: Unable to execute port: can't read "build.cmd": Failed to locate 'make' in path: '/opt/local/...
0
votes
1
answer
938
views
Trying to install coreutils via MacPorts: "Error: Port coreutils not found"
I'm trying to use MacPorts to install coreutils.
I check that MacPorts was installed correctly,
$ port version
Version: 2.3.4
and try to install coreutils,
$ sudo port install coreutils
Error: ...
0
votes
2
answers
17k
views
Can't log into account on Macbook Pro
I installed MacPorts on my Macbook pro with lion, restarted, and now I cannot log into my account. After the restart it hung at the loading screen (the apple with the loading icon) for a while. I ...