You are not logged in.
I'm trying to install ncurses 5.9 due to a bug I've wrangled with for a few months now, in offlineimap (see https://bbs.archlinux.org/viewtopic.php … 8#p1573228 for my original post on it). After filing bugs to the Arch offlineimap project, and also upstream offlineimap, I've been told to git bisect offlineimap. I surmise the problem occurred when ncurses 6.0-1 was introduced. To test that theory, I need to install the 5.9-7 revision I checked out from svn. I get this error when trying to compile it:
gcc -DHAVE_CONFIG_H -I../ncurses -I../../ncurses-5.9/ncurses -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DNDEBUG -I. -I../include -I../../ncurses-5.9/ncurses/../include -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param max-inline-insns-single=1200 -fPIC -c ../ncurses/lib_gen.c -o ../obj_s/lib_gen.o
In file included from ../../ncurses-5.9/ncurses/curses.priv.h:283:0,
from ../ncurses/lib_gen.c:19:
_12885.c:1364:15: error: expected ‘)’ before ‘int’
../include/curses.h:1906:56: note: in definition of macro ‘mouse_trafo’
#define mouse_trafo(y,x,to_screen) wmouse_trafo(stdscr,y,x,to_screen)
^
Makefile:835: recipe for target '../obj_s/lib_gen.o' failed
make[1]: *** [../obj_s/lib_gen.o] Error 1
make[1]: Leaving directory '/home/trey/src/packages/ncurses/repos/core-x86_64/src/ncursesw-build/ncurses'
Makefile:109: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
According to this post (https://bbs.archlinux.org/viewtopic.php … 8#p1510328), I should add the "-P" flag to the preprocessor invocation, but ncurses is complicated enough that it is nontrivial to figure out where I need to put it. I did edit the Makefile in ncursesw-build/ncurses/, and it added the -P (though I still got the same error). In any case, any modifications I've tried to make seem to get destroyed by a makepkg -sei.
Thanks in advance.
Offline
Can you install the 5.9-7 package from the archive?
How to post. A sincere effort to use modest and proper language and grammar is a sign of respect toward the community.
Offline
You'd want to install the compat libs then build offlineimap against them. DO NOT JUST INSTALL 5.9 SYSTEM WIDE!!!
Online
You'd want to install the compat libs then build offlineimap against them. DO NOT JUST INSTALL 5.9 SYSTEM WIDE!!!
Can you elaborate on this? Which compatibility libraries are you referring to? And how would I direct a compilation of offlineimap to use them?
Offline
Look for ncurses5-compat-libs in AUR.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
(A works at time B) && (time C > time B ) ≠ (A works at time C)
Offline
You'd want to install the compat libs then build offlineimap against them. DO NOT JUST INSTALL 5.9 SYSTEM WIDE!!!
I just realized, you don't build offlineimap, as it's straight Python.
Offline