configure error of Ncurses-5.3

COLIN Yoann yoann.colin at club-internet.fr
Tue Nov 12 03:29:44 PST 2002


# English version of this mail at the bottom #

Bonjour,

Je suis en train d'installer lfs-cvs(-fr) et, dans l'environement chroot, lorsque je veux installer Ncurses-5.3 en tapant dans le dossier "/static/src/ncurses-5.3" la commande :

./configure --prefix=/usr --with-shared &&
make &&
make install &&
chmod 755 /usr/lib/*.5.3 &&
mv /usr/lib/libncurses.so.5* /lib &&
ln -sf libncurses.a /usr/lib/libcurses.a &&
ln -sf ../../lib/libncurses.so.5 /usr/lib/libncurses.so &&
ln -sf ../../lib/libncurses.so.5 /usr/lib/libcurses.so

le ./configure me répond :

...
checking for stdbool.h... yes
checking for builtin bool type... no
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
root:/static/src/ncurses-5.3#

lorsque je fais un "ls -la cpp" dans "/lib" j'ai :

lrwxrwxrwx    1 root     root           12 Nov 12 10:56 cpp -> ../usr/bin/cpp

dans le doute je refais le lien de façon que cette fois j'obtienne :

lrwxrwxrwx    1 root     root           12 Nov 12 10:56 cpp -> /usr/bin/cpp

puis je retente l'installation de Ncurses-5.3 mais il me répond toujours :

...
checking for stdbool.h... yes
checking for builtin bool type... no
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
root:/static/src/ncurses-5.3#

d'où est-ce que ça peux venir, faut-il que je réinstall gcc-3.2 ? 

# english version of mail #

Hello,

I'm installing lfs-cvs(-fr) and, in the chroot environment, when I want install Ncurses-5.3 with the command :

./configure --prefix=/usr --with-shared &&
make &&
make install &&
chmod 755 /usr/lib/*.5.3 &&
mv /usr/lib/libncurses.so.5* /lib &&
ln -sf libncurses.a /usr/lib/libcurses.a &&
ln -sf ../../lib/libncurses.so.5 /usr/lib/libncurses.so &&
ln -sf ../../lib/libncurses.so.5 /usr/lib/libcurses.so

in the "/static/src/ncurses-5.3" path, ./configure return to me :

...
checking for stdbool.h... yes
checking for builtin bool type... no
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
root:/static/src/ncurses-5.3#

When I do an "ls -la cpp" in "/lib" it return :

lrwxrwxrwx    1 root     root           12 Nov 12 10:56 cpp -> ../usr/bin/cpp

With doubt I remake the symbolic link :

lrwxrwxrwx    1 root     root           12 Nov 12 10:56 cpp -> /usr/bin/cpp

I redo install Ncurses-5.3 but it again return me :

...
checking for stdbool.h... yes
checking for builtin bool type... no
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
root:/static/src/ncurses-5.3#

What is the cause, shall I reinstall gcc-3.2

Thanks, COLIN Yoann
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-support' in the subject header of the message



More information about the lfs-support mailing list