miguelfreitas / twister-core

twister core / daemon
MIT License
1.42k stars 251 forks source link

Cannot link against libboost-locale on Kubuntu 14.04 64bit #212

Closed rysiekpl closed 10 years ago

rysiekpl commented 10 years ago

I have upgraded my Kubuntu to 14.04 and now can't compile twister anymore. THe compilation stops with:

g++ -c -m64 -pipe -fstack-protector-all -D_FORTIFY_SOURCE=2 -O2 -D_REENTRANT -fdiagnostics-show-option -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_UPNP=1 -DSTATICLIB -DUSE_IPV6=1 -DTORRENT_DEBUG -DBOOST_ASIO_SEPARATE_COMPILATION -DHAVE_BUILD_INFO -DLINUX -D_FILE_OFFSET_BITS=64 -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++-64 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4 -Isrc -Isrc/json -Isrc/qt -Isrc/leveldb/include -Isrc/leveldb/helpers -Ilibtorrent/include -Ibuild -o build/twister_utils.o src/twister_utils.cpp
g++ -m64 -fstack-protector-all -Wl,-O1 -o twisterd build/bitcoind.o build/alert.o build/chainparams.o build/version.o build/sync.o build/util.o build/hash.o build/netbase.o build/key.o build/script.o build/core.o build/main.o build/init.o build/net.o build/bloom.o build/checkpoints.o build/softcheckpoint.o build/addrman.o build/db.o build/walletdb.o build/wallet.o build/keystore.o build/bitcoinrpc.o build/rpcdump.o build/rpcnet.o build/rpcmining.o build/rpcwallet.o build/rpcblockchain.o build/rpcrawtransaction.o build/crypter.o build/protocol.o build/noui.o build/leveldb.o build/txdb.o build/scrypt.o build/twister.o build/twister_rss.o build/twister_utils.o    -L/usr/lib/x86_64-linux-gnu -lminiupnpc /(...)/twister/twister-core/src/leveldb/libleveldb.a /(...)/twister/twister-core/src/leveldb/libmemenv.a /(...)/twister/twister-core/libtorrent/src/.libs/libtorrent-rasterbar.a -lrt -lssl -lcrypto -ldb_cxx -lboost_system -lboost_filesystem -lboost_program_options -lboost_thread -lboost_locale -lpthread -lQtGui -lQtNetwork -lQtCore 
/usr/bin/ld: cannot find -lQtGui
/usr/bin/ld: cannot find -lQtNetwork
/usr/bin/ld: cannot find -lQtCore
collect2: error: ld returned 1 exit status
make: *** [twisterd] Error 1

Not really sure why Twister would need libQtGui?..

I am using a makeshift script to compile Twister, but that's just a simple collection of commands I used to type-in by hand each time I re-compiled it. Also, it worked in 13.10:

#!/bin/bash

ORIG_DIR=`pwd`

cd libtorrent

./bootstrap.sh --with-boost-libdir=/usr/lib/x86_64-linux-gnu/ && ./configure --enable-logging --enable-debug --enable-dht --with-boost-libdir=/usr/lib/x86_64-linux-gnu/ && make

echo
echo
echo 'Press enter to proceed...'
read PROCEED

if (( $? )); then
        exit $?
fi

cd "$ORIG_DIR"

qmake && make
miguelfreitas commented 10 years ago

Not really sure why Twister would need libQtGui?..

It doesn't. Try running bootstrap.sh/configure/make from the top directory instead of libtorrent or src.

rysiekpl commented 10 years ago

How will make know when to build libtorrent first instead of twisterd? I mean, originally the procedure was:

  1. go to libtorrent, bootstrap, configure, make
  2. get back to branch root, qmake && make

Now, as I understand, it's supposed to be just: ./bootstrap.sh --with-boost-libdir=/usr/lib/x86_64-linux-gnu/ && ./configure --enable-logging --enable-debug --enable-dht --with-boost-libdir=/usr/lib/x86_64-linux-gnu/ && make

So I should either put qmake there somewhere, or qmake drops out of the procedure?

rysiekpl commented 10 years ago

Ok, so doing without qmake gets me:

(...)
checking whether the Boost::Locale library is available... yes
checking for exit in -lboost_locale... yes
checking whether the Boost::Regex library is available... yes
configure: error: Could not link against boost_locale !

WTF.

miguelfreitas commented 10 years ago

yes, drop qmake. the official procedure changed as we unified the bitcoin+libtorrent build system in a single top-level configure and makefile.

about the boost_locale error: this isn't supposed to be a show-stopper. I've compiled twister in systems without boost_locale sucesfully. may you quote the relevant lines from your config.log regarding this step that failed?

miguelfreitas commented 10 years ago

Also try dropping the --with-boost-libdir. the current script is supposed to be smarter and try finding it in these architecture dependent directories (if not we should fix the script)

dryabov commented 10 years ago

@miguelfreitas boost_locale dependence has been added in commit https://github.com/miguelfreitas/twister-core/commit/671bec8e78be5fa9c3348fa5887500c2ec108837 to correctly transform utf-8 hashtags to lowercase.

rysiekpl commented 10 years ago

So, I've run this: ./bootstrap.sh && ./configure --enable-logging --enable-debug --enable-dht && make

And got this:

checking whether the Boost::Locale library is available... yes
checking for exit in -lboost_locale... yes
checking whether the Boost::Regex library is available... yes
configure: error: Could not link against boost_locale

And yes I have libboost-locale installed:

$ dpkg -l | grep boost | grep system
ii  libboost-filesystem1.54-dev:amd64           1.54.0-4ubuntu3                       amd64        filesystem operations (portable paths, iteration over directories, etc) in C++
ii  libboost-filesystem1.54.0:amd64             1.54.0-4ubuntu3                       amd64        filesystem operations (portable paths, iteration over directories, etc) in C++
ii  libboost-system1.54-dev:amd64               1.54.0-4ubuntu3                       amd64        Operating system (e.g. diagnostics support) library
ii  libboost-system1.54.0:amd64                 1.54.0-4ubuntu3                       amd64        Operating system (e.g. diagnostics support) library
rysiekpl commented 10 years ago

Here's the full log.

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by twister configure 0.9.0, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ ./configure 

## --------- ##
## Platform. ##
## --------- ##

