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

1
vote
1answer
428 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 ...
0
votes
1answer
344 views

How can I apply a patch file to a Mac Ports app?

I want to use the CD-ripping utility abcde, which I've installed via Mac Ports. I've run afoul of a problem in abcde, which is described in their bug database. Someone made a patch file ...
1
vote
0answers
1k views

A lot of problems with Homebrew

This is probably bad form for this board, and feel free to delete it if it is, but running brew doctor reveals the following: Warning: /usr/local/lib/pkgconfig isn't writable. This can happen if you ...
0
votes
1answer
57 views

Problem with MacPorts

I have MacPorts installed on my Mac and a lot of ports that were put on my machine years ago by my sysadmin for various purposes. There is quite a lot of garbage out there, but worst of all, the ...
3
votes
2answers
955 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 ...
0
votes
1answer
407 views

Move python modules from one installation to another

I have several versions of Python installed, some through MacPorts and some directly via the python.org installers. I have modules installed through MacPorts and via PyPI, for the same Python version ...
3
votes
1answer
6k views

How do I find what packages I've installed via terminal?

I've been learning the shell for a few weeks and have installed several packages. I know/remember what some of them are, like oh-my-zsh and emacs 24 (which was a nightmare to upgrade to), but not sure ...
2
votes
1answer
593 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 ...
1
vote
0answers
575 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 ...
1
vote
1answer
29 views

What happens if I update an app using its built-in ability that I built/installed through MacPorts?

Will I break MacPorts ability to manage and update that same app? Would it even allow me to do so? For example, both MacVim and iTerm2 have a "Check for Updates..." function built into them. If I ...
1
vote
2answers
159 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?
0
votes
0answers
316 views

License problems installing aquaterm via macports

I am trying to install aquaterm via macports. I run sudo port install aquaterm This gives back an error: ---> Building aquaterm Error: org.macports.build for port aquaterm returned: command ...
6
votes
1answer
3k views

Set default shell to MacPorts bash in Mac OS X 10.6.8?

As a follow up to my previous question, I reinstalled my MacPorts and want to try its newer version of bash again. I installed the newest bash via MacPorts on my Mac OS X 10.6.8 system, but when I ...
9
votes
3answers
8k views

Installing wine with homebrew

So, I am running a bit of a different install. Here's the background: I have installed wine before with MacPorts. Later, I decided to install homebrew. Then, wine didn't work so I tried brew install ...
1
vote
1answer
299 views

How do I launch shell applications after changing shell to MacPorts bash?

I have installed a current bash version via MacPorts and changed Terminal.app to use /opt/local/bin/bash. Unfortunately shell applications won't launch from Finder and Spotlight anymore. (OSX 10.8.2, ...
1
vote
2answers
635 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 ...
7
votes
4answers
1k views

MacPorts: Continue installing other updates after error

Say I have the following outdated packages: foo bar baz I want to update as many as them as possible, so I try to run: sudo port -n -f upgrade outdated However this fails with: Error: ...
28
votes
4answers
17k views

MacPorts vs. Fink vs. Homebrew

I always used MacPorts to install and maintain my GCC compilers (4.4, 4.5, 4.6, 4.7, ...) and gnuplot. Now I've heard about Fink and Homebrew. I think these two utilities are gaining ground in the Mac ...
1
vote
2answers
1k 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 ...
3
votes
1answer
830 views

MacPorts Software clean-up: /opt/local/var/macports/software

The MacPorts directory /opt/local/var/macports/software is really full of "stuff": Can all the .tbz2 files be deleted? I am running out of space on the SSD.
0
votes
2answers
678 views

MacPorts on mountain lion - cannot install apache2 due to gettext package

I have been having problem with installing gettext package from macports. When I am launching /opt/local/bin/port -v install apache2 it checks dependencies, and continues with gettext package ...
1
vote
0answers
278 views

How do I install macports successfully?

Right now it's stuck at Running packages scripts And here is the log: Aug 28 13:48:52 Alejandro installd[9247]: ./postinstall: MacPorts base version 2.1.2 installed, Aug 28 13:48:52 Alejandro ...
1
vote
2answers
1k views

Xcode 4.4.1 version not recognized in Macports?

After upgrading to Mountain Lion, I noticed that I can't install ports via Macports. I get the following error: Error: The installed version of Xcode (3.2.6) is too old to use on the installed OS ...
1
vote
1answer
270 views

Mountain Lion Figlet through MacPorts error?

I've just installed Mountain Lion, Xcode 4.4.1 + command line tools, and MacPorts for ML. It's working for other packages but I can't get figlet to install. When I use sudo port install figlet in ...
3
votes
1answer
4k views

Macports issues after Mountain Lion upgrade

After upgrading Lion to Mountain Lion, the MacPorts system seems broken. Refering to the MacPorts's migration page, the best solution seems to unistall all and reinstall all the ports. Is there a ...
0
votes
0answers
1k views

Installation of Wine via MacPorts not working with 10.8 and XCode 4.4

I had installed wine on my computer with then 10.7.4. It worked perfectly. Then I updated to 10.8 and wine did not work, so I uninstalled wine and macports. It gave me an error that winetricks (I ...
6
votes
1answer
3k views

Mountain Lion Broke MacPorts - Cannot Update

I am trying to update MacPorts but get the following error. sudo port selfupdate Password: ---> Updating MacPorts base sources using rsync MacPorts base version 2.1.1 installed, MacPorts base ...
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 ...
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 ...
3
votes
1answer
347 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) ...
0
votes
2answers
134 views

Apache doesn't recognize a local zone (BIND) unless restarted frequently

Apache does not recognize the local zone .dev -- returns 404 Not Found. If Apache is restarted it will recognize the local zon. If inactive for ~1hr it no longer recognizes the local zone -- returns ...
2
votes
1answer
2k 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 ...
1
vote
1answer
739 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 ...
2
votes
1answer
948 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
3answers
345 views

MacBook Pro 2012 appearance

I just got the latest MacBook Pro (2.6 GHz i7 Quad Core, 8GB RAM, non-retina). But the packaging and overall appearance looks just like the older 15" one (I don't see any HDMI and stuff). Are the ...
0
votes
1answer
329 views

Terminal hangs on startup

I am on OSX Lion. After I Control C the building of Atlas under MacPorts Clang I can no longer get it to run. It start taking around 2GB on startup and even does this after a reboot. After killing the ...
1
vote
0answers
218 views

Midnight Commander installed via Ports to support scp

I have installed Midnight Commander via Ports, but I am unable to connect to a remote computer to copy files as: cd #sh:user@server.net I keep getting: "Cannot CHDIR to #sh:user@server.net". ...
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 ...
0
votes
1answer
506 views

Unable to update MacPorts: “symbol(s) not found for architecture x86_64”

I'm trying to run sudo port selfupdate to but part of the build process seems to be generating errors. I've run it with -d, and here's the output: DEBUG: MacPorts sources location: ...
14
votes
3answers
13k 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 ...
0
votes
1answer
988 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 ...
14
votes
2answers
6k 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
300 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
11k 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
101 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
749 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
150 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
584 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
414 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. ...