[Tile-serving] [openstreetmap/mod_tile] Read-Only File System on Mac (/usr/bin is write protected) (Issue #349)

Dmitry Abt notifications at github.com
Sun Oct 29 06:30:58 UTC 2023


When following the instructions to install on a Mac (OS Monterey) (https://github.com/openstreetmap/mod_tile/blob/master/docs/build/building_on_macos.md), the following issue occurs (after running command `sudo cmake --install . --prefix /usr --strip`):

```
-- Install configuration: "Release"
-- Up-to-date: /var/cache/renderd/tiles
-- Installing: /var/run/renderd
-- Installing: /opt/local/etc/apache2/extra/httpd-tile.conf
-- Installing: /etc/renderd.conf
-- Installing: /opt/local/lib/apache2/modules/mod_tile.so
-- Installing: /usr/bin/render_expired
CMake Error at cmake_install.cmake:110 (file):
  file INSTALL cannot copy file "/tmp/mod_tile_build/src/render_expired" to
  "/usr/bin/render_expired": Read-only file system.
```

As I understand, Catalina (and other newer ones) has a new file system arrangement where most of the system files are write-protected. Apple uses two partitions, a read-only one for the main system files and a writeable one for other files, and melds them together and presents them as one to the user.

What can be done in this case?

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/mod_tile/issues/349
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/mod_tile/issues/349 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20231028/5cfb52da/attachment-0001.htm>


More information about the Tile-serving mailing list