I'm getting the following error while installing CASAVA_v1.8.1 in Ubuntu 11.04
Below is the error message i got during the installation. I'll highly appreciate any of your help.
In short the error message: PTHREADS NOT FOUND
when i verified, i found pthreads.h file in /usr/include/
So here is the complete error message
boost-1_44_0 installed successfully
-- Successfuly built boost 1.44.0 from the distribution package...
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
-- Check if the system is big endian - little endian
-- Looking for floorf
-- Looking for floorf - found
-- Looking for round
-- Looking for round - found
-- Looking for roundf
-- Looking for roundf - found
-- Looking for powf
-- Looking for powf - found
-- Looking for erf
-- Looking for erf - found
-- Looking for erf
-- Looking for erf - found
-- Looking for erfc
-- Looking for erfc - found
-- Looking for erfc
-- Looking for erfc - found
-- Found ZLIB header: /usr/local/include/zlib.h
-- Found ZLIB library: /usr/local/lib/libz.so
-- gzip compression supported
-- Found BZIP2 header: /usr/local/include/bzlib.h
-- Found BZIP2 library: /usr/local/lib/libbz2.a
-- bzip2 compression supported
-- pthread headers: /usr/include
-- pthread library: PTHREAD_LIBRARY-NOTFOUND
CMake Error at cmake/macros.cmake:90 (message):
pthread library is required to build the CASAVA
Call Stack (most recent call first):
cmake/cxxConfigure.cmake:87 (casava_find_boost)
c++/CMakeLists.txt:33 (include)
-- Configuring incomplete, errors occurred!
Couldn't configure the project:
/cloud/soft/casava/CASAVA_v1.8.1/CASAVA_v1.8.1-build/bootstrap/bin/cmake -H"/cloud/soft/casava/CASAVA_v1.8.1/src" -B"/cloud/soft/casava/CASAVA_v1.8.1/CASAVA_v1.8.1-build" -G"Unix Makefiles" -DCASAVA_PREFIX:PATH= -DCASAVA_EXEC_PREFIX:PATH= -DCMAKE_INSTALL_PREFIX:PATH= -DCASAVA_BINDIR:PATH= -DCASAVA_LIBDIR:PATH= -DCASAVA_LIBEXECDIR:PATH= -DCASAVA_INCLUDEDIR:PATH= -DCASAVA_DATADIR:PATH= -DCASAVA_DOCDIR:PATH= -DCASAVA_MANDIR:PATH= -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo
Moving CMakeCache.txt to CMakeCache.txt.removed
Below is the error message i got during the installation. I'll highly appreciate any of your help.
In short the error message: PTHREADS NOT FOUND
when i verified, i found pthreads.h file in /usr/include/
So here is the complete error message
boost-1_44_0 installed successfully
-- Successfuly built boost 1.44.0 from the distribution package...
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
-- Check if the system is big endian - little endian
-- Looking for floorf
-- Looking for floorf - found
-- Looking for round
-- Looking for round - found
-- Looking for roundf
-- Looking for roundf - found
-- Looking for powf
-- Looking for powf - found
-- Looking for erf
-- Looking for erf - found
-- Looking for erf
-- Looking for erf - found
-- Looking for erfc
-- Looking for erfc - found
-- Looking for erfc
-- Looking for erfc - found
-- Found ZLIB header: /usr/local/include/zlib.h
-- Found ZLIB library: /usr/local/lib/libz.so
-- gzip compression supported
-- Found BZIP2 header: /usr/local/include/bzlib.h
-- Found BZIP2 library: /usr/local/lib/libbz2.a
-- bzip2 compression supported
-- pthread headers: /usr/include
-- pthread library: PTHREAD_LIBRARY-NOTFOUND
CMake Error at cmake/macros.cmake:90 (message):
pthread library is required to build the CASAVA
Call Stack (most recent call first):
cmake/cxxConfigure.cmake:87 (casava_find_boost)
c++/CMakeLists.txt:33 (include)
-- Configuring incomplete, errors occurred!
Couldn't configure the project:
/cloud/soft/casava/CASAVA_v1.8.1/CASAVA_v1.8.1-build/bootstrap/bin/cmake -H"/cloud/soft/casava/CASAVA_v1.8.1/src" -B"/cloud/soft/casava/CASAVA_v1.8.1/CASAVA_v1.8.1-build" -G"Unix Makefiles" -DCASAVA_PREFIX:PATH= -DCASAVA_EXEC_PREFIX:PATH= -DCMAKE_INSTALL_PREFIX:PATH= -DCASAVA_BINDIR:PATH= -DCASAVA_LIBDIR:PATH= -DCASAVA_LIBEXECDIR:PATH= -DCASAVA_INCLUDEDIR:PATH= -DCASAVA_DATADIR:PATH= -DCASAVA_DOCDIR:PATH= -DCASAVA_MANDIR:PATH= -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo
Moving CMakeCache.txt to CMakeCache.txt.removed
Comment