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

1
vote
1answer
712 views

How do I give MacPorts privileges?

I tried to install PostgreSQL server development libraries using MacPorts and got the following: Warning: MacPorts running without privileges. You may be unable to complete certain actions (e.g. ...
0
votes
2answers
2k views

Installing TKInter for Python 2.6.5

Well today's been a bit of shock. After running port -v selfupdate followed by an attempt to run sudo port install py26-ipython MacPorts went around installing a whole host of stuff, including ...
0
votes
1answer
3k views

Error installing pkgconfig via macports

I installed Macports 1.8.2 from a DMG. That seemed to install fine. I ran sudo port selfupdate to make sure my ports tree was current. I then tried to install bindfs as I want to mount some ...
0
votes
1answer
473 views

How to install fink when behind proxy?

I'm having a Mac computer at work, and the internet connection is through HTTP proxy. I want to install fink (or macports, doesn't really matter), to have all the useful utilities (like mc). I've set ...
3
votes
2answers
449 views

Update notification for macports

Is there any way or tool that I can use to receive notifications when any of my macports-packages are out-of-date?
1
vote
2answers
6k views

apache2 VirtualHost in Mac OS X home directory

I am running Macports apache2 on Mac OS X 10.5. Whenever I configure a virtual host in the default folder, it works, however when I configure the virtual host in my home directory I get a "403 ...
2
votes
1answer
893 views

Macports: port install jpeg fails

History: installed MacPorts on Leopard upgraded to Snow Leopard uninstall all ports reinstalled XCode sudo port uninstall jpeg port info jpeg # returns jpeg @8a sudo port install jpeg DEBUG: ...
5
votes
1answer
8k views

Mac OS X 10.6.3: how does Apache config work?

Just got a MacBook Pro 15" so I'm unfamiliar with how the filesystem is laid out. I noticed when in my filesystem that I've got a few paths specifying httpd.conf: /etc/apache2/httpd.conf /opt/local/...
4
votes
1answer
2k views

What's the difference between tiny, huge and small in vim on MacPorts?

I'm trying to install vim via MacPorts. I found this port at http://trac.macports.org/browser/trunk/dports/editors/vim/Portfile. There are variants like tiny, small and huge. Is there any way to tell ...
7
votes
3answers
1k 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 /...
0
votes
1answer
894 views

Macports Apache not starting at Mac OSN Snow Leopard boot

Macports Apache2 is not starting at Mac OSX Snow Leopard boot. I've done the launchctl load command, the symlinks point to my /opt/local//etc/LaunchDaemeons/org.macports.apache2/org.macports.apache2....
4
votes
3answers
10k views

How to specify which GCC for MacPorts to use?

I compiled GCC 4.4.3 and installed it in /usr/local/bin, but whenever I install a port via MacPorts 1.8.2 the verbose output says MacPorts is using /usr/bin/gcc-4.2: checking for gcc... /usr/bin/...
0
votes
3answers
573 views

Hostname problem

my hostname is newton ...when I set "127.0.0.1 Newton" in /etc/hosts .. parallels stops working.. when I set "127.0.0.1 localhost" in /etc/hosts apache installed via ports stops working.. when I ...
1
vote
2answers
130 views

Longlasting Macport installation

I use Macports on Mac OS X to install some software. But there are somethings that I find very strange. For instance, yesterday I installed some app and it needed to get gcc43 and compile completely ...
1
vote
2answers
1k views

Moc in mac show error message

I install moc with port, but when try launche I get this error message. $mocp Running the server... Trying JACK... FATAL_ERROR: No valid sound driver FATAL_ERROR: Server exited any idea ? Many ...
0
votes
2answers
87 views

macports - how can I tell if I still need any ports (since going to Leopard)

Is there a way to tell whether I still need any MacPort ports? (besides deleting them of course) Many port I installed a couple of years back and in the meantime I've gone to SnowLeopard... Also, ...
0
votes
3answers
1k views

MacPorts Freezes

I just installed MacPorts. After that, I've been trying to install sqliteman. When the MacPorts reaches the gt4-mac package, it stay for two hours with this message: ---> Computing dependencies ...
1
vote
2answers
1k views

I seem to have wrong Mac Ports after upgrading to Snow Leopard

I upgraded recently to Snow Leopard but used Time Machine wich was in Leopard. Time Machine asked to copy everything from old machine and I said yes. How I seem to be having trouble installing Ruby ...
4
votes
2answers
694 views

Macports, Fink, Hombrew: Background Processes?

If I install a package manager such as Macports, Fink or Homebrew, how does it affect the startup and running of my system? It seems like the answer should be "Not at all when you're not using them" ...
1
vote
2answers
2k views

Mac Ports vs Linux Synaptics Package manager

Why doesn't Mac OSX have something like Synaptics built in to allow easy installation of third party applications? Ports seems to be a bit of a mess and doesn't always seem to work
0
votes
1answer
2k views

Install Python Gtk using Mac Ports

I'm attempting to install the Gimp using Mac Ports on OSX 10.5. The Gimp won't build because it requires Python 2.5 gtk. I'm getting the following error when installing Python GTK: $ sudo port ...
5
votes
2answers
15k 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 ...
8
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 ...
32
votes
2answers
20k 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 ...
9
votes
5answers
6k 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 ...
5
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: '/opt/...
5
votes
3answers
23k 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
4k 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
1k 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
892 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
398 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
3k 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) ...
40
votes
4answers
7k 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 ...
5
votes
4answers
7k 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
4answers
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
476 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 ...