Thanks Michael! This is a big help. I will fold in these changes with my
next checkin.
- Doug
On Thu, Nov 20, 2008 at 9:42 AM, linuxdude <[EMAIL PROTECTED]>wrote:
>
> I got it to compile all the cc's now! I think you are using an older
> version of cmake. I needed to change a few things in the cmake files
> to get this to work. In hypertable/CMakeList.txt I had to add the
> components to find_package command
> find_package(Boost REQUIRED COMPONENTS program_options thread
> iostreams)
> Also after that in the CMakeList.txt I had to set BOOST_LIBS to $
> {Boost_LIBRARIES} so that in src/cc/Comm/CMakeLists.txt it would
> recognize BOOST_LIBS
> set (BOOST_LIBS ${Boost_LIBRARIES})
>
> Finally, I had to have the
> target_link_libraries(code_search_and_replace HyperCommon $
> {BOOST_LIBS})
> in src/cc/Comm/CMakeLists.txt file so that it would recognize these
> components.
>
> Thanks for the help. I hope this helps fix the buildsystem for the
> newer version of boost I have (1_37) which I had to add to the cmake/
> FindBoost.cmake
> set( _boost_TEST_VERSIONS ${Boost_ADDITIONAL_VERSIONS}
> "1.36.1" "1.36.0" "1.36" "1.35.1" "1.35.0" "1.35" "1.34.1"
> "1.34.0" "1.37.0" "1.37"
> "1.34" "1.33.1" "1.33.0" "1.33" )
>
> :-D
>
> On Nov 19, 10:43 pm, "Doug Judd" <[EMAIL PROTECTED]> wrote:
> > Try commenting out the lines that build that executable and see if you
> > manage to get farther. For example:
> >
> > # handy utils
> > #add_executable(code_search_and_replace code_search_and_replace.cc)
> > #target_link_libraries(code_search_and_replace HyperCommon)
> >
> > This program is not needed anyway.
> >
> > - Doug
> >
> > On Wed, Nov 19, 2008 at 6:50 PM, linuxdude <[EMAIL PROTECTED]
> >wrote:
> >
> >
> >
> > > Thanks for the help!
> > > Here is output of uname -a
> > > Linux eric2 2.6.9-55.0.9.EL_lustre.1.6.4custom #20 SMP Wed Dec 12
> > > 10:58:22 CST 2007 x86_64 x86_64 x86_64 GNU/Linux
> > > and here is the complete make output
> > > /work/mmicel2/cmake/bin/cmake -H/home/mmicel2/hypertable/
> > > hypertable-0.9.0.12-alpha -B/home/mmicel2/hypertable/
> > > hypertable-0.9.0.12-alpha/build --check-build-system CMakeFiles/
> > > Makefile.cmake 0
> > > -- 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
> > > -- Use thread library: -lpthread
> > > -- Found ZLIB: /usr/lib64/libz.so
> > > -- Boost version: 1.37.0
> > > -- Found the following Boost libraries:
> > > -- Found Log4cpp: /work/mmicel2/log4cpp/lib/liblog4cpp.so
> > > -- Found EXPAT: /usr/lib64/libexpat.so
> > > -- Looking for doxygen...
> > > -- Looking for doxygen... - found /usr/bin/doxygen
> > > -- Looking for dot tool...
> > > -- Looking for dot tool... - NOT found
> > > -- Not Found Tcmalloc: Tcmalloc_LIBRARY-NOTFOUND
> > > -- /work/mmicel2/db/include
> > > -- /work/mmicel2/db/lib/libdb_cxx.so
> > > -- Found BerkeleyDB: /work/mmicel2/db/lib/libdb_cxx.so
> > > -- Berkeley DB version: 4.7.25
> > > -- Found Readline libraries: /usr/lib64/libreadline.so;/usr/lib64/
> > > libncurses.so
> > > -- Found PythonLibs: /usr/lib64/python2.3/config/libpython2.3.a
> > > -- Java headers found at: /work/mmicel2/jdk1.6.0_07/include
> > > -- Hadoop includes not found. Please set HADOOP_INCLUDE_PATH variable
> > > -- Hadoop libraries not found. Please set HADOOP_LIB_PATH variable
> > > -- You decided not to build shared libraries. MapReduce will be
> > > disabled
> > > -- MapReduce support disabled.
> > > -- Configuring done
> > > -- Generating done
> > > -- Build files have been written to: /home/mmicel2/hypertable/
> > > hypertable-0.9.0.12-alpha/build
> > > /work/mmicel2/cmake/bin/cmake -E cmake_progress_start /home/mmicel2/
> > > hypertable/hypertable-0.9.0.12-alpha/build/CMakeFiles /home/mmicel2/
> > > hypertable/hypertable-0.9.0.12-alpha/build/CMakeFiles/progress.make
> > > make -f CMakeFiles/Makefile2 all
> > > make[1]: Entering directory `/home/mmicel2/hypertable/
> > > hypertable-0.9.0.12-alpha/build'
> > > make[2]: Entering directory `/home/mmicel2/hypertable/
> > > hypertable-0.9.0.12-alpha/build'
> > > make[2]: Leaving directory `/home/mmicel2/hypertable/
> > > hypertable-0.9.0.12-alpha/build'
> > > make[2]: Entering directory `/home/mmicel2/hypertable/
> > > hypertable-0.9.0.12-alpha/build'
> > > [ 0%] Building CXX object src/cc/Common/CMakeFiles/HyperCommon.dir/
> > > Checksum.o
> > > [ 0%] Building CXX object src/cc/Common/CMakeFiles/HyperCommon.dir/
> > > CrashTest.o
> > > In file included from /home/mmicel2/hypertable/hypertable-0.9.0.12-
> > > alpha/src/cc/Common/CrashTest.cc:24:
> > > /home/mmicel2/hypertable/hypertable-0.9.0.12-alpha/src/cc/Common/
> > > Error.h:205:34: warning: anonymous variadic macros were introduced in
> > > C99
> > > /home/mmicel2/hypertable/hypertable-0.9.0.12-alpha/src/cc/Common/
> > > Error.h:209:41: warning: anonymous variadic macros were introduced in
> > > C99
> > > In file included from /home/mmicel2/hypertable/hypertable-0.9.0.12-
> > > alpha/src/cc/Common/CrashTest.cc:25:
> > > /home/mmicel2/hypertable/hypertable-0.9.0.12-alpha/src/cc/Common/
> > > Logger.h:64:40: warning: anonymous variadic macros were introduced in
> > > C99
> > > /home/mmicel2/hypertable/hypertable-0.9.0.12-alpha/src/cc/Common/
> > > Logger.h:131:24: warning: anonymous variadic macros were introduced in
> > > C99
> > > /home/mmicel2/hypertable/hypertable-0.9.0.12-alpha/src/cc/Common/
> > > Logger.h:143:23: warning: anonymous variadic macros were introduced in
> > > C99
> > > /home/mmicel2/hypertable/hypertable-0.9.0.12-alpha/src/cc/Common/
> > > Logger.h:153:25: warning: anonymous variadic macros were introduced in
> > > C99
> > > /home/mmicel2/hypertable/hypertable-0.9.0.12-alpha/src/cc/Common/
> > > Logger.h:163:23: warning: anonymous variadic macros were introduced in
> > > C99
> > > /home/mmicel2/hypertable/hypertable-0.9.0.12-alpha/src/cc/Common/
> > > Logger.h:173:24: warning: anonymous variadic macros were introduced in
> > > C99
> > > /home/mmicel2/hypertable/hypertable-0.9.0.12-alpha/src/cc/Common/
> > > Logger.h:183:23: warning: anonymous variadic macros were introduced in
> > > C99
> > > /home/mmicel2/hypertable/hypertable-0.9.0.12-alpha/src/cc/Common/
> > > Logger.h:193:24: warning: anonymous variadic macros were introduced in
> > > C99
> > > /home/mmicel2/hypertable/hypertable-0.9.0.12-alpha/src/cc/Common/
> > > Logger.h:203:24: warning: anonymous variadic macros were introduced in
> > > C99
> > > /home/mmicel2/hypertable/hypertable-0.9.0.12-alpha/src/cc/Common/
> > > Logger.h:221:24: warning: anonymous variadic macros were introduced in
> > > C99
> > > [ 0%] Building CXX object src/cc/Common/CMakeFiles/HyperCommon.dir/
> > > code_search_and_replace.o
> > > [ 1%] Building CXX object src/cc/Common/CMakeFiles/HyperCommon.dir/
> > > Config.o
> > > In file included from /home/mmicel2/hypertable/hypertable-0.9.0.12-
> > > alpha/src/cc/Common/Logger.h:24,
> > > from /home/mmicel2/hypertable/hypertable-0.9.0.12-
> > > alpha/src/cc/Common/Config.cc:24:
> > > /home/mmicel2/hypertable/hypertable-0.9.0.12-alpha/src/cc/Common/
> > > Error.h:205:34: warning: anonymous variadic macros were introduced in
> > > C99
> > > /home/mmicel2/hypertable/hypertable-0.9.0.12-alpha/src/cc/Common/
> > > Error.h:209:41: warning: anonymous variadic macros were introduced in
> > > C99
> > > In file included from /home/mmicel2/hypertable/hypertable-0.9.0.12-
> > > alpha/src/cc/Common/Config.cc:24:
> > > /home/mmicel2/hypertable/hypertable-0.9.0.12-alpha/src/cc/Common/
> > > Logger.h:64:40: warning: anonymous variadic macros were introduced in
> > > C99
> > > /home/mmicel2/hypertable/hypertable-0.9.0.12-alpha/src/cc/Common/
> > > Logger.h:131:24: warning: anonymous variadic macros were introduced in
> > > C99
> > > /home/mmicel2/hypertable/hypertable-0.9.0.12-alpha/src/cc/Common/
> > > Logger.h:143:23: warning: anonymous variadic macros were introduced in
> > > C99
> > > /home/mmicel2/hypertable/hypertable-0.9.0.12-alpha/src/cc/Common/
> > > Logger.h:153:25: warning: anonymous variadic macros were introduced in
> > > C99
> > > /home/mmicel2/hypertable/hypertable-0.9.0.12-alpha/src/cc/Common/
> > > Logger.h:163:23: warning: anonymous variadic macros were introduced in
> > > C99
> > > /home/mmicel2/hypertable/hypertable-0.9.0.12-alpha/src/cc/Common/
> > > Logger.h:173:24: warning: anonymous variadic macros were introduced in
> > > C99
> > > /home/mmicel2/hypertable/hypertable-0.9.0.12-alpha/src/cc/Common/
> > > Logger.h:183:23: warning: anonymous variadic macros were introduced in
> > > C99
> > > /home/mmicel2/hypertable/hypertable-0.9.0.12-alpha/src/cc/Common/
> > > Logger.h:193:24: warning: anonymous variadic macros were introduced in
> > > C99
> > > /home/mmicel2/hypertable/hypertable-0.9.0.12-alpha/src/cc/Common/
> > > Logger.h:203:24: warning: anonymous variadic macros were introduced in
> > > C99
> > > /home/mmicel2/hypertable/hypertable-0.9.0.12-alpha/src/cc/Common/
> > > Logger.h:221:24: warning: anonymous variadic macros were introduced in
> > > C99
> > > [ 1%] Building CXX object src/cc/Common/CMakeFiles/HyperCommon.dir/
> > > Error.o
> > > In file included from /home/mmicel2/hypertable/hypertable-0.9.0.12-
> > > alpha/src/cc/Common/Error.cc:25:
> > > /home/mmicel2/hypertable/hypertable-0.9.0.12-alpha/src/cc/Common/
> > > Error.h:205:34: warning: anonymous variadic macros were introduced in
> > > C99
> > > /home/mmicel2/hypertable/hypertable-0.9.0.12-alpha/src/cc/Common/
> > > Error.h:209:41: warning: anonymous variadic macros were introduced in
> > > C99
> > > [ 1%] Building CXX object src/cc/Common/CMakeFiles/HyperCommon.dir/
> > > FileUtils.o
> > > In file included from /home/mmicel2/hypertable/hypertable-0.9.0.12-
> > > alpha/src/cc/Common/Logger.h:24,
> > > from /home/mmicel2/hypertable/hypertable-0.9.0.12-
> > > alpha/src/cc/Common/FileUtils.cc:47:
> > > /home/mmicel2/hypertable/hypertable-0.9.0.12-alpha/src/cc/Common/
> > > Error.h:205:34: warning: anonymous variadic macros were introduced in
> > > C99
> > > /home/mmicel2/hypertable/hypertable-0.9.0.12-alpha/src/cc/Common/
> > > Error.h:209:41: warning: anonymous variadic macros were introduced in
> > > C99
> > > In file included from /home/mmicel2/hypertable/hypertable-0.9.0.12-
> > > alpha/src/cc/Common/FileUtils.cc:47:
> > > /home/mmicel2/hypertable/hypertable-0.9.0.12-alpha/src/cc/Common/
> > > Logger.h:64:40: warning: anonymous variadic macros were introduced in
> > > C99
> > > /home/mmicel2/hypertable/hypertable-0.9.0.12-alpha/src/cc/Common/
> > > Logger.h:131:24: warning: anonymous variadic macros were introduced in
> > > C99
> > > /home/mmicel2/hypertable/hypertable-0.9.0.12-alpha/src/cc/Common/
> > > Logger.h:143:23: warning: anonymous variadic macros were introduced in
> > > C99
> > > /home/mmicel2/hypertable/hypertable-0.9.0.12-alpha/src/cc/Common/
> > > Logger.h:153:25: warning: anonymous variadic macros were introduced in
> > > C99
> > > /home/mmicel2/hypertable/hypertable-0.9.0.12-alpha/src/cc/Common/
> > > Logger.h:163:23: warning: anonymous variadic macros were introduced in
> > > C99
> > > /home/mmicel2/hypertable/hypertable-0.9.0.12-alpha/src/cc/Common/
> >
> > ...
> >
> > read more ยป
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Hypertable Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/hypertable-dev?hl=en
-~----------~----~----~----~------~----~------~--~---