Questions tagged [open-source]
Open source software is software whose source code is published and made available to the public, enabling anyone to copy, modify and redistribute the source code without paying royalties or fees. Open source code evolves through community cooperation. These communities are composed of individual programmers as well as very large companies.
200
questions
1
vote
2
answers
52
views
"Command not found: mosh-server" when trying to connect to macOS server running mosh
I'm trying to connect to an M2 Mac mini with mosh.
However, when connecting with mosh <hostname>, I get an error zsh:1: command not found: mosh-server:
$ mosh <username>@<hostname> ...
0
votes
1
answer
42
views
Cannot connect to mosh(-server), getting error "mosh: Nothing received from server on UDP port 60000"
I'm struggling with getting brew-installed mosh-server to work on my new M2 Mac Mini. The issue is that macOS seems to block the incoming UDP connection from the client:
mosh: Nothing received from ...
2
votes
1
answer
798
views
GNU grep: This manpage is not compatible with mandoc
I have installed GNU utils as suggested here
brew install coreutils findutils gnu-tar gnu-sed gawk gnutls gnu-indent gnu-getopt grep
And now I have man grep for macOS grep and man ggrep for GNU grep. ...
2
votes
2
answers
69
views
Can't install mkdocs on Monterey
I currently have Python3 as version 3.12.4 in my PATH. It was installed via Homebrew.
I have installed mkdocs using
pip3 install mkdocs
mkdocs --version says
mkdocs, version 1.6.0 from /Users/...
3
votes
1
answer
109
views
Stable path for Homebrew package ca-certificates?
I would like to use the path to the certificate file installed as package ca-certificates via Homebrew in various configuration files (e.g. for isync/mbsync). The cert file is placed in a release-...
2
votes
1
answer
86
views
how to install swapon in macOS with M1 chip
When I tried to install swapon in macOS 13.3.1 with M1 chip, shows error:
➜ bin git:(release-2.0.3) ✗ brew install swapon
==> Auto-updating Homebrew...
Adjust how often this is run with ...
1
vote
1
answer
96
views
MacOS can't install opam, what is the fix?
I am having many issues with up and running OCaml. I cleaned all and was trying to start fresh by installing opam.
brew install opam
which shows the following:
Warning: You are using macOS 14.4.
We ...
0
votes
0
answers
48
views
Is there any way to use osascript to run AppleScripts from an ssh session using a MacPorts installation of OpenSSH?
I'm running macOS 13.6.5, and have installed OpenSSH via MacPorts since I want to be running the latest version of OpenSSH. However, one downside to using a MacPorts installation of OpenSSH is that ...
0
votes
1
answer
221
views
Has anyone gotten `squashfs` working in docker on macOS version 14.3 using Docker Desktop?
I am currently using a Docker container that requires squashfs to create the file system.
The container fails to start up correctly and displays this in the logs:
2024-02-01 08:09:53 mount: /mnt/sqfs: ...
2
votes
1
answer
82
views
Why can't I install oh-my-zsh to a Mac in China?
I am in China, my Mac OS is macOS Ventura 13.6.4 I used the Terminal to input:
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
but the output is :
curl:...
1
vote
0
answers
104
views
Do I still need to map my USB Ports after installing MacOS Monterey with OpenCore Legacy Patcher on an unsupported Macbook Pro?
I am using a Macbook Pro 11,3 2014. I have installed opencore with MacOS Montery using the OpenCore Legacy Patcher 1.2.1 on my unsupported Mac. I did this by flashing Monterey to a USB stick with ...
0
votes
2
answers
112
views
How to install pdftools with MacPorts?
After installing R-pdftools with MacPorts (V2.8.1 on Sonoma) without any error messages I cannot find pdftools in Terminal.
What's wrong?
2
votes
1
answer
585
views
smbd on macOS: Shares appear empty, only directories (no files)?
I hope to make samba.org's smbd run on my MacBook Pro (M1, 13.6.2) to provide shares to some VMs (qemu/ UTM) on and restricted to the same host. I succeeded in installing Samba via MacPorts and via ...
2
votes
0
answers
221
views
Force SDKMAN! to install for Intel versions on ARM (Apple Silicon) Macs?
SDKMAN! does a great job of identifying that the running Mac has an Apple Silicon (ARM) chip and filtering its offerings accordingly.
For example, sdk list java shows only JDK product for the M1/M2/M3 ...
0
votes
0
answers
107
views
MacOS Homebrew Easy-Rsa wont sign CSR: '$ easyrsa sign-req server home-server' easyrsa_openssl - Command has failed: openssl ca -utf8 -batch -in
I am trying to build an OpenVPN certificate for an openvpn server on MacOS using Easy-Rsa from Homebrew installation. I am following these instructions from the downloadable guide here: https://forum....
1
vote
1
answer
63
views
Could not build wheels for turiassetstore
I'm using Anaconda environment and trying to install turiassetstore library with the following cmd:
pip --verbose install turiassetstore==0.9.7 -i https://pypi.apple.com/simple \
But I get the ...
2
votes
0
answers
98
views
Is GNU assembler bundled with GCC provided by Homebrew?
I'm on Intel Mac running the latest Monterey. Already have GCC 13 installed using Homebrew.
I'm trying to build sectorlisp.
Unfortunately still fails, because as (the LLVM assembler) rejected it. ...
2
votes
1
answer
176
views
How can I specify the window size for Emacs on a Mac?
I used to be able to launch Emacs version 28.1 on macOS from the command line in XQuartz terminal window like so:
/Applications/Emacs.app/Contents/MacOS/Emacs --geometry 109x65 &
After upgrading ...
2
votes
1
answer
42
views
Homebrew installs elm, but elm-repl not available
On MacOS 10.15.7, I installed elm with
brew install elm
which indeed installed the elm binary and placed a symlink to it into /usr/local/bin. However I wound that the bin directory for elm does not ...
1
vote
1
answer
410
views
pandoc problem with unicode
On MacOS 12.6.9, I try to convert a Markdown file to PDF. For this, I'm using pandoc 3.1.2, installed with Homebrew. There are problems converting the characters ∧ and ∨, which I use for expressing ...
2
votes
1
answer
1k
views
Installing Cocoapods on an M1 Mac with latest ventura fails miserably
I have tried everything to install cocopods on a M1 mac.
When I do a brew install cocoapods it apparently goes without a problem but when I try to issue pod install I see
pod install zsh: command not ...
2
votes
0
answers
605
views
Is there a free app to do AI text-to-speech?
I'm looking for a free way to do AI-powered "text to speech", so I can copy-paste an article or document and have it read to me.
I've tried say on the command line, but the lack of AI means ...
3
votes
3
answers
1k
views
7-zip for MacOS man page missing
Starting from this page, I tried to install a program for manipulating 7-zip-files using
brew install sevenzip
Interestingly, this installed an executable named 7zz, but no man-page for it. While ...
0
votes
1
answer
45
views
why the nginx have two path in macOS 13.2
Today I found the nginx have path /opt/homebrew/opt/nginx and /opt/homebrew/Cellar/nginx in the macOS 13.2, which one should I use? why the macOS have two different path?
2
votes
1
answer
1k
views
Problem with ARM package selection when installing homebrew git on an Intel MacBook Air
I was trying to install homebrew git but I got this
Error: Cannot install on Intel processor in ARM default prefix (/opt/homebrew)!
I have an Intel processor MacBook Air (13-inch, Early 2015) running ...
1
vote
1
answer
971
views
How can I convert a High Efficiency Image File to AVIF Image?
I want to get a HEIF image from my Sony camera published to AVIF for the Web and it would appear ffmpeg can't recognise the "HEIF Image HEVC Main 10 Profile" file format and show the error:
...
1
vote
0
answers
58
views
g++ setting proper @rpath when building SFML
I'm trying to build an SFML sample without xcode (for reasons :-)).
The prebuilt samples comes with:
pong> otool -L pong
pong:
@rpath/sfml-audio.framework/Versions/2.5.1/sfml-audio (...
0
votes
0
answers
177
views
Is there a way to trace syscalls without disabling SIP?
I'm trying to optimize a local Python script and I'd like to see syscalls etc.
dtruss seems like a great tool for that, but I get a series of errors when I run it that I think are related to SIP being ...
1
vote
1
answer
115
views
How to save input of `less` to file as explained in the man doc?
I'm trying to save the piped input to less to a file as explained in the man doc:
s filename
Save the input to a file. This only works if the input is a pipe, not an ordinary file.
However, ...
1
vote
1
answer
960
views
Gedit on Mac doesn't open
I have an issue with gedit on my Intel iMac 2015 and my MacBook Pro M1. On both OS I tried to install gedit manually and via homebrew and on both it doesn't open at all. I can see that it tries to ...
0
votes
1
answer
143
views
Free WYSIWYG Markdown editor
I've been using Typora as a Markdown editor when it was free (during beta), but now it's pay for use and I want to find an equivalent, free (preferably open source) tool.
My requirements:
free (...
0
votes
1
answer
970
views
MSMTP on Monterey: msmtp: no recipients found
I have MSMTP running flawlessly on four Raspberry Pies. I use it to send email from shell scripts. It works fine as a SMTP client.
I installed MSMTP and mailutils on an M1 iMac via MacPorts.
I ...
0
votes
0
answers
517
views
Unable to run OpenMP with clang++
I am trying to run a simple "Hello world" program using OpenMP. This is my program (helloworld.cpp):
#include <iostream>
int main (){
// begin parallel region
#pragma omp ...
0
votes
1
answer
414
views
How can I install the Cantarell font in MacOS Monterey (12.5)?
I am trying to install the Cantarell font Software from GNU. I am running a Macbook Air M1 with Monterey 12.5.
They provide instructions:
python3 -m venv venv
. venv/bin/activate # Unixoids...
venv/...
1
vote
1
answer
502
views
Is there any place in which I can dig into the Hypervisor Framework source?
So far I've been looking into XNU source, the official Open Source site and the only documentation I found for it. In any case I wasn't able to really find something I can use for understand the ...
1
vote
1
answer
208
views
How to fix "undefined symbols" for compiling mplayer
When I try to compile mplayer on MacOS (12.4) I get an error
Undefined symbols for architecture x86_64:
"_x264_encoder_open_163", referenced from:
_X264_init in libavcodec.a(libx264....
1
vote
1
answer
253
views
Macports cannot install mariadb on Monterey 12.4
I finally upgraded from Catalina to Monterey. An important use of my Mac is for development for a LAMP stack. Ever since Sierra, when upgrading the OS, there are just some standard tweaks that I have ...
0
votes
1
answer
49
views
I don’t know where to start with errors when attempting installation of open source UNCeqR on z shell
The following error presented on macOS z shell during installation:
BEGIN failed--compilation aborted at test.pl line 11.
not ok 1
make: *** [test_dynamic] Error 2
CALLAHAN/Math-CDF-0.1.tar.gz
/...
1
vote
2
answers
7k
views
How to mount external disk with sshfs and show the name in Finder?
I am using sshfs a lot to mount external disks using MacOS 12.3.1. The command I am using is something like
sshfs [email protected]:/remote_folder ~/remote -o 'allow_other,gid=10067'
and then this ...
1
vote
1
answer
83
views
How to fix unresponsive filesystem without rebooting?
I tried to mount an external storage device in MacOS 12.3.1 using sshfs, but I had to stop this process in the middle of whatever it is doing.
Now, when I do a ls -l in the file system it hangs for ...
1
vote
1
answer
655
views
tree Full Path Prefix not displayed
I have installed tree using homebrew, however it isn't behaving as expected. I have the following to list recursive files, but I want the full path for each file to be displayed. Unfortunately it's ...
4
votes
1
answer
4k
views
Getting the full list of all dependencies and sub-dependencies in Homebrew *before* installation
I notice Homebrew does a poor job of listing the actual list of dependencies of a package:
$ brew info ffmpeg
ffmpeg: stable 5.0.1 (bottled), HEAD
Play, record, convert, and stream audio and video
...
0
votes
1
answer
153
views
How do I reinstall/recompile `mplayer` on MacOS 12.2.1?
How do I reinstall/recompile mplayer on MacOS 12.2.1?
Since an update from version 10 to version 12 mplayer does not play videos correctly anymore (Mplayer shows movie on a quarter screen only). In ...
1
vote
2
answers
382
views
tree command does not show hierarchical structure?
The following resources show tree should output hierarchical directory structure view directory structure
So I did brew install tree. But the tree command does not print hierarchical output:
(py367) ...
21
votes
6
answers
10k
views
Homebrew: How to ignore cask formula on `brew upgrade`? (since `pin` has no `--cask` option)
I hope there is a command equivalent for casks that works to ignore updates on main line packages.
brew upgrade --ignore <FORMULA>
This Stack Overflow question from 2014 has multiple answers ...
1
vote
0
answers
262
views
Enable multithreaded BLAS/LAPACK in NumPy @ macOS BigSur 12.1
I would like to enable a multithreaded BLAS/LAPACK backend for Python's (v3.9.9) NumPy on my macOS BigSur (v12.1). When I run my NumPy code, I see in htop, that only one python process is running and ...
0
votes
1
answer
4k
views
imagick.so.so after brew update + php.ini "imagick.so" instead of imagick.so
I did a brew upgrade
I have php 8.1 on osx 12.x
Imagick is not working
PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /usr/local/lib/php/pecl/20210902/imagick.so (...
2
votes
2
answers
645
views
Is there an open source alternative to diskutil available for macOS?
Is there an open source alternative to diskutil available for macOS? I am hoping to find a command line program that perform the same core functions like:
verify disk or volume
repair disk or volume
...
1
vote
1
answer
182
views
Give options at the end of command
Let's say I want to copy a directory A to B, I should execute this command cp -r A B but for some reason I forgot to give it the -r flag. Comming from Linux I usually do !! -r but this is not a valid ...
1
vote
1
answer
713
views
How can I solve this cakephp/cakephp 4.2.8 requires ext-intl PHP extension error on macOS?
With a MacBook Pro, I use MAMP and I believe I already have intl PHP extension
When i am trying to update my cakephp project via composer i am getting this error
- Root composer.json requires ...