Stack Exchange Network

Stack Exchange network consists of 174 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.

1
vote
0answers
22 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
47 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
33 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). ...
0
votes
0answers
6 views

openLDAP schema prevents loading

I have a Mac I have installed openLDAP on (using Macports). I have gotten the system up and am able to create objects. The only schema I have configured in the slapd.conf is core.schema. I am ...
-1
votes
1answer
40 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
96 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
33 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?
0
votes
3answers
563 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
70 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
30 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
0answers
79 views

Cannot install GIMP using MacPorts on a MacBook Air

I wanted to download gimp , and the website said that the best way was to use Macports, I was able to install Macports, but whenever I type sudo port install gimp It shows - Error: Port gimp not ...
0
votes
1answer
42 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: $ ...
3
votes
1answer
1k 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
59 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
141 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'...
0
votes
0answers
32 views

How to uninstall hamcrest from MacPorts?

I thought I could remove hamcrest: robert@pferdeapfel:~> sudo port uninstall --follow-dependencies --follow-dependents hamcrest-core robert@pferdeapfel:~> echo $? 0 but Macports seems to ...
1
vote
0answers
191 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
38 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
44 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
67 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 ...
0
votes
0answers
189 views

gnupg has been replaced by gnupg1; please install that instead

I'm trying to update MacPorts on an older MacBook Core2 Duo. MacPorts base version 2.4.2 is installed. I'm experiencing an error I have not seen before, and there are no search results for the message:...
1
vote
1answer
527 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
73 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
330 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
89 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
79 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 ...
0
votes
0answers
31 views

Permissions/ownership issues with MacPorts mysql55 after migration to a new Mac

After a migration to a new mac, I cannot access MacPorts mysql anymore. It's running mysql55, and I get the error: **ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/local/...
1
vote
0answers
194 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
98 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
3k 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
89 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 ...
8
votes
2answers
1k 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
229 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
649 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
618 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
1k 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
92 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
449 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
210 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
101 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
240 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
241 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
114 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 ...
8
votes
5answers
31k 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
672 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 ...
1
vote
3answers
993 views

Is it enough to install Xcode?

I use OS X El Capitan. I installed Xcode 7 from AppStore and macports from an official website. When I'm trying to install something using macports: sudo port install nodejs4, I'm getting the ...
1
vote
1answer
420 views

Macports Python IDLE 3.4 not opening

Per earlier articles (especially Python IDLE from MacPorts can't start), I've attempted to get my Python version 3.4 to work from the Macports IDLE.app but to no avail. I've already tried the ...
4
votes
2answers
4k views

X.Org vs. XQuartz - MacPorts

After installing MacPorts and some software through that way, I noticed that MacPorts installed X.Org. I've already installed XQuartz years ago and I'm really fine with it. My 1. question is: Do I ...
2
votes
0answers
96 views

Create .app application bundle from Macports port

Is it possible to create an Mac OS X .app application bundle from a Macports port without having to modify the compilation process? The goal is a portable .app folder and not a .pkg that messes up /...
0
votes
2answers
440 views

Macports force-activate all ports

When trying to install SciTE sudo port install scite port stops at Error: org.macports.activate for port gettext returned: Image error: /opt/local/bin/autopoint already exists and does not belong ...