-
-
Notifications
You must be signed in to change notification settings - Fork 200
Install sc im with xls support on macOS
haruna edited this page Jun 21, 2021
·
4 revisions
-
Install command line tools from Xcode.
-
Install libxls with make:
wget https://github.com/libxls/libxls/releases/download/v1.6.2/libxls-1.6.2.tar.gz
tar -zxvf $_ && cd $_
make
sudo make install
- Install libxml2:
brew install libxml2
- Link libxml2 to pkgconfig with:
sudo ln -s /usr/local/Cellar/libxml2/2.9.7/lib/pkgconfig/libxml-2.0.pc /usr/local/lib/pkgconfig/libxml-2.0.pc
- Clone SC-IM:
git clone https://github.com/andmarti1424/sc-im
- Add additional config to SC-IM src/Makefile:
CFLAGS += -DXLS -I/usr/local/libxls/include
LDFLAGS += -L/usr/local/libxls/lib
LDLIBS += -lxlsreader
- Install SC-IM:
make clean
make
sudo make install