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
925 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
652 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
383 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
419 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
640 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
2k 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.
1
vote
2answers
603 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 ...
13
votes
1answer
7k 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
2k 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
194 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
589 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
454 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 ...
13
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
1k 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
415 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 ...
4
votes
0answers
201 views

MacPort and LaunchAgent without sudo

I'm running Snow Leopard and am trying to install Wine. To keep things simple, I'm trying to install Wine using MacPorts. My MacPorts is local to ~/opt/local/. However, one of the required packages ...
3
votes
1answer
501 views

Macports to Homebrew conflicts?

I am currently using MacPorts on Lion but thinking of switching to Homebrew. There is a suggestion that installing to /usr/local causes problems and ~/.homebrew would be an alternative. Can I ...
0
votes
0answers
187 views

How to reinstall Perl on OS X

I accidentally deleted the /System/Library/Perl/ folder. Now I am not be able to run any of my projects. How can I reinstall Perl on OS X?
1
vote
1answer
174 views

Preventing MacPorts from installing things I already have

How do I prevent MacPorts from installing dependencies that already exist on my machine? For example, it tries to install Python when it's already available on my machine. (Why does it try to install ...
7
votes
1answer
12k views

How do I fix “Library not loaded: libssl.1.0.0.dylib” with PostgreSQL?

After deleting Macports, I've had some strange behaviour. When I try to run PostgreSQL via CLI, I get: pawel:~ pawel$ psql dyld: Library not loaded: /opt/local/lib/libssl.1.0.0.dylib Referenced ...
3
votes
2answers
6k views

Can I delete opt/local/bin?

I've removed Macports because of library conflicts and use Homebrew now. And I'm having issues with Openssl and in my opt/local/bin folder, there's openssl, oldOpenssl and oldOpenssl2 which I'd like ...
1
vote
0answers
1k views

Installing ettercap-gtk on mac osx lion.

I'm trying to get ettercap-gtk installed on osx but am having little luck. Getting ettercap without the GUI installed was no problem. When I try with macports I get the following: Package ...
10
votes
2answers
3k views

Forcing Homebrew and Macports to coexist?

I have a MacOSX system that I've been using for a number of years, and during this time, I have installed quite a few packages via Macports. I now want to try Homebrew, but it's clear from what I've ...
0
votes
1answer
853 views

macports issue for local portfile

I have got my files from here: https://trac.macports.org/browser/trunk/dports/devel/subversion?rev=80777 - placed them under a similar folder tree, cd'ed into there and ran ...
1
vote
1answer
4k views

How to use macport to install software?

$ sudo port install linkchecker ---> Computing dependencies for openssl ---> Verifying checksum(s) for openssl Error: No checksum set for openssl-1.0.0f.tar.gz Error: Target ...
22
votes
2answers
29k views

How do you remove MacPorts and all the packages it has installed?

I have installed MacPorts on my Mac OS X Lion, and I would like to remove it. There should be no more trace of MacPorts? Is there a way to do this?
6
votes
2answers
4k views

How to remove failed macports software?

I was installing gimp using macport But it takes me 2 hours to build and install the entire dependents. So I stopped it. But no matter I use uninstall or clean command. It took me 2GB disk. I wonder ...
2
votes
3answers
3k views

X11.app (on SnowLeopard) won't start

Today I discovered that X11.app no longer works on my Mac. I'm not sure when this happened. I think it's been several weeks since I last used an X11 application. By "no longer works" I mean it does ...
0
votes
1answer
721 views

Error installing pygraphviz on OSX

I'm trying to get the graph-models to work (from django-command extensions) on Snow Leopard. It requires pygraphviz, which I installed via macports. After successful install I am getting this error: ...
2
votes
1answer
715 views

Installing VIM through MacPorts gives an error

I was trying to install VIM with the ruby package through macports, by executing the command: sudo port install vim +ruby +huge It seems the package was downloaded fine, but an error occurred. ...
0
votes
0answers
72 views

rsync without tarballs in MacPorts

After MacPorts was upgraded, I got some problems rsync'inking port tree. After this upgrade, MacPorts receives tarballs, and then uncompresses them. For my MacBook this is kind of trivial. Once in a ...
7
votes
1answer
2k views

MacPorts selfupdate fails on Mac OS X Lion

