Skip to content

Ubuntu 16.04.1 with libxlsreader

jjinkou2 edited this page Aug 11, 2016 · 11 revisions

You can compile scim with libxls. Just compile the xls library from sourceforge. libxlsreader http://libxls.sourceforge.net/

then follow the wiki on debian (except stow) with these modifications in the makefile

1)add this line LDFLAGS="-L/usr/local/libxls/lib"

  1. change CFLAGS to CFLAGS := $(LINUX) $(FREEBSD) $(NETBSD) $(MACOSX) -O2 -Wall -pipe -g -I/usr/include/libxml2 -I/usr/local/libxls/include/libxls -I/usr/local/libxls/include

3)and change LDLIBS to : LDLIBS := -lm -lncursesw -lxlsreader -lzip -lxml2

4)then in the file xls.c change the line : xls_close(pWB); to this xls_close_WB(pWB);