On Fri, Jul 22, 2016 at 09:38:17PM +0200, yrog wrote:
> Good evening,
> 
> I'm having the same issue as this previous post on the list :
> http://lists.linuxfromscratch.org/pipermail/lfs-support/2013-January/044353.html
> 
> Building of psmisc-22.21 at chapter 6.26
> 
>     root:/sources/psmisc-22.21# ./configure --prefix=/usr
> 
>     configure: error: Cannot find tinfo, ncurses or termcap libraries
> 
> 
> As mentionned on the previous post, I tried to rebuild ncurses from
> chapter 5. Here is what it produced:
> 
[ Wrong solution -  things have changed in three and a half years ]
> |    root:/sources/psmisc-22.21# ls /tools/lib/libnc* -l||
> ||    -rw-r--r-- 1 root root 181446 Jul 21 12:51
> /tools/lib/libncurses++w.a||
> ||    -rw-r--r-- 1 root root 826856 Jul 21 12:51 /tools/lib/libncursesw.a||
> ||    lrwxrwxrwx 1 root root     16 Jul 21 12:50
> /tools/lib/libncursesw.so -> libncursesw.so.6||
> ||    lrwxrwxrwx 1 root root     18 Jul 21 12:50
> /tools/lib/libncursesw.so.6 -> libncursesw.so.6.0||
> ||    -rwxr-xr-x 1 root root 480408 Jul 21 12:50
> /tools/lib/libncursesw.so.6.0|
> 
>     root:/sources/psmisc-22.21# ls -l /tools/include/nc* /tools/include/cu*
>     -rw-r--r-- 1 root root 78720 Jul 22 19:17 /tools/include/curses.h
>     -rw-r--r-- 1 root root  6775 Jul 22 19:17 /tools/include/cursesapp.h
>     -rw-r--r-- 1 root root 27849 Jul 22 19:17 /tools/include/cursesf.h
>     -rw-r--r-- 1 root root 19677 Jul 22 19:17 /tools/include/cursesm.h
>     -rw-r--r-- 1 root root  8601 Jul 22 19:17 /tools/include/cursesp.h
>     -rw-r--r-- 1 root root 49530 Jul 22 19:17 /tools/include/cursesw.h
>     -rw-r--r-- 1 root root  7304 Jul 22 19:17 /tools/include/cursslk.h
>     -rw-r--r-- 1 root root  4151 Jul 22 19:17 /tools/include/nc_tparm.h
>     lrwxrwxrwx 1 root root     8 Jul 22 19:17 /tools/include/ncurses.h
> -> curses.h
>     -rw-r--r-- 1 root root  4277 Jul 22 19:17 /tools/include/ncurses_dll.h
> 
> The previous post ended whitout a solution for me. Any help would be
> appreciated.
> 
> Yrog
> 

In the 7.9 book we build ncurses-6.0 in section 6.20, so if you did
not skip over that page ncurses should already exist in /lib amd
/usr/lib, with include files in /usr and various links in /usr/lib.

If you didn't skip that page, I suspect something went wrong during
the various steps after 'make install' in 6.20.  Looking at psmisc,
it searches for the old ncurses, not the modern ncursesw, and we
allow for that.

First, /usr/lib/libncursesw.so should be a symlink to
../../lib/libncursesw.so.6 [ which is /lib/libncursesw.so.6 - we
moved it to there. ]

Second, /usr/lib/libncurses.so should exist, 'ls -l' should show a
length of 18 bytes, and (if ok so far) you should be able to cat it:
ken@jtm1 ~ $cat /usr/lib/libncurses.so
INPUT(-lncursesw)

ĸen
-- 
`I shall take my mountains', said Lu-Tze. `The climate will be good
for them.'     -- Small Gods
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to