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

2
votes
2answers
773 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
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
108 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
143 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
1answer
97 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
223 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
814 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
623 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
979 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
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 ...
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.
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 ...
2
votes
1answer
296 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
289 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
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. ...
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
16 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
1answer
1k 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
274 views

Wrong volume name for sshfs volume in Finder even with volname option

I am using sshfs @2.5 and osxfuse @2.6.4 installed via MacPorts 2.2.1 on my MacBook Pro Retina Late 2013 which is running OS X Mavericks 10.9.2. When issuing the following command: sshfs -ovolname=Z ...
2
votes
1answer
189 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 ...
2
votes
0answers
42 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
567 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
291 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
326 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
1answer
44 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
478 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
166 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
1answer
4k 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 ...
1
vote
4answers
179 views

How to get to know OS X/Unix better? [closed]

Not sure how to ask this but this problem has troubled me for so long. I'd long been a DOS/Windows user until about 12 years ago when Mac OS X first came out I turned to the Mac, and stayed here ever ...
1
vote
2answers
182 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
290 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
2answers
672 views

Is it better to use MacPorts or just use an Ubuntu VM for local tools/services when developing on a Mac?

As a developer (primarily JVM-based web apps), I need to use a lot of different tools and services, such as Redis, RabbitMQ, MySQL, git, mercurial, etc. Having worked in a Linux environment where such ...
1
vote
1answer
759 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
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
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 ...
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 ...
1
vote
1answer
499 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
162 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
3k 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
483 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 ...
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 ...
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?
1
vote
1answer
144 views

OpenCV library not installing after using cmake

I use Yosemite 10.10, and I need to build and install the OpenCV library using cmake-gui. I was able to configure and generate the binaries readily. But when I try to 'make' the library using the ...
1
vote
1answer
862 views

Xquartz on Mavericks 10.9 fails

There is an issue with running xquartz on my system. I installed it by using the link from the Apple website. However when I run xquartz from terminal I get: :~$ xquartz ...
1
vote
1answer
108 views

Macports cccc terminates when run - how to solve

One tool I really appreciate when analyzing source code for software is Sourcemonitor, but unfortunately it is only available on windows. Having searched around for alternatives on my mac, it seems ...
1
vote
1answer
499 views

Can not run ack after installing it using MacPorts

After installing p5-app-ack using Macports I can see it is installed correctly. I can not run it however. I get ack: command not found. and which ack displays nothing. How can I see where port ...
1
vote
1answer
1k views

Python IDLE from MacPorts can't start

I tried installing the python27 and python32 packages via MacPorts in Mac OS X 10.6.8. It includes the standard IDLE, Python Launcher, and Build Applet applications. However, when I start them, their ...