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
0answers
64 views

Installing MySQL with Macports on Yosemite

I am following this tutorial Step 3 (Install MySQL) but it's failing. I am running Mac OS X Yosemite and have freshly installed Macports 2.3.3-10.10. sudo port install mysql51-server failed with "All ...
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
61 views

Xquartz stopped working on Maverics. Cannot install a valid X11 forwarding

I'm having trouble with XQuartz on Mavericks. After I went to apple genius support to change my battery (in which the genius guy forced power off when I had an X11 connection opened), I am having the ...
0
votes
1answer
39 views

Homebrew Apache Issues Post MacPorts Removal

I removed MacPorts completely following their guideline here. uninstaling all ports and then removing all folders sudo rm -rf \ /opt/local \ /Applications/DarwinPorts \ /Applications/MacPorts \ ...
0
votes
2answers
2k views

Can't log into account on Macbook Pro

I installed MacPorts on my Macbook pro with lion, restarted, and now I cannot log into my account. After the restart it hung at the loading screen (the apple with the loading icon) for a while. I ...
2
votes
3answers
2k 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 ...
1
vote
1answer
78 views

How do I use MacPorts' Perl installation with MAMP?

I have MAMP 3.0.6 and MacPorts 2.3.1. There are some Perl modules that I need to use (through some CGI scripts), I installed them on the MacPorts Perl installation (e.g., p5.16-dbd-mysql), but I can't ...
5
votes
2answers
539 views

LSOpenURLsWithRole() failes with error -10810 on Yosemite from within tmux

Trying to open an application from the commandline (terminal.app), inside tmux (installed through macports, version 1.9a), and getting the following result: $ open /Applications/Adobe\ Reader.app/ ...
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 ...
43
votes
5answers
17k views

Is it safe to install both Homebrew and Macports on the same machine?

I have MacPorts installed on my iMac with a fair number of ports installed. I'm interested in trying out Homebrew, though, as I've heard many good things about it, and because I've noticed that it ...
0
votes
1answer
114 views

Mercurial authorization issue on Yosemite

I have a local HG repo for my client work. I've configured the HG server before on earlier versions of OS X without any issues, but on Yosemite I am stuck. I used MacPorts' mercurial package, ...
4
votes
3answers
3k views

MacPorts: How to clean out source code

So I haven't cleaned up after MacPorts in, um, ever and I'm trying to cut down on the disk space it's using. The source code for several (but not all) of the ports are still on my disk. Since I've ...
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
0answers
437 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: ...
1
vote
0answers
18 views

Can you install Macports to the home directory and still have everything work?

I do not have root access on my computer, and I would like to install Macports. That raises a problem, however, because installing Macports requires sudo. This link shows how you can install Macports ...
0
votes
5answers
3k views

How do I specify which install of Apache I want my Mac to use?

All my problems stemmed from trying to get mcrypt for PHP installed. Last night I gave in and followed a tutorial of how to do a totally fresh apache2 and php5.3.3 install. I did this using macports ...
1
vote
0answers
91 views

After logging into MySQL 5.6 successfully as root, it says access denied for root, ERROR 1045 (28000)

I recently used MacPorts to upgrade from MySQL 5.5 to 5.6. I can use my database fine on my laptop. I tried to enable remote access to the database so I could edit the database using DB clients on ...
2
votes
2answers
3k views

How do you know where macports installs python packages to?

I am running macports to install scipy and such on OS X leopard with python 2.7. The install runs successfully, but running python and trying to import the packages I've installed, they're not found. ...
0
votes
4answers
2k 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 ...
1
vote
1answer
62 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 ...
0
votes
1answer
45 views

Mac ports passing argument to install of ImageMagick

I am trying to pass the argument --with-rsvg when installing ImageMagick with MacPorts. I am doing it like this: sudo port install ImageMagick --with-rsvg But after installing, I get this error: ...
0
votes
1answer
122 views

Where does Macports install freerdp

I just installed freerdp with macports but I can't seem to find the binary anywhere. xfreerdp command doesn't run either. This is the command I ran: sudo port clean freerdp && sudo port ...
0
votes
0answers
104 views

Can't build using MacPorts in OS X

I've submitted a ticket here, but I am pretty pessimistic it'll be addressed. As I say, there, I'm running MacPorts 2.3.1 on OS X 10.9.3. In trying to install llvm-3.2, I get the following error: ...
0
votes
1answer
197 views

Problems when installing NumPy on MacOS 10.9.4

I am using MacOS 10.9.4 with Xcode 5.1 (command line tools installed) Today I upgraded macports and installed py27-numpy. Everything looked ok in my terminal window. Then I tried to install PyCogent ...
5
votes
1answer
764 views

Tesseract OCR : Unsupported image type

I converted the PDF to TIF file using the following commands on terminal convert -density 300 -depth 4 lang.font-name.exp0.pdf lang.font-name.exp0.tif convert lang.font-name.exp0.tif -colorspace rgb ...
1
vote
3answers
2k views

Running php scripts via command line mode gives warnings