hostname = lapuntu
uname -m = x86_64
uname -r = 3.13.0-29-generic
uname -s = Linux
uname -v = #53-Ubuntu SMP Wed Jun 4 21:00:20 UTC 2014

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games
PATH: /usr/local/games

## ----------- ##
## Core tests. ##
## ----------- ##

configure:2662: checking whether make supports nested variables
configure:2679: result: yes
configure:2754: checking for gcc
configure:2770: found /usr/bin/gcc
configure:2781: result: gcc
configure:3010: checking for C compiler version
configure:3019: gcc --version >&5
gcc (Ubuntu 4.8.2-19ubuntu1) 4.8.2
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3030: $? = 0
configure:3019: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.8/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.8.2-19ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.8 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libmudflap --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --
with-multilib-list=m32,m64,mx32 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) 
configure:3030: $? = 0
configure:3019: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3030: $? = 4
configure:3019: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'
gcc: fatal error: no input files
compilation terminated.
configure:3030: $? = 4
configure:3050: checking whether the C compiler works
configure:3072: gcc    conftest.c  >&5
configure:3076: $? = 0
configure:3124: result: yes
configure:3127: checking for C compiler default output file name
configure:3129: result: a.out
configure:3135: checking for suffix of executables
configure:3142: gcc -o conftest    conftest.c  >&5
configure:3146: $? = 0
configure:3168: result: 
configure:3190: checking whether we are cross compiling
configure:3198: gcc -o conftest    conftest.c  >&5
configure:3202: $? = 0
configure:3209: ./conftest
configure:3213: $? = 0
configure:3228: result: no
configure:3233: checking for suffix of object files
configure:3255: gcc -c   conftest.c >&5
configure:3259: $? = 0
configure:3280: result: o
configure:3284: checking whether we are using the GNU C compiler
configure:3303: gcc -c   conftest.c >&5
configure:3303: $? = 0
configure:3312: result: yes
configure:3321: checking whether gcc accepts -g
configure:3341: gcc -c -g  conftest.c >&5
configure:3341: $? = 0
configure:3382: result: yes
configure:3399: checking for gcc option to accept ISO C89
configure:3462: gcc  -c -g -O2  conftest.c >&5
configure:3462: $? = 0
configure:3475: result: none needed
configure:3503: checking whether gcc understands -c and -o together
configure:3525: gcc -c conftest.c -o conftest2.o
configure:3528: $? = 0
configure:3525: gcc -c conftest.c -o conftest2.o
configure:3528: $? = 0
configure:3540: result: yes
configure:3562: checking how to run the C preprocessor
configure:3593: gcc -E  conftest.c
configure:3593: $? = 0
configure:3607: gcc -E  conftest.c
conftest.c:9:28: fatal error: ac_nonexistent.h: No such file or directory
 #include <ac_nonexistent.h>
                            ^
compilation terminated.
configure:3607: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "twister"
| #define PACKAGE_TARNAME "twister"
| #define PACKAGE_VERSION "0.9.0"
| #define PACKAGE_STRING "twister 0.9.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:3632: result: gcc -E
configure:3652: gcc -E  conftest.c
configure:3652: $? = 0
configure:3666: gcc -E  conftest.c
conftest.c:9:28: fatal error: ac_nonexistent.h: No such file or directory
 #include <ac_nonexistent.h>
                            ^
compilation terminated.
configure:3666: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "twister"
| #define PACKAGE_TARNAME "twister"
| #define PACKAGE_VERSION "0.9.0"
| #define PACKAGE_STRING "twister 0.9.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:3695: checking whether gcc and cc understand -c and -o together
configure:3726: gcc -c conftest.c -o conftest2.o >&5
configure:3730: $? = 0
configure:3736: gcc -c conftest.c -o conftest2.o >&5
configure:3740: $? = 0
configure:3751: cc -c conftest.c >&5
configure:3755: $? = 0
configure:3763: cc -c conftest.c -o conftest2.o >&5
configure:3767: $? = 0
configure:3773: cc -c conftest.c -o conftest2.o >&5
configure:3777: $? = 0
configure:3795: result: yes
configure:3863: checking for g++
configure:3879: found /usr/bin/g++
configure:3890: result: g++
configure:3917: checking for C++ compiler version
configure:3926: g++ --version >&5
g++ (Ubuntu 4.8.2-19ubuntu1) 4.8.2
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3937: $? = 0
configure:3926: g++ -v >&5
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.8/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.8.2-19ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.8 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libmudflap --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --
with-multilib-list=m32,m64,mx32 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) 
configure:3937: $? = 0
configure:3926: g++ -V >&5
g++: error: unrecognized command line option '-V'
g++: fatal error: no input files
compilation terminated.
configure:3937: $? = 4
configure:3926: g++ -qversion >&5
g++: error: unrecognized command line option '-qversion'
g++: fatal error: no input files
compilation terminated.
configure:3937: $? = 4
configure:3941: checking whether we are using the GNU C++ compiler
configure:3960: g++ -c   conftest.cpp >&5
configure:3960: $? = 0
configure:3969: result: yes
configure:3978: checking whether g++ accepts -g
configure:3998: g++ -c -g  conftest.cpp >&5
configure:3998: $? = 0
configure:4039: result: yes
configure:4067: checking how to run the C++ preprocessor
configure:4094: g++ -E  conftest.cpp
configure:4094: $? = 0
configure:4108: g++ -E  conftest.cpp
conftest.cpp:9:28: fatal error: ac_nonexistent.h: No such file or directory
 #include <ac_nonexistent.h>
                            ^
compilation terminated.
configure:4108: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "twister"
| #define PACKAGE_TARNAME "twister"
| #define PACKAGE_VERSION "0.9.0"
| #define PACKAGE_STRING "twister 0.9.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:4133: result: g++ -E
configure:4153: g++ -E  conftest.cpp
configure:4153: $? = 0
configure:4167: g++ -E  conftest.cpp
conftest.cpp:9:28: fatal error: ac_nonexistent.h: No such file or directory
 #include <ac_nonexistent.h>
                            ^
