i  reinstall editline with --enable-widec, then the error as follows:

gmake[1]: Leaving directory 
`/hypertable/bin/src-utils/CMakeFiles/CMakeTmp/CMakeFiles/CMakeTmp'
gmake[1]: *** [cmTryCompileExec] Error 1
gmake: *** [cmTryCompileExec/fast] Error 2

CMake Error at cmake/FindEditline.cmake:63 (message):
  Please fix the Editline installation and try again.  Make sure you build
  libedit with --enable-widec!
Call Stack (most recent call first):
  CMakeLists.txt:115 (find_package)


-- Configuring incomplete, errors occurred!
CPack Error: CPack project name not specified
-- Use thread library: -lpthread
-- Python Shell Version: Python 2.6.6
-- Found Python-devel: /usr/lib64/libpython2.6.so
-- Looking for required boost libraries...
-- GCC version: 4.4.7
-- Boost version: 1_44
-- Boost thread lib: /usr/local/lib/libboost_thread.so
-- Boost program options lib: /usr/local/lib/libboost_program_options.so
-- Boost filesystem lib: /usr/local/lib/libboost_filesystem.so
-- Boost iostreams lib: /usr/local/lib/libboost_iostreams.so
-- Boost python lib: BOOST_PYTHON_LIB-NOTFOUND
-- Boost chrono lib: BOOST_CHRONO_LIB-NOTFOUND
-- Boost system lib: /usr/local/lib/libboost_system.so
-- Boost lib dir: /usr/local/lib
-- Boost libs: 
/usr/local/lib/libboost_iostreams.so;/usr/local/lib/libboost_program_options.so;/usr/local/lib/libboost_filesystem.so;/usr/local/lib/libboost_thread.so;/usr/local/lib/libboost_system.so
-- Found BerkeleyDB: /usr/local/BerkeleyDB.4.8/lib/libdb_cxx.so
-- Berkeley DB version: 4.8.26
-- Found Editline: /usr/lib64/libedit.so
-- Change Dir: 
/hypertable/bin/src-utils/CMakeFiles/CMakeTmp/CMakeFiles/CMakeTmp

Run Build Command:/usr/bin/gmake "cmTryCompileExec/fast"
/usr/bin/gmake -f CMakeFiles/cmTryCompileExec.dir/build.make 
CMakeFiles/cmTryCompileExec.dir/build
gmake[1]: Entering directory 
`/hypertable/bin/src-utils/CMakeFiles/CMakeTmp/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report 
/hypertable/bin/src-utils/CMakeFiles/CMakeTmp/CMakeFiles/CMakeTmp/CMakeFiles 
1
Building CXX object CMakeFiles/cmTryCompileExec.dir/CheckEditline.cc.o
/usr/bin/c++     -o CMakeFiles/cmTryCompileExec.dir/CheckEditline.cc.o -c 
/hypertable/cmake/CheckEditline.cc
Linking CXX executable cmTryCompileExec
/usr/bin/cmake -E cmake_link_script 
CMakeFiles/cmTryCompileExec.dir/link.txt --verbose=1
/usr/bin/c++        -fPIC 
CMakeFiles/cmTryCompileExec.dir/CheckEditline.cc.o  -o cmTryCompileExec 
-rdynamic -ledit 
CMakeFiles/cmTryCompileExec.dir/CheckEditline.cc.o: In function `main':
CheckEditline.cc:(.text+0x27): undefined reference to `el_wset'
CheckEditline.cc:(.text+0x41): undefined reference to `el_wgets'
collect2: ld returned 1 exit status
gmake[1]: Leaving directory 
`/hypertable/bin/src-utils/CMakeFiles/CMakeTmp/CMakeFiles/CMakeTmp'
gmake[1]: *** [cmTryCompileExec] Error 1
gmake: *** [cmTryCompileExec/fast] Error 2

CMake Error at cmake/FindEditline.cmake:63 (message):
  Please fix the Editline installation and try again.  Make sure you build
  libedit with --enable-widec!
Call Stack (most recent call first):
  CMakeLists.txt:115 (find_package)


-- Configuring incomplete, errors occurred!
CPack Error: CPack project name not specified


