Project

General

Profile

Wt 3.3.1 build failure on FreeBSD 10.0 Release + Clang 3.3

Added by con abs about 10 years ago

Error message is:

'Wt/Http/Request' file not found. 

( when compiling wt/src/Wt/Http/Request.C )

If change #include "Wt/Http/Request" to #include "/home/me/wt-3.3.1/src/Wt/Http/Request", the compiler will begin to complaint about <boost/shared_ptr.hpp> not found( in wt/src/Wt/Http/Request ).

I guess someting error happend when generating project files using cmake. The boost library version is 1.55.0, and BOOST_VERSION is set to be 1_55, but cmake told me that "Boost < 1.54, WT_SIGNALS_IMPLEMENTATION = boost.signals recommended"

Everything goes well on FreeBSD 8.2+gcc4.2, FreeBSD 9.1+gcc4.2/clang3.1, until upgraded to FreeBSD 10.0 Release+clang 3.3

By the way, the installation guide for FreeBSD is out-dated. Those steps for enabling multithreading descripted in

http://redmine.webtoolkit.eu/projects/wt/wiki/Installing_Wt_on_FreeBSD is no longer needed ( perhaps since FreeBSD 8.2 Release)


Replies (8)

RE: Wt 3.3.1 build failure on FreeBSD 10.0 Release + Clang 3.3 - Added by Koen Deforche about 10 years ago

Hey,

It really goes wrong when you start from a freshly made build folder?

If so, can you attach the output of the 'cmake' command and include the generated CMakeCache.txt?

Regards,

koen

RE: Wt 3.3.1 build failure on FreeBSD 10.0 Release + Clang 3.3 - Added by con abs about 10 years ago

  • Locations:
    • wt source dir: ~/cms/wt
    • wt build dir: ~/cms/bin/wt
    • wt install dir: ~/local

