First of All, Thank you Dan and Ken,
Now,

 | I have no use for, nor interest in, gpm so I don't know what the


fix is, but I'm sure some people build it on x86_64.  The original
post mentioned both 1.19 and 1.20 for libgpm, I assume that was a
typo ?


No Ken, It is not a typo. I have double checked it.


Jignesh, you should have a libncurses.so.  I've seen situations
where I tried to apply the LFS instructions for libncursesw on clfs
and screwed up mightily - have you perhaps tried to do that?  (I'm
preparing a hint for clfs, but it isn't ready yet).



I haven't installed anything after building my CLFS system. GPM is the first

package. I have a working ncurses as I can see ncurses UI when I built my
Kernel with "make menuconfig"

If you do have a usable libncurses.so, look at the configure output
from gpm (hopefully, it will be in config.log) to see if it tried to
use libncurses.so, and what sort of error message it got.



./configure --prefix=/usr
Here are the snippets of config.log

configure:1355:checking for ncurses.h
configure:1365:gcc -E conftest.c >/dev/null 2>conftest.out
configure:1355:checking for ncurses/curses.h
configure:1365:gcc -E conftest.c >/dev/null 2>conftest.out
configure:1361:28:error: ncurses/curses.h: No such file or directory
configure:failed program was:
#lline 1360 "configure"
#include "confdefs.h"
#include <ncurses/curses.h>
configure:1355:checking for curses.h
configure:1365:gcc -E conftest.c >/dev/null 2>conftest.out
(No Error)
...
configure:1829:checking for tputs in -ltinfo
configure:1848:gcc -o conftest -g -O2 conftest.c -ltinfo 1>&5
/usr/bin/ld: cannot find -ltinfo
collect2: ld returned 1 exit status
configure: failed program was:
#line 1837 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 builtin and
then its argument prototype would still apply. */

char tputs();

int main() {
tputs()
; return 0; }
configure:1829: checking for tputs in -lncurses
configure:1848: gcc -o conftest -g -O2 conftest.c -lncurses 1>&5
configure:1901:gcc -o conftest -g -O2 conftest.c -lncurses -lncurses 1>&5
(No Error)
EOF

As with all attempts to use an extra package on an architecture
where nobody has provided a solution, first look at your local gentoo
mirror to see if there is anything interesting in their ebuild or
patches, and if that fails look at fedora (I think you are on pure64
and fedora only do multilib, but x86_64 fixes might still apply) -
you'll need an rpm2cpio script and cpio to discover what is in an
srpm, which is why I'm pointing you to gentoo first - you can (mostly)
make sense of what is going on in an ebuild by reading it in your
browser.

ĸen
--
das eine Mal als Tragödie, das andere Mal als Farce
--


I have seen gpm package for x86_64 on gentoo mirror site. But it is in
ebuild format and
I do not know how to build such package.


- Jigslinx
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to