compilation terminated.
configure:4167: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "twister"
| #define PACKAGE_TARNAME "twister"
| #define PACKAGE_VERSION "0.9.0"
| #define PACKAGE_STRING "twister 0.9.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:4200: checking whether g++ understands -c and -o together
configure:4224: g++ -g -O2 -c conftest.cpp -o conftest2.o >&5
configure:4228: $? = 0
configure:4235: g++ -g -O2 -c conftest.cpp -o conftest2.o >&5
configure:4239: $? = 0
configure:4247: result: yes
configure:4267: checking build system type
configure:4281: result: x86_64-unknown-linux-gnu
configure:4301: checking host system type
configure:4314: result: x86_64-unknown-linux-gnu
configure:4334: checking target system type
configure:4347: result: x86_64-unknown-linux-gnu
configure:4392: checking for a BSD-compatible install
configure:4460: result: /usr/bin/install -c
configure:4471: checking whether build environment is sane
configure:4526: result: yes
configure:4674: checking for a thread-safe mkdir -p
configure:4713: result: /bin/mkdir -p
configure:4720: checking for gawk
configure:4736: found /usr/bin/gawk
configure:4747: result: gawk
configure:4758: checking whether make sets $(MAKE)
configure:4780: result: yes
configure:4810: checking for style of include used by make
configure:4838: result: GNU
configure:4935: checking dependency style of gcc
configure:5046: result: gcc3
configure:5063: checking dependency style of g++
configure:5174: result: gcc3
configure:5282: checking how to print strings
configure:5309: result: printf
configure:5330: checking for a sed that does not truncate output
configure:5394: result: /bin/sed
configure:5412: checking for grep that handles long lines and -e
configure:5470: result: /bin/grep
configure:5475: checking for egrep
configure:5537: result: /bin/grep -E
configure:5542: checking for fgrep
configure:5604: result: /bin/grep -F
configure:5639: checking for ld used by gcc
configure:5706: result: /usr/bin/ld
configure:5713: checking if the linker (/usr/bin/ld) is GNU ld
configure:5728: result: yes
configure:5740: checking for BSD- or MS-compatible name lister (nm)
configure:5789: result: /usr/bin/nm -B
configure:5919: checking the name lister (/usr/bin/nm -B) interface
configure:5926: gcc -c -g -O2  conftest.c >&5
configure:5929: /usr/bin/nm -B "conftest.o"
configure:5932: output
0000000000000000 B some_variable
configure:5939: result: BSD nm
configure:5942: checking whether ln -s works
configure:5946: result: yes
configure:5954: checking the maximum length of command line arguments
configure:6085: result: 1572864
configure:6102: checking whether the shell understands some XSI constructs
configure:6112: result: yes
configure:6116: checking whether the shell understands "+="
configure:6122: result: yes
configure:6157: checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format
configure:6197: result: func_convert_file_noop
configure:6204: checking how to convert x86_64-unknown-linux-gnu file names to toolchain format
configure:6224: result: func_convert_file_noop
configure:6231: checking for /usr/bin/ld option to reload object files
configure:6238: result: -r
configure:6312: checking for objdump
configure:6328: found /usr/bin/objdump
configure:6339: result: objdump
configure:6371: checking how to recognize dependent libraries
configure:6569: result: pass_all
configure:6654: checking for dlltool
configure:6684: result: no
configure:6714: checking how to associate runtime and link libraries
configure:6741: result: printf %s\n
configure:6802: checking for ar
configure:6818: found /usr/bin/ar
configure:6829: result: ar
configure:6866: checking for archiver @FILE support
configure:6883: gcc -c -g -O2  conftest.c >&5
configure:6883: $? = 0
configure:6886: ar cru libconftest.a @conftest.lst >&5
configure:6889: $? = 0
configure:6894: ar cru libconftest.a @conftest.lst >&5
ar: conftest.o: No such file or directory
configure:6897: $? = 1
configure:6909: result: @
configure:6967: checking for strip
configure:6983: found /usr/bin/strip
configure:6994: result: strip
configure:7066: checking for ranlib
configure:7082: found /usr/bin/ranlib
configure:7093: result: ranlib
configure:7195: checking command to parse /usr/bin/nm -B output from gcc object
configure:7315: gcc -c -g -O2  conftest.c >&5
configure:7318: $? = 0
configure:7322: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm
configure:7325: $? = 0
configure:7391: gcc -o conftest -g -O2   conftest.c conftstm.o >&5
configure:7394: $? = 0
configure:7432: result: ok
configure:7469: checking for sysroot
configure:7499: result: no
configure:7576: gcc -c -g -O2  conftest.c >&5
configure:7579: $? = 0
configure:7768: checking for mt
configure:7784: found /bin/mt
configure:7795: result: mt
configure:7818: checking if mt is a manifest tool
configure:7824: mt '-?'
configure:7832: result: no
configure:8470: checking for ANSI C header files
configure:8490: gcc -c -g -O2  conftest.c >&5
configure:8490: $? = 0
configure:8563: gcc -o conftest -g -O2   conftest.c  >&5
configure:8563: $? = 0
configure:8563: ./conftest
configure:8563: $? = 0
configure:8574: result: yes
configure:8587: checking for sys/types.h
configure:8587: gcc -c -g -O2  conftest.c >&5
configure:8587: $? = 0
configure:8587: result: yes
configure:8587: checking for sys/stat.h
configure:8587: gcc -c -g -O2  conftest.c >&5
configure:8587: $? = 0
configure:8587: result: yes
configure:8587: checking for stdlib.h
configure:8587: gcc -c -g -O2  conftest.c >&5
configure:8587: $? = 0
configure:8587: result: yes
configure:8587: checking for string.h
configure:8587: gcc -c -g -O2  conftest.c >&5
configure:8587: $? = 0
configure:8587: result: yes
configure:8587: checking for memory.h
configure:8587: gcc -c -g -O2  conftest.c >&5
configure:8587: $? = 0
configure:8587: result: yes
configure:8587: checking for strings.h
configure:8587: gcc -c -g -O2  conftest.c >&5
configure:8587: $? = 0
configure:8587: result: yes
configure:8587: checking for inttypes.h
configure:8587: gcc -c -g -O2  conftest.c >&5
configure:8587: $? = 0
configure:8587: result: yes
configure:8587: checking for stdint.h
configure:8587: gcc -c -g -O2  conftest.c >&5
configure:8587: $? = 0
configure:8587: result: yes
configure:8587: checking for unistd.h
configure:8587: gcc -c -g -O2  conftest.c >&5
configure:8587: $? = 0
configure:8587: result: yes
configure:8601: checking for dlfcn.h
configure:8601: gcc -c -g -O2  conftest.c >&5
configure:8601: $? = 0
configure:8601: result: yes
configure:8818: checking for objdir
configure:8833: result: .libs
configure:9104: checking if gcc supports -fno-rtti -fno-exceptions
configure:9122: gcc -c -g -O2  -fno-rtti -fno-exceptions conftest.c >&5
cc1: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C [enabled by default]
configure:9126: $? = 0
configure:9139: result: no
configure:9466: checking for gcc option to produce PIC
configure:9473: result: -fPIC -DPIC
configure:9481: checking if gcc PIC flag -fPIC -DPIC works
configure:9499: gcc -c -g -O2  -fPIC -DPIC -DPIC conftest.c >&5
configure:9503: $? = 0
configure:9516: result: yes
configure:9545: checking if gcc static flag -static works
configure:9573: result: yes
configure:9588: checking if gcc supports -c -o file.o
configure:9609: gcc -c -g -O2  -o out/conftest2.o conftest.c >&5
configure:9613: $? = 0
configure:9635: result: yes
configure:9643: checking if gcc supports -c -o file.o
configure:9690: result: yes
configure:9723: checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries
configure:10880: result: yes
configure:10917: checking whether -lc should be explicitly linked in
configure:10925: gcc -c -g -O2  conftest.c >&5
configure:10928: $? = 0
configure:10943: gcc -shared  -fPIC -DPIC conftest.o  -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /bin/grep  -lc  \>/dev/null 2\>\&1
configure:10946: $? = 0
configure:10960: result: no
configure:11120: checking dynamic linker characteristics
configure:11620: gcc -o conftest -g -O2   -Wl,-rpath -Wl,/foo conftest.c  >&5
configure:11620: $? = 0
configure:11854: result: GNU/Linux ld.so
configure:11961: checking how to hardcode library paths into programs
configure:11986: result: immediate
configure:12526: checking whether stripping libraries is possible
configure:12531: result: yes
configure:12566: checking if libtool supports shared libraries
configure:12568: result: yes
configure:12571: checking whether to build shared libraries
configure:12592: result: yes
configure:12595: checking whether to build static libraries
configure:12599: result: yes
configure:12622: checking how to run the C++ preprocessor
configure:12688: result: g++ -E
configure:12708: g++ -E  conftest.cpp
configure:12708: $? = 0
configure:12722: g++ -E  conftest.cpp
conftest.cpp:23:28: fatal error: ac_nonexistent.h: No such file or directory
 #include <ac_nonexistent.h>
                            ^
