MacPorts is a package management tool for OS X, which provides many third party applications the operating system doesn't ship with.

learn more… | top users | synonyms

21
votes
1answer
11k views

Bash completion for commands in Mac OS

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 ...
1
vote
2answers
11k 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 ...
8
votes
2answers
2k views

Forcing Homebrew and Macports to coexist?

I have a MacOSX system that I've been using for a number of years, and during this time, I have installed quite a few packages via Macports. I now want to try Homebrew, but it's clear from what I've ...
3
votes
3answers
6k views

Mac OS X - macports - Warning: No index(es) found! Have you synced your source indexes?

I'm trying to setup an Android build environment for Android. I'm following these instructions. However, after the installation of MacPorts I'm not able to install the environment. Following the ...
39
votes
4answers
6k views

How to install software packages on a Mac? (MacPorts, Fink, anything better?)

On my Mac OS X machine, how would you recommend I install command line software and other packages? I've been using MacPorts and it always seems quite slow, presumably because it has to compile the ...
8
votes
3answers
737 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 ...
3
votes
1answer
523 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 ...
2
votes
1answer
1k 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
1answer
791 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, ...
2
votes
1answer
2k 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/ ...
1
vote
2answers
151 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
6answers
2k 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: ...
0
votes
1answer
620 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 ...
0
votes
0answers
40 views

which command doesn't work after uninstalling fink

I was trying to install something using homebrew.. so it complained that I had more than one package manager (either macports or fink).. so I followed fink's uninstall instructions which instructed me ...