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
9 views

install php7.0 pthreads using package manager

I do web development. For development I use mac, installing PHP7.0/Mysql5.6 using macports. On production I use Ubuntu, installing PHP7.0 using apt-get via a PPA. I have looked at the documentation, ...
3
votes
3answers
4k 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 ...
0
votes
1answer
22 views

Trying to install coreutils via MacPorts: “Error: Port coreutils not found”

I'm trying to use MacPorts to install coreutils. I check that MacPorts was installed correctly, $ port version Version: 2.3.4 and try to install coreutils, $ sudo port install coreutils Error: ...
0
votes
0answers
23 views

How can I exclude a port from macports upgrade outdated?

I want to update all my outdated ports, but as libgcc-devel upwards of 3 hours to build, I want to exclude it. The tip I read on the internet is applying logical operators. So I run $ sudo port ...
1
vote
2answers
396 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 ...
40
votes
3answers
26k 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 ...
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 ...
0
votes
1answer
37 views

Why do I get duplicate Kerberos service tickets with no realm?

Under what circumstances will I obtain apparently-valid service tickets that are duplicates and that don't have an associated realm? That is, does this indicate a mis-configuration somewhere? Does it ...
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 ...
1
vote
4answers
1k views

MacPorts does not install package

I installed MacPorts and XCode, then went to a terminal and issued the command "sudo port install lua" and it appears to do nothing. When i execute "sudo port installed" i get back "No ports are ...
16
votes
2answers
4k 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/ ...
54
votes
6answers
24k 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
0answers
33 views

MacPorts: List all available versions of a port

I can run: $ port info nodejs This tells me that the current version of the nodejs port is 4.2.2. Which command would I run to list all versions of the port?
0
votes
0answers
6 views

How to change MacPorts config setting before building a Package?

I work with a FOSS project. MacPorts users are experiencing Issue 37664 when using MacPort's GCC compilers. We know the fix, but we cannot work around it because MacPorts does not identify itself in ...
0
votes
2answers
774 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 ...
1
vote
2answers
228 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
605 views

MacPorts: is it possible to move /opt/local on a different disk?

Is there a secure procedure to move the macports directory strucutre on a non-root partition or disk?
2
votes
4answers
183 views

python2.7 from macports stdin issue

My python2.7 from macports seems to mess up with osx terminal in a weird way. Here is what I mean. The exact input from the keyboard was: /opt/local/bin/python2.7<ENTER> a = 3<ENTER> ...
0
votes
1answer
106 views

Installing pstoedit via macports is failing

I'm in the process of installing octave through macports (which btw was a huge pain in the afternoon), after it compiled for nearly a day, macports is installing some last dependencies, one of them is ...
0
votes
0answers
26 views

How to clean non-english documentation and fonts from macports tex installation?

I have about 6Gb installation of macports, and over 2Gb is taken by /opt/local/share/ documentation files, which I never use - I'd rather google if I have a problem. I understand different ...
1
vote
0answers
144 views

Visio Installation via Wine on OSX

When trying to install Visio 2013 using the VisioMUI.msi installer, I run into the following error when using msiexec $ msiexec /i VisioMUI.msi fixme:heap:RtlSetHeapInformation 0x0 1 0x0 0 stub ...
3
votes
1answer
41 views

Python Prompt Output Out of Order

My Python installation comes with Macports on OS X 10.10.4. After updating Python to 2.7.10 with Macports, the Python shell now outputs the prompt string ">>>" before the output of a single statement: ...
4
votes
1answer
2k views

What's the difference between tiny, huge and small in vim on MacPorts?

I'm trying to install vim via MacPorts. I found this port at http://trac.macports.org/browser/trunk/dports/editors/vim/Portfile. There are variants like tiny, small and huge. Is there any way to tell ...
1
vote
2answers
425 views

Using zsh and mcports. Command not found

I installed macports but I use zsh. What should I modify in the .zshrc file to get it to look for macports? I think macports is located in /opt/local/bin/port
15
votes
2answers
5k views

Linux-like top/netstat/etc. on Mac OS X?

Unix utilities on Mac OS X are quite painful to use. port install coreutils +with_default_names and a few other such replacements fix most of them, but it leaves some in broken Mac OS X defaults - ...
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 ...
0
votes
0answers
74 views

Cannot run gimp on macbook

Downloaded gimp via macports onto a Macbook Pro running OS X Yosemite (10.10.5). In the ton of output from macports, I saw no obvious problems. I tried to run without success, however. It just ...
0
votes
0answers
268 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 ...
0
votes
0answers
21 views

Which URLs need to be whitelisted for MacPorts to work behind a proxy?

I can use only allowed web resources via corporate proxy and to add something new to that list I should know a URL pattern, e.g. https://*developer.apple.com/* What URLs need to be whitelisted for ...
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 ...
0
votes
1answer
24 views

How do I install PHP PECL uploadprogress library using Macports?

In Drupal 8, when in admin/reports/status, there is a note that says, "...that only one upload at a time is supported. It is recommended to use the PECL uploadprogress library if possible.". How ...
4
votes
4answers
4k 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 ...
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 ...
1
vote
1answer
274 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 ...
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
1answer
1k 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 ...
1
vote
0answers
28 views

Python not finding appropriate modules/ python version problems

I'm trying to install w3af, and getting a myriad of dependency issues; these I'm trying to resolve by attempting to run a python script which imports the required modules - if this runs without ...
5
votes
1answer
6k 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
2answers
552 views

Macports Apache httpd not starting on Mac OS X Yosemite

So, after 2 days of struggling to figure why Macports Apache httpd suddenly decided to stop working, finally it came down to this: $ sudo bash -x /opt/local/apache2/bin/apachectl -k start ARGV='-k ...
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
228 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
8k 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
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 ...
1
vote
1answer
333 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 ...
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 ...
0
votes
1answer
234 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, ...
5
votes
2answers
4k 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
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 / ...
1
vote
0answers
647 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
87 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 ...