A package management system for OS X. It allows for easy installation of free/open source software. Formerly called DarwinPorts.

learn more… | top users | synonyms

15
votes
3answers
14k views

Where does macports install programs

I have installed both moria and ettercap using MacPorts (via pallet) and I can't for the life of me find out where the things were installed to run them! Where is the install directory? EDIT: When I ...
1
vote
1answer
1k views

MacPorts gcc_select doesn't contain gcc_select

I want to use different gcc versions easily (to build some whimsy python library). I've installed gcc_select-0.1_6… but it doesn't contain "gcc_select", is it a bug or gcc_select is just a stub now an ...
15
votes
2answers
7k views

Listing all files installed by some MacPorts package

How to list all files that was installed by some MacPorts package? For example in Funtoo (or in Gentoo) I can achieve the same with a command: equery b [package name]
2
votes
1answer
318 views

Run x11 app from dock

I have an app in /usr/local/bin directory and can not drag it onto the dock and have to open Terminal everytime I want to run this program. Is it possible to run a macported/homebrewed application ...
5
votes
4answers
12k views

Xcode appears to be installed but xcodebuild is unusable

I was had to reinstall Xcode 4 and now I'm getting message Xcode appears to be installed but xcodebuild is unusable; and xcodebuild exists but failed to execute all the time when I try to install ...
0
votes
1answer
102 views

Apache module run under MacPorts gives SQLite error

I have an Apache module, compiled from source, which works just fine with the stock Apache 2.2 on Mac OS X 10.5 through 10.7. However, under the Apache 2.2.22 installed by MacPorts, running ...
3
votes
2answers
796 views

How can I install getent on Snow Leopard?

I have several scripts which require the utility getent. In addition, I've read several handy tips which use getent. getent is a Networking utility which is widely available on Unix, *BSD and ...
1
vote
1answer
154 views

Create a new port for Macports

I hate to wait for Macports to update the packages that I need. I would like to learn how to create a new port and submit it to Macports server. How do I do that?
1
vote
1answer
599 views

Failed to install ghostscript, during Imagemagick installation

I'm kinda new to those CLI installations so I don't know exactly what I'm doing I'm just following the installation steps of the guide: I want to install Imagemagick on my Mac 10.5.8: I typed ´sudo ...
0
votes
2answers
1k views

Reinstall Lion, Keep MacPorts

After reinstalling Lion, port install produces: Warning: xcodebuild exists but failed to execute Error: Unable to open port: can't read "build.pre_args": can't read "build.cmd": Failed to locate ...
2
votes
1answer
422 views

Mac OS X Lion Server and Macports - Can they work together?

I've been using macports for my MAMP projects for quite some time, but I don't think that the command line server management for Apache and MySQL Server, both from macports, is the best way to do it. ...
1
vote
2answers
177 views

Mac Ports keeps on re-installing Perl, Python, etc

Every time I want to install something, mac ports keeps on re-installing Perl, Python, etc. although the same packages are already installed on the system. Is there some setting to avoid this?
0
votes
1answer
228 views

MacPorts 2.0.3 uninstalling package gives error “this entry does not own the given file”

I'm hitting an error while trying to uninstall some packages in my MacPorts 2.0.3 installation, and I can't figure out what's causing them or how to resolve them. Googling around lead to nothing ...
2
votes
2answers
221 views

How to find which ports depends on a given one when using macports?

I want to find which ports depends on a given installed port (texlive in my case). I found port deps texlive, but this is working in the "wrong" direction. How can I do it?
4
votes
1answer
708 views

Can homebrew and macports work together to let Firefox-X11 be installed?

I want to install firefox-x11 but theres no repo in homebrew, only macports seems to have one, hence I'm at a loss how to get firefox-X11 on a system that relies on homebrew for OSS. The way I'd ...
1
vote
1answer
1k views

MacPorts-installed packages not working after updating to Lion

I recently upgraded OS X from 10.6 to 10.7. Since doing this, certain command line tools I installed via MacPorts, such as ImageMagick, stopped working. For example when I run $ convert Jobs.png ...
5
votes
3answers
4k views

Unable to install Meld via MacPorts 2.0.3 on OSX 10.6.8