I recently upgraded my Mac Book Pro to Lion and faced challenges with MacPorts application that I had with me. I had downloaded and installed XCode 4.2 from the app store (very un - appstore like ...
0
votes
4answers
3k views

Still unsolved error installing on macports. “Dependency not found”

I am trying to install 'ipe' on Snow Leopard via macports. The command I am running is "sudo port install ipe". This is the output: Chriss-MacBook:macports chris$ sudo port install ipe Warning: No ...
0
votes
1answer
107 views

How to keep gems in sync for two ruby versions?

I use MacPorts to install and update two versions of ruby (1.8.7 and 1.9.2). How to make gems of both versions be in sync? Is it possible to use same directory for gems, but make native extensions to ...
0
votes
1answer
939 views

How to install djvu2pdf on Mac OS X (using Macports)?

It seems i can't install it even though the port djvu2pdf can be found using port search djvu: $ sudo port install djvu2pdf Warning: No port pkgconfig found in the index. Warning: No port m4 found in ...
1
vote
1answer
724 views

How to install macports -devel port not listed in the search?

I'd like to install this https://trac.macports.org/ticket/30450 devel port, called "py27-wxpython-devel". However, when I do: sudo port install py27-wxpython-devel I get: Error: Port ...
0
votes
2answers
774 views

Trying to install lighttpd with macports, but get 'upgrade openssl failed'?

I want to install lighttpd with macports, but: $ sudo port install lighttpd ---> Computing dependencies for openssl ---> Building openssl Error: Target org.macports.build returned: shell ...
2
votes
1answer
318 views

virtualenv site-packages problem on OS X

I am using a MacPorts installation of Python2.7. I have used pip to install a number of packages in my home directory (pip install --user). The issue is that when I use virtualenv, none of those ...
2
votes
1answer
2k views

How to use NTFS-3G installed using MacPort?

After upgrading to Lion I'm having problem mounting NTFS drives in read/write mode. This is because NTFS-3G distributed by http://www.tuxera.com does not work with Lion. As far their suggestion I ...
2
votes
1answer
699 views

How to avoid MacPorts conflict with /usr/local

Since MacPorts is not compatible with /usr/local *, whenever I install/update ports with MacPorts I would sudo mv /usr/local /usr/local.bak and after I am done building MacPorts stuff sudo mv ...
0
votes
0answers
954 views

Install dpkg without Fink or MacPorts on a mac

I don't want to use either of Fink or MacPorts, because I use Homebrew. I need to use dkpg, but it isn't included in Homebrew, and it fails when trying to compile it from source with: $ make make ...
2
votes
1answer
288 views

MacPorts duplicated software

I just found out I got about 500 MB out of just one package (Qt 4) being duplicated on MacPorts. Or at least I think so. I couldn't find any hardlinks in there, and I'm wondering if I can safely ...
2
votes
3answers
4k views

How do I install the Postgres command-line client (psql) on OS X using MacPorts?

I'm trying to install the Posgtres command-line client (typically psql on Linux). I've got postgres installed through MacPorts (postgresql90 and postgresql90-server) but still don't see the client ...
2
votes
1answer
1k views

How can I install bridge-util on Mac OS X?

I want to install the bridge-utils package on my Mac OS X system. How can I do that? I can't find bridge-utils in Fink or MacPorts.
2
votes
2answers
1k views

Installing gnuplot from MacPorts failed (Checksum Mismacth)

I have OSX 10.5 and tried to sudo port install gnuplot, only to get this: ---> Computing dependencies for gnuplot ---> Verifying checksum(s) for gnuplot Error: Checksum (md5) mismatch for ...
2
votes
1answer
603 views

perl5.14 OS X - what is the best way manage it?

Im an heavy macports user. Have a lot of ports installed with +perl variants. (and much p5-modules too, and zilion others installed by cpan). Now, I need perl 5.14. (because improved utf8 handling), ...
31
votes
1answer
18k views

Bash completion for commands in Mac OS X

How do I get fink and macports to autocomplete program names when typing commands, as in Ubuntu's apt-get? For example when I type sudo port install ca and press tab, I want the terminal to ...
9
votes
3answers
32k views

“sudo: port: command not found” after installing MacPorts on Snow leopard

I have attempted to install MacPorts in order to upgrade my Rails version so that I can work my way through Agile Web Development with Rails, PragProg (4th, 2011). I have followed the directions in ...
1
vote
2answers
497 views

Back up MacPorts files

I am planning to migrate from MacPorts to homebrew. Where are all the MacPorts files located (mostly what it installs) so I can back them up? (I do have a regular backup, of course)