Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 304889 - sys-libs/ncurses-5.7-r3 configure: error: Cannot link with GPM library
Summary: sys-libs/ncurses-5.7-r3 configure: error: Cannot link with GPM library
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-13 16:13 UTC by Kevin Morgan
Modified: 2010-02-13 16:43 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Output of emerge --info (emergeinfo,3.11 KB, text/plain)
2010-02-13 16:14 UTC, Kevin Morgan
Details
build log (build.log,6.65 KB, text/plain)
2010-02-13 16:16 UTC, Kevin Morgan
Details
config log (config.log,16.49 KB, text/plain)
2010-02-13 16:17 UTC, Kevin Morgan
Details
Output of emerge -pqv ncurses (ncursespqv,106 bytes, text/plain)
2010-02-13 16:29 UTC, Kevin Morgan
Details
environment file (environment,98.87 KB, text/plain)
2010-02-13 16:30 UTC, Kevin Morgan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Morgan 2010-02-13 16:13:56 UTC
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'
Comment 1 Kevin Morgan 2010-02-13 16:14:59 UTC
Created attachment 219445 [details]
Output of emerge --info
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2010-02-13 16:15:55 UTC
Please attach config.log from the source directory
Comment 3 Kevin Morgan 2010-02-13 16:16:08 UTC
Created attachment 219447 [details]
build log
Comment 4 Kevin Morgan 2010-02-13 16:17:04 UTC
Created attachment 219449 [details]
config log
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2010-02-13 16:28:30 UTC
(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)
Comment 6 Kevin Morgan 2010-02-13 16:29:36 UTC
Created attachment 219453 [details]
Output of emerge -pqv ncurses
Comment 7 Kevin Morgan 2010-02-13 16:30:42 UTC
Created attachment 219455 [details]
environment file
Comment 8 Kevin Morgan 2010-02-13 16:41:20 UTC
(In reply to comment #5)
Yes, it works after a emerge --oneshot sys-libs/gpm
Comment 9 Samuli Suominen (RETIRED) gentoo-dev 2010-02-13 16:43:18 UTC
Closing then. 

Impossible to tell why your libgpm.so disappeared, certainly not Portage or ncurses just delete it. :)