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

3
votes
2answers
6k views

How to force the rsync to use my proxy settings?

I am installing macports on my Mac OS X and for fetching the binaries from the repository it uses rsync protocol. Unfortunately seems the repository is not accessible by direct connection from my ...
3
votes
2answers
2k views

pkgsrc or macports on Mac OS X?

I've used macports for a long time. But recently I'm considering switch to pkgsrc. I thought pkgsrc is for NetBSD only so I just ignore it. But recently I've found out that pkgsrc makes a lot of ...
7
votes
3answers
1k views

Macports, post-install and launchd: what were those instructions again?

When you install server software via MacPorts, when the installation is finished it prints some instructions about enabling the server via launchd. I promptly hit ⌘K on the Terminal and forget about ...
25
votes
2answers
15k views

How to uninstall all unused versions of a macports package at once

When maintaining macports packages, I prefer to remove old packages when I replace them with new ones. However, over time as packages are upgraded, you end up with problems like: $ sudo port ...
8
votes
5answers
4k views

How do I tell sudo to write files with a umask of 0022?

I recently upgrading to Snow Leopard. I have noticed that some files written by MacPorts are installed with the wrong permission -- they are written with a umask of 0077. I think I have narrowed down ...
4
votes
1answer
1k views

Yum commands cheat sheet for Macports users

What are the equivalent yum commands of the following MacPorts port commands? search self-update installed (list) outdated (list) Are some things completely different from MacPorts?
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: ...
5
votes
3answers
22k views

How to install Darwin Ports or Mac Ports on Mac OS X 10.6 Snow Leopard?

Update: Don't waste your time with MacPorts. I would recommend using Homebrew instead. It's easy to use and doesn't clutter up your system with a bunch of junk directories. Update: Don't install ...
4
votes
1answer
3k views

Install 32-bits ports on Snow Leopard

I recently upgrated to Snow Leopard and (in order to avoid a lot of problems) I'm running it on 32-bits mode. In spite of this, as almost all SL native applications are 64-bits, it seems to run on a ...
1
vote
3answers
937 views

How can I prevent macports from taking over my PATH?

How can I prevent macports from taking over my PATH? I still want to have the installed software show up, but I want things in the standard system paths (/bin, /sbin, /usr/bin, ...) to have precedence ...
1
vote
2answers
793 views

Python 2.5 and 2.6 with MacPorts

I have installed on my system both python25 and python26 using Macports. Now I want to uninstall python25 and all the py25-* packages with no real dependents. Unfortunately, when I do port dependents ...
3
votes
2answers
3k views

How to install perl5.10 on OS X 10.5.8?

I need to install perl 5.10 on my OS X 10.5.8 box. I have macports installed. And I seem to have port perl5.10 installed as well: $ sudo port install perl5.10 Password: ---> Computing dependencies ...
3
votes
3answers
3k views

Using MacPorts to install to another directory other than /opt/local/bin

I'm having a problem of consistency between my machines because I have to explicitly specify the command path for some items like Image Magick. Port installs them to /opt/local/bin, but for ...
1
vote
3answers
388 views

Using macports to install py25-pil is installing just a ton of unrelated stuff

It's been going for an age and things I have seen scroll past include such gems as libX11, ncurses and my personal favorite: perl5! Is this normal?
1
vote
3answers
2k views

Running php scripts via command line mode gives warnings

Whenever I run my php command line script, before the script actually outputs to the screen, php always returns a bunch of error messages as follows: PHP Warning: PHP Startup: Unable to load dynamic ...
3
votes
7answers
5k views

MacPorts Base vs. Snow Leopard 64 bit environment

Since I use 10.5 I'm quite happy that a whole lot of stuff is working currently like it should. However there's this Snow Leopard DVD next to my desk that just seems to say "Install me". If I do: Do ...
4
votes
6answers
6k views

Install multiple PHP environments on OS X Snow Leopard

I just upgraded my MBP to Snow Leopard (OS X 10.6), which took PHP to 5.3 This is great, except I use my MBP as my development machine and I use a lot of PHP libs and frameworks (namely CakePHP 1.2) ...
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 ...
4
votes
4answers
6k views

Mac Terminal: changed my shell, now can't start it

I installed bash 4.0 via MacPorts, then used sudo chsh -s /opt/local/bin/bash my_user to change my shell. Before that I tried just running plain chsh without sudo, but it wouldn't allow me to change ...
1
vote
3answers
1k views

MacPorts does not install package

I installed MacPorts and XCode, then went to a terminal and issued the command "sudo port install lua" and it appears to do nothing. When i execute "sudo port installed" i get back "No ports are ...
0
votes
2answers
416 views

To use py26-markdown installed by MacPorts

I installed the following Markdown-to-HTML converter by MacPorts. py26-markdown @2.0 (python, textproc) Python implementation of Markdown I run py26-markdown 1.markdown I get zsh: command ...