Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
howtos:install_gschem_on_macos [2026/10/03 09:51] – adminhowtos:install_gschem_on_macos [2026/10/25 19:30] (current) – external edit 127.0.0.1
Line 1: Line 1:
-====== Deploy geda-gschem ====== +====== Deploy geda-gschem on macOS ====== 
-Done in VirtualBuddy macOS guest running macOS Tahoe 26.6.2 +Done in VirtualBuddy macOS guest running macOS Tahoe 26.6.2.\\ 
-  * Install Apple’s command line tools+**1. Install Apple’s command line tools**
 <code> <code>
 $ xcode-select --install $ xcode-select --install
 </code> </code>
-  * Install MacPorts from [[https://www.macports.org/install.php|Installing MacPort]]+**2. Install MacPorts from [[https://www.macports.org/install.php|Installing MacPort]]** 
 +  * The MacPorts Project is an open-source community initiative to design an easy-to-use system for compiling, installing, and upgrading either command-line, X11 or Aqua based open-source software on the Mac operating system. 
 +  * MacPorts installs to ''/opt/local'' by default. 
 +**3. Install geda-gschem** 
 +<code> 
 +$ export PATH=/opt/local/bin:$PATH 
 +$ sudo port install geda-gaf 
 +</code> 
 +If the build fails with ''error: static declaration of 'strchrnul' follows non-static declaration'' error, run equivalent of following command in build directory: 
 +<code> 
 +sudo perl -pi.bak -e 's/\bstrchrnul\b/geda_strchrnul/g' /opt/local/var/macports/build/geda-gaf-870cbe05/work/geda-gaf-1.10.2/gschem/src/x_controlfd.c 
 +</code> 
 +then rerun ''sudo port install geda-gaf''\\ 
 +**4. Install Xorg** 
 +<code> 
 +sudo port install xorg-server 
 +</code> 
 +**5. Restart macOS, then run gschem** 
 +<code> 
 +$ /opt/local/bin/gschem 
 +</code> 
 +====== Deploy pcb on macOS ====== 
 +Done in VirtualBuddy macOS guest running macOS Tahoe 26.6.2. Since VirtualBuddy macOS guest does not support OpenGL, pcb has to be built without OpenGL support.\\ 
 +**1. Configure pcb without OpenGL support** 
 +<code> 
 +$ sudo port selfupdate 
 +$ sudo port edit pcb 
 +</code> 
 +Add following line at the end of the file: **configure.args-append --disable-gl**\\ 
 +**2. Install pcb from source** 
 +<code> 
 +$ sudo port -s install pcb 
 +</code> 
 +**3. Run pcb** 
 +<code> 
 +$ /opt/local/bin/pcb 
 +</code> 
howtos/install_gschem_on_macos.1791013876.txt.gz · Last modified: (external edit)
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0