MacPorts is a package management tool for OS X, which provides many third party applications the operating system doesn't ship with.

learn more… | top users | synonyms

3
votes
3answers
6k views

How do you install PHP PECL extensions with Macports?

I'm using PHP 5.5 installed through Macports. I'd like to add the APCu PECL library. But there's no macports package and I can't see a way to install the PEAR/PECL command line utility. So how does ...
4
votes
2answers
1k views

How to find out a file belongs to which package in Mac OS X?

Is there a way to find out which Application / package owns or creates a specific file? For example, in Linux these commands will show the package owner apt-file /bin/progname rpm -qf /bin/progname ...
1
vote
2answers
802 views

Change GCC version on Mac OSX Lion

I'm currently running GCC 4.2. I would like to switch to a more recent version. I have Homebrew and I have MacPorts for package management. I've followed several tutorials today for installing a ...
0
votes
0answers
276 views

How to fix Macports configuration error like this?

When running sudo port selfupdate sudo port upgrade outdated I got ... ---> tig @0.18_0 ---> lynx @2.8.7rel.1_1+ssl ---> lame @3.99.5_0 ---> gettext @0.18.2.1_0+universal -...
2
votes
1answer
1k views

Subversion broken on OS X, recent Google/Stack answers Not Fixing It - Can't Even Reinstall

