Added istructions for MacOS 'Catalina'. Thanks to Steve.

This commit is contained in:
StefanSchippers 2021-05-03 20:54:05 +00:00 committed by GitHub
parent 7d65c5e3fd
commit d3bb2f0451
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 28 additions and 1 deletions

View File

@ -1,4 +1,29 @@
# Compilation Instructions for xschem on MacOS
# Installation instructions for MacOS 'Catalina'
Install the latest XQuartz from XQuartz.org.
Install the latest tcl, tk and cairo from MacPorts.
## xschem compilation
Let's use a recent xschem repository and install it on ~/xschem-macos
```
git clone https://github.com/StefanSchippers/xschem.git
cd xschem
## set prefix to the base directory where xschem and his support files will be installed
## default if unspecified is /usr/local
./configure --prefix=/Users/$(whoami)/xschem-macos
```
Finally, we compile and install the application.
```
make
make install
```
The application will be placed in `/Users/$(whoami)/xschem-macos/bin` and can be started with
`./xschem` in that folder.
# Compilation Instructions for xschem on MacOS 'Big Sur'
In order to compile xschem properly on MacOS, we always need to reference the X libraries from XQuartz
and change some compilation variables. The following dependencies are required:
- XQuartz: https://www.xquartz.org/releases/XQuartz-2.7.11.html
@ -38,6 +63,8 @@ xschem repository and install it on ~/xschem-macos (adapt this to your username)
```
git clone https://github.com/StefanSchippers/xschem.git
cd xschem
## set prefix to the base directory where xschem and his support files will be installed
## default if unspecified is /usr/local
./configure --prefix=/Users/$(whoami)/xschem-macos
```