<!-- -->

  • Shell scripts:

    • config-wt.sh mkdir -p ~/cms/bin/wt rm -rf ~/cms/bin/wt/* cd ~/cms/bin/wt cmake -DCMAKE_BUILD_TYPE=release -DCMAKE_INSTALL_PREFIX=~/local -DCONFIGDIR=~/local/etc/wt -DMULTI_THREADED=ON -DWEBUSER=www -DWEBGROUP=www -DUSE_SYSTEM_SQLITE3=ON -DBUILD_EXAMPLES=OFF -DBUILD_TESTS=OFF -DCONNECTOR_FCGI=OFF -DENABLE_FIREBIRD=OFF -DENABLE_GM=OFF -DENABLE_HARU=OFF -DENABLE_PANGO=OFF -DENABLE_POSTGRES=OFF -DENABLE_QT4=OFF -DBOOST_DIR=/usr/local -DBOOST_VERSION=1_55 ../../wt
    • build-wt.sh

<!-- -->

cd ~/cms/bin/wt
make && make install
  • Outputs:

    • config-wt.sh -- The C compiler identification is Clang 3.3.0 -- The CXX compiler identification is Clang 3.3.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/CC -- Check for working CXX compiler: /usr/bin/CC -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Png libraries not found - set PNG_PREFIX -- libharu libraries not found - set HARU_PREFIX -- Looking for connect -- Looking for connect - found -- Looking for sin -- Looking for sin - not found -- Looking for include file pthread.h -- Looking for include file pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not 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 ** Enabling multi threading. -- Boost < 1.54, WT_SIGNALS_IMPLEMENTATION = boost.signals recommended -- Selecting boost.signals -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) ** Disabling PDF support (WPdfImage, WPdfRenderer): requires libharu. ** Disabling raster image support (WRasterImage): requires graphicsmagick. ** Disabling advanced font rendering support: requires libpango. -- Found Sqlite3 header file in /usr/local/include -- Found Sqlite3 libraries: optimized;/usr/local/lib/libsqlite3.so;debug;/usr/local/lib/libsqlite3.so ** Wt::Dbo: building SQLite3 backend. ** Wt::Dbo: not building Postgres backend. ** Wt::Dbo: not building Firebird backend. ** Wt::Dbo: not building MySQL backend. Indicate the location of your mariadb or mysqlclient installation using -DMYSQL_PREFIX=... and the library to search for (e.g. mariadb or mysqlclient) using -DMYSQL_LIBRARY=... ** Disabling ISAPI. ** Disabling FastCGI connector. ** Enabling built-in httpd. -- Configuring done -- Generating done -- Build files have been written to: ~/cms/bin/wt
    • build-wt.sh
      [ 0%] Generating Plain_html.C
      [ 0%] Generating Boot_html.C
      [ 0%] Generating Hybrid_html.C
      [ 1%] Generating Boot_js.C
      [ 1%] Generating Wt_js.C
      [ 1%] Generating Wt_xml.C
      [ 1%] Generating AuthStrings_xml.C
      [ 2%] Generating AuthBootstrapTheme_xml.C
      [ 2%] Generating AuthCssTheme_xml.C
      [ 2%] Generating JQuery_js.C
      Scanning dependencies of target wt
      /home/abscon/cms/wt/src/Wt/Http/Request.C:12:10: fatal error: 'Wt/Http/Request' file not found
      #include "Wt/Http/Request"
      ^
      1 error generated.
      *** Error code 1

      Stop.
      make[2]: stopped in ~/cms/bin/wt
      *** Error code 1
      
      Stop.
      make[1]: stopped in ~/cms/bin/wt
      *** Error code 1
      
      Stop.
      make: stopped in ~/cms/bin/wt
      

CMakeCache.txt - Added by con abs about 10 years ago

# This is the CMakeCache file.
# For build in directory: /home/abscon/cms/bin/wt
# It was generated by CMake: /usr/local/bin/cmake
# You can edit this file to change values found and used by cmake.
# If you do not want to change any of the values, simply exit the editor.
# If you do want to change a value, simply edit, save, and exit the editor.
# The syntax for the file is as follows:
# KEY:TYPE=VALUE
# KEY is the name of a variable in the cache.
# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!.
# VALUE is the current value for the KEY.

########################
# EXTERNAL cache entries
########################

//Missing description
ASCIIDOC_EXECUTABLE:FILEPATH=ASCIIDOC_EXECUTABLE-NOTFOUND

//Missing description
ASCIIDOC_FOUND:BOOL=NO

//Missing description
BOOST_DIR:UNINITIALIZED=/usr/local

//Missing description
BOOST_DT_LIB:FILEPATH=/usr/local/lib/libboost_date_time.so

//Missing description
BOOST_FS_LIB:FILEPATH=/usr/local/lib/libboost_filesystem.so

//Missing description
BOOST_INCLUDE_DIRS:PATH=/usr/local/include

//Missing description
BOOST_PO_LIB:FILEPATH=/usr/local/lib/libboost_program_options.so

//Missing description
BOOST_PREFIX:PATH=/usr/local

//Missing description
BOOST_RANDOM_LIB:FILEPATH=/usr/local/lib/libboost_random.so

//Missing description
BOOST_REGEX_LIB:FILEPATH=/usr/local/lib/libboost_regex.so

//Missing description
BOOST_SIGNALS_LIB:FILEPATH=/usr/local/lib/libboost_signals.so

//Missing description
BOOST_SYSTEM_LIB:FILEPATH=/usr/local/lib/libboost_system.so

//Missing description
BOOST_THREAD_LIB:FILEPATH=/usr/local/lib/libboost_thread.so

//Missing description
BOOST_VERSION:UNINITIALIZED=1_55

//Missing description
BUILD_EXAMPLES:BOOL=OFF

//Missing description
BUILD_TESTS:BOOL=OFF

//Missing description
CMAKE_AR:FILEPATH=/usr/bin/ar

//Missing description
CMAKE_BACKWARDS_COMPATIBILITY:STRING=2.4

//Missing description
CMAKE_BUILD_TYPE:STRING=release

//Missing description
CMAKE_COLOR_MAKEFILE:BOOL=ON

//Missing description
CMAKE_CXX_COMPILER:FILEPATH=/usr/bin/CC

//Missing description
CMAKE_CXX_FLAGS:STRING=

//Missing description
CMAKE_CXX_FLAGS_DEBUG:STRING=-g

//Missing description
CMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG

//Missing description
CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG

//Missing description
CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG

//Missing description
CMAKE_C_COMPILER:FILEPATH=/usr/bin/cc

//Missing description
CMAKE_C_FLAGS:STRING=

//Missing description
CMAKE_C_FLAGS_DEBUG:STRING=-g

//Missing description
CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG

//Missing description
CMAKE_C_FLAGS_RELEASE:STRING=-O3 -DNDEBUG

//Missing description
CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG

//Missing description
CMAKE_EXE_LINKER_FLAGS:STRING=' '

//Missing description
CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=

//Missing description
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=

//Missing description
CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=

//Missing description
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=

//Missing description
CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=OFF

//Missing description
CMAKE_INSTALL_PREFIX:PATH=/home/abscon/local

//Missing description
CMAKE_LINKER:FILEPATH=/usr/bin/ld

//Missing description
CMAKE_MAKE_PROGRAM:FILEPATH=/usr/bin/make

//Missing description
CMAKE_MODULE_LINKER_FLAGS:STRING=' '

//Missing description
CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=

//Missing description
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=

//Missing description
CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=

//Missing description
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=

//Missing description
CMAKE_NM:FILEPATH=/usr/bin/nm

//Missing description
CMAKE_OBJCOPY:FILEPATH=/usr/bin/objcopy

//Missing description
CMAKE_OBJDUMP:FILEPATH=/usr/bin/objdump

//Missing description
CMAKE_PROJECT_NAME:STATIC=WT

//Missing description
CMAKE_RANLIB:FILEPATH=/usr/bin/ranlib

//Missing description
CMAKE_SHARED_LINKER_FLAGS:STRING=' '

//Missing description
CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=

//Missing description
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=

//Missing description
CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=

//Missing description
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=

//Missing description
CMAKE_SKIP_INSTALL_RPATH:BOOL=NO

//Missing description
CMAKE_SKIP_RPATH:BOOL=NO

//Missing description
CMAKE_STATIC_LINKER_FLAGS:STRING=

//Missing description
CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING=

//Missing description
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING=

//Missing description
CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING=

//Missing description
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING=

//Missing description
CMAKE_STRIP:FILEPATH=/usr/bin/strip

//Missing description
CMAKE_USE_RELATIVE_PATHS:BOOL=OFF

//Missing description
CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE

//Missing description
CONFIGDIR:UNINITIALIZED=~/local/etc/wt

//Missing description
CONFIGURATION:PATH=/home/abscon/local/etc/wt/wt_config.xml

//Missing description
CONNECTOR_FCGI:BOOL=OFF

//Missing description
CONNECTOR_HTTP:BOOL=ON

//Missing description
DEBUG:BOOL=OFF

//Missing description
DEBUG_LIB_POSTFIX:STRING=d

//Missing description
DL_LIB:FILEPATH=DL_LIB-NOTFOUND

//Missing description
DOXYGEN_DOT_EXECUTABLE:FILEPATH=DOXYGEN_DOT_EXECUTABLE-NOTFOUND

//Missing description
DOXYGEN_EXECUTABLE:FILEPATH=DOXYGEN_EXECUTABLE-NOTFOUND

//Missing description
ENABLE_EXT:BOOL=OFF

//Missing description
ENABLE_FIREBIRD:BOOL=OFF

//Missing description
ENABLE_GM:BOOL=OFF

//Missing description
ENABLE_HARU:BOOL=OFF

//Missing description
ENABLE_MYSQL:BOOL=ON

//Missing description
ENABLE_PANGO:BOOL=OFF

//Missing description
ENABLE_POSTGRES:BOOL=OFF

//Missing description
ENABLE_QT4:BOOL=OFF

//Missing description
ENABLE_SQLITE:BOOL=ON

//Missing description
ENABLE_SSL:BOOL=ON

//Missing description
EXAMPLES_CONNECTOR:STRING=wthttp

//Missing description
EXECUTABLE_OUTPUT_PATH:PATH=

//Missing description
FCGIPP_LIB:FILEPATH=FCGIPP_LIB-NOTFOUND

//Missing description
FCGI_INCLUDE_DIR:PATH=FCGI_INCLUDE_DIR-NOTFOUND

//Missing description
FCGI_LIB:FILEPATH=FCGI_LIB-NOTFOUND

//Missing description
FCGI_PREFIX:PATH=/usr

//Missing description
FIREBIRD_PREFIX:PATH=/usr

//Missing description
GM_INCLUDE_DIR:PATH=GM_INCLUDE_DIR-NOTFOUND

//Missing description
GM_LIB:FILEPATH=GM_LIB-NOTFOUND

//Missing description
GM_PREFIX:PATH=/usr

//Missing description
HARU_INCLUDE_DIR:PATH=HARU_INCLUDE_DIR-NOTFOUND

//Missing description
HARU_LIB:FILEPATH=HARU_LIB-NOTFOUND

//Missing description
HARU_PREFIX:PATH=/usr

//Missing description
HTTP_WITH_ZLIB:BOOL=ON

//Missing description
IBPP_SRC_DIRECTORY:PATH=

//Missing description
INSTALL_EXAMPLES:BOOL=OFF

//Missing description
INSTALL_FINDWT_CMAKE_FILE:BOOL=OFF

//Missing description
INSTALL_RESOURCES:BOOL=ON

//Missing description
LIBRARY_OUTPUT_PATH:PATH=

//Missing description
LIB_INSTALL_DIR:STRING=lib

//Missing description
MULTI_THREADED:UNINITIALIZED=ON

//Missing description
MYSQL_DEBUG_LIB:FILEPATH=MYSQL_DEBUG_LIB-NOTFOUND

//Missing description
MYSQL_INCLUDE:PATH=MYSQL_INCLUDE-NOTFOUND

//Missing description
MYSQL_LIB:FILEPATH=MYSQL_LIB-NOTFOUND

//Missing description
MYSQL_LIBRARY:STRING=mariadb;libmariadb;mariadbclient;mysqlclient;libmysql

//Missing description
MYSQL_PREFIX:PATH=/usr

//Missing description
M_LIB:FILEPATH=/usr/lib/libm.so

//Missing description
PNG_LIBRARIES:FILEPATH=PNG_LIBRARIES-NOTFOUND

//Missing description
POSTGRES_INCLUDE:PATH=POSTGRES_INCLUDE-NOTFOUND

//Missing description
POSTGRES_LIBRARIES:FILEPATH=POSTGRES_LIBRARIES-NOTFOUND

//Missing description
POSTGRES_PREFIX:PATH=/usr

//Missing description
RUNDIR:PATH=/var/run/wt

//Missing description
SHARED_LIBS:BOOL=ON

//Missing description
SQLITE3_INCLUDE_DIR:PATH=/usr/local/include

//Missing description
SQLITE3_LIBRARY_DEBUG:FILEPATH=/usr/local/lib/libsqlite3.so

//Missing description
SQLITE3_LIBRARY_RELEASE:FILEPATH=/usr/local/lib/libsqlite3.so

//Missing description
SQLITE3_PREFIX:PATH=/usr

//Missing description
SSL_INCLUDE_DIRS:PATH=/usr/include

//Missing description
SSL_LIB:FILEPATH=/usr/lib/libssl.so

//Missing description
SSL_PREFIX:PATH=/usr

//Missing description
USERLIB_PREFIX:PATH=/usr

//Missing description
USE_SQLITE3_BDB:BOOL=OFF

//Missing description
USE_SYSTEM_SQLITE3:BOOL=ON

//Missing description
WEBGROUP:STRING=www

//Missing description
WEBUSER:STRING=www

//Missing description
WTHTTP_CONFIGURATION:PATH=/home/abscon/local/etc/wt/wthttpd

//Missing description
WT_BINARY_DIR:STATIC=/home/abscon/cms/bin/wt

//Missing description
WT_BOOST_DISCOVERY:BOOL=TRUE

//Missing description
WT_CPP_11_MODE:STRING=

//Missing description
WT_NO_STD_LOCALE:BOOL=OFF

//Missing description
WT_NO_STD_WSTRING:BOOL=OFF

//Missing description
WT_SIGNALS_IMPLEMENTATION:STRING=boost.signals

//Missing description
WT_SOURCE_DIR:STATIC=/home/abscon/cms/wt

//Missing description
ZLIB_INCLUDE:PATH=/usr/include

//Missing description
ZLIB_LIB:FILEPATH=/usr/lib/libz.so

//Missing description
ZLIB_PREFIX:PATH=/usr

//Missing description
wt_LIB_DEPENDS:STATIC=general;/usr/local/lib/libboost_thread.so;general;/usr/local/lib/libboost_random.so;general;/usr/local/lib/libboost_regex.so;general;/usr/local/lib/libboost_signals.so;general;/usr/local/lib/libboost_system.so;general;/usr/local/lib/libboost_filesystem.so;general;/usr/local/lib/libboost_date_time.so;general;rt;general;/usr/lib/libssl.so;general;-lcrypto;general;-lpthread;

//Missing description
wtdbo_LIB_DEPENDS:STATIC=general;/usr/local/lib/libboost_thread.so;general;/usr/local/lib/libboost_system.so;general;-lpthread;general;/usr/local/lib/libboost_date_time.so;

//Missing description
wtdbosqlite3_LIB_DEPENDS:STATIC=general;wtdbo;optimized;/usr/local/lib/libsqlite3.so;debug;/usr/local/lib/libsqlite3.so;general;/usr/local/lib/libboost_date_time.so;general;-lpthread;

//Missing description
wtext_LIB_DEPENDS:STATIC=general;wt;general;/usr/local/lib/libboost_thread.so;general;/usr/local/lib/libboost_random.so;general;/usr/local/lib/libboost_regex.so;general;/usr/local/lib/libboost_signals.so;general;/usr/local/lib/libboost_system.so;general;/usr/local/lib/libboost_filesystem.so;general;/usr/local/lib/libboost_date_time.so;

//Missing description
wthttp_LIB_DEPENDS:STATIC=general;wt;general;/usr/lib/libz.so;general;/usr/lib/libssl.so;general;-lcrypto;general;/usr/local/lib/libboost_thread.so;general;/usr/local/lib/libboost_program_options.so;general;/usr/local/lib/libboost_date_time.so;general;-lpthread;

//Missing description
wttest_LIB_DEPENDS:STATIC=general;wt;


########################
# INTERNAL cache entries
########################

//ADVANCED property for variable: ASCIIDOC_EXECUTABLE
ASCIIDOC_EXECUTABLE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: ASCIIDOC_FOUND
ASCIIDOC_FOUND-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_AR
CMAKE_AR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_BUILD_TOOL
CMAKE_BUILD_TOOL-ADVANCED:INTERNAL=1
CMAKE_BUILD_TOOL:INTERNAL=/usr/bin/make
CMAKE_CACHEFILE_DIR:INTERNAL=/home/abscon/cms/bin/wt
CMAKE_CACHE_MAJOR_VERSION:INTERNAL=2
CMAKE_CACHE_MINOR_VERSION:INTERNAL=8
CMAKE_CACHE_PATCH_VERSION:INTERNAL=12
//ADVANCED property for variable: CMAKE_COLOR_MAKEFILE
CMAKE_COLOR_MAKEFILE-ADVANCED:INTERNAL=1
CMAKE_COMMAND:INTERNAL=/usr/local/bin/cmake
CMAKE_CPACK_COMMAND:INTERNAL=/usr/local/bin/cpack
CMAKE_CTEST_COMMAND:INTERNAL=/usr/local/bin/ctest
//ADVANCED property for variable: CMAKE_CXX_FLAGS
CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG
CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_MINSIZEREL
CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELEASE
CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO
CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS
CMAKE_C_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG
CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL
CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE
CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO
CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
CMAKE_EDIT_COMMAND:INTERNAL=/usr/local/bin/ccmake
CMAKE_EXECUTABLE_FORMAT:INTERNAL=ELF
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS
CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG
CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE
CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXPORT_COMPILE_COMMANDS
CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1
CMAKE_GENERATOR:INTERNAL=Unix Makefiles
CMAKE_GENERATOR_TOOLSET:INTERNAL=
CMAKE_HAVE_LIBC_CREATE:INTERNAL=
CMAKE_HAVE_PTHREADS_CREATE:INTERNAL=
CMAKE_HAVE_PTHREAD_CREATE:INTERNAL=1
CMAKE_HAVE_PTHREAD_H:INTERNAL=1
CMAKE_HOME_DIRECTORY:INTERNAL=/home/abscon/cms/wt
//ADVANCED property for variable: CMAKE_LINKER
CMAKE_LINKER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MAKE_PROGRAM
CMAKE_MAKE_PROGRAM-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS
CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG
CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE
CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_NM
CMAKE_NM-ADVANCED:INTERNAL=1
CMAKE_NUMBER_OF_LOCAL_GENERATORS:INTERNAL=19
//ADVANCED property for variable: CMAKE_OBJCOPY
CMAKE_OBJCOPY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_OBJDUMP
CMAKE_OBJDUMP-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_RANLIB
CMAKE_RANLIB-ADVANCED:INTERNAL=1
CMAKE_ROOT:INTERNAL=/usr/local/share/cmake
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS
CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG
CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE
CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH
CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SKIP_RPATH
CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS
CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG
CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE
CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STRIP
CMAKE_STRIP-ADVANCED:INTERNAL=1
CMAKE_UNAME:INTERNAL=/usr/bin/uname
//ADVANCED property for variable: CMAKE_USE_RELATIVE_PATHS
CMAKE_USE_RELATIVE_PATHS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE
CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CONFIGDIR
CONFIGDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: DOXYGEN_DOT_EXECUTABLE
DOXYGEN_DOT_EXECUTABLE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: DOXYGEN_EXECUTABLE
DOXYGEN_EXECUTABLE-ADVANCED:INTERNAL=1
FIND_PACKAGE_MESSAGE_DETAILS_Threads:INTERNAL=[TRUE][v()]
HAVE_FIREBIRD:INTERNAL=OFF
HAVE_MYSQL:INTERNAL=OFF
HAVE_POSTGRES:INTERNAL=OFF
HAVE_SQLITE:INTERNAL=ON
RT_required:INTERNAL=TRUE
SYSTEM_CONNECT_EXISTS:INTERNAL=1
SYSTEM_SIN_EXISTS:INTERNAL=
//STRINGS property for variable: WT_SIGNALS_IMPLEMENTATION
WT_SIGNALS_IMPLEMENTATION-STRINGS:INTERNAL=boost.signals;boost.signals2

RE: Wt 3.3.1 build failure on FreeBSD 10.0 Release + Clang 3.3 - Added by Wim Dumon about 10 years ago

And what's the output of make VERBOSE=1?

BR,

Wim.

RE: Wt 3.3.1 build failure on FreeBSD 10.0 Release + Clang 3.3 - Added by Wim Dumon about 10 years ago

I just installed a freebsd10 to test this, and I get the same error as you do.

The VERBOSE=1 parameter shows that cmake is not adding any -I parameter to the compilation option, not even to boost. This looks like cmake on FreeBsd10 is broken? Weird... The same cmake version on windows generates correct build files.

My install is clean, I only ran:

pkg install gcc48
pkg install cmake
pkg install wget
pkg install boost-all

I'm not a freebsd specialist, am I missing something?

BR,

Wim.

seems not cmake's bug - Added by con abs about 10 years ago

I wrote a hello-world c program and use INCLUDE_DIRECTORIES command in CMakeLists.txt and nothing goes wrong.

When compiling the hello-world program, the -I option is neither added to make( and it's not needed ).

Either in wt project or hellow-world program, the values of CMAKE_C_TARGET_INCLUDE_PATH and CMAKE_CXX_TARGET_INCLUDE_PATH are generated correctly.

By the way, gcc and wget is not needed for installation of wt on FreeBSD 10.0. The built-in clang compiler and fetch command will get the job down.

Just

pkg install boost-libs cmake

And it's nice if I can do this

pkg install www/witty-libs

RE: Wt 3.3.1 build failure on FreeBSD 10.0 Release + Clang 3.3 - Added by Wim Dumon about 10 years ago

Ok you may be right, it's not cmake's fault, but we should be using gnu make instead of BSD make.

pkg install gmake

and then

cd build
gmake -j 4

This works for me... (at least the build started and it's still running now)

:%s/pmake/bmake/g - Added by con abs about 10 years ago

Thanks Wim! FreeBSD 10.0 use bmake instead of pmake, and it's clear now bmake doesn't work with the wt project.

    (1-8/8)