I am trying to get Meld onto my OS X 10.6.8 box using MacPorts 2.0.3 and am not having success. bobk-mbp:opt bobk$ port version Version: 2.0.3 bobk-mbp:opt bobk$ sudo port install meld ---> ...
57
votes
3answers
23k views

What are pros and cons for MacPorts, Fink and Homebrew?

I'm just migrating from Ubuntu Linux to Mac, and everything is new and I'm re-learning a lot of stuff. On Linux I had the excellent apt-get to manage software packages. I googled for an alternative ...
0
votes
1answer
373 views

Cannot find where php5-fpm is stored in MacPorts

I installed php5 from macports. But i can't find php-fpm for start. Look in /opt/local/sbin and /usr/sbin/ I used console command: sudo port install php5 May be need some like php5 +fastcgi fscgi
1
vote
1answer
227 views

What more does installing Homebrew allow me to do? [closed]

Homebrew is a useful tool to install UNIX tools. What are useful things to do with homebrew? What tools can you recommend?
3
votes
2answers
4k views

How can I change default X11 application?

I compiled my own X11 Server for Mac OS X and want it to replace the original outdated X11.app supplied by Lion. How do I do that?
1
vote
1answer
57 views

Making MacPorts Think A Dependency Is Already Installed

I like to install some packages by hand that are also available through MacPorts. When I do this MacPorts still wants to install that package even though its binaries are in the path. Is there any ...
0
votes
3answers
1k views

How to install Scala on Mac OS X with MacPorts?

I'm trying to install Scala following the advice at the official website: sudo port install scala But this gives me: ---> Fetching archive for scala ---> Attempting to fetch ...
1
vote
2answers
152 views

Many Compile Warnings while Installing MacPorts

I recently upgraded to Mac OS X Lion 10.7.2. I also installed the latest version of Xcode (version 4.2) in order to build MacPorts. After doing this, I had no problems executing sudo port ...
2
votes
2answers
396 views

Installed MacPorts packages sizes

Can I retrieve a list of the sizes of MacPorts installed packages? Yes, I know they are compiled from sources, but if a list of generated files is known, it should be computable anyway.
3
votes
1answer
553 views

Help getting Nautilus running under MacPorts

I have been trying to run Nautilus on OS X 10.6.8 without any luck. First, I installed MacPorts, then installed Nautilus. However when I try to run it from the command line, I am getting an error. I ...
2
votes
2answers
3k views

Installing gnuplot (or similar) on Lion

All the packages needed to install gnuplot through MacPorts on Lion succeed, except for aquaterm. Installing gnuplot through Fink is far less lucky on Lion. Fink bails out after only a third of the ...
3
votes
2answers
2k views

Does Mac OS X have something like SELinux?

I just spent a looooooong time trying to use Macports' Apache2 to serve documents out of my home directory. She no work!!!11 In the absence of any meaningful log data (that I could find) to go on, I ...
5
votes
1answer
5k views

How do I change back from MacPorts Python to system default version?

I used MacPorts to install a newer version of Python on my system (10.5.8 PPC), and then used the MacPorts select command to change the default invoked version of Python to the MP version. Now I want ...
0
votes
0answers
238 views

Trouble installing sqlite3 on OS X 10.5.8

I am trying to install Rails 3, but having trouble with sqlite3. First I tried $ sudo gem install sqlite3 however, I got this error message: http://pastie.org/2419493 After googling around, I ...
2
votes
2answers
406 views

What are the key differences between fink and macports?

I don't want to start a holywar, but as far as I am concerned, I am on track according to the faq. I wanted to know the key differences between macports and fink. I am a long time macports user and ...
1
vote
4answers
763 views

Repairing macports after deleting image folders

I was having problems uninstalling a package in macports (gimp2-devel, to be exact) due to some "directory not empty" errors. I discover from comments made by the maintainer of macports that it's OK ...
7
votes
4answers
1k views

What's the best way to install command line utilities such as GIT?

I'm a Windows/Linux guy that just got my Macbook Air. I do web dev, and am currently trying to setup this machine for some on-the-go development. After some research attempts, I'm wondering: what's ...
6
votes
4answers
10k views