Whenever I run my php command line script, before the script actually outputs to the screen, php always returns a bunch of error messages as follows: PHP Warning: PHP Startup: Unable to load dynamic ...
2
votes
1answer
163 views

Why doesn't __git_ps1 work in bash anymore on OSX with MacPorts?

After updating Macports today, I get -bash: __git_ps1: command not found. Why is that?
1
vote
1answer
194 views

Python IDLE won't launch - (Using MAC 10.8.5 /Python and UNIX noobie)

Months ago, I installed Python 2.7 on my MacBook Pro (OS 10.8.5) and was using IDLE to run programs for classes I was taking on Udacity. One morning IDLE would no longer start, it would just bounce ...
0
votes
1answer
16 views

MacPorts: time stamp of lastest revision to a given port

The time of latest revision to a port is a pretty reliable criterion for deciding whether a port is dormant/abandoned or not. In the web interface of MacPorts, we can see when the port is last ...
0
votes
1answer
226 views

Fixing borked macports

I tried to install some packages and got following errors: $ sudo port install pkgconfig ---> Computing dependencies for pkgconfig ---> Dependencies to be installed: libiconv ---> ...
8
votes
5answers
5k views

How do I tell sudo to write files with a umask of 0022?

I recently upgrading to Snow Leopard. I have noticed that some files written by MacPorts are installed with the wrong permission -- they are written with a umask of 0077. I think I have narrowed down ...
17
votes
2answers
18k 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?
2
votes
1answer
942 views

How do I remove an old version of iconv on which other software depends? (and other lovely issues) [OS X]

Recently, I unsuccessfully tried to install a series of badly written software in a hacky way (won't bore you with the details) and now it seems my OS X (Lion, 10.7.5) system files are a mess. I'll ...
29
votes
2answers
15k views

How can I clean up my MacPorts installation?

Which command should I run to delete all old port versions delete downloaded files temp files created during build all other stuff which I don't need when I am sure that updated version works fine ...
0
votes
0answers
79 views

vim and macvim are not reading my .vim directory

I have installed vim and macvim using macports, and tried copying over my .vim directory from linux. Neither seems to read anything from that directory: my customizations for folding and indenting ...
8
votes
3answers
20k 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
1answer
436 views

Macports refuses to install python 2.7.6.0

I'm trying to upgrade various programs I have installed with MacPorts. Unfortunately, python refuses to upgrade: ---> Computing dependencies for python27 ---> Configuring python27 Error: ...
0
votes
1answer
180 views

How can we “persuade” fink, port, & brew to coexist in parallel on OSX Mavericks?

We like to use brew, but it doesn't have a lot of gnome toolset formulae, and we can install a gnome-terminal very quickly with FinkCommander. We've built various parts of gnome from scratch, but ...
7
votes
2answers
741 views

Macport upgrade fails with subversion-perlbindings conflict

I'm trying to do a port upgrade outdated, but it stops on a package conflict that I'm not able to fix. Does anyone know how to fix this problem? sudo port upgrade outdated ---> Computing ...
0
votes
2answers
440 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 ...
0
votes
1answer
116 views

macports dependency: upgrade all packages not depending on a specific port

I have upgraded to Maverick when I run: sudo port upgrade outdated I get the error: Error: eigen does not build on Mavericks or later. I have plenty of ports that does not depend on eigen, how ...
1
vote
0answers
937 views

How do I properly configure my .xinitrc file to start the openbox session manager

I've installed openbox twice - once with Fink, and once with MacPorts. Both installations yield the same result: startx terminates with an error diagnostic from xinit. I have a working .xinitrc for ...
1
vote
0answers
165 views

How to install Google WEBP on Mac OSX Mavericks via Macports

I run Mac OS 10.9.1 (Mavericks) and I would like to install Google's webp extension: sudo port install webp I also did a selfupdate before and an autoupdate for outdated libraries. However, when it ...
4
votes
2answers
1k views

How do I install php5 via MacPorts with a custom configure option?

So MacPorts is the most painless way of installing stuff on my machine. But I want some custom options on my php5 install. How do I do this? With a downloaded version of php, I would do this: ...
3
votes
2answers
1k views

How can I copy into the Mac clipboard from vim?

I can paste from vim in one terminal window to vim in another, but not to anything outside vim. I've read numerous posts on the subject, and nothing I've found has helped. Copy/pasting from MacVim ...
1
vote
2answers
979 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. ...
1
vote
2answers
2k 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 ...
1
vote
1answer
86 views

updating a macports installed program to the most recent revision

I general use macports to manage as much as I can---emacs, for example. Just now a fix was implemented in emacs for a bug that's been bothering me. Is it possible to incorporate the most recent ...
0
votes
2answers
713 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 ...
3
votes
2answers
2k views

pkgsrc or macports on Mac OS X?

I've used macports for a long time. But recently I'm considering switch to pkgsrc. I thought pkgsrc is for NetBSD only so I just ignore it. But recently I've found out that pkgsrc makes a lot of ...