compilation terminated.
configure:12722: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "twister"
| #define PACKAGE_TARNAME "twister"
| #define PACKAGE_VERSION "0.9.0"
| #define PACKAGE_STRING "twister 0.9.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "twister"
| #define VERSION "0.9.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:12891: checking for ld used by g++
configure:12958: result: /usr/bin/ld -m elf_x86_64
configure:12965: checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld
configure:12980: result: yes
configure:13035: checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries
configure:14037: result: yes
configure:14073: g++ -c -g -O2  conftest.cpp >&5
configure:14076: $? = 0
configure:14596: checking for g++ option to produce PIC
configure:14603: result: -fPIC -DPIC
configure:14611: checking if g++ PIC flag -fPIC -DPIC works
configure:14629: g++ -c -g -O2  -fPIC -DPIC -DPIC conftest.cpp >&5
configure:14633: $? = 0
configure:14646: result: yes
configure:14669: checking if g++ static flag -static works
configure:14697: result: yes
configure:14709: checking if g++ supports -c -o file.o
configure:14730: g++ -c -g -O2  -o out/conftest2.o conftest.cpp >&5
configure:14734: $? = 0
configure:14756: result: yes
configure:14761: checking if g++ supports -c -o file.o
configure:14808: result: yes
configure:14838: checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries
configure:14877: result: yes
configure:15018: checking dynamic linker characteristics
configure:15686: result: GNU/Linux ld.so
configure:15739: checking how to hardcode library paths into programs
configure:15764: result: immediate
configure:15999: checking for the pthreads library -lpthreads
configure:16032: gcc -o conftest -g -O2    conftest.c -lpthreads  >&5
conftest.c: In function 'main':
conftest.c:28:22: warning: null argument where non-null required (argument 1) [-Wnonnull]
                      pthread_attr_init(0); pthread_cleanup_push(0, 0);
                      ^
conftest.c:29:22: warning: null argument where non-null required (argument 1) [-Wnonnull]
                      pthread_create(0,0,0,0); pthread_cleanup_pop(0);
                      ^
conftest.c:29:22: warning: null argument where non-null required (argument 3) [-Wnonnull]
/usr/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
configure:16032: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "twister"
| #define PACKAGE_TARNAME "twister"
| #define PACKAGE_VERSION "0.9.0"
| #define PACKAGE_STRING "twister 0.9.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "twister"
| #define VERSION "0.9.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h.  */
| #include <pthread.h>
| int
| main ()
| {
| pthread_t th; pthread_join(th, 0);
|                      pthread_attr_init(0); pthread_cleanup_push(0, 0);
|                      pthread_create(0,0,0,0); pthread_cleanup_pop(0);
|   ;
|   return 0;
| }
configure:16041: result: no
configure:15944: checking whether pthreads work without any flags
configure:16032: gcc -o conftest -g -O2    conftest.c   >&5
conftest.c: In function 'main':
conftest.c:28:22: warning: null argument where non-null required (argument 1) [-Wnonnull]
                      pthread_attr_init(0); pthread_cleanup_push(0, 0);
                      ^
conftest.c:29:22: warning: null argument where non-null required (argument 1) [-Wnonnull]
                      pthread_create(0,0,0,0); pthread_cleanup_pop(0);
                      ^
