-
-
Notifications
You must be signed in to change notification settings - Fork 215
Building SC IM
Try building SC-IM linking to ncursesw library rather than ncurses library and setting the USELOCALE flag. This will prevent to have problems with special characters (extended ascii chars), whatever encoding you use.
Use gmake and bison. Make sure to have ncurses library or a symlink to it in the library directory. Setup NETBSD in Makefile and other variables, acording to the previous comments. Replace -lncurses with -lcurses in Makefile.
Use gmake and bison for building. Setup FREEBSD in Makefile. See this wiki for more details.
-
Uncomment MACOSX variable in Makefile and comment LINUX variable.
-
get brew installed if its not already set up: ``ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
-
``brew install homebrew/dupes/ncurses
-
``git clone https://github.com/andmarti1424/sc-im
-
``brew link --force ncurses You should see now a bunch of /usr/local/lib/libncursesw* file links needed by SC-IM.
-
``make
You might need to create some symlinks for ncursesw headers be found by SC-IM NOTE: This was not needed in my Arch installation.
if [[ `whereis ncursesw` == "ncursesw: /usr/include/ncursesw" ]]; then
mkdir /usr/include/ncursesw
cd /usr/include/ncursesw
ln -s ../{cursesapp.h,cursesf.h,curses.h,cursesm.h,cursesp.h,cursesw.h,cursslk.h,eti.h,etip.h,form.h,menu.h,nc_tparm.h,ncurses_dll.h,ncurses.h,panel.h,termcap.h,term_entry.h,term.h,tic.h,unctrl.h} ./
fi