Laurent Tarrisse <laur...@mbdsys.com> writes:

> What is your os ?

GNU/Linux

> Is include dir found ?

Yes. 

> Can you verify that all boost libs are installed in the same directory
> ?

Yes, I have no libboost* files anywhere else than in /lib

> with [..] message() function in FindBoost.cmake [..] test values

Right, I inserted this code right before the "if (BOOST_INCLUDE_DIRS AND
BOOST_LIBRARIES)" of FindBoost.cmake:

message(STATUS "--------DEBUG START---------")
message(STATUS "BOOST_INCLUDE_DIR=${BOOST_INCLUDE_DIR}")

if(BOOST_DATE_TIME_FOUND)
message(STATUS "BOOST_DATE_TIME_FOUND=TRUE")
else(NOT BOOST_DATE_TIME_FOUND)
message(STATUS "BOOST_DATE_TIME_FOUND=FALSE")
endif(BOOST_DATE_TIME_FOUND)

if(BOOST_FILESYSTEM_FOUND)
message(STATUS "BOOST_FILESYSTEM_FOUND=TRUE")
else(NOT BOOST_FILESYSTEM_FOUND)
message(STATUS "BOOST_FILESYSTEM_FOUND=FALSE")
endif(BOOST_FILESYSTEM_FOUND)

if(BOOST_IOSTREAMS_FOUND)
message(STATUS "BOOST_IOSTREAMS_FOUND=TRUE")
else(NOT BOOST_IOSTREAMS_FOUND)
message(STATUS "BOOST_IOSTREAMS_FOUND=FALSE")
endif(BOOST_IOSTREAMS_FOUND)

if(BOOST_PRG_EXEC_MONITOR_FOUND)
message(STATUS "BOOST_PRG_EXEC_MONITOR_FOUND=TRUE")
else(NOT BOOST_PRG_EXEC_MONITOR_FOUND)
message(STATUS "BOOST_PRG_EXEC_MONITOR_FOUND=FALSE")
endif(BOOST_PRG_EXEC_MONITOR_FOUND)

if(BOOST_PROGRAM_OPTIONS_FOUND)
message(STATUS "BOOST_PROGRAM_OPTIONS_FOUND=TRUE")
else(NOT BOOST_PROGRAM_OPTIONS_FOUND)
message(STATUS "BOOST_PROGRAM_OPTIONS_FOUND=FALSE")
endif(BOOST_PROGRAM_OPTIONS_FOUND)

if(BOOST_PYTHON_FOUND)
message(STATUS "BOOST_PYTHON_FOUND=TRUE")
else(NOT BOOST_PYTHON_FOUND)
message(STATUS "BOOST_PYTHON_FOUND=FALSE")
endif(BOOST_PYTHON_FOUND)

if(BOOST_REGEX_FOUND)
message(STATUS "BOOST_REGEX_FOUND=TRUE")
else(NOT BOOST_REGEX_FOUND)
message(STATUS "BOOST_REGEX_FOUND=FALSE")
endif(BOOST_REGEX_FOUND)

if(BOOST_SERIALIZATION_FOUND)
message(STATUS "BOOST_SERIALIZATION_FOUND=TRUE")
else(NOT BOOST_SERIALIZATION_FOUND)
message(STATUS "BOOST_SERIALIZATION_FOUND=FALSE")
endif(BOOST_SERIALIZATION_FOUND)

if(BOOST_SIGNALS_FOUND)
message(STATUS "BOOST_SIGNALS_FOUND=TRUE")
else(NOT BOOST_SIGNALS_FOUND)
message(STATUS "BOOST_SIGNALS_FOUND=FALSE")
endif(BOOST_SIGNALS_FOUND)

if(BOOST_TEST_EXEC_MONITOR_FOUND)
message(STATUS "BOOST_TEST_EXEC_MONITOR_FOUND=TRUE")
else(NOT BOOST_TEST_EXEC_MONITOR_FOUND)
message(STATUS "BOOST_TEST_EXEC_MONITOR_FOUND=FALSE")
endif(BOOST_TEST_EXEC_MONITOR_FOUND)

if(BOOST_THREAD-MT_FOUND)
message(STATUS "BOOST_THREAD-MT_FOUND=TRUE")
else(NOT BOOST_THREAD-MT_FOUND)
message(STATUS "BOOST_THREAD-MT_FOUND=FALSE")
endif(BOOST_THREAD-MT_FOUND)

if(BOOST_UNIT_TEST_FRAMEWORK_FOUND)
message(STATUS "BOOST_UNIT_TEST_FRAMEWORK_FOUND=TRUE")
else(NOT BOOST_UNIT_TEST_FRAMEWORK_FOUND)
message(STATUS "BOOST_UNIT_TEST_FRAMEWORK_FOUND=FALSE")
endif(BOOST_UNIT_TEST_FRAMEWORK_FOUND)

if(BOOST_WSERIALIZATION_FOUND)
message(STATUS "BOOST_WSERIALIZATION_FOUND=TRUE")
else(NOT BOOST_WSERIALIZATION_FOUND)
message(STATUS "BOOST_WSERIALIZATION_FOUND=FALSE")
endif(BOOST_WSERIALIZATION_FOUND)

