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

3
votes
1answer
3k views

Is there a way to get gnome-terminal on Lion?

Is there a port of gnome-terminal, or a way to compile it, or some other program that is typographically comparable, under Lion? There is a typographic difference, and I can't duplicate it in ...
3
votes
1answer
347 views

How to link SVG files to Inkscape?

I installed Inkscape-0.48.3.1 via MacPorts to my Mac OS X 10.9.1 System. I Can start it from the Terminal using the command inkscape, which starts inkscape fomr the location /opt/local/bin/inkscape. ...
3
votes
2answers
1k views

Upgrading to PHP 5.4 using Mac Port

I tried following the excellent instructions on this gist to upgrade my Mac to PHP 5.4, but before I do, I need to know: Is there an easy way to find out which php extensions do I have installed ...
3
votes
1answer
382 views

port selfupdate fails after upgrading to next OS X version

port selfupdate fails with the following error message: port -d selfupdate can't find package machista 1.0 while executing "package require machista 1.0" (procedure "mportinit" line 487) ...
3
votes
1answer
559 views

Mac Port install arguments

I need to install ROOT on my mac. Since I prefer Python for Scientific Computing I though that it would install PyROOT by default. That didn't happen. After I looked on PyROOT site i found that ...
3
votes
1answer
631 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 ...
3
votes
2answers
3k 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 ...
2
votes
1answer
12k views

Bash or sh cannot execute any binary files

While I am able to execute binaries, when the terminal is open, if I type: /bin/bash make or /bin/sh ls I get: /usr/bin/make: /usr/bin/make: cannot execute binary file Why is that? I am on ...
2
votes
1answer
1k 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 ...
2
votes
2answers
6k views

How can I get Homebrew working under Mavericks?

I had been doing most of my POSIX development on something other than my Mac after upgrading from Mountain Lion to Mavericks, and when I came back, Homebrew was not functioning at a smoke-test level. ...
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 ...
2
votes
2answers
147 views

Make Macports use HTTPS (SSL/TLS) to fetch packages

By default, Macports uses HTTP to fetch packages. For example: ---> Attempting to fetch port_cutleaves-0.1.4_0.darwin_10.noarch.tbz2 from http://lil.fr.packages.macports.org/port_cutleaves How ...
2
votes
2answers
829 views

Can't update MacPorts after upgrading to Mavericks

I ran port selfupdate and MacPorts tried to upgrade itself to version 2.2.1, but eventually fails. When I add the -v flag, I can see the build fails after these lines: checking for Tcl ...
2
votes
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 ...
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 ...
2
votes
2answers
1k views

Mac ports installation of gcc46 failing due to architecture problems

When trying to install gcc46 on OS X 10.6.4 using port (MacPorts 1.9.1) i get the following errors: artemis:foo$ sudo port install gcc46 Error: Cannot install gcc46 for the arch(s) 'x86_64' because ...
2
votes
2answers
556 views

When upgrading to Yosemite from Mavericks are there any traps with Brew and Ports

Currently running Mavericks. Got a LOT of things installed through Homebrew and a handful through Ports. Are these going to survive the upgrade? What is best practice in this situation?
2
votes
1answer
3k views

How to remove launchpad icon of broken application

I installed gimp from macports and uninstalled it (port uninstall gimp) when I found its not well maintained as gimp released its native mac build. But the gimp icon in launchpad didn't go away. How ...
2
votes
1answer
173 views

Using MacPorts bash, tab completion no longer lists hidden / dot files

I used MacPorts to install bash (bash @4.3.8_0). I switched Terminal to use /opt/local/bin/bash as the command to startup. However, now when I type vim ~/.<tab><tab>, it no longer lists ...
2
votes
1answer
727 views

Switch to MacPorts SSH by default 10.8/10.9

I've installed the MacPorts high-performance variant of SSH (sudo port install openssh +hpn) but now I would like to switch the default ssh command over. However, there appears to be some moral panic ...
2
votes
1answer
549 views

How to not install MacPorts dependency if installed elsewhere?

A common problem that I'm having with MacPorts is that I will go to install a port, and it will list a port as a dependency that I have installed outside of MacPorts. For example: I have Qt5 ...
2
votes
1answer
1k views

Benefit of using MacPorts coreutils instead of stock OS X?

I noticed that MacPorts contains lots of software that are already present as part of a stock Mac OS X installation (I am running 10.6.8 Snow Leopard), such as coreutils, tar, etc. Is there a benefit ...
2
votes
1answer
1k views

Problem installing rpm using macports

I am trying to install the rpm package using MacPorts, but this is what I get: ~ wdb$ sudo port install rpm ---> Computing dependencies for rpm Error: org.macports.activate for port rpm returned: ...
2
votes
1answer
466 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 ...
2
votes
3answers
711 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 ...
2
votes
1answer
425 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. ...
2
votes
1answer
247 views

tmux hangs when re-attaching session after logout

Since Yosemite, my tmux, which I installed via MacPorts, "hangs" when I re-attach it after my user has logged out and logged in again. I.e. it cannot start new processes, like a new command line. The ...
2
votes
1answer
522 views

How to install apache24 and php55 from macports?

I need apache24 because of some features what introduced in 2.3. And (unfortunately) need php too. So decided to install the next ports: apache24-devel php55 and php55-apache2handler For some ...
2
votes
3answers
2k views

