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
0
votes
0answers
34 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 ...
0
votes
0answers
27 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
10 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
16 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
13 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
89k 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
18 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
28 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-...
4
votes
5answers
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
0answers
107 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
93 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
50 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
95 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
32 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
41 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
127 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
15 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
325 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
263 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
36 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 ...
5
votes
2answers
448 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
451 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
40k 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
354 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 ...
93
votes
6answers
87k 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
104 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
851 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
7k 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) ...
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 ...
1
vote
1answer
46 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
620 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
65 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
654 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
38 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
879 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
182 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
32k 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
129 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
752 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 ...
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 ...
18
votes
1answer
12k 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?
0
votes
1answer
67 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
241 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'...
4
votes
2answers
5k 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 ...
1
vote
0answers
253 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
78 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 ...
87
votes
6answers
132k 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 ...