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
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 ...
1
vote
2answers
505 views

Get specific version macports dependencies

Some ports have several versions installed, for example: sqlite3 @3.7.17_0 sqlite3 @3.8.0_0 (active) How do I get dependencies per each of them? $ port deps sqlite3@3.7.17_0 Full Name: sqlite3 @3....
1
vote
2answers
161 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 selfupdate,...
0
votes
2answers
38 views

Macports force-activate all ports

When trying to install SciTE sudo port install scite port stops at Error: org.macports.activate for port gettext returned: Image error: /opt/local/bin/autopoint already exists and does not ...
2
votes
1answer
521 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
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 ...
1
vote
1answer
439 views

/bin/sh don't read .profile after update to mac os x 10.10

I have updated my mac os x to 10.10 and got a lot of problems with program compilations. It looks like that default /bin/sh are not reading .profile anymore. So, all scripts, which are dependent from ...
1
vote
1answer
225 views

Can't Find MacPorts (installed on OS 10.8.5

How can I find MacPorts after it's been installed? I'm trying to use it to open GIMP but can't locate it. GIMP gave me the message "There is no application set to open the document fimp-2.8.14.dmg....
1
vote
1answer
191 views

Apache truncates files at 65536 bytes after Mavericks upgrade

I was using a mac-ports based LAMP stack before upgrading to Mavericks from Mountain Lion and all was fine.. After the upgrade, apache has started truncating static files.. If I use curl to fetch a ...
1
vote
1answer
32 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 ...
0
votes
1answer
89 views

X.Org vs. XQuartz - MacPorts

After installing MacPorts and some software through that way, I noticed that MacPorts installed X.Org. I've already installed XQuartz years ago and I'm really fine with it. My 1. question is: Do I ...
0
votes
1answer
21 views

macports: bash_completion not working with make (with gmake or without)

I've installed bash_completion from macports. Completion works fine for git, for instance, where I installed +bash_completion variant. Completion doesn't work for make, whether I install macports' ...
0
votes
1answer
74 views

How do check that uninstalling Macports won't break things?

Its been over a year since I installed Macports for Ruby. I want to uninstall but I can't remember if I was using for anything crucial. Can I get a nice list of ports that was directly installed?
0
votes
1answer
218 views

Mac Ports fails to install mysql5

I am trying to install mysql via mac ports and having no luck: /sites $ sudo port install mysql5 Password: ---> Computing dependencies for mysql5 ---> Building mysql5 Error: org.macports....
0
votes
1answer
369 views

Why can't I use `launchctl setenv` from `tmux`?

If I'm running within tmux and I try to update an environment variable with launchctl, I see an error like this: $ launchctl setenv GIT_SSH /opt/local/bin/ssh Not privileged to set domain environment....
0
votes
1answer
19 views

Keep two Macports installations in sync

I've got two Macs, an iMac and a Macbook Pro. I do web development work on both, my data is synced with a local cloud solution. But how do I keep my Macports installations in sync? At the moment I try ...
0
votes
1answer
127 views

Completely restore root and home folder after many problems with Macports and Homebrew

I had a long day battling with installing a LAMP environment with Macports. I installed several things, had many problems, tried uninstalling them (not sure if I did), and on and on. Then, I tried ...
0
votes
1answer
181 views

Checking for MacPorts or Fink installed

I'm writing an install script for some software that depends on libUSB being installed however I need to check if macports or fink is installed, if they are not install homebrew. How can I check to ...
0
votes
1answer
1k views

macports/dylib failure with libc++abi.dylib: terminate called throwing an exception Abort trap: 6

I installed Macports vowpal_wabbit v6.1 on MacOS 10.8.4 and it dies with: libc++abi.dylib: terminate called throwing an exception Abort trap: 6 I read around a lot and it seems this is a known ...
0
votes
1answer
57 views

Is it possible to create an own MacPorts (proxy)repository/server?

Is it possible to deploy MacPorts server on an own server periodically updating it from global one (i.e. create MacPorts distribution/update proxy server)? So that all computers within organization ...
0
votes
1answer
178 views

macports is not uninstalling a package

Earlier today, I tried using MacPorts to install gnutar. By doing the following sudo port install gnutar But now I've decided I didn't want to do this. So I tried to uninstall by doing sudo port ...
0
votes
1answer
611 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 musicbrainz2....
0
votes
1answer
262 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 ...