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
1
vote
1answer
27 views

Macports and Xcode

help I have no idea what I'm doing. I wanted a photo editing software on my MacBook Pro running big sir. I came across gimp and it suggested I install it using macports. I ran the macports installer ...
1
vote
1answer
41 views

How setup macports package bash to be used from terminal.app

I've made a bit of confusion trying to make terminal.app use /opt/local/bin/bash installed from macports as shell. I've used: chsh -s "/opt/local/bin/bash --rcfile ~/.profile -v" trying ...
1
vote
1answer
99 views

How can I run command line software with Rosetta 1?

At the request of some PPC users, I'm trying to create a PPC-compatible installer package of some open source software. Naturally, this requires compiling a PPC binary. I have a Leopard Virtual ...
2
votes
0answers
17 views

MacPorts dbus session not running

2020 MacBook Pro M1 (Apple silicon) I've installed MacPorts dbus with sudo port install dbus, and then loaded with sudo port load dbus which responds ---> Loading startupitem 'dbus-system' for ...
0
votes
1answer
34 views

Do I need the Developer Program to sign an app for my own use?

I installed iTerm2 from MacPorts; since it was built from source, it wasn’t notarized. If I want to sign it for my own usage (not distributing any app), do I need to (pay $99 and) join the Developer ...
0
votes
1answer
48 views

osx port install of php74 crashes with Illegal instruction: 4

I have an issue with php74 compiled by macports that is crashing with illegal instruction 4 when i run phpunit for unit testing my project. uname -v Darwin Kernel Version 20.3.0: Thu Jan 21 00:07:06 ...
2
votes
1answer
44 views

MacPorts to automatically install dependencies

I installed 6 packages in one command, and it prompted me 6 times. I’m using Mac ports on macOS Catalina 10.15 The following dependencies will be installed: Continue? [Y/n]: Is there any command-...
1
vote
0answers
58 views

Stereo, echo sound effects in MPlayer after upgrade to Big Sur

After upgrading to macOS BigSur (v11) I notice strange effects in music playback with MPlayer. It sounds as if there is a new equaliser enabled. The music sounds to be played back in stereo and ...
0
votes
0answers
22 views

How to use another mirror with Macports? [duplicate]

I'm a newbie to Macports and I really wonder how I can change the default mirror to https://mirrors.tuna.tsinghua.edu.cn/macports. What's more, when I use Macports to install softwares from source, it ...
5
votes
3answers
3k views

Can't upgrade macports under Big Sur!

I just upgraded to big Sur and the macports upgrade instructions don't work. I keep getting this error: Warning: The macOS 11.0 SDK does not appear to be installed. Ports may not build correctly. ...
0
votes
0answers
124 views

How do I need to configure the macOS logging system to log LOG_INFO messages from Perl?

In the dovecot port for macOS in MacPorts, there is a pushnotify capability (requires you to be able to create the right certificates). This is perl code that contains the following snippet: # Open ...
0
votes
1answer
379 views

macports mod_proxy configuration gives error AH01144 No protocol handler was valid for the URL .. scheme http

I am trying to a reverse proxy to get Apache Jena Fuseki which will only work on localhost:3030 visible from my intranet. I get the error message shown below although the proxy modules seem to be ...
2
votes
1answer
110 views

Macports: How can I install ports using only versions from a date in the past?

Two years ago, I used Macports to install a copy of Docker Machine onto a computer running OS X 10.9 "Mavericks". All I had to do was type sudo port install Docker-machine, and Macports ...
4
votes
1answer
2k views

How will Apple's switch to ARM (Apple Silicon) affect compatibility with Linux / Unix tools and APIs? [closed]

At the moment, a huge argument for using Macs in academic and research settings (and possibly quite a few other use cases) is the compatibility with the Linux/Unix ecosystem, through Homebrew, ...
1
vote
0answers
946 views

How can I use ssh -X on macOS Catalina? [Warning: untrusted X11 forwarding setup failed: xauth key data not generated]

How do I get ssh -X working on macOS Catalina (10.15)? ssh -X linux_host works from another linux machine. On a fresh install of macOS Catalina, I have installed MacPorts and xorg_server. However, ssh ...
0
votes
0answers
107 views

Port install dsniff fails

I am having trouble installing dsniff with Macports. $ sudo port install dsniff [....] ---> Configuring dsniff Error: Failed to configure dsniff, consult /opt/local/var/macports/build/...
1
vote
1answer
223 views

Installing GNU compilers on PureDarwin/Darwin?

I hope this is not off-topic, because there is no better place to ask this sort of questions on SO/SE. I have Downloaded and ran PureDarwin on QEMU using instructions here: Now ...
1
vote
1answer
116 views

Force MacPorts to build from source

I want to build coreutils from source (because I’m testing a possible bug in the binary package). I tried sudo port -s install coreutils But this forces all packages to build from source. Is it ...
3
votes
1answer
78 views

Is there a way to “throttle” MacPorts?

I have an unusual request. I'd like to slow down MacPorts. It sometimes uses a ton of CPU resources, and rather than having it run at full speed, I'd like it to run slowly and in the background. ...
1
vote
1answer
127 views

Can't uninstall some MacPort packages: “Error: port deactivate failed: this entry does not own the given file”

I'm trying to reinstall MacPorts a long time after a system upgrade. Following the instructions (https://trac.macports.org/wiki/Migration) I was deleting the existing packages with sudo port -f ...
1
vote
1answer
197 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 ...
0
votes
1answer
990 views

Is it possible to use MacPorts without Xcode or 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?
1
vote
2answers
5k 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 ...
1
vote
1answer
102 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
33 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 ...
1
vote
0answers
184 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
1answer
39 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
600 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: ...
0
votes
1answer
172 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....
3
votes
2answers
384 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
48 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
81 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
165 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
870 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 ...
1
vote
0answers
49 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
2k 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 ...
7
votes
2answers
1k 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
131 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
833 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
2answers
17k 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
56 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
3k 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
2k 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
1k 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: ...
2
votes
1answer
319 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
147 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
230 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: $ ...
18
votes
1answer
10k 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
80 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
2 3 4 5 6