conftest.c:29:22: warning: null argument where non-null required (argument 3) [-Wnonnull]
/tmp/cc4GfnBM.o: In function `main':
/home/user/twister/twister-core/conftest.c:27: undefined reference to `pthread_join'
/home/user/twister/twister-core/conftest.c:28: undefined reference to `__pthread_register_cancel'
/home/user/twister/twister-core/conftest.c:29: undefined reference to `pthread_create'
/home/user/twister/twister-core/conftest.c:29: undefined reference to `__pthread_unregister_cancel'
collect2: error: ld returned 1 exit status
configure:16032: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "twister"
| #define PACKAGE_TARNAME "twister"
| #define PACKAGE_VERSION "0.9.0"
| #define PACKAGE_STRING "twister 0.9.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "twister"
| #define VERSION "0.9.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h.  */
| #include <pthread.h>
| int
| main ()
| {
| pthread_t th; pthread_join(th, 0);
|                      pthread_attr_init(0); pthread_cleanup_push(0, 0);
|                      pthread_create(0,0,0,0); pthread_cleanup_pop(0);
|   ;
|   return 0;
| }
configure:16041: result: no
configure:15949: checking whether pthreads work with -Kthread
configure:16032: gcc -o conftest -g -O2 -Kthread   conftest.c   >&5
gcc: error: unrecognized command line option '-Kthread'
configure:16032: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "twister"
| #define PACKAGE_TARNAME "twister"
| #define PACKAGE_VERSION "0.9.0"
| #define PACKAGE_STRING "twister 0.9.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "twister"
| #define VERSION "0.9.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h.  */
| #include <pthread.h>
| int
| main ()
| {
| pthread_t th; pthread_join(th, 0);
|                      pthread_attr_init(0); pthread_cleanup_push(0, 0);
|                      pthread_create(0,0,0,0); pthread_cleanup_pop(0);
|   ;
|   return 0;
| }
configure:16041: result: no
configure:15949: checking whether pthreads work with -kthread
configure:16032: gcc -o conftest -g -O2 -kthread   conftest.c   >&5
gcc: error: unrecognized command line option '-kthread'
configure:16032: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "twister"
| #define PACKAGE_TARNAME "twister"
| #define PACKAGE_VERSION "0.9.0"
| #define PACKAGE_STRING "twister 0.9.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "twister"
| #define VERSION "0.9.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h.  */
| #include <pthread.h>
| int
| main ()
| {
| pthread_t th; pthread_join(th, 0);
|                      pthread_attr_init(0); pthread_cleanup_push(0, 0);
|                      pthread_create(0,0,0,0); pthread_cleanup_pop(0);
|   ;
|   return 0;
| }
configure:16041: result: no
configure:15999: checking for the pthreads library -llthread
configure:16032: gcc -o conftest -g -O2    conftest.c -llthread  >&5
conftest.c: In function 'main':
conftest.c:28:22: warning: null argument where non-null required (argument 1) [-Wnonnull]
                      pthread_attr_init(0); pthread_cleanup_push(0, 0);
                      ^
conftest.c:29:22: warning: null argument where non-null required (argument 1) [-Wnonnull]
                      pthread_create(0,0,0,0); pthread_cleanup_pop(0);
                      ^
conftest.c:29:22: warning: null argument where non-null required (argument 3) [-Wnonnull]
/usr/bin/ld: cannot find -llthread
collect2: error: ld returned 1 exit status
configure:16032: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "twister"
| #define PACKAGE_TARNAME "twister"
| #define PACKAGE_VERSION "0.9.0"
| #define PACKAGE_STRING "twister 0.9.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "twister"
| #define VERSION "0.9.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h.  */
| #include <pthread.h>
| int
| main ()
| {
| pthread_t th; pthread_join(th, 0);
|                      pthread_attr_init(0); pthread_cleanup_push(0, 0);
|                      pthread_create(0,0,0,0); pthread_cleanup_pop(0);
|   ;
|   return 0;
| }
configure:16041: result: no
configure:15949: checking whether pthreads work with -lpthread
configure:16032: gcc -o conftest -g -O2 -lpthread   conftest.c   >&5
conftest.c: In function 'main':
conftest.c:28:22: warning: null argument where non-null required (argument 1) [-Wnonnull]
                      pthread_attr_init(0); pthread_cleanup_push(0, 0);
                      ^
conftest.c:29:22: warning: null argument where non-null required (argument 1) [-Wnonnull]
                      pthread_create(0,0,0,0); pthread_cleanup_pop(0);
                      ^
conftest.c:29:22: warning: null argument where non-null required (argument 3) [-Wnonnull]
/tmp/ccyo0dm4.o: In function `main':
/home/user/twister/twister-core/conftest.c:27: undefined reference to `pthread_join'
/home/user/twister/twister-core/conftest.c:28: undefined reference to `__pthread_register_cancel'
/home/user/twister/twister-core/conftest.c:29: undefined reference to `pthread_create'
/home/user/twister/twister-core/conftest.c:29: undefined reference to `__pthread_unregister_cancel'
collect2: error: ld returned 1 exit status
configure:16032: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "twister"
| #define PACKAGE_TARNAME "twister"
| #define PACKAGE_VERSION "0.9.0"
| #define PACKAGE_STRING "twister 0.9.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "twister"
| #define VERSION "0.9.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h.  */
| #include <pthread.h>
| int
| main ()
| {
| pthread_t th; pthread_join(th, 0);
|                      pthread_attr_init(0); pthread_cleanup_push(0, 0);
|                      pthread_create(0,0,0,0); pthread_cleanup_pop(0);
|   ;
|   return 0;
| }
configure:16041: result: no
configure:15949: checking whether pthreads work with -pthread
configure:16032: gcc -o conftest -g -O2 -pthread   conftest.c   >&5
conftest.c: In function 'main':
conftest.c:28:22: warning: null argument where non-null required (argument 1) [-Wnonnull]
                      pthread_attr_init(0); pthread_cleanup_push(0, 0);
                      ^
conftest.c:29:22: warning: null argument where non-null required (argument 1) [-Wnonnull]
                      pthread_create(0,0,0,0); pthread_cleanup_pop(0);
                      ^
conftest.c:29:22: warning: null argument where non-null required (argument 3) [-Wnonnull]
configure:16032: $? = 0
configure:16041: result: yes
configure:16060: checking for joinable pthread attribute
configure:16075: gcc -o conftest -g -O2 -pthread   conftest.c   >&5
configure:16075: $? = 0
configure:16081: result: PTHREAD_CREATE_JOINABLE
configure:16091: checking if more special flags are required for pthreads
configure:16098: result: no
configure:16189: checking whether to check for GCC pthread/shared inconsistencies
configure:16202: gcc -o conftest -shared -fPIC -Wl,-z,defs -g -O2 -pthread   conftest.c   >&5
configure:16202: $? = 0
configure:16214: result: yes
configure:16256: checking whether -lpthread fixes that
configure:16272: gcc -o conftest -shared -fPIC -Wl,-z,defs -g -O2 -pthread   conftest.c -lpthread   >&5
conftest.c: In function 'main':
conftest.c:28:15: warning: null argument where non-null required (argument 1) [-Wnonnull]
               pthread_attr_init(0); pthread_cleanup_push(0, 0);
               ^
