You are on 12.04 and you are getting that? Have you made any changes to
your compilers/environment which would cause that.

My first thought currently is that your cmake version is different (I'm
also on 12.04). I've got 'cmake version 2.8.7' when i run cmake --version

Otherwise try a clean checkout/build - maybe something went wrong?

Failing all that, please add --debug-output to the cmake when you do a
clean build

ben


On 31 December 2012 07:19, Saiful Khan <saiful....@gmail.com> wrote:

> Dear All,
>
> Sorry to overload your mailbox. I am unable to build and install CLucene
> 2.3.3.4 in ubuntu 12.04. Request your help. -Thanks.
> The command and output as follows.
>
> *$ clucene-core-2.3.3.4/build-linux$ cmake -G "Unix Makefiles" ../
> -- The C compiler identification is GNU
> -- The CXX compiler identification is GNU
> -- Check for working C compiler: /usr/bin/gcc
> -- Check for working C compiler: /usr/bin/gcc -- works
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Check for working CXX compiler: /usr/bin/c++
> -- Check for working CXX compiler: /usr/bin/c++ -- works
> -- Detecting CXX compiler ABI info
> -- Detecting CXX compiler ABI info - done
> -- Looking for include files CMAKE_HAVE_PTHREAD_H
> -- Looking for include files CMAKE_HAVE_PTHREAD_H - found
> -- Looking for pthread_create in pthreads
> -- Looking for pthread_create in pthreads - not found
> -- Looking for pthread_create in pthread
> -- Looking for pthread_create in pthread - found
> -- Found Threads: TRUE
> -- Checking to see if CXX compiler accepts flag -pg
> -- Checking to see if CXX compiler accepts flag -pg - yes
> -- Boost version: 1.46.1
> Boost found
> -- Boost_INCLUDE_DIR    : /usr/include
> -- Found ZLIB: /usr/lib/i386-linux-gnu/libz.so (found version "1.2.3.4")
> -- Looking for include files _CL_TIME_WITH_SYS_TIME
> -- Looking for include files _CL_TIME_WITH_SYS_TIME - found
> -- Looking for C++ include stdlib.h
> -- Looking for C++ include stdlib.h - found
> -- Looking for C++ include stdarg.h
> -- Looking for C++ include stdarg.h - found
> -- Looking for C++ include stdio.h
> -- Looking for C++ include stdio.h - found
> -- Looking for C++ include stddef.h
> -- Looking for C++ include stddef.h - found
> -- Looking for C++ include ctype.h
> -- Looking for C++ include ctype.h - found
> -- Looking for C++ include algorithm
> -- Looking for C++ include algorithm - found
> -- Looking for C++ include functional
> -- Looking for C++ include functional - found
> -- Looking for C++ include map
> -- Looking for C++ include map - found
> -- Looking for C++ include vector
> -- Looking for C++ include vector - found
> -- Looking for C++ include list
> -- Looking for C++ include list - found
> -- Looking for C++ include set
> -- Looking for C++ include set - found
> -- Looking for C++ include math.h
> -- Looking for C++ include math.h - found
> -- Looking for C++ include fcntl.h
> -- Looking for C++ include fcntl.h - found
> -- Looking for C++ include limits.h
> -- Looking for C++ include limits.h - found
> -- Looking for C++ include string.h
> -- Looking for C++ include string.h - found
> -- Looking for C++ include sys/time.h
> -- Looking for C++ include sys/time.h - found
> -- Looking for C++ include memory.h
> -- Looking for C++ include memory.h - found
> -- Looking for C++ include sys/types.h
> -- Looking for C++ include sys/types.h - found
> -- Looking for C++ include stdint.h
> -- Looking for C++ include stdint.h - found
> -- Looking for C++ include unistd.h
> -- Looking for C++ include unistd.h - found
> -- Looking for C++ include io.h
> -- Looking for C++ include io.h - not found
> -- Looking for C++ include direct.h
> -- Looking for C++ include direct.h - not found
> CMake Error at /usr/share/cmake-2.8/Modules/CheckIncludeFileCXX.cmake:40
> (CONFIGURE_FILE):
>   configure_file Problem configuring file
>
> Call Stack (most recent call first):
>   src/shared/cmake/MacroMustDefine.cmake:32 (CHECK_INCLUDE_FILE_CXX)
>   src/shared/CMakeLists.txt:61 (CHECK_OPTIONAL_HEADERS)
>
>
> -- Looking for C++ include sys/dir.h
> CMake Error at CMakeLists.txt:10 (ADD_EXECUTABLE):
>   Cannot find source file:
>
>
> /home/saiful/code/Search-Project/Server/clucene-core-2.3.3.4/build-linux/CMakeFiles/CMakeTmp/CheckIncludeFile.cxx
>
>   Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
>   .hxx .in .txx
>
>
> CMake Error: Internal CMake error, TryCompile generation of cmake failed
> -- Looking for C++ include sys/dir.h - not found
> -- Looking for C++ include sys/ndir.h
> -- Looking for C++ include sys/ndir.h - not found
> -- Looking for C++ include dirent.h
> -- Looking for C++ include dirent.h - found
> -- Looking for C++ include wctype.h
> -- Looking for C++ include wctype.h - found
> -- Looking for C++ include stat.h
> -- Looking for C++ include stat.h - not found
> -- Looking for C++ include sys/stat.h
> -- Looking for C++ include sys/stat.h - found
> -- Looking for C++ include stdexcept
> -- Looking for C++ include stdexcept - found
> -- Looking for C++ include errno.h
> -- Looking for C++ include errno.h - found
> -- Looking for C++ include windef.h
> -- Looking for C++ include windef.h - not found
> -- Looking for C++ include windows.h
> -- Looking for C++ include windows.h - not found
> -- Looking for C++ include wchar.h
> -- Looking for C++ include wchar.h - found
> -- Looking for C++ include hash_map
> -- Looking for C++ include hash_map - found
> -- Looking for C++ include hash_set
> -- Looking for C++ include hash_set - found
> -- Looking for C++ include ext/hash_map
> -- Looking for C++ include ext/hash_map - found
> -- Looking for C++ include tr1/unordered_set
> -- Looking for C++ include tr1/unordered_set - found
> -- Looking for C++ include tr1/unordered_map
> -- Looking for C++ include tr1/unordered_map - found
> -- Looking for C++ include sys/timeb.h
> -- Looking for C++ include sys/timeb.h - found
> -- Looking for C++ include tchar.h
> -- Looking for C++ include tchar.h - not found
> -- Looking for C++ include strings.h
> -- Looking for C++ include strings.h - found
> -- Looking for C++ include sys/mman.h
> -- Looking for C++ include sys/mman.h - found
> -- Looking for C++ include winerror.h
> -- Looking for C++ include winerror.h - not found
> -- Choosing type for int8_t
> -- Check size of int8_t
> -- Check size of int8_t - done
> -- Choosing type for int8_t - signed int8_t
> -- Choosing type for uint8_t
> -- Check size of uint8_t
> -- Check size of uint8_t - done
> -- Choosing type for uint8_t - unsigned uint8_t
> -- Choosing type for int16_t
> -- Check size of int16_t
> -- Check size of int16_t - done
> -- Choosing type for int16_t - signed int16_t
> -- Choosing type for uint16_t
> -- Check size of uint16_t
> -- Check size of uint16_t - done
> -- Choosing type for uint16_t - unsigned uint16_t
> -- Choosing type for int32_t
> -- Check size of int32_t
> -- Check size of int32_t - done
> -- Choosing type for int32_t - signed int32_t
> -- Choosing type for uint32_t
> -- Check size of uint32_t
> -- Check size of uint32_t - done
> -- Choosing type for uint32_t - unsigned uint32_t
> -- Choosing type for int64_t
> -- Check size of int64_t
> -- Check size of int64_t - done
> -- Choosing type for int64_t - signed int64_t
> -- Choosing type for uint64_t
> -- Check size of uint64_t
> -- Check size of uint64_t - done
> -- Choosing type for uint64_t - unsigned uint64_t
> -- Choosing type for size_t
> -- Check size of size_t
> -- Check size of size_t - done
> -- Choosing type for size_t - unsigned size_t
> -- Choosing option for HAVE_TYPE__TIMEB
> -- Performing Test _CL_HAVE_OPTION__TIMEB
> -- Performing Test _CL_HAVE_OPTION__TIMEB - Failed
> -- Performing Test _CL_HAVE_OPTION_TIMEB
> -- Performing Test _CL_HAVE_OPTION_TIMEB - Success
> -- Choosing option for HAVE_TYPE__TIMEB - timeb
> CMake Error at
> /usr/share/cmake-2.8/Modules/CheckCXXSourceCompiles.cmake:55 (FILE):
>   file Internal CMake error when trying to open file:
>
> /home/saiful/code/Search-Project/Server/clucene-core-2.3.3.4/build-linux/CMakeFiles/CMakeTmp/src.cxx
>   for writing.
>
> Call Stack (most recent call first):
>   src/shared/cmake/DefineFloat.cmake:3 (CHECK_CXX_SOURCE_COMPILES)
>   src/shared/CMakeLists.txt:89 (DEFINE_FLOAT)
>
>
> -- Performing Test HAVE_SYMBOL_FLOAT_T
> CMake Error at CMakeLists.txt:10 (ADD_EXECUTABLE):
>   Cannot find source file:
>
>
> /home/saiful/code/Search-Project/Server/clucene-core-2.3.3.4/build-linux/CMakeFiles/CMakeTmp/src.cxx
>
>   Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
>   .hxx .in .txx
>
>
> CMake Error: Internal CMake error, TryCompile generation of cmake failed
> -- Performing Test HAVE_SYMBOL_FLOAT_T - Failed
> -- Check size of DWORD
> -- Check size of DWORD - failed
> -- Looking for printf
> CMake Error at /usr/share/cmake-2.8/Modules/CheckFunctionExists.cmake:47
> (TRY_COMPILE):
>   Failed to open
>
>
> /home/saiful/code/Search-Project/Server/clucene-core-2.3.3.4/build-linux/CMakeFiles/CMakeTmp/CMakeLists.txt
>
>   Protocol error
>
> Call Stack (most recent call first):
>   src/shared/cmake/MacroMustDefine.cmake:59 (CHECK_FUNCTION_EXISTS)
>   src/shared/cmake/MacroMustDefine.cmake:42 (CHECK_OPTIONAL_FUNCTIONS)
>   src/shared/CMakeLists.txt:97 (CHECK_REQUIRED_FUNCTIONS)
>
>
> -- Looking for printf - not found
>
> CMake Error at src/shared/cmake/MacroMustDefine.cmake:45 (MESSAGE):
>   printf could not be found
>
> Call Stack (most recent call first):
>   src/shared/CMakeLists.txt:97 (CHECK_REQUIRED_FUNCTIONS)
>
>
> -- Configuring incomplete, errors occurred!*
>
>
> ------------------------------------------------------------------------------
> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> MVPs and experts. ON SALE this month only -- learn more at:
> http://p.sf.net/sfu/learnmore_123012
> _______________________________________________
> CLucene-developers mailing list
> CLucene-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/clucene-developers
>
>
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_123012
_______________________________________________
CLucene-developers mailing list
CLucene-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/clucene-developers

Reply via email to