
I've got error message during CASAVA-1.8 installation ('configure' step), but I haven't found the cause of error.
Here is error log,
-----------------
Decompressing .../CASAVA_v1.8.0/src/../redist/cmake-2.8.4.tar.gz
---------------------------------------------
CMake 2.8.4, Copyright 2000-2009 Kitware, Inc.
C compiler on this system is: /usr/local/bin/gcc
C++ compiler on this system is: /usr/local/bin/g++
Makefile processor on this system is: gmake
/usr/local/bin/g++ is GNU compiler
:
-- Looking for wcscpy
-- Looking for wcscpy - not found
-- Looking for wcslen
-- Looking for wcslen - not found
:
:
-- Check size of wchar_t
-- Check size of wchar_t - done
:
[ 13%] [ 13%] Building C object Utilities/cmlibarchive/libarchive/CMakeFiles/cmlibarchive.dir/archive_entry.c.o
Building C object Utilities/cmexpat/CMakeFiles/cmexpat.dir/xmlparse.o
・・・/CASAVA/src/CASAVA_v1.8.0-build/bootstrap/build/cmake-2.8.4/Utilities/cmlibarchive/libarchive/archive_entry.c:136: error: static declaration of 'wcscpy' follows non-static declaration
/usr/local/lib/gcc/x86_64-unknown-linux-gnu/4.3.2/include-fixed/wchar.h:142: error: previous declaration of 'wcscpy' was here
・・・/CASAVA/src/CASAVA_v1.8.0-build/bootstrap/build/cmake-2.8.4/Utilities/cmlibarchive/libarchive/archive_entry.c:145: error: static declaration of 'wcslen' follows non-static declaration
/usr/local/lib/gcc/x86_64-unknown-linux-gnu/4.3.2/include-fixed/wchar.h:252: error: previous declaration of 'wcslen' was here
make[2]: *** [Utilities/cmlibarchive/libarchive/CMakeFiles/cmlibarchive.dir/archive_entry.c.o] Error 1
make[1]: *** [Utilities/cmlibarchive/libarchive/CMakeFiles/cmlibarchive.dir/all] Error 2
make[1]: *** waiting unfinished job
[ 13%] Building C object Utilities/cmexpat/CMakeFiles/cmexpat.dir/xmltok.o
[ 13%] Building C object Utilities/cmexpat/CMakeFiles/cmexpat.dir/xmlrole.o
Linking C static library libcmexpat.a
[ 13%] Built target cmexpat
make: *** [all] Error 2
cmake: build failed: Terminating...
Failed to verify or install cmake
----------------
1th. because of wcscpy,wcslen are "not found".
config.h in ../CASAVA/src/CASAVA_v1.8.0-build/bootstrap/build/cmake-2.8.4/Utilities/cmlibarchive
Can anyone tell how to solve the problem?
Comment