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
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 ...
2
votes
1answer
8k 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
943 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
5k 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
419 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 ...
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
103 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
1answer
405 views

Which of the GNU coreutils applications are included in the MacPorts coreutils package?

In general, I would like to know if there are any discrepancies between the MacPorts coreutils and the GNU coreutils, and how I might go about answering this question myself. In particular, I don't ...
2
votes
2answers
801 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
3answers
487 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.
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
464 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
2k 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
133 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
461 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
2answers
1k views

How can I uninstall the macports tex packages?

I have installed MacTex 2013 and it seems to be properly installed, except that the binaries used at are from macports. "sudo port uninstall texlive" will not do anything. No output from the command. ...
2
votes
1answer
860 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
396 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
533 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
423 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
406 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
1answer
410 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
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
439 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
173 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
52 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
54 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
808 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
0answers
387 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
434 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
923 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
581 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
1k 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
41 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
190 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
287 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
384 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
872 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 ...
1
vote
1answer
170 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
62 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 ...
1
vote
4answers
818 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 ...
1
vote
1answer
649 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
238 views

chown /opt/local

Is it safe (no security implications) to chown -R user /opt/local/, so that I don't sudo port install with MacPorts? I don't like the idea of sudoing with MacPorts as it can write things in ...
1
vote
2answers
4k views

How to get Apple Command Line Developer Tools without App Store?

I got a mid-2013 MacBook Air for UNIX development. I'm disappointed that it came with no C/C++ compilers and with no make, which are apparently part of Apple Command Line Developer Tools, which is ...
1
vote
2answers
1k views

Having issues getting Wine installed on my mac (Lion)

I'm following this guide: http://www.davidbaumgold.com/tutorials/wine-mac/#part-1 I've attached my main.log file, but this is the error I get: ct-MacBook-Air:~ user$ sudo port install wine ---> ...
1
vote
1answer
584 views

How do I fix enourmous CPU usage & temperature on MacBook Air when trying to install Wine?

I have a 2012 MacBook Air Intel Core i5 8 GB memory (Mountain Lion). I am trying to install Wine through MacPorts, but after about a minute of building Wine, CPU usage rapidly rises into the 90s, and ...