Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [macports]

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

0
votes
1answer
30 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
2answers
58 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
2answers
26 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
29 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
76 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
1answer
66 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
52 views

macports telnet command to use for email server check

I just installed inetutils using macports under macOS Mojave, Then I tried to use gtelnet command, to check my email server, but I get an error relative to the DNS resolution, of this type : "Server ...
0
votes
0answers
14 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
0answers
30 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 ...
1
vote
1answer
168 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 ...
4
votes
2answers
316 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
0answers
85 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?
1
vote
1answer
243 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 ...
0
votes
1answer
4k 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) ...
1
vote
1answer
41 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
365 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
463 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
36 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
813 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
137 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 ...
0
votes
1answer
50 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
96 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: $ ...
6
votes
1answer
3k 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 ...
0
votes
1answer
66 views

Open PDF from terminal using command completion

I'm used to the linux way of opening a PDF from the terminal. That is, via e.g. evince sample.pdf. Command completion makes this fairly fast. In particular when there are many files with the same name ...
1
vote
1answer
217 views

Bash not recognizing packages installed using pip-3.6

I installed pip-3.6 using Mac Ports: sudo port install py36-pip Then, using this version of pip, I installed virtualenv: sudo pip-3.6 install virtualenv Now when I tried using virtualenv, bash isn'...
1
vote
0answers
241 views

How to setup postfix with Mac Ports?

Unfortunately https://support.apple.com/en-us/HT208221 broke Postfix on macOS Sierra 10.12.6. Although Postfix works on High Sierra many people don't/can't update for various reasons. I am one of ...
-1
votes
1answer
61 views

what are the implementations of openGL available for mac osX?

OpenGL is the specifications standards for 2D , 3D graphics. As of my little knowledge , Mesa3D is implementation for openGL on windows and linux platform. what about macOSX ? what are the ...
2
votes
0answers
49 views

How can I install development tools (e.g. git, python, gcc) for a single user without requiring admin privileges?

I've just done a fresh install of High Sierra and was about to embark on setting my development environment back up. However, I wanted to ask the community if anyone's investigated a way to do this ...
1
vote
0answers
75 views

'Failed to initialize MacPorts, can't read “result”: no such variable' when running macports without sudo

I recently found that if I try to run any macports command, without using, sudo, I get the following error: can't read "result": no such variable while executing "ui_debug "sw_vers exists but ...
1
vote
1answer
838 views

Homebrew (unlike Macports) does not put programs ahead of system's

Macports inserts /opt/local/bin/ ahead of /usr/bin in the path, and so if the same program exists in both folders, the Macports-installed one takes precedence. I'm unclear on how Homebrew manages ...
3
votes
1answer
78 views

How long does it take for MacPorts to catch up with new macOSes?

A Wikipedia page is pretty good at showing the precise date when a version of macOS was released. The corresponding wikipedia page for MacPorts is not quite so helpful, and the MacPorts.org download ...
0
votes
1answer
352 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 ...
1
vote
1answer
96 views

Bypass unresolvable error when cleaning packages with package manager?

Using MacPorts, when I run sudo port -f clean --all all Then I get an error. Snippet of output below: ---> Cleaning ml ---> Cleaning mldonkey ---> Cleaning mlpack ---> Cleaning mlt ...
0
votes
2answers
119 views

MacBook Pro 2011 miniDisplay port VS Hdmi - Best Adapter?

I've got a 2011 MacbookPro 2011 with miniDisplay port, and a I Recently bought this beautiful monitor: Asus VS248HR Gaming Monitor I currently have a VGA adaptor, and even though that is a really ...
1
vote
0answers
278 views

How do I use gnuradio installed using Macports?

I have used gnuradio companion in Linus. I am trying to migrate to macOS Sierra. I used Macports to install and it completed without error. How do I run gnuradio now? When I type "gnuradio-...
1
vote
1answer
175 views

Reconfiguring a launchd job

I want to configure a launchd daemon to run a virus scan daily. I have written a .plist and manually loaded it using launchctl load but it doesn't seem to run. I wanted to modify it to try and debug ...
0
votes
1answer
4k views

Installing Putty on OSX?

I'm working on some Raspberry Pi's and I need serial communications to the units to determine IP address. I've installed Putty via HomeBrew and with some assistance from this link. I also ...
1
vote
0answers
92 views

dnsmasq aborts on Sierra with trap 6

I upgrade to Sierra, reinstalled Macports and have troubles with dnsmasq. This is not a problem of Macports version because I also tried to build from various official sources too and all of them ...
9
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 ...
0
votes
1answer
297 views

How to make MacPorts reinstall requested ports from a different boot drive?

I recently changed workstations and went from OSx 10.7.5 to OSX 10.11! Yay! I have a lot of installation to do. Nuts.... (But worth it!) I have temporarily mounted my old workstation's hard drive ...
5
votes
1answer
948 views

Transferring from Time Machine shows “MacPorts”. What is this and should I transfer it?

I am restoring from a Time Machine backup. Along with Applications, my user directory, and a few other expected things, I see an item called "MacPorts", which has a size of Zero KB. I have no idea ...
1
vote
1answer
794 views

Macports: switching back to the system default version of Python

I'm trying to use Macports to switch back to the system default version of python. When I run this command: port select --list python I get back : Available versions for python: none ...
0
votes
1answer
2k views

Aircrack-ng Makefile error with ‘#include <openssl/hmac.h>’

I'm trying to install Aircrack-ng on my MacBook but I've hit a brick wall. First I tried with MacPorts as suggested on Aircrack's homepage but I found that some tools were missing like Airmon so ...
0
votes
0answers
102 views

Error: org.macports.checksum for port py27-setuptools returned: Unable to verify file checksums

I'm attempting to upgrade to MacPorts 2.3.5 on a PowerMac running OS X 10.5. The upgrade is failing with the error: Error: org.macports.checksum for port py27-setuptools returned: Unable to verify ...
4
votes
1answer
495 views

gpg-agent stopped working

I have been successfully using the gnupg21 package from MacPorts for several months. Within the past few days I updated my MacPorts installation (sudo port -d selfupdate) and then made sure I was up ...
0
votes
0answers
276 views

How can I force MacPorts to upgrade all upgradeable ports that it can?

Suppose I have outdated Ports A, B, C, D, E, F and G. Suppose for simplicity that all of them are "requested". A has no dependencies. B directly depends on C and D and E. C directly depends on E ...
2
votes
1answer
126 views

Using launchd to update MacPorts

I want to use launchd to update my MacPorts tree periodically (i.e. port selfupdate. I have created /Library/LaunchDaemons/org.macports.selfupdate.plist: $ ls -l /Library/LaunchDaemons/org.macports....
0
votes
1answer
344 views

sshd not setting locale

Edit: I should have mentioned in my original question that I was using MacPorts SSH client, as it turned out there were two root causes. See my own answer below. When I SSH into my OSX machine, it's ...
1
vote
0answers
256 views

Error: org.macports.fetch for port git returned: fetch failed

I'm having trouble updating Git under MacPorts. The problem has existed for a few days now. I uninstalled Git and now I am trying to reinstall it. There installation error is shown below. Other ports ...
0
votes
2answers
120 views

Can I re-install MacPorts but leave my Python installation, done via MacPorts, alone?

Okay, I admit it, I didn't really think it through when I clicked on the button to upgrade to Sierra. Having done that, I've of course made MacPorts lose its mind. I mostly don't notice because once I ...