conftest.c:29:15: warning: null argument where non-null required (argument 1) [-Wnonnull]
               pthread_create(0,0,0,0); pthread_cleanup_pop(0);
               ^
conftest.c:29:15: warning: null argument where non-null required (argument 3) [-Wnonnull]
configure:16272: $? = 0
configure:16279: result: yes
configure:16366: checking for __attribute__((visibility("hidden")))
configure:16375: gcc -fvisibility=hidden -S visibility_conftest.c -o visibility_conftest.s 1>&5
configure:16378: $? = 0
configure:16389: result: yes
configure:16443: checking for boostlib >= 1.44
configure:16517: g++ -c -g -O2 -fvisibility-inlines-hidden  -I/usr/include conftest.cpp >&5
configure:16517: $? = 0
configure:16519: result: yes
configure:16698: checking whether the Boost::System library is available
configure:16722: g++ -c -g -O2 -fvisibility-inlines-hidden  -I/usr/include conftest.cpp >&5
configure:16722: $? = 0
configure:16737: result: yes
configure:16752: checking for exit in -lboost_system
configure:16777: gcc -o conftest -pthread -g -O2 -fvisibility=hidden  -I/usr/include  -L/usr/lib/x86_64-linux-gnu conftest.c -lboost_system  -lpthread   >&5
conftest.c:33:6: warning: conflicting types for built-in function 'exit' [enabled by default]
 char exit ();
      ^
configure:16777: $? = 0
configure:16787: result: yes
configure:16939: checking whether the Boost::Filesystem library is available
configure:16963: g++ -c -g -O2 -fvisibility-inlines-hidden  -I/usr/include conftest.cpp >&5
configure:16963: $? = 0
configure:16977: result: yes
configure:16988: checking for exit in -lboost_filesystem
configure:17013: gcc -o conftest -pthread -g -O2 -fvisibility=hidden  -I/usr/include  -L/usr/lib/x86_64-linux-gnu conftest.c -lboost_filesystem  -lpthread   -lboost_system >&5
conftest.c:34:6: warning: conflicting types for built-in function 'exit' [enabled by default]
 char exit ();
      ^
configure:17013: $? = 0
configure:17023: result: yes
configure:17173: checking whether the Boost::Program_Options library is available
configure:17197: g++ -c -g -O2 -fvisibility-inlines-hidden  -I/usr/include conftest.cpp >&5
configure:17197: $? = 0
configure:17211: result: yes
configure:17222: checking for exit in -lboost_program_options
configure:17247: gcc -o conftest -pthread -g -O2 -fvisibility=hidden  -I/usr/include  -L/usr/lib/x86_64-linux-gnu conftest.c -lboost_program_options  -lpthread   >&5
conftest.c:35:6: warning: conflicting types for built-in function 'exit' [enabled by default]
 char exit ();
      ^
configure:17247: $? = 0
configure:17257: result: yes
configure:17400: checking whether the Boost::Thread library is available
configure:17432: g++ -c -pthread -g -O2 -fvisibility-inlines-hidden  -I/usr/include conftest.cpp >&5
configure:17432: $? = 0
configure:17447: result: yes
configure:17476: checking for exit in -lboost_thread
configure:17501: gcc -o conftest -pthread -g -O2 -fvisibility=hidden  -I/usr/include  -L/usr/lib/x86_64-linux-gnu conftest.c -lboost_thread  -lpthread   >&5
conftest.c:36:6: warning: conflicting types for built-in function 'exit' [enabled by default]
 char exit ();
      ^
configure:17501: $? = 0
configure:17511: result: yes
configure:17671: checking whether the Boost::Chrono library is available
configure:17695: g++ -c -g -O2 -fvisibility-inlines-hidden  -pthread -I/usr/include conftest.cpp >&5
configure:17695: $? = 0
configure:17710: result: yes
configure:17725: checking for exit in -lboost_chrono
configure:17750: gcc -o conftest -pthread -g -O2 -fvisibility=hidden  -pthread -I/usr/include  -L/usr/lib/x86_64-linux-gnu conftest.c -lboost_chrono  -lpthread   >&5
conftest.c:37:6: warning: conflicting types for built-in function 'exit' [enabled by default]
 char exit ();
      ^
configure:17750: $? = 0
configure:17760: result: yes
configure:17912: checking whether the Boost::Locale library is available
configure:17936: g++ -c -g -O2 -fvisibility-inlines-hidden  -pthread -I/usr/include conftest.cpp >&5
configure:17936: $? = 0
configure:17951: result: yes
configure:17966: checking for exit in -lboost_locale
configure:17991: gcc -o conftest -pthread -g -O2 -fvisibility=hidden  -pthread -I/usr/include  -L/usr/lib/x86_64-linux-gnu conftest.c -lboost_locale  -lpthread   >&5
conftest.c:38:6: warning: conflicting types for built-in function 'exit' [enabled by default]
 char exit ();
      ^