SSH connection hangs out at SSH2_MSG_SERVICE_ACCEPT recieved

I tried to connect to a server with ssh, but it failed. I tried UseDNS no, update OpenSSH with MacPorts. But it didn't work. Using user@ip -v I get the following output OpenSSH_5.9p1, OpenSSL 0.9.8r ...
2
votes
2answers
2k views

How to download pre-built binaries from MacPorts without installing?

I see as of 2.0 MacPorts is hosting pre-built binaries, which it would install by default if licensing is present and compatible. I'm looking for a more current version of rsync than ships by default ...
2
votes
1answer
443 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. ...
2
votes
1answer
189 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
108 views

Wine in OS X: Issues with paths that include spanish special characters

I have installed Wine via MacPorts on OS X El Capitan so I have a standard wine setup. I am having the following issue: My default language in OS X in English but I am Spanish therefore some of my ...
2
votes
0answers
148 views

How can I customize the symlinks that MacPorts creates/deletes when using its `port select --set <group>` command?

I use MacPorts to manage certain *nix packages on my Mac. One such Mac has multiple Python versions installed. When I switch between Python versions, I use a command like: port select --set python ...
2
votes
1answer
108 views

Macports with Xcode CLI tools only

I ve installed the latest version of MacPorts and Xcode CLI tools for OS X 10.10 - I don't want download 4GB of data because I need only GCC. Everything looks fine - I can download and compile ports, ...
2
votes
0answers
69 views

Why after installing MacPorts the kernel_task RAM size raised x1.5?

I noticed that before installing MacPorts the kernel_task RAM usage was about 200-300 Mb. After installing that the process is using 482.5 Mb real RAM. What are the components (maybe .kexts, which ...
2
votes
1answer
899 views

Apache problem with hostname on OSX 10.8.4

After updating to 10.8.4 I am having trouble running my macports apache server. I stop the built-in apache with: sudo apachectl stop, then I try to start macports apache with: sudo ...
2
votes
2answers
6k views

How do I set the static library path in OS X Lion?

Instead of typing : g++ functions.cpp /opt/local/lib/libhdf5.a /opt/local/lib/libsiloh5.a /opt/local/lib/libz.a I would prefer to type: g++ functions.cpp -lhdf5 -lsiloh5 -lz I think that I ...
2
votes
0answers
500 views

Problems with tesseract and leptonica on OS X

after sudo port selfupdate, sudo port install leptonica and sudo port install tesseract I have what seem to be serious deficiencies. Tesseract wont even recognize .tiff files! pro:Images me$ ...
2
votes
1answer
513 views

How do I get make, gcc, clang, Xcode?

It has been almost a week as Apple has disabled downloads from https://developer.apple.com/downloads/ due to a security breach. If you don't have App Store set up for whichever reason, how are you ...
2
votes
0answers
1k views

How can I delay loading of a launchd Launch Daemon on boot?

I am running OS X Server 10.7.5 on a Mac Mini and I cannot get MacPorts’ Apache2 to start on boot. I have ensured that the Apple-supplied version of Apache is not launching and I have also ensured ...
2
votes
1answer
48 views

How to make sure macports only upgrades to ports that are at least a month old?

The goal is to insulate a code base from potential problems with new port upgrades. So maybe if a port upgrade outdated command can be amended not to use the freshest of the fresh ports, you can ...
2
votes
1answer
682 views

How to make ffmpeg use correct libfreetype version?

I have a PHP application that uses ffmpeg with libfreetype. I installed both ffmpeg and libfreetype from macports. But I keep getting this error: 2013-08-30 14:44:21 - Generate poster - Create ...
1
vote
2answers
85 views

What does the port xz do in Macports?

I'm new to macports. I want to install a certain port called gimp-gap, but first I have to install 'xz'. But what does this port actually do?
1
vote
2answers
2k views

Is Eigen provided with XCode?

I found out that I have some Eigen file in /usr/include/eigen3/... Is Eigen provided by deafult with XCode 4.3 or were them installed by me with a package manager like macport or homebrew? I'm ...
1
vote
2answers
213 views

What are pros and cons for installing apps natively vs. through MacPorts? [closed]

Given some applications that can be installed natively as well as through MacPorts (such as MacVim, iTerm2, Gimp, etc.), what are pros and cons for choosing one installation method over the other?
1
vote
2answers
5k views

GIMP doesn't open

I installed gimp from macports on my MacBook Air Mavericks. When I launch GIMP 2.8 from launchpad it pops up in dock for a second and vanishes. system log shows 26/05/14 8:43:28.086 pm ...
1
vote
2answers
347 views

LaTeX on OS X stoped working after update

I have TeX Live installed on my MacBook Pro with OS X 10.9.2. I installed TeX Live through MacPorts. Not long ago, I did an update of out of date packages. I just tried to compile a Tex document, and ...
1
vote
2answers
430 views

What options does Terminal pass to bash on startup?

In the Terminal preferences, I'm able to configure the Terminal to "Open shells with:" -> "Command (complete path):" /opt/local/bin/bash. What options is the terminal passing when invoking this ...
1
vote
1answer
922 views

How do I install Macports and Xcode for OS X Snow Leopard

I'm new to OS X and I have an older Snow Leopard system. I need to compile a few simple C programs for some analysis work. It seems that gcc et al are part of a package called Xcode, and that many ...