Skip to content

Error installing/using with Dillo 3.2.0 on macOS 26 #4

@acidus99

Description

@acidus99

I am running into some trouble installing/using this plugin.

I installed Dillo via homebrew using the instructions for macOS here.

When I downloaded this plugin to my ~/Downloads/ folder, and ran make install I got an error:

my-computer:dillo-plugin-gemini-main someuser$ make install
mkdir -p ~/.dillo/dpi/gemini
if [ -f /etc/dillo/dpidrc ]; then cp /etc/dillo/dpidrc /Users/someuser/.dillo/dpidrc; \
	elif [ -f /usr/local/etc/dillo/dpidrc ]; then cp /usr/local/etc/dillo/dpidrc /Users/someuser/.dillo/dpidrc; \
	else echo "Can't find dpidrc, is dillo installed?"; false; fi
Can't find dpidrc, is dillo installed?
make: *** [/Users/someuser/.dillo/dpidrc] Error 1

The "Can't find dpidrc, is dillo installed?" error is odd. It seems to be looking for the dpidrc file in ~/.dillo/. When I checked that directory, I saw it was empty (despite having run and used dillo several times).

Running which dillo gave me /opt/homebrew/bin/dillo, which was a symlink to /opt/homebrew/Cellar/dillo/3.2.0/bin/dillo. Looking in /opt/homebrew/Cellar/dillo/3.2.0/ I saw a etc/dillo/directory, and sure enough inside was a dpidrc file:

my-computer:dillo someuser$ pwd
/opt/homebrew/Cellar/dillo/3.2.0/etc/dillo
my-computer:dillo someuser$ ls
dillorc       domainrc      dpi/          dpidrc        hsts_preload  keysrc

I modified the Makefile for this plugin to use DILLO_DIR = /opt/homebrew/Cellar/dillo/3.2.0/etc/dillo/ and ran make install again:

my-computer:dillo-plugin-gemini-main someuser$ make
Use 'make install' to install
Use 'make uninstall' to uninstall
my-computer:dillo-plugin-gemini-main someuser$ make install
grep -q '^proto.gemini=gemini' /opt/homebrew/Cellar/dillo/3.2.0/etc/dillo//dpidrc || echo 'proto.gemini=gemini/gemini.filter.dpi' >> /opt/homebrew/Cellar/dillo/3.2.0/etc/dillo//dpidrc
dpidc stop || true
[fopen]: No such file or directory
[bookmarks dpi]: (pid 48467): Got DpiBye.
mkdir -p /opt/homebrew/Cellar/dillo/3.2.0/etc/dillo//dpi/gemini
cp -f gemini.filter.dpi /opt/homebrew/Cellar/dillo/3.2.0/etc/dillo//dpi/gemini
cp -f style.css /opt/homebrew/Cellar/dillo/3.2.0/etc/dillo//dpi/gemini

However when attempting to navigate to a gemini:// I get an error:

my-computer:dillo-plugin-gemini-main someuser$ dillo
paths: Cannot open file '/Users/someuser/.dillo/dillorc': No such file or directory
paths: Using /opt/homebrew/Cellar/dillo/3.2.0/etc/dillo/dillorc
paths: Cannot open file '/Users/someuser/.dillo/keysrc': No such file or directory
paths: Using /opt/homebrew/Cellar/dillo/3.2.0/etc/dillo/keysrc
paths: Cannot open file '/Users/someuser/.dillo/domainrc': No such file or directory
paths: Using /opt/homebrew/Cellar/dillo/3.2.0/etc/dillo/domainrc
Domain: Default accept.
dillo_dns_init: Here we go! (threaded)
TLS library: OpenSSL 3.6.0 1 Oct 2025
Disabling cookies.
paths: Cannot open file '/Users/someuser/.dillo/hsts_preload': No such file or directory
paths: Using /opt/homebrew/Cellar/dillo/3.2.0/etc/dillo/hsts_preload
** WARNING **: preferred sans-serif font "DejaVu Sans" not found.
** WARNING **: preferred serif font "DejaVu Serif" not found.
** WARNING **: preferred monospace font "DejaVu Sans Mono" not found.
** WARNING **: preferred cursive font "DejaVu Sans" not found.
** WARNING **: preferred fantasy font "DejaVu Sans" not found.
Nav_open_url: new url='about:splash'
Nav_open_url: new url='https://dillo-browser.github.io/'
Dns_server [0]: dillo-browser.github.io is 185.199.109.153 185.199.110.153 185.199.111.153 185.199.108.153
Connecting to 185.199.109.153:443
dillo-browser.github.io: TLSv1.3, cipher TLS_AES_128_GCM_SHA256
sha256 2048-bit RSA: /CN=*.github.io
sha384 2048-bit RSA: /C=GB/ST=Greater Manchester/L=Salford/O=Sectigo Limited/CN=Sectigo RSA Domain Validation Secure Server CA
sha384 4096-bit RSA: /C=US/ST=New Jersey/L=Jersey City/O=The USERTRUST Network/CN=USERTrust RSA Certification Authority
root: /C=GB/ST=Greater Manchester/L=Salford/O=Comodo CA Limited/CN=AAA Certificate Services
Nav_open_url: new url='gemini://gemi.dev/'
** ERROR **: [Dpi_read_comm_keys] No such file or directory
Dpi_blocking_start_dpid: try 1
[dpid]: get_dpi_attr: No dpi plug-in in /Users/someuser/.dillo/dpi/gemini
[dpid]: a_Misc_mksecret: 14778510
dpid started (found 8 dpis)
Dpi_get_server_port: can't read server port from dpid.

This is probably a mistake I made by modifying the Makefile. However I noticed that the dpidrc file does now have a protocol handler for Gemini installed:

my-computer:dillo someuser$ cat dpidrc 
dpi_dir=/opt/homebrew/Cellar/dillo/3.2.0/lib/dillo/dpi

proto.file=file/file.dpi
proto.ftp=ftp/ftp.filter.dpi
proto.data=datauri/datauri.filter.dpi
proto.gemini=gemini/gemini.filter.dpi
my-computer:dillo someuser$ ls dpi
dpi/    dpidrc  
my-computer:dillo someuser$ ls dpi/gemini/
gemini.filter.dpi* style.css

What am I doing wrong to properly install the gemini plugin for Dillo 3.2 on macOS?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions