When i do
make clean; make install
i get the following error
make clean; make install
make: -F.: Command not found
rm -f defaults.h
rm -f include/asterisk/build.h
rm -f main/version.c
rm -f include/asterisk/version.h
make[1]: Entering directory /var/phone-system/asterisk-1.6.1.1/menuselect' rm -f menuselect cmenuselect gmenuselect nmenuselect menuselect.o strcompat.o menuselect_stub.o make[1]: Leaving directory
/var/phone-system/asterisk-1.6.1.1/menuselect’
cp -f .cleancount .lastclean
make: -F.: Command not found
**** The configure script must be executed before running ‘make’.
**** Please run “./configure”.
make: *** [makeopts] Error 1
[root@s15343255 asterisk-1.6.1.1]#
so i run ./configure and get the next error
checking how to run the C++ preprocessor… /lib/cpp
configure: error: C++ preprocessor “/lib/cpp” fails sanity check
See `config.log’ for more details.
any suggestions?