The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [macports]

A package management system for OS X. It allows for easy installation of free/open source software. Formerly called DarwinPorts.

Filter by
Sorted by
Tagged with
4
votes
6answers
1k views

Installed MacPorts packages sizes

Can I retrieve a list of the sizes of MacPorts installed packages? Yes, I know they are compiled from sources, but if a list of generated files is known, it should be computable anyway.
1
vote
1answer
29 views

Is the MacPort version of XQuartz severly outdated or what?

At https://www.xquartz.org/ the current version of XQuartz is listed as 2.7.11 but in MacPort it looks like this $ port search xquartz xorg-server @1.20.5 (x11, devel) The X.org / Xquartz X ...
1
vote
1answer
57 views

C++11 on Snow Leopard 10.6.8

I'm trying to install C++11 on 10.6.8, following this macports guide Unfortunatley the guide fails when I get to step 7: Rebuild cctools and ld64 to use the newer version of llvm: sudo port -v -n ...
88
votes
6answers
136k views

Are my permissions for /usr/local/ correct?

I’m using HomeBrew for my port needs (seems a bit “cleaner” than MacPorts). I can install without sudoing (which is great), but the man linking step seems to require it (/usr/local/share/man/man3 ...
0
votes
1answer
48 views

Is it possible to use MacPorts without an Apple ID

MacPorts requires XCode. One seems to be only able to install XCode through the App store which requires an Apple Id to install stuff. Is there any way to circumvent this?
3
votes
2answers
676 views

Is it safe to chown /opt/local?

Is it safe (no security implications) to chown -R user /opt/local/, so that I don't sudo port install with MacPorts? I don't like the idea of sudoing with MacPorts as it can write things in /Library,...
9
votes
3answers
4k views

How can I install getent on Snow Leopard?

I have several scripts which require the utility getent. In addition, I've read several handy tips which use getent. getent is a Networking utility which is widely available on Unix, *BSD and Linux-...
1
vote
2answers
249 views

How to enable/disable Adobe host port in terminal?

I disabled some ports (below) to be able to install Adobe Photoshop/Illustrator applications. The challenge is to re-enable them through terminal, otherwise I could not install Photoshop( see below ...
0
votes
0answers
29 views

A port is requesting an older version of clang - will a newer one work?

I'm attempting to install neovim. When I run sudo port install neovim, it proceeds to install clang-3.7. However, port rdeps neovim doesn't show clang-3.7 as a dependency. So does this mean that ...
0
votes
0answers
32 views

How to make netcat output verbose information on macOS Mojave?

I've tried to use various netcat's from Brew, MacPorts, and Apple etc., but neither of them output verbose information, like "Listening to all interfaces": nc -lvp 443 [No verbose output here...] ...
0
votes
0answers
22 views

Carbon Copy Cloner - Bad files that are unrecoverable. What should I delete and should I reformat?

I just used Carbon Copy Cloner (CCC Version 3.5.7, Mac OS X 10.7 Lion). Everything copied to my external backup drive except for about 500 random files - most of which are in the same folders and don'...
0
votes
0answers
14 views

MacPorts daemons not loading on restart

I have installed MacPorts 2.5.4. From here, I have installed apache2. When I restart the machine, I need to run sudo apachectl start each time, it won't load automatically. I ran a sudo launchctl ...
154
votes
4answers
90k views

What are pros and cons for MacPorts, Fink and Homebrew?

I'm just migrating from Ubuntu Linux to Mac, and everything is new and I'm re-learning a lot of stuff. On Linux I had the excellent apt-get to manage software packages. I googled for an alternative ...
0
votes
0answers
22 views

Forward deleting (Macports/bash): Is there an alternative to Fn+Delete and Control+D?

As a more general version to this question, is there a way to forward-delete in a bash terminal that doesn't involve Fn+Delete or Control+D? Motivation: When using the Macports port command ...
0
votes
1answer
33 views

How to forward delete in Macports?

When using the interactive Macports shell (running port), is there a way to delete characters to the right of the cursor? Normally, you can simply use key the combination Fn + Delete to forward-...
1
vote
0answers
513 views

ld: library not found for -lgcc_ext.10.5

When trying to update my port using: sudo port selfupdate: MacPorts base is already the latest version sudo port upgrade outdated: Nothing to upgrade. Then when trying to install Octave: ...
3
votes
4answers
3k views

How to download pre-built binaries from MacPorts without installing?

I see as of 2.0 MacPorts is hosting pre-built binaries, which it would install by default if licensing is present and compatible. I'm looking for a more current version of rsync than ships by default ...
1
vote
3answers
1k views

How fix broken Macports installation after manual deletion of app?

I had GIMP installed via sudo port install gimp. This created the GIMP.app in /Applications/MacPorts/. I accidentally deleted it manually (or with AppCleaner, not sure), so every time Macports scans ...
0
votes
2answers
146 views

Are there any modern X11/Xorg Browsers that compile for OSX?

Currently I'm using macports. I'm wondering if there are any graphical X11 browsers like Chromium, or Firefox, or the like that compile under X11 (and not native OSX). I want a browser that I can ...
0
votes
1answer
68 views

ChunkWM suggests cding into directory that does not exist ~/Library/LaunchAgents

When trying to install chunkwm, with MacPorts, I'm getting an instruction to, Symlink prepared agent and start it: cd ~/Library/LaunchAgents ln -s /opt/local/Library/LaunchAgents/com....
0
votes
1answer
111 views

How does MacPorts work with /Applications/MacPorts and /opt/usr/local/bin

I have installed i3 under MacPorts. Whenever I run uxterm under X11 it works as expected and I can get vertical and horizontal splits with i3. However, when I try to run kitty -- also installed under ...
0
votes
2answers
37 views

Can I search for applications compiled against X11/Xorg for MacPorts?

Similar to this question on building against native xQuartz vs MacPort's Xorg, is it possible to search for just applications built against Xorg? For example, I want to know what Web Browsers are ...
0
votes
1answer
53 views

Can I tell MacPorts to build against its own X11 or Xorg?

In this comment there is a distinction drawn between "native macOS libraries" and X11, Haven‘t used MacPorts for years, but most probably Kitty is compiled with the native macOS libraries, not with ...
0
votes
1answer
209 views

How can I disable XQuartz entirely and use Xorg with my own Desktop Environment?

I want to use i3, which is available in Mac Ports. I've installed it and xorg (with ports install xorg). Now I want to boot into that. I've tried created an ~/.xinitrc and an ~/.xinitrc.d/99_i3 script ...
0
votes
0answers
16 views

How can I install a MacPorts port that is linked with an earlier MacOS release?

I'm developing an App that I would love to distribute to at the latest El Capitan machines and I'm developing on a High Sierra machine. In order to do this, I know I need packages that otool says ...
1
vote
1answer
472 views

Can't delete macports directory as root

I've enabled root user in my mac using the latest Mojave. I am trying to delete a folder with it but for some reason I get the error "Permission denied". I thought root could do anything on a unix ...
1
vote
1answer
268 views

Processing of Port Wine Failed

I was in the process of installing Wine on terminal (via Macports), and encountered this hurdle while "computing dependencies": "---> Verifying checksums for xorg-libpthread-stubs Error: org....
1
vote
0answers
41 views

How to create additional groups using MacPorts?

I've installed both pip (pip27) and pip3 (pip37) for Python. However, MacPorts has only created one group called "pip" that can either be set to pip27, pip37 or none. I want pip27 to be available as ...
6
votes
2answers
650 views

SIP preventing deletion of /opt/local

Ran into the same problem tonight as this question from SO that wasn't fully answered. I'm trying to uninstall an old installation of MacPorts, and run into SIP: mybox:~ me$ sudo rm -rf /opt/local ...
1
vote
1answer
709 views

Cannot install graphviz with macports

I am struggling with macports trying to install graphviz tool: ... $ sudo port install graphviz ---> Computing dependencies for graphviz ---> Fetching archive for graphviz ---> Attempting ...
8
votes
5answers
42k views

Localhost refuses to connect after upgrading to Sierra OS

I have downloaded and installed apache, php, phpmyadmin, mysql via macports. Everything was working fine before upgrading to macOS Sierra. After the upgrade whenever I try to access localhost I get ...
0
votes
1answer
355 views

All Ports in Use after High Sierra Update

I'm a developer and I have a project built with a task runner called Gulp, when I try to launch it via command line I get an error saying that the port is in use (3000). I then changed it to all other ...
94
votes
6answers
88k views

How to remove unused MacPorts packages?

Whenever I install a program via MacPorts, it gets and installs lots of dependencies. When I uninstall said program, how do I make MacPorts recursively remove all unused dependencies with it?
1
vote
0answers
112 views

Install macports port on brew

Can I install macports port like this https://www.macports.org/ports.php?by=name&substr=ftpsync on brew ? Does brew have mechanism for that?
0
votes
1answer
939 views

os 10.11.6 pip install permission error

I am a CS beginner taking udemy python course and trying to install pip in order to use matplotlib, pandas and so on in pylab. I use IDLE 3.4.2 and latest version Pycharm Tried 1. "pip installed ...
0
votes
1answer
9k views

How to update Xcode?

I have a Mac running High Sierra, version 10.13.6. When running MacPorts I get the following error message that I should update my Xcode installation: Error: The installed version of Xcode (8.3.1) ...
10
votes
2answers
2k views

Using pip vs. MacPorts for installing Python packages

I could install a python package (for example, numpy) on my Mac either via Macports: port install py-numpy or via pip: pip install numpy What are the general pros/cons of each approach? When ...
1
vote
1answer
48 views

MacPorts: Install non-dependencies past error

Introduction At times, MacPorts fails to build something because of an error. Previously, @tyilo asked on AskDifferent how to ignore these error and continue installing the other ports (link). ...
-1
votes
1answer
939 views

Remove the G++ link to clang++ on High Sierra

It's a well-known fact that the g++ command actually links to clang++, from the llvm toolkit. Problem is, every makefile that uses g++ has to point explicitly to the location, and unless my end user ...
0
votes
1answer
86 views

PyCharm packages issue

I'm using PyCharm as Python IDE, on macOS High Sierra and my default Python version is 3.6.5, I have a big issue within packages using PyCharm. As an example of my issue, I have installed Pillow ...
0
votes
1answer
857 views

List all installed macOS packages

I've inherited a pre-owned Mac running macOS High Sierra. I wish to use it for Web app development. It's been well-used by the previous owner for Software development and DevOps. It runs like a ...
0
votes
1answer
39 views

Can the macports doc folder be safely removed?

My /opt/local/share/doc folder is more than 1GB. Since I'm never using the offline documentation of any installed port, I would like to reclaim the disk space. Can I simply delete the folder?
1
vote
3answers
925 views

Homebrew asked me to move macports now it does not work

I'm using HomeBrew for my usual mac stuff but I need to do some experiments with other package managers. So I installed MacPorts. everything seems alright but brew doctor asks me to move it: ...
1
vote
1answer
235 views

Gnucash and macports conflicting libgio-2.0.0.dylib

I have macports 2.5.2 already installed. I have then installed Gnucash 3.2 dmg from gnucash.org. When I run gnucash, I have the error: objc[93365]: Class GNotificationCenterDelegate is implemented ...
16
votes
5answers
34k views

Xcode appears to be installed but xcodebuild is unusable

I was had to reinstall Xcode 4 and now I'm getting message Xcode appears to be installed but xcodebuild is unusable; and xcodebuild exists but failed to execute all the time when I try to install ...
2
votes
1answer
1k views

Apache problem with hostname on OSX 10.8.4

After updating to 10.8.4 I am having trouble running my macports apache server. I stop the built-in apache with: sudo apachectl stop, then I try to start macports apache with: sudo /opt/local/apache2/...
0
votes
1answer
163 views

Can't install port that is visible on macports.org [Macports]

I've been trying to get some of my packages from Homebrew moved to Macports recently. One such package was the Crystal programming language. Unfortunately, sudo port install crystal doesn't work: $ ...
0
votes
1answer
791 views

Checking for MacPorts or Fink installed

I'm writing an install script for some software that depends on libUSB being installed however I need to check if macports or fink is installed, if they are not install homebrew. How can I check to ...
7
votes
1answer
4k views

How to delete MacPorts user after using the Migration Assistant

My 2012 MacBook Air (11", i7 2GHz 8GB RAM) crashed and I had to erase the SSD and re-install macOS High Sierra with the Internet Recovery Mode tools. Once I had the working OS, I used the Migration ...
17
votes
1answer
13k views

How to cleanly remove MacPorts

I'd like to cleanly remove all changes made by MacPorts as well as MacPorts itself, to try my luck with homebrew. How can I do that?