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

0
votes
1answer
98 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
173 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
102 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 ...
1
vote
1answer
1k 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
115 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
1k 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
74 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 ...
1
vote
1answer
868 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
37 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
420 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
332 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 ...
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
122 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 ...
-1
votes
1answer
206 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
201 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
92 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
44 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
247 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
73 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
189 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 ...
0
votes
2answers
932 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
633 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
311 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 ...
4
votes
1answer
4k 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
355 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
585 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 ...
1
vote
2answers
1k 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 / ...
1
vote
1answer
134 views

MacPorts takes huge time and resources

I'm installing clang-3.2 and it's taken more than 1.5 hours already running at 400% (all CPU threads at 100%), and 3 GB of hard drive space... Around 20 GB has been written and deleted according to ...
3
votes
1answer
1k views

MacPorts: How do I rebuild of a specific port?

How do I force MacPorts to rebuild a specific port? I manually made a change to a MacPorts makefile to link in a specific library, but the missing symbol still cannot be found. Perhaps I need to ...
5
votes
1answer
5k views

How to remove xcode warning in macports?

I have this warning in macports: Romans-iMac:~ holms$ sudo port -v install nginx +ssl Error: Error: No valid Xcode installation is properly selected. Error: Please use xcode-select to select an ...
0
votes
1answer
794 views

Macports irssi & perl5 installation issues

Long time reader, first time poster. Big, appreciative thanks for everyone's collective questioning and answering here and at stackoverflow, it's helped me quite a lot over the time I've been learning ...
1
vote
1answer
524 views

Error during configuring kerberos5 using macports

While trying to install libmemcached via MacPorts, I hit the following issue: libmemcached @0.40 +universal ---> Computing dependencies for libmemcached ---> Dependencies to be ...
1
vote
1answer
284 views

Macports get legacy version of node (v0.6.19)

I've had to reinstall my mac, and after my initial macports setup i found that several nodejs libs where broken by the switch to v0.7.x. Is there a way to easily install nodejs v0.6-latest on a mac?
0
votes
0answers
365 views

Installing ffmpeg-devel with MacPorts fails

I did a selfupdate and updated all dependencies. When I do sudo port install ffmpeg-devel I get ---> Computing dependencies for ffmpeg-devel ---> Building ffmpeg-devel Error: ...
0
votes
1answer
495 views

How to delete/detect what command-line software I have installed?

On Mac OS X Terminal, I installed many terminal programs while trying to install a programming library. Now I'm wondering how I delete them. I think some of them include pip, macports, vmenven (or ...
4
votes
1answer
1k views

Where does Macports install GNU sed when I install coreutils port?

Where does Macports install the GNU sed when I install coreutils port? I want to use GNU sed instead of BSD sed on Mac OS X.
0
votes
2answers
437 views

Can I properly change pip-2.7 command to pip?

Basically trouble is that I have pip-2.7 command in terminal but not pip. First thought was sudo port select --list pip will help, but it doesn't even has that group Romans-iMac:~ holms$ sudo port ...
3
votes
1answer
1k views

Using MacPorts within FISH shell

I have been playing around with FISH for a few days and I just tried to switch it to my main shell. That worked fine but now none of my software from MacPorts is recognized. I installed and followed ...
8
votes
1answer
3k views

“whereis” and “which” return different paths in Mac OS X

I've got the default OpenSSL 9.8 (Mac OS X 10.6.8) and decided to install the newest version (1.0.1) via MacPorts (sudo port install openssl). These are console output of which and whereis commands: ...
1
vote
1answer
1k views

Macports gives “sudo: cannot get working directory” error, then fails

Macports doesn't work: sudo: cannot get working directory shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory error getting working ...
1
vote
2answers
172 views

MacPorts Invalid Entry

I am stuck upgrading my MacPorts. I seem to have a registry issue. I filed a ticket here. When I do sudo port upgrade outdated I get these errors: DEBUG: Executing org.macports.uninstall (iso-codes) ...
0
votes
1answer
563 views

Update Apache using MacPorts on OS X Lion Server (10.7.4)

I would like to update the existing Apache software to version 2.2.22 (currently running version 2.2.21). I would like to use Macports but I am open to suggestions. Whenever I try to install it, ...
1
vote
0answers
390 views

Fix Python sys.path after MacPorts install of Python

So I have reinstalled MacPorts Python. I have port select --set python python27 and which python returns the proper location, i.e., /opt/local/bin. Now, when I import modules in the python ...
11
votes
2answers
4k views

macports gcc select error trying to exec i686-apple-darwin11-llvm-gcc-4.2

I am working on OS X 10.7 (Lion). I have installed gcc 4.7 from macports: sudo port install gcc47 It seems to be working properly: $ /opt/local/bin/gcc-mp-4.7 -v (...) gcc version 4.7.0 (GCC) ...
1
vote
2answers
804 views

Install vim with clipboard support using Macports in OS X 10.7.3

I know that one can pass ./configure some flags to install vim with clipboard support. I want to do this via Macports. In apt, there was a way to download a package's source without first installing ...
0
votes
0answers
383 views

Where is my new Subversion when installing from MacPorts?

On my MacBook, the default SVN client was the version 1.4, and I installed subversion (ver. 1.7) from MacPorts. But when I run svn from terminal, it still launches the old SVN 1.4. echo $PATH gives ...