Skip to content
Andrés M edited this page Dec 13, 2016 · 27 revisions

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.

Build instructions for NetBSD

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.

Build instructions for FreeBSD

Use gmake and bison for building. Setup FREEBSD in Makefile. See this wiki for more details.

Build instructions for OSX

  1. Uncomment MACOSX variable in Makefile and comment LINUX variable.

  2. get brew installed if its not already set up: ``ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

  3. ``brew install homebrew/dupes/ncurses

  4. ``git clone https://github.com/andmarti1424/sc-im

  5. ``brew link --force ncurses You should see now a bunch of /usr/local/lib/libncursesw* file links needed by SC-IM.

  6. ``make

Build instructions for ArchLinux

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