(I think this is the correct board to post on, also considered StackOverflow but this isn't really coding, and serverFault but seemed lower level OS items) After several hours trying to add ...
1
vote
0answers
671 views

Upgrading APC extension in MAMP

I'm trying to upgrade the APC extension in MAMP. I have got installed MacPorts and with the following command I've installed the autoconf: sudo port install autoconf Then I've executed this command: ...
4
votes
1answer
4k views

Mysql 5.6 server via MacPorts won't start

I've been happily using MacPorts' mysql5 and mysql5-server. Now it's time to upgrade. I followed standard procedure, but the server won't start. sudo port unload mysql5 sudo port install mysql56 ...
0
votes
2answers
971 views

How do I pass a configure option to macports?

I am following directions to install JavaHL bindings for Subversion from: http://subclipse.tigris.org/wiki/JavaHL It says to run sudo port install subversion-javahlbindings +no_bdb +universal when I ...
1
vote
0answers
242 views

gettext constantly broken after MacPorts upgrade

I use MacPorts on Mac OS X Mountain Lion. This issue has been there for a year: whenever I upgrade MacPorts: sudo port selfupdate this seems to work fine. But then running: sudo port upgrade ...
6
votes
1answer
7k views

Install GParted on a mac with Homebrew or Macports?

I'd like to install Gparted on my mac, and I thought I could use Homebrew or Macports to help with that, but I can't seem to figure it out. I tried using Homebrew because I haven't really heard good ...
0
votes
1answer
22 views

How can I display post installation instructions for a MacPorts package?

Some MacPorts packages display some post installation info after they are installed. Is there a command to display them manually?
1
vote
2answers
267 views

Why did Macports take ownership over lots and lots of files and what can I do about it?

I have just removed Macports. After that I did some random checks in directories and found out that some files still have Macports as their owner. So I did a 'find' on all files that have Macports as ...
1
vote
1answer
68 views

Is there any way to list all files in a Mac terminal that have a specific owner?

In my case the ownership would belong to Macports, which I removed. However, I found there are still some files here and there that apparently belong to Macports and I would like to remove them as ...
18
votes
2answers
9k views

Using `shred` from the command line

I need to securely erase some files. I have used shred on linux systems before, so I looked around and found that shred is part of the coreutils package in macports. I did port install coreutils to ...
0
votes
0answers
116 views

Macport self update fail mountain lion. Earlier it was working fine

Macport self update fail mountain lion. Earlier it was working fine. Here is output of sudo port -d selfupdate I think it broke after i installed the Mountain lion update. Before 2 weeks it was ...
0
votes
1answer
2k views

macport selfupdate using sudo fails behind proxy

I have just installed macport but the selfupdate fails. I suspect this is because I am on corporate network behind a proxy, but can't figure out how I can fix it. For background, I have set the proxy:...
2
votes
1answer
2k views

OS X 10.8.3 root user account permissions corrupted

I'm running into a root permissions issue on OS X 10.8.3. This is manifesting itself in various forms. It became clear after trying to execute a self-update of MacPorts. The following issue http://...
1
vote
2answers
2k views

Previous version of CGAL with Macports: “Error: Unable to execute port: Could not open file”

I'm trying to install a previous port of cgal with macports. I'm following this How-to: http://trac.macports.org/wiki/howto/InstallingOlderPort I already read this answer but it didn't solve for me. (...
0
votes
1answer
228 views

Macports installed applications no longer showing up

I recently migrated my shell over to zsh from bash on my os x computer. I obtained zsh from macports, updated my default shell on os x, and restarted. When I tried to use port both shells said they ...
0
votes
1answer
144 views

Fail to load php module macports

I'm trying to install php module via macports. I have them installed, so I run cd /opt/local/apache2/modules sudo /opt/local/apache2/bin/apxs -a -e -n "php5" mod_php54.so Then I'll ensure myself, ...
1
vote
1answer
268 views

installing qt-x11 on macports failed

I'm trying to install qt4-x11 on OSX Lion 10.7.5. 'port install qt4-x11' failed and I checked the log it says: :info:configure Creating qmake. Please wait... :info:configure /usr/bin/clang++ -c -o ...
2
votes
0answers
160 views

Unable to enter data into cells in sc

I'm trying to use sc, the classic Unix spreadsheet calculator, mainly because I want to be able to look at some csv files nicely formatted in my terminal. I installed sc 7.16 but am seeing some ...
2
votes
1answer
2k views

running python via mac ports

I have installed python via mac ports, using: sudo port install python33 I then did: sudo port select --set python python33 and got: Selecting 'python33' for 'python' succeeded. 'python33' is ...
2
votes
1answer
175 views

Installing ruby19 with +nosuffix still leaves the suffix

Following the advice found in many places, I tried to install Ruby 1.9 without a suffix using this command: sudo port install ruby19 +nosuffix This still leaves the suffix "1.9" on the binary; ...
2
votes
1answer
2k views

Unable to execute port when installing ImageMagick

I'm trying to install ImageMagick by using MacPorts. I've successfully installed MacPorts by using their Mountain Lion .pkg file. I open the terminal and run: sudo port install ImageMagick However ...
2
votes
1answer
99 views

MacPorts Vim prefixes $PATH with /etc/paths

For some reason it seems that vim (installed through macports: VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Feb 25 2013 01:56:26) prefixes my $PATH variable with the /etc/paths files. Although I don'...
1
vote
1answer
1k views

Macports Imagemagick Install for PHP

I'm trying to install Imagick for PHP via Macports and the PECL extension, based on the guide here: sudo port install ImageMagick sudo pecl install imagick I entered the opt/local path and setup ...
0
votes
1answer
38 views

Install Play 2.0 thru macports

When I do sudo port install play my computer installs Play 1.2.5. How do I install Play 2.0 using macports? I am using Mountain Lion
0
votes
0answers
616 views

Mac — Macports/Wine errors: NCurses library and Fontconfig

I've been trying to get Wine on my Mac to run some of my old PC games. I used Macports to install it, but it didn't work right away. I followed This tutorial, and then looked around a bit on the web ...
1
vote
2answers
5k views

Uninstall MacPorts without Port command working on Mac OS X 10.8.2

According to MacPorts' wiki/guide you need to have a working Port command but in my case the Port command isn't working. How do I uninstall MacPorts? I have tried Googling the solution but what I ...
1
vote
2answers
393 views

Macports Drush Conflict

Trying to install drush (Drupal Shell) with macports I get an error: Error: Unable to execute port: Can't install php52 because conflicting ports are installed: php5 php5-gd php5-iconv php5-mbstring ...
0
votes
1answer
2k views

macport selfupdate not working

macbookpro:~ eistrati$ port -v MacPorts 2.1.2 macbookpro:~ eistrati$ xcodebuild -version Xcode 4.5.2 Build version 4G2008a macbookpro:~ eistrati$ sudo port -d selfupdate DEBUG: Copying /Users/...
3
votes
1answer
2k views

Problems uninstalling MacPorts

I am new to mac and OSX, and I installed MacPorts, and a few minutes later I realized that I confused it for another program that I intended to install. Now I have no idea how to uninstall it. I have ...
1
vote
0answers
159 views

Installing graph-tool with macports

I'm trying to install graph-tool for Python using MacPorts, but for some reason it is not installing. I checked the port log and found many errors like this: :info:build ./../fast_vector_property_map....
-1
votes
1answer
258 views

Which VPN setup is iOS/Mac friendly and easy?

Normally my choice for VPN is OpenVPN which I have successfully setup before. However on iOS that is not a choice. I only see L2TP, PPTP and IPSec so I guess that I will have to learn a new way to ...
0
votes
1answer
307 views

Finder shows macports as file owner and file is locked

Running OSX/Lion, I have an external drive that I keep my iTunes music library on. While trying to figure out why ID3 changes to some music files (genre, etc) from within iTunes do not persist, I ...
1
vote
1answer
117 views

MacPorts, how to run “post-destroot” script

I'm trying to install MacPorts gdb; it seems to be poorly supported… Running "port install" installs it to /opt/local/libexec/gnubin/gdb, but the intent doesn't seem to be to add that to $PATH. The ...
6
votes
2answers
1k views

Macports install of ack doesn't create correct executable

I am trying to install p5-app-ack port from Mac Ports, but it seems it doesn't create a /opt/local/bin/ack binary at the end: $ sudo port search *app-ack Password: p5-app-ack @1.960.0 (perl) A ...
2
votes
1answer
47 views

Where to install manual builds on OSX

I have macports installed and it's using the default /opt/local location. There are a few packages not in macports and some I tools I wrote that I put in ~/bin. I found myself needing to use these ...
0
votes
1answer
272 views

Can I use a different version of gcc inside Xcode?

I installed gcc4.7 from MacPorts and I would like to use it inside Xcode (4.5). Is there a way to achieve this setup? Thanks
1
vote
1answer
76 views

macports apache,php,db, how do I test on another device?

My supervisor suggests using macports to install/manage different versions of apache and php, as well as both mysql and posgres databases. The idea is that we need to test our platform on different ...
1
vote
2answers
2k views

OSX MacPorts Subversion Install Error

I first installed JavaHL from Macports to enable Subclipse and I had no issues. sudo port install subversion-javahlbindings +no_bdb +universal Then I went to install the full Subversion Client: ...
0
votes
2answers
193 views

OSX installing php 5.4

I downloaded Macports and run a command I get online, which would install php 5.4. It took a while, but seemed to work successfully. I then copied the php.ini.development and renamed it php.ini like ...
1
vote
2answers
2k views

Macports Apache2 “Could not bind to address”

I have apache2 installed on Mac OS X 10.7.4 via macports Recently I have not been able to access my localhost directory I get a 404, but I can access 127.0.0.1 I've tried restarting apache: sudo /...
1
vote
1answer
874 views

How to change macports default mirrors?

I have a problem in here that default provided mirror connects about 15seconds for new package which I want to install. Mirror url is: http://mse.uk.packages.macports My question is how to change ...
1
vote
2answers
481 views

Edit the command line path for an executable on OSX [duplicate]

Possible Duplicate: What are PATH and other environment variables, and how can I set or use them? I have the default package of Ruby installed that shipped with the OS, which is an older ...
5
votes
1answer
6k views

FFmpeg (MacPorts) - libfaac missing, need new audio encoder

I am so confused. I am trying a quite simple FFMpeg command to transcode a movie file to a x264/AAC mp4 file via the command line (for Vimeo upload). (Mountain Lion/Macports) ffmpeg -i INPUT.AVI -...
1
vote
2answers
543 views

Mac - every command outputs 'Process completed'

(2009 MacBook Pro running Snow Leopard — OS X 10.6.8) I believe this is related to installing MacPorts today — although the other thing I did before I noticed any symptoms was install a trial of ...
3
votes
1answer
810 views

meld on OS X 10.7 doesn't work?

I'm installing meld on Mac OS 10.7 using port. It has downloaded all dependencies and told that everything is ok: Staging meld into destroot Installing meld @1.5.3_0 Activating meld @1.5.3_0 ...
2
votes
2answers
3k views

Is MacPorts the only thing that uses /opt/local?

The procedure for uninstalling MacPorts involves deleting many directory subtrees, including /opt/local. I was suspicious of this; the directories in /opt/local have the same names as many found in / ...