Summary: | vim-6.2-r5.ebuild fails with ncursesw library | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Gour <gour> |
Component: | Current packages | Assignee: | Vim Maintainers <vim> |
Status: | VERIFIED UPSTREAM | ||
Severity: | major | CC: | cjk |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | log of emerge vim fail |
Description
Gour
2003-12-12 05:52:49 UTC
Created attachment 22086 [details]
log of emerge vim fail
Please send this along to <bugs@vim.org>. I don't think this is going to be a simple distribution-level fix. (I also note that we don't have --enable-widec in the ncurses ebuilds, so you must be using locally-built libs.) When you send your vim bug report, you can say that you're building vim-6.2.140 since that is the patchlevel of the -r5 ebuild. Let me know when you've sent your bug report so I can resolve this bug as UPSTREAM. <quote>(I also note that we don't have --enable-widec +in the ncurses ebuilds, so you must be using locally-built libs.) </quote> I'm not using locally-built libs, but just tried to emerge vim after adding --enable-widec to ncurses ebuild & ebuilt ncursesw :-) I sent bug-report to <bugs@vim.org>. Sincerely, Gour Great, thanks! I hope we'll see a fix soon. Of course, the quickest solution will be if you can fix it yourself and give the patch to Bram (via bugs@vim.org) ;-) Hi! It's not the fix for solution but by following Bram's hint I've discovered that the cause of the problem is very simple. auto/config.log gives several instances like: configure:6218: checking whether termcap.h contains ospeed configure:6231: gcc -o conftest -Os -march=pentium3 -mfpmath=sse -msse -mmmx -fomit-frame-pointer -pipe -funroll-loops -rdynamic -rdynamic -L/usr/local/lib conftest.c -lelf -lnsl -lncurses 1>&5 /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find /lib/libncurses.so collect2: ld returned 1 exit status which means that the problem is simple - by compiling ncurses with --enable-widec, there is only ncursesw library and ncurses is missing :-) Now, I don't know (and asked Bram) whether vim'c configure should ask for ncursesw or there should be both ncurses & ncursesw installed simultaneously? Sincerely, Gour Okay, so ncurses ebuild should be something like Attachment #16945 [details].
liquidx: could you revise it using unicode USE flag and commit?
app-editors/nvi also depends on ncurses built with --enable-widec,
so it will be useful if we can turn the option on using unicode USE flag.
this problem doesn't occur with vim-6.3 and ncurses-5.4-r4 |