Mac OS X Lion and sshpass

I've upgraded from Mac OS X Snow Leopard to Lion. I used several scripts with sshpass but after I upgraded to Lion the following error appears: Permission denied, please try again. debug1: ...
2
votes
3answers
410 views

How to get rid of Xorg from Macports?

I have installed some packages from macports, and nearly all of them required to install Xorg. How can I remove the Xorg packages? Is there a way to reinstall all my Xorg dependant package without ...
1
vote
1answer
411 views

Macports and scala

I have installed scala 2.8 using macports. I have setup the SCALA_HOME env variable and I have added the bin directory to my path. If I type scala-2.8 into my terminal I get the scala interpreter. ...
0
votes
1answer
756 views

Installing cURL from Macports fails

I'm trying to install libusb-devel using Macports on a friend's Mac (we need it in order to install Osceleton). On my computer, the installation went perfectly well, but I'm stuck while installing it ...
15
votes
3answers
6k views

Is there any alternative to MacPorts?

MacPorts became really a pain because it does compile the packages on your machine, like the infamous gentoo and I would like something with a smaller footprint on your machine. I know that Fink and ...
1
vote
1answer
498 views

Migration assistant question

New Macbook Pro here. I am about to use the Migration assistant to copy over my old files from my old first-gen macbook. Will I have to reinstall macports manually or will migration assistant copy my ...
1
vote
2answers
1k views

Trying to install vsftpd via mac ports on snow leopard

Using this guide: http://www.finiteloops.com/weblog/?p=79 I get this error: 500 OOPS: vsftpd: not configured for standalone, must be started from inetd I am trying to turn on and off LISTEN in the ...
3
votes
1answer
1k views

How can I install the X11 version of Firefox on Snow Leopard? (Preferably without MacPorts or Fink?)

I’m doing some screen-scraping using Selenium, a framework which lets you programmatically control web browsers on your system. I’m running it as part of a web app on a Linux server, and on my MacBook ...
54
votes
6answers
45k views

How to remove unused MacPorts packages?

Whenever I install a program via MacPorts, it gets and installs lots of dependencies. When I uninstall said program, how do I make MacPorts recursively remove all unused dependencies with it?
2
votes
1answer
3k views

How to install and run nautilus using macports (or any other way)

I've installed macports and then done 'sudo port install nautilus' to install nautilus, which all works fine. Now i'm not sure how to actually run nautilus - there's no app in the applications, and if ...
4
votes
1answer
2k views

Stopping a macports installed mysql daemon

I'm trying to reset my root password on a macports installed MySQL on OS X. But none of the ways to do this that I can find works, for various reasons. One reason common to all is that I can't stop ...
18
votes
8answers
16k views

What are your “must-have” MacPorts? [closed]

I hate to be all cliché with yet another "best [something]" question, but I am genuinely interested in what you most often install with MacPorts. When you get a new Mac, which ports do you first ...
2
votes
1answer
157 views

Why do X11 applications start but their windows stay invisible?

After using a fresh OS X system for a while, I regularly hit the point where X11 clients start and run, but their windows do not show up anywhere. I suspect it has something to do with Mac port ...
2
votes
1answer
853 views

Mac ports package name search from command line?

I tried to install gnuchessc with Mac ports, but there's nothing like that. sudo port install gnuchessc Error: Port gnuchessc not found Before reporting a bug, first run the command again with the ...
8
votes
2answers
2k views

Migrating from MacPorts to Homebrew. Is there any specific advice in how to minimize disruption?

I want to stop using macports, and use homebrew instead, I have been reading on their approach and it makes more sense to me. Now, I don't care much about having to reinstall my packages, even if some ...
45
votes
4answers
32k views

Are my permissions for /usr/local/ correct?

I’m using HomeBrew for my port needs (seems a bit “cleaner” than MacPorts). I can install without sudoing (which is great), but the man linking step seems to require it (/usr/local/share/man/man3 ...
3
votes
3answers
1k views

How do I set which Apache / PHP 10.6 should run?

All my problems stemmed from trying to get mcrypt for PHP installed. Last night I gave in and followed a tutorial of how to do a totally fresh apache2 and php5.3.3 install. I did this using macports ...