failure during install #712
neverdimed
started this conversation in
General
Replies: 2 comments 7 replies
-
I dont use ubuntu. But did you check you have ncurses installed? ncurses-dev package may be? |
Beta Was this translation helpful? Give feedback.
3 replies
-
i found the solution, it relates to this discussion: #482 ie, i changed init_extended_color to init_color in color.c (in two places) and init_extended_pair to init_pair in tui.c, then it installs fine. I have ncurses version 6.1, and as you say in the discussion "You might need version 6.2" i look foreward to playing with sc-im now, thanks |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
i asked my Q on askubuntu and didnt get a response, i hope someone here can help (https://askubuntu.com/questions/1403027/sc-im-failure-during-install):
using: ubuntu 18.04 and git version 2.17.1
when i try to install SC-IM as per the instructions for ubuntu: https://github.com/andmarti1424/sc-im/wiki/Ubuntu-with-XLSX-import-&-export
i see 'undefined reference' when i run make, as follows:
[...]/sc-im/src/tui.c:1535: undefined reference to
init_extended_pair' color.o: In function
redefine_color':[...]/sc-im/src/color.c:594: undefined reference to
init_extended_color' color.o: In function
define_color':[...]/sc-im/src/color.c:661: undefined reference to `init_extended_color'
collect2: error: ld returned 1 exit status
Makefile:194: recipe for target 'sc-im' failed
make: *** [sc-im] Error 1
then when i run sudo make install i see:
install -d /usr/local/bin
install sc-im /usr/local/bin/sc-im
install: cannot stat 'sc-im': No such file or directory
Makefile:178: recipe for target 'install' failed
make: *** [install] Error 1
they say here: #253 "try linking against ncursesw", and then: "That solved it." But what does this mean? I googled and didnt find anything useful. Thanks.
edit: Maybe this is relevant?: https://github.com/andmarti1424/sc-im/wiki/Ubuntu-16.04.1-with-libxlsreader I added these 3 lines to the Makefile in sc-im/src but it made no difference
thanks
Beta Was this translation helpful? Give feedback.
All reactions