configure:17991: $? = 0
configure:18001: result: yes
configure:18152: checking whether the Boost::Regex library is available
configure:18175: g++ -c -g -O2 -fvisibility-inlines-hidden  -pthread -I/usr/include conftest.cpp >&5
configure:18175: $? = 0
configure:18189: result: yes
configure:18340: error: Could not link against boost_locale !

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=x86_64-unknown-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_GEOIP_CFLAGS_set=
ac_cv_env_GEOIP_CFLAGS_value=
ac_cv_env_GEOIP_LIBS_set=
ac_cv_env_GEOIP_LIBS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_PYTHON_INSTALL_PARAMS_set=
ac_cv_env_PYTHON_INSTALL_PARAMS_value=
ac_cv_env_PYTHON_VERSION_set=
ac_cv_env_PYTHON_VERSION_value=
ac_cv_env_PYTHON_set=
ac_cv_env_PYTHON_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_header_dlfcn_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_hidden_visibility_attribute=yes
ac_cv_host=x86_64-unknown-linux-gnu
ac_cv_lib_boost_chrono___exit=yes
ac_cv_lib_boost_filesystem___exit=yes
ac_cv_lib_boost_locale___exit=yes
ac_cv_lib_boost_program_options___exit=yes
ac_cv_lib_boost_system___exit=yes
ac_cv_lib_boost_thread___exit=yes
ac_cv_objext=o
ac_cv_path_EGREP='/bin/grep -E'
ac_cv_path_FGREP='/bin/grep -F'
ac_cv_path_GREP=/bin/grep
ac_cv_path_SED=/bin/sed
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_CXXCPP='g++ -E'
ac_cv_prog_ac_ct_AR=ar
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_CXX=g++
ac_cv_prog_ac_ct_MANIFEST_TOOL=mt
ac_cv_prog_ac_ct_OBJDUMP=objdump
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_ac_ct_STRIP=strip
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_gcc_c_o=yes
ac_cv_prog_cxx_c_o=yes
ac_cv_prog_cxx_g=yes
ac_cv_prog_make_make_set=yes
ac_cv_target=x86_64-unknown-linux-gnu
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_CXX_dependencies_compiler_type=gcc3
am_cv_make_support_nested_variables=yes
am_cv_prog_cc_c_o=yes
ax_cv_boost_chrono=yes
ax_cv_boost_filesystem=yes
ax_cv_boost_locale=yes
ax_cv_boost_program_options=yes
ax_cv_boost_regex=yes
ax_cv_boost_system=yes
ax_cv_boost_thread=yes
lt_cv_ar_at_file=@
lt_cv_archive_cmds_need_lc=no
lt_cv_deplibs_check_method=pass_all
lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file=
lt_cv_ld_reload_flag=-r
lt_cv_nm_interface='BSD nm'
lt_cv_objdir=.libs
lt_cv_path_LD=/usr/bin/ld
lt_cv_path_LDCXX='/usr/bin/ld -m elf_x86_64'
lt_cv_path_NM='/usr/bin/nm -B'
lt_cv_path_mainfest_tool=no
lt_cv_prog_compiler_c_o=yes
lt_cv_prog_compiler_c_o_CXX=yes
lt_cv_prog_compiler_pic='-fPIC -DPIC'
lt_cv_prog_compiler_pic_CXX='-fPIC -DPIC'
lt_cv_prog_compiler_pic_works=yes
lt_cv_prog_compiler_pic_works_CXX=yes
lt_cv_prog_compiler_rtti_exceptions=no
lt_cv_prog_compiler_static_works=yes
lt_cv_prog_compiler_static_works_CXX=yes
lt_cv_prog_gnu_ld=yes
lt_cv_prog_gnu_ldcxx=yes
lt_cv_sharedlib_from_linklib_cmd='printf %s\n'
lt_cv_shlibpath_overrides_runpath=no
lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[   ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[     ][  ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\'''
lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/  {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/  {"\2", (void *) \&\2},/p'\'''
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/  {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \(lib[^ ]*\)$/  {"\2", (void *) \&\2},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/  {"lib\2", (void *) \&\2},/p'\'''
lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
lt_cv_sys_max_cmd_len=1572864
lt_cv_to_host_file_cmd=func_convert_file_noop
lt_cv_to_tool_file_cmd=func_convert_file_noop

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /home/user/twister/twister-core/build-aux/missing aclocal-1.14'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='0'
AM_V='$(V)'
AR='ar'
AUTOCONF='${SHELL} /home/user/twister/twister-core/build-aux/missing autoconf'
AUTOHEADER='${SHELL} /home/user/twister/twister-core/build-aux/missing autoheader'
AUTOMAKE='${SHELL} /home/user/twister/twister-core/build-aux/missing automake-1.14'
AWK='gawk'
BOOST_CHRONO_LIB='-lboost_chrono'
BOOST_CPPFLAGS='-pthread -I/usr/include'
BOOST_FILESYSTEM_LIB='-lboost_filesystem'
BOOST_LDFLAGS='-L/usr/lib/x86_64-linux-gnu'
BOOST_LOCALE_LIB='-lboost_locale'
BOOST_PROGRAM_OPTIONS_LIB='-lboost_program_options'
BOOST_PYTHON_LIB=''
BOOST_REGEX_LIB=''
BOOST_SYSTEM_LIB='-lboost_system'
BOOST_THREAD_LIB='-lboost_thread'
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-pthread -g -O2 -fvisibility=hidden'
COMPILETIME_OPTIONS=''
CPP='gcc -E'
CPPFLAGS=' -pthread -I/usr/include'
CXX='g++'
CXXCPP='g++ -E'
CXXDEPMODE='depmode=gcc3'
CXXFLAGS='-g -O2 -fvisibility-inlines-hidden'
CYGPATH_W='echo'
DB_CXX_CPPFLAGS=''
DB_CXX_LDFLAGS=''
DB_CXX_LIBS=''
DEBUGFLAGS=''
DEFS=''
DEPDIR='.deps'
DLLTOOL='false'
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/bin/grep -E'
ENABLE_DHT_FALSE=''
ENABLE_DHT_TRUE=''
ENABLE_EXAMPLES_FALSE=''
ENABLE_EXAMPLES_TRUE=''
ENABLE_PYTHON_BINDING_FALSE=''
ENABLE_PYTHON_BINDING_TRUE=''
ENABLE_TESTS_FALSE=''
ENABLE_TESTS_TRUE=''
EXEEXT=''
FGREP='/bin/grep -F'
GEOIP_CFLAGS=''
GEOIP_LIBS=''
GREP='/bin/grep'
ICONV_LIBS=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LD='/usr/bin/ld -m elf_x86_64'
LDFLAGS=' -L/usr/lib/x86_64-linux-gnu'
LIBICONV=''
LIBOBJS=''
LIBS='-lpthread  '
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
LIPO=''
LN_S='ln -s'
LTLIBICONV=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /home/user/twister/twister-core/build-aux/missing makeinfo'
MANIFEST_TOOL=':'
MKDIR_P='/bin/mkdir -p'
NM='/usr/bin/nm -B'
NMEDIT=''
OBJDUMP='objdump'
OBJEXT='o'
OPENSSL_INCLUDES=''
OPENSSL_LDFLAGS=''
OPENSSL_LIBS=''
OTOOL64=''
OTOOL=''
PACKAGE='twister'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='twister'
PACKAGE_STRING='twister 0.9.0'
PACKAGE_TARNAME='twister'
PACKAGE_URL=''
PACKAGE_VERSION='0.9.0'
PATH_SEPARATOR=':'
PKG_CONFIG=''
PTHREAD_CC='gcc'
PTHREAD_CFLAGS='-pthread'
PTHREAD_LIBS='-lpthread '
PYTHON=''
PYTHON_CPPFLAGS=''
PYTHON_EXEC_PREFIX=''
PYTHON_EXTRA_LDFLAGS=''
PYTHON_EXTRA_LIBS=''
PYTHON_INSTALL_PARAMS=''
PYTHON_LDFLAGS=''
PYTHON_PLATFORM=''
PYTHON_PREFIX=''
PYTHON_SITE_PKG=''
PYTHON_VERSION=''
RANLIB='ranlib'
SED='/bin/sed'
SET_MAKE=''
SHELL='/bin/bash'
STRIP='strip'
USE_SSE2_FALSE=''
USE_SSE2_TRUE=''
USE_UPNP_FALSE=''
USE_UPNP_TRUE=''
VERSION='0.9.0'
WITH_OPENSSL_FALSE=''
WITH_OPENSSL_TRUE=''
WITH_SHIPPED_GEOIP_FALSE=''
WITH_SHIPPED_GEOIP_TRUE=''
ac_ct_AR='ar'
ac_ct_CC='gcc'
ac_ct_CXX='g++'
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE='#'
am__fastdepCXX_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__nodep='_no'
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
ax_pthread_config=''
bindir='${exec_prefix}/bin'
build='x86_64-unknown-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='unknown'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='x86_64-unknown-linux-gnu'
host_alias=''
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='unknown'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /home/user/twister/twister-core/build-aux/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
pkgpyexecdir=''
pkgpythondir=''
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
pyexecdir=''
pythondir=''
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target='x86_64-unknown-linux-gnu'
target_alias=''
target_cpu='x86_64'
target_os='linux-gnu'
target_vendor='unknown'

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "twister"
#define PACKAGE_TARNAME "twister"
#define PACKAGE_VERSION "0.9.0"
#define PACKAGE_STRING "twister 0.9.0"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define PACKAGE "twister"
#define VERSION "0.9.0"
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_DLFCN_H 1
#define LT_OBJDIR ".libs/"
#define HAVE_PTHREAD 1
#define HAVE_BOOST /**/
#define HAVE_BOOST_SYSTEM 1
#define HAVE_BOOST_FILESYSTEM /**/
#define HAVE_BOOST_PROGRAM_OPTIONS /**/
#define HAVE_BOOST_THREAD /**/
#define HAVE_BOOST_CHRONO /**/
#define HAVE_BOOST_LOCALE /**/
#define HAVE_BOOST_REGEX /**/

configure: exit 1
miguelfreitas commented 10 years ago

@dryabov it should still compile even if boost_locale is not found, see https://github.com/miguelfreitas/twister-core/commit/d4b1c9b5699d08c0b1ba72af0c07636fdadb1359

miguelfreitas commented 10 years ago

@rysiekpl something looks wrong in that sequence:

checking for exit in -lboost_locale... yes checking whether the Boost::Regex library is available... yes configure: error: Could not link against boost_locale

i don't understand why it complain about boost_locale after boost_locale has been sucessfuly tested.

compare to the messages in my system:

checking whether the Boost::Regex library is available... yes checking for exit in -lboost_regex-mt... yes

rysiekpl commented 10 years ago

Exactly. Here, latest attempt at compiling:

checking whether the Boost::Locale library is available... yes
checking for exit in -lboost_locale... yes
checking whether the Boost::Regex library is available... yes
configure: error: Could not link against boost_locale !

I am now twister-less for 2 weeks, and not feeling good with it. Help! ;)

RealVegOs commented 10 years ago

What I see is: --> checking for exit in -lboost_locale... yes --> Could not link against boost_locale ! lboost_locale and boost_locale is not the same.

djmaze commented 10 years ago

For the guys who want to get Twister working again, try running it via docker. If you can get docker installed to your machine, this will work you.

First, install docker. On Ubuntu 14.04:

apt-get install docker.io
sudo ln -sf /usr/bin/docker.io /usr/local/bin/docker

(installation instructions for all systems)

Then, use my fork in order to run Twister in a container:

git clone https://github.com/djmaze/twister-core.git
cd twister-core
sudo -E ./twister-on-docker run --remote

Twister should be running now.

The above command downloads and runs a pre-built Twister image in a Docker container. If you want to build the image yourself, use the following instead:

sudo -E ./twister-on-docker run

Have a look at the Dockerfile if you want to see how the image is built. (And my PR, which is still waiting to be merged.)

rysiekpl commented 10 years ago

@RealVegOs -lboost_locale == the -l flag with "boost_locale" as argument; so it's all about "boost_locale".

@djmaze I appreciate the info, but installing docker just to get twister running seems hugely over-the-top. I'd really much rather get it to compile on my machine.

If anybody has any ideas or suggestions how to try to debug this one, I would really appreciate!

RealVegOs commented 10 years ago

@rysiekpl rysiekpl I'm no coder, but -l flag without following space looks strange for me.

djmaze commented 10 years ago

@rysiekpl Technically speaking, when building the image yourself, you are really compiling twister on your machine. Docker just provides a clean-room environment and tooling to make reproducible builds. (Btw, with the Docker approach, you are installing much less packages than you are when installing all the development libraries. It's just disposable containers and images.)

For me, as long as there are no packages built for the major distributions, I'd rather avoid the hassle of trying to get my system in the same state as the core developer's one. That's where docker shines. You have a clean development environment: Just make a change and run ./twister-on-docker stop && ./twister-on-docker run again.

That said, did you try installing libboost-all-dev before configuring twister? At least that works in my Docker-based build.

rysiekpl commented 10 years ago

Well, libboost-all-dev did it. Apparently I must have been using some old doc when installing particular libboost-*-dev libraries and not libboost-all-dev itself. Sorry for the commotion, and for posterity: here's the up-to-date doc!