在 2013年11月18日星期一UTC+8下午2时50分32秒,[email protected]写道:
>
> the error as fllows:
>
> [root@hyt210 src-utils]# sudo ./htpkg --srcdir /hypertable --thriftdir 
> /usr/src/thrift RPM TBZ2
> -- 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
> -- Check size of void*
> -- Check size of void* - 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
> -- Use thread library: -lpthread
> -- Python Shell Version: Python 2.6.6
> -- Found Python-devel: /usr/lib64/libpython2.6.so
> -- Looking for required boost libraries...
> -- GCC version: 4.4.7
> -- Boost version: 1_44
> -- Boost thread lib: /usr/local/lib/libboost_thread.so
> -- Boost program options lib: /usr/local/lib/libboost_program_options.so
> -- Boost filesystem lib: /usr/local/lib/libboost_filesystem.so
> -- Boost iostreams lib: /usr/local/lib/libboost_iostreams.so
> -- Boost python lib: BOOST_PYTHON_LIB-NOTFOUND
> -- Boost chrono lib: BOOST_CHRONO_LIB-NOTFOUND
> -- Boost system lib: /usr/local/lib/libboost_system.so
> -- Boost lib dir: /usr/local/lib
> -- Boost libs: 
> /usr/local/lib/libboost_iostreams.so;/usr/local/lib/libboost_program_options.so;/usr/local/lib/libboost_filesystem.so;/usr/local/lib/libboost_thread.so;/usr/local/lib/libboost_system.so
> -- Found BerkeleyDB: /usr/local/BerkeleyDB.4.8/lib/libdb_cxx.so
> -- Berkeley DB version: 4.8.26
> -- Found EXPAT: /usr/lib64/libexpat.so
> -- Found Editline: /usr/lib64/libedit.so
> -- Change Dir: 
> /hypertable/bin/src-utils/CMakeFiles/CMakeTmp/CMakeFiles/CMakeTmp
>
> Run Build Command:/usr/bin/gmake "cmTryCompileExec/fast"
> /usr/bin/gmake -f CMakeFiles/cmTryCompileExec.dir/build.make 
> CMakeFiles/cmTryCompileExec.dir/build
> gmake[1]: Entering directory 
> `/hypertable/bin/src-utils/CMakeFiles/CMakeTmp/CMakeFiles/CMakeTmp'
> /usr/bin/cmake -E cmake_progress_report 
> /hypertable/bin/src-utils/CMakeFiles/CMakeTmp/CMakeFiles/CMakeTmp/CMakeFiles 
> 1
> Building CXX object CMakeFiles/cmTryCompileExec.dir/CheckEditline.cc.o
> /usr/bin/c++     -o CMakeFiles/cmTryCompileExec.dir/CheckEditline.cc.o -c 
> /hypertable/cmake/CheckEditline.cc
> In file included from /hypertable/cmake/CheckEditline.cc:20:
> /usr/include/editline/readline.h:91: error: expected initializer before 
> ‘*’ token
> /usr/include/editline/readline.h:92: error: expected initializer before 
> ‘*’ token
> /usr/include/editline/readline.h:121: error: ‘FILE’ was not declared in 
> this scope
> /usr/include/editline/readline.h:121: error: expected primary-expression 
> before ‘)’ token
> /hypertable/cmake/CheckEditline.cc: In function ‘int main()’:
> /hypertable/cmake/CheckEditline.cc:25: error: ‘el_wset’ was not declared 
> in this scope
> /hypertable/cmake/CheckEditline.cc:27: error: ‘el_wgets’ was not declared 
> in this scope
> gmake[1]: Leaving directory 
> `/hypertable/bin/src-utils/CMakeFiles/CMakeTmp/CMakeFiles/CMakeTmp'
> gmake[1]: *** [CMakeFiles/cmTryCompileExec.dir/CheckEditline.cc.o] Error 1
> gmake: *** [cmTryCompileExec/fast] Error 2
>
> CMake Error at cmake/FindEditline.cmake:62 (message):
>   Please fix the Editline installation and try again.  Make sure you build
>   libedit with --enable-widec!
> Call Stack (most recent call first):
>   CMakeLists.txt:115 (find_package)
>
>
> -- Configuring incomplete, errors occurred!
> CPack Error: CPack project name not specified
> -- Use thread library: -lpthread
> -- Python Shell Version: Python 2.6.6
> -- Found Python-devel: /usr/lib64/libpython2.6.so
> -- Looking for required boost libraries...
> -- GCC version: 4.4.7
> -- Boost version: 1_44
> -- Boost thread lib: /usr/local/lib/libboost_thread.so
> -- Boost program options lib: /usr/local/lib/libboost_program_options.so
> -- Boost filesystem lib: /usr/local/lib/libboost_filesystem.so
> -- Boost iostreams lib: /usr/local/lib/libboost_iostreams.so
> -- Boost python lib: BOOST_PYTHON_LIB-NOTFOUND
> -- Boost chrono lib: BOOST_CHRONO_LIB-NOTFOUND
> -- Boost system lib: /usr/local/lib/libboost_system.so
> -- Boost lib dir: /usr/local/lib
> -- Boost libs: 
> /usr/local/lib/libboost_iostreams.so;/usr/local/lib/libboost_program_options.so;/usr/local/lib/libboost_filesystem.so;/usr/local/lib/libboost_thread.so;/usr/local/lib/libboost_system.so
> -- Found BerkeleyDB: /usr/local/BerkeleyDB.4.8/lib/libdb_cxx.so
> -- Berkeley DB version: 4.8.26
> -- Found Editline: /usr/lib64/libedit.so
> -- Change Dir: 
> /hypertable/bin/src-utils/CMakeFiles/CMakeTmp/CMakeFiles/CMakeTmp
>
> Run Build Command:/usr/bin/gmake "cmTryCompileExec/fast"
> /usr/bin/gmake -f CMakeFiles/cmTryCompileExec.dir/build.make 
> CMakeFiles/cmTryCompileExec.dir/build
> gmake[1]: Entering directory 
> `/hypertable/bin/src-utils/CMakeFiles/CMakeTmp/CMakeFiles/CMakeTmp'
> /usr/bin/cmake -E cmake_progress_report 
> /hypertable/bin/src-utils/CMakeFiles/CMakeTmp/CMakeFiles/CMakeTmp/CMakeFiles 
> 1
> Building CXX object CMakeFiles/cmTryCompileExec.dir/CheckEditline.cc.o
> /usr/bin/c++     -o CMakeFiles/cmTryCompileExec.dir/CheckEditline.cc.o -c 
> /hypertable/cmake/CheckEditline.cc
> In file included from /hypertable/cmake/CheckEditline.cc:20:
> /usr/include/editline/readline.h:91: error: expected initializer before 
> ‘*’ token
> /usr/include/editline/readline.h:92: error: expected initializer before 
> ‘*’ token
> /usr/include/editline/readline.h:121: error: ‘FILE’ was not declared in 
> this scope
> /usr/include/editline/readline.h:121: error: expected primary-expression 
> before ‘)’ token
> /hypertable/cmake/CheckEditline.cc: In function ‘int main()’:
> /hypertable/cmake/CheckEditline.cc:25: error: ‘el_wset’ was not declared 
> in this scope
> /hypertable/cmake/CheckEditline.cc:27: error: ‘el_wgets’ was not declared 
> in this scope
> gmake[1]: Leaving directory 
> `/hypertable/bin/src-utils/CMakeFiles/CMakeTmp/CMakeFiles/CMakeTmp'
> gmake[1]: *** [CMakeFiles/cmTryCompileExec.dir/CheckEditline.cc.o] Error 1
> gmake: *** [cmTryCompileExec/fast] Error 2
>
> CMake Error at cmake/FindEditline.cmake:62 (message):
>   Please fix the Editline installation and try again.  Make sure you build
>   libedit with --enable-widec!
> Call Stack (most recent call first):
>   CMakeLists.txt:115 (find_package)
>
>
> the head file find two as follows:
> [root@hyt210 src-utils]# find /usr -name readline.h
> /usr/include/readline/readline.h
> /usr/include/editline/readline.h
>
>
> the lib as follws:
> [root@hyt210 src-utils]# find /usr -name libedit.so
> /usr/lib64/libedit.so
>
> why? thank you for any advice.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Hypertable Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/hypertable-dev.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to