configure: error: Cannot link with GPM library !!! Please attach the following file when seeking support: !!! /var/tmp/portage/sys-libs/ncurses-5.7-r3/work/narrowc/config.log * ERROR: sys-libs/ncurses-5.7-r3 failed: * econf failed * * Call stack: * ebuild.sh, line 54: Called src_compile * environment, line 2650: Called do_compile 'narrowc' * environment, line 694: Called econf '--libdir=/lib64' '--with-terminfo-dirs=/etc/terminfo:/usr/share/terminfo' '--with-shared' '--without-hashed-db' '--without-ada' '--with-cxx' '--with-cxx-binding' '--without-debug' '--without-profile' '--with-gpm' '--disable-termcap' '--enable-symlinks' '--with-rcs-ids' '--with-manpage-format=normal' '--enable-const' '--enable-colorfgbg' '--enable-echo' '--enable-warnings' '--without-assertions' '--with-leaks' '--without-expanded' '--with-macros' '--without-trace' '--with-chtype=long' '--with-mmask-t=long' '--disable-ext-colors' '--disable-ext-mouse' '--without-pthread' '--without-reentrant' * ebuild.sh, line 544: Called die * The specific snippet of code: * die "econf failed" * * If you need support, post the output of 'emerge --info =sys-libs/ncurses-5.7-r3', * the complete build log and the output of 'emerge -pqv =sys-libs/ncurses-5.7-r3'. * The complete build log is located at '/var/tmp/portage/sys-libs/ncurses-5.7-r3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-libs/ncurses-5.7-r3/temp/environment'. * S: '/var/tmp/portage/sys-libs/ncurses-5.7-r3/work/ncurses-5.7'
Created attachment 219445 [details] Output of emerge --info
Please attach config.log from the source directory
Created attachment 219447 [details] build log
Created attachment 219449 [details] config log
(In reply to comment #4) > Created an attachment (id=219449) [details] > config log > configure:4301: checking if you want to link with the GPM mouse library configure:4311: result: yes [ .. ] configure:4368: checking for Gpm_Open in -lgpm configure:4395: x86_64-pc-linux-gnu-gcc -o conftest -O2 -pipe -Wl,-O1 conftest.c -lgpm >&5 /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find /lib64/libgpm.so So USE="gpm" is enabled? The ebuild has a correct depend to sys-libs/gpm. Question is, where did your libgpm.so disappear? Does recompiling gpm help? sys-libs/gpm-1.20.6 (/lib64/libgpm.so)
Created attachment 219453 [details] Output of emerge -pqv ncurses
Created attachment 219455 [details] environment file
(In reply to comment #5) Yes, it works after a emerge --oneshot sys-libs/gpm
Closing then. Impossible to tell why your libgpm.so disappeared, certainly not Portage or ncurses just delete it. :)