message(STATUS "--------DEBUG END---------")

..which resulted in: 

CMake Warning (dev) at owbuild/owbuild/CMakeLists.txt:9 (include):
  Policy CMP0011 is not set: Included scripts do automatic cmake_policy PUSH
  and POP.  Run "cmake --help-policy CMP0011" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  The included script

    /home/b0ef/.pkg/qutecom-2.2-HG/owbuild/owbuild/OWDefaultConfig.cmake

  affects policy settings.  CMake is implying the NO_POLICY_SCOPE option for
  compatibility, so the effects are applied to the including context.
Call Stack (most recent call first):
  CMakeLists-owbuild.txt:13 (include)
  CMakeLists.txt:1 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at CMakeLists-owbuild.txt:13 (include):
  Policy CMP0011 is not set: Included scripts do automatic cmake_policy PUSH
  and POP.  Run "cmake --help-policy CMP0011" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  The included script

    /home/b0ef/.pkg/qutecom-2.2-HG/owbuild/owbuild/CMakeLists.txt

  affects policy settings.  CMake is implying the NO_POLICY_SCOPE option for
  compatibility, so the effects are applied to the including context.
Call Stack (most recent call first):
  CMakeLists.txt:1 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- OS: Linux-2.6.27.4opteronize
-- Processor: i686
-- Compiler: /usr/bin/gcc
-- Build type: Debug
-- Build tool: /usr/bin/make
-- Build directory: /home/b0ef/.pkg/qutecom-2.2-HG/qutecom-build/debug
-- svn revision: ade9d76bcb94
-- Time: 20090705181800
CMake Warning (dev) at CMakeLists.txt:1 (include):
  Policy CMP0011 is not set: Included scripts do automatic cmake_policy PUSH
  and POP.  Run "cmake --help-policy CMP0011" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  The included script

    /home/b0ef/.pkg/qutecom-2.2-HG/CMakeLists-owbuild.txt

  affects policy settings.  CMake is implying the NO_POLICY_SCOPE option for
  compatibility, so the effects are applied to the including context.
This warning is for project developers.  Use -Wno-dev to suppress it.

Doing find_package(PkgConfig)
_AVCODEC_INCLUDEDIR = /usr/include
_AVCODEC_LIBDIR = /usr/lib
_AVCODEC_LIBS = avcodec
_AVCODEC_LIBS_L = 
_AVCODEC_LIBS_PATH = 
AVCODEC_INCLUDE_DIR = /usr/include/libavcodec
-- Found FFMPEG: 
/usr/lib/libavcodec.so;/usr/lib/libavutil.so;/usr/lib/libavformat.so;/usr/lib/libswscale.so
-- found boost includes in /usr/include/boost-1_39
-- found boost libs in TMP-NOTFOUND
-- --------DEBUG START---------
-- BOOST_INCLUDE_DIR=/usr/include/boost-1_39
-- BOOST_DATE_TIME_FOUND=FALSE
-- BOOST_FILESYSTEM_FOUND=FALSE
-- BOOST_IOSTREAMS_FOUND=FALSE
-- BOOST_PRG_EXEC_MONITOR_FOUND=FALSE
-- BOOST_PROGRAM_OPTIONS_FOUND=FALSE
-- BOOST_PYTHON_FOUND=FALSE
-- BOOST_REGEX_FOUND=FALSE
-- BOOST_SERIALIZATION_FOUND=FALSE
-- BOOST_SIGNALS_FOUND=FALSE
-- BOOST_TEST_EXEC_MONITOR_FOUND=FALSE
-- BOOST_THREAD-MT_FOUND=FALSE
-- BOOST_UNIT_TEST_FRAMEWORK_FOUND=FALSE
-- BOOST_WSERIALIZATION_FOUND=FALSE
-- --------DEBUG END---------
CMake Error at owbuild/FindBoost.cmake:634 (message):
  Could not find Boost
Call Stack (most recent call first):
  libs/3rdparty/boost/CMakeLists.txt:2 (find_package)


-- Configuring incomplete, errors occurred!

Also, in my FindBoost.cmake file I've edited the
BOOST_LIBRARIES_SEARCH_DIR to include /lib:  

    set(BOOST_LIBRARIES_SEARCH_DIRS
        $ENV{BOOSTLIBDIR}
       /lib
      /usr/lib
      /usr/local/lib
      /opt/local/lib
 #     /sw/lib
    )

I'm quite stumped what to do next. It seems, from looking at the file,
that this variable should be enough to find boost. 

I've also export the variable BOOST_LIBRARIES_SUFFIX in the shell: 

export BOOST_LIBRARIES_SUFFIX="-gcc43-mt-1_39"

, but also tried to set this in the file: 

    set(BOOST_LIBRARIES_SUFFIXES
          -gcc43-mt-1_39
          -mt-1_39
           )

..at line 66. 

-- 
Esben Stien is b...@e     s      a             
         http://www. s     t    n m
          irc://irc.  b  -  i  .   e/%23contact
           sip:b0ef@   e     e 
           jid:b0ef@    n     n
_______________________________________________
QuteCom-dev mailing list
QuteCom-dev@lists.qutecom.org
http://lists.qutecom.org/mailman/listinfo/qutecom-dev

Reply via email to