lfs-6.2: ncurses install error

randhir phagura rsphagura at hotmail.com
Mon Aug 7 03:02:03 PDT 2006

I am installing lfs-6.2 on my P-III laptop. During Chapter 5 install Pass-2, 
Iam getting the following error when installing ncurses-5.5:

/sbin/ldconfig: Can't create temporary cache file /etc/ld.so.cache~: 
Permission denied
make[1]: [install] Error 1 (ignored)
installing ../lib/libform.a as /tools/lib/libform.a
/usr/bin/install -c -m 644 ../lib/libform.a /tools/lib/libform.a
ranlib /tools/lib/libform.a
installing ./form.h in /tools/include
make[1]: Leaving directory `/p/ncurses-5.5/form'
cd test && make DESTDIR="" install
make[1]: Entering directory `/p/ncurses-5.5/test'
make[1]: Nothing to be done for `install'.
make[1]: Leaving directory `/p/ncurses-5.5/test'
cd misc && make DESTDIR="" install
make[1]: Entering directory `/p/ncurses-5.5/misc'
sh ../mkinstalldirs /tools/share/terminfo
mkdir /tools/share/terminfo
sh ../mkinstalldirs /tools/share/tabset
mkdir /tools/share/tabset
prefix=/tools \
exec_prefix=/tools \
bindir=/tools/bin \
top_srcdir=.. \
srcdir=. \
datadir=/tools/share \
ticdir=/tools/share/terminfo \
source=terminfo.tmp \
THIS_CC="gcc" \
THAT_CC="gcc" \
sh ./run_tic.sh
** Building terminfo database, please wait...
Running tic to install /tools/share/terminfo ...

        You may see messages regarding extended capabilities, e.g., AX.
        These are extended terminal capabilities which are compiled
                tic -x
        If you have ncurses 4.2 applications, you should read the INSTALL
        document, and install the terminfo without the -x option.

./shlib: line 140: 24106 Segmentation fault      tic -x -s -o 
/tools/share/terminfo terminfo.tmp
? tic could not build /tools/share/terminfo
make[1]: *** [install.data] Error 1
make[1]: Leaving directory `/p/ncurses-5.5/misc'
make: *** [install] Error 2
lfs at nilgiri:~>

The install is being done as the book says. Directory $LFS/tools is owned by 
lfs:lfs. Then why is it saying 'permission denied"?

Also the /tools/share/terminfo directory exists but is empty.

Any help please.


Randhir Phagura

More information about the lfs-support mailing list