"--with-qt4=no --with-qt5=no --with-c_glib=no" not work.

./configure --prefix=$THIRDPARTY_HOME/thrift \

           --with-boost=$THIRDPARTY_HOME/boost \

           --with-libevent=$THIRDPARTY_HOME/libevent \

           CPPFLAGS="-I$THIRDPARTY_HOME/openssl/include" \

           LDFLAGS="-ldl -L$THIRDPARTY_HOME/openssl/lib" \

           --with-qt4=no --with-c_glib=no --with-csharp=no \

           --with-java=no --with-erlang=no --with-python=no \

           --with-perl=no --with-ruby=no --with-haskell=no \

           --with-go=no --with-d=no \

           --with-qt4=no --with-qt5=no \

           --with-c_glib=no



# Check whether --with-qt4 was given.

if test "${with_qt4+set}" = set; then :

  withval=$with_qt4; with_qt4="$withval"

else

  with_qt4=yes


fi


          have_qt4=*no*


  have_qt=no

 # if test "$with_qt4" = "yes";  then

 #   PKG_CHECK_MODULES(QT, QtCore >= 4.3, QtNetwork >= 4.3, have_qt=yes,
have_qt=no)

 # fi

2015-04-15 2:04 GMT+08:00 Jens Geyer <jensge...@hotmail.com>:

> Hi,
>
> You don't have to comment them out - in fact, you actually shouldn't do
> this at all.  Instead you may call ./configure with some switches, such as
> these below, all well documented in ./configure and easily reachable by
>
>    ./configure --help
>
> Have fun,
> JensG
>
>
> Optional Features:
>  --disable-option-checking  ignore unrecognized --enable/--with options
>  --disable-FEATURE       do not include FEATURE (same as
> --enable-FEATURE=no)
>  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
>  --disable-dependency-tracking  speeds up one-time build
>  --enable-dependency-tracking   do not reject slow dependency extractors
>  --enable-shared[=PKGS]  build shared libraries [default=yes]
>  --enable-static[=PKGS]  build static libraries [default=yes]
>  --enable-fast-install[=PKGS]
>                          optimize for fast installation [default=yes]
>  --disable-libtool-lock  avoid locking (might break parallel builds)
>  --enable-libs           build the Apache Thrift libraries [default=yes]
>  --enable-tests          build tests [default=yes]
>  --enable-tutorial       build tutorial [default=yes]
>  --enable-coverage      turn on -fprofile-arcs -ftest-coverage
>  --enable-boostthreads      use boost threads, instead of POSIX pthread
> (experimental)
>
> Optional Packages:
>  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
>  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
>  --with-pic              try to use only PIC/non-PIC objects [default=use
>                          both]
>  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
>  --with-sysroot=DIR Search for dependent libraries within DIR
>                        (or the compiler's sysroot if not specified).
>  --with-cpp              build the C++ library [default=yes]
>  --with-boost[=ARG]      use Boost library from a standard location
>                          (ARG=yes), from the specified location
> (ARG=<path>),
>                          or disable it (ARG=no) [ARG=yes]
>  --with-boost-libdir=LIB_DIR
>                          Force given directory for boost libraries. Note
> that
>                          this will override library path detection, so use
>                          this parameter only if default library detection
>                          fails and you know exactly where your boost
>                          libraries are located.
>  --with-libevent[=DIR]   use libevent [default=yes]. Optionally specify the
>                          root prefix dir where libevent is installed
>  --with-zlib[=DIR]       use zlib (default is yes) - it is possible to
>                          specify an alternate root directory for zlib
>  --with-qt4              build the Qt library [default=yes]
>  --with-c_glib           build the C (GLib) library [default=yes]
>  --with-csharp           build the C# library [default=yes]
>  --with-java             build the Java library [default=yes]
>  --with-erlang           build the Erlang library [default=yes]
>  --with-nodejs           build the Nodejs library [default=yes]
>  --with-lua              build the Lua library [default=yes]
>  --with-python           build the Python library [default=yes]
>  --with-perl             build the Perl library [default=yes]
>  --with-php              build the PHP library [default=yes]
>  --with-php_extension    build the PHP_EXTENSION library [default=yes]
>  --with-ruby             build the Ruby library [default=yes]
>  --with-haskell          build the Haskell library [default=yes]
>  --with-go               build the Go library [default=yes]
>  --with-d                build the D library [default=yes]
>  --with-openssl=DIR      root of the OpenSSL directory
>
> Some influential environment variables:
>  PKG_CONFIG  path to pkg-config utility
>  PKG_CONFIG_PATH
>              directories to add to pkg-config's search path
>  PKG_CONFIG_LIBDIR
>              path overriding pkg-config's built-in search path
>  PY_PREFIX   Prefix for installing Python modules. (Normal --prefix is
>              ignored for Python because Python has different conventions.)
>              Default = "/usr"
>  JAVA_PREFIX Prefix for installing the Java lib jar. (Normal --prefix is
>              ignored for Java because Java has different conventions.)
>              Default = "/usr/local/lib"
>  RUBY_PREFIX Prefix for installing Ruby modules. (Normal --prefix is
> ignored
>              for Ruby because Ruby has different conventions.) Default =
>              none, let ruby setup decide
>  PHP_PREFIX  Prefix for installing PHP modules. (Normal --prefix is ignored
>              for PHP because PHP has different conventions.) Default =
>              "/usr/lib/php"
>  PHP_CONFIG_PREFIX
>              Prefix for installing PHP extension module .ini file. (Normal
>              --prefix is ignored for PHP because PHP has different
>              conventions.) Default = "/etc/php.d"
>  INSTALLDIRS When installing Perl modules, specifies which of the sets of
>              installation directories to choose: perl, site or vendor.
>              Default = "vendor"
>  PERL_PREFIX Prefix for installing Perl modules. (Normal --prefix is
> ignored
>              for Perl because Perl has different conventions.) Ignored,
> when
>              INSTALLDIRS set to site or vendor. Default = "/usr/local/lib"
>  CABAL_CONFIGURE_FLAGS
>              Extra flags to pass to cabal: "cabal Setup.lhs configure
>              $CABAL_CONFIGURE_FLAGS". (Typically used to set --user or
> force
>              --global.)
>  D_IMPORT_PREFIX
>              Prefix for installing D modules. [INCLUDEDIR/d2]
>  DMD_LIBEVENT_FLAGS
>              DMD flags for linking libevent (auto-detected if not set).
>  DMD_OPENSSL_FLAGS
>              DMD flags for linking OpenSSL (auto-detected if not set).
>  CC          C compiler command
>  CFLAGS      C compiler flags
>  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
>              nonstandard directory <lib dir>
>  LIBS        libraries to pass to the linker, e.g. -l<library>
>  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
>              you have headers in a nonstandard directory <include dir>
>  CPP         C preprocessor
>  CXX         C++ compiler command
>  CXXFLAGS    C++ compiler flags
>  CXXCPP      C++ preprocessor
>  YACC        The `Yet Another C Compiler' implementation to use. Defaults
> to
>              the first program found out of: `bison -y', `byacc', `yacc'.
>  YFLAGS      The list of arguments that will be passed by default to $YACC.
>              This script will default YFLAGS to the empty string to avoid a
>              default value of `-d' given by some make applications.
>  QT_CFLAGS   C compiler flags for QT, overriding pkg-config
>  QT_LIBS     linker flags for QT, overriding pkg-config
>  GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
>  GLIB_LIBS   linker flags for GLIB, overriding pkg-config
>  GOBJECT_CFLAGS
>              C compiler flags for GOBJECT, overriding pkg-config
>  GOBJECT_LIBS
>              linker flags for GOBJECT, overriding pkg-config
>  MONO_CFLAGS C compiler flags for MONO, overriding pkg-config
>  MONO_LIBS   linker flags for MONO, overriding pkg-config
>  ERL         Erlang/OTP interpreter command [autodetected]
>  ERLC        Erlang/OTP compiler command [autodetected]
>  ERLCFLAGS   Erlang/OTP compiler flags [none]
>  ERLANG_INSTALL_LIB_DIR
>              Erlang/OTP library installation base directory
>              [LIBDIR/erlang/lib]
>  ERLANG_INSTALL_LIB_DIR_thrift
>              Erlang/OTP 'thrift' library installation subdirectory
>              [ERLANG_INSTALL_LIB_DIR/thrift-1.0.0-dev]
>
> Use these variables to override the choices made by `configure' or to help
> it to find libraries and programs with nonstandard names/locations.
>
>
>
>
> -----Ursprüngliche Nachricht----- From: 易剑
> Sent: Tuesday, April 14, 2015 11:51 AM
> To: dev@thrift.apache.org
> Subject: Re: How to comiple https://github.com/eyjian/thrift?
>
>
> Build success by commenting these lines:
>
>  17656   echo "with_qt4 => $with_qt4"
>  17657 #  if test "$with_qt4" = "yes";  then
>  17658 #    PKG_CHECK_MODULES(QT, QtCore >= 4.3, QtNetwork >= 4.3,
> have_qt=yes, have_qt=no)
>  17659 #  fi
>
>  17727 #  if test "$with_qt5" = "yes";  then
>  17728 #    PKG_CHECK_MODULES(QT5, Qt5Core >= 5.0, Qt5Network >= 5.0,
>  17729 #                      have_qt5=yes;qt_reduce_reloc=`$PKG_CONFIG
> --variable=qt_config Qt5Core | grep "reduce_relocations"`,
>  17730 #                      have_qt5=no)
>  17731 #  fi
>
>  17873 #if test "$with_csharp" = "yes";  then
>  17874 #  PKG_CHECK_MODULES(MONO, mono >= 2.0.0, net_3_5=yes, net_3_5=no)
>  17875 #  PKG_CHECK_MODULES(MONO, mono >= 1.2.4, have_mono=yes,
> have_mono=no)
>  17876 #  if test "$have_mono" = "yes" ; then
>  17877 #    have_csharp="yes"
>  17878 #  fi
>  17879 #fi
>
>
> export THIRDPARTY_HOME=/usr/local/thirdparty
> ./configure --prefix=$THIRDPARTY_HOME/thrift \
>           --with-boost=$THIRDPARTY_HOME/boost \
>           --with-libevent=$THIRDPARTY_HOME/libevent \
>           CPPFLAGS="-I$THIRDPARTY_HOME/openssl/include" \
>           LDFLAGS="-ldl -L$THIRDPARTY_HOME/openssl/lib" \
>           --with-qt4=no --with-c_glib=no --with-csharp=no \
>           --with-java=no --with-erlang=no --with-python=no \
>           --with-perl=no --with-ruby=no --with-haskell=no \
>           --with-go=no --with-d=no \
>           --with-qt4=no --with-qt5=no \
>           --with-c_glib=no
> make
> make install
>
> 2015-04-14 16:52 GMT+08:00 易剑 <eyj...@gmail.com>:
>
>  ./configure --prefix=$THIRDPARTY_HOME/thrift \
>>            --with-boost=$THIRDPARTY_HOME/boost \
>>            --with-libevent=$THIRDPARTY_HOME/libevent \
>>            CPPFLAGS="-I$THIRDPARTY_HOME/openssl/include" \
>>            LDFLAGS="-ldl -L$THIRDPARTY_HOME/openssl/lib" \
>>            --with-qt4=no --with-c_glib=no --with-csharp=no \
>>            --with-java=no --with-erlang=no --with-python=no \
>>            --with-perl=no --with-ruby=no --with-haskell=no \
>>            --with-go=no --with-d=no \
>>            --with-qt4=no --with-qt5=no
>>
>> checking for ranlib... (cached) ranlib
>> checking whether g++ supports C++11 features by default... no
>> checking whether g++ supports C++11 features with -std=c++11... no
>> configure: No compiler with C++11 support was found
>> ./configure: line 17658: syntax error near unexpected token `QT,'
>> ./configure: line 17658: `    PKG_CHECK_MODULES(QT, QtCore >= 4.3,
>> QtNetwork >= 4.3, have_qt=yes, have_qt=no)'
>>
>> configure:
>>   17653           have_qt4=no
>>   17654
>>   17655   have_qt=no
>>   17656   echo "with_qt4 => $with_qt4"
>>   17657   if test "$with_qt4" = "yes";  then
>>   17658     PKG_CHECK_MODULES(QT, QtCore >= 4.3, QtNetwork >= 4.3,
>> have_qt=yes, have_qt=no)
>>   17659   fi
>>
>>
>> 2015-04-14 16:39 GMT+08:00 易剑 <eyj...@gmail.com>:
>>
>>  "--with-qt4=no" not work
>>>
>>> 2015-04-14 16:32 GMT+08:00 易剑 <eyj...@gmail.com>:
>>>
>>>  Thanks,
>>>>
>>>> You are right, I remove and checkout again with:
>>>> git config --global core.autocrlf false
>>>> git config --global core.safecrlf true
>>>> git config --global core.eol lf
>>>>
>>>> But failed yet:
>>>>
>>>> # ./*configure *--prefix=$THIRDPARTY_HOME/thrift-0.9.2 \
>>>> >            --with-boost=$THIRDPARTY_HOME/boost \
>>>> >            --with-libevent=$THIRDPARTY_HOME/libevent \
>>>> >            CPPFLAGS="-I$THIRDPARTY_HOME/openssl/include" \
>>>> >            LDFLAGS="-ldl -L$THIRDPARTY_HOME/openssl/lib" \
>>>> >            --with-qt4=no --with-c_glib=no --with-csharp=no \
>>>> >            --with-java=no --with-erlang=no --with-python=no \
>>>> >            --with-perl=no --with-ruby=no --with-haskell=no \
>>>> >            --with-go=no --with-d=no
>>>>
>>>> configure: No compiler with *C++11* support was found
>>>>
>>>> ./configure: line 17657: syntax error near unexpected token `QT,'
>>>> ./configure: line 17657: `    PKG_CHECK_MODULES(QT, QtCore >= 4.3,
>>>> QtNetwork >= 4.3, have_qt=yes, have_qt=no)'
>>>>
>>>>
>>>>
>>>>
>>>> 2015-04-14 15:06 GMT+08:00 Jens Geyer <jensge...@hotmail.com>:
>>>>
>>>>  Check your git settings, especially the EOL-style related ones. Using
>>>>> dos2unix is not normal behaviour.
>>>>>
>>>>> The subdir warnings can be ignored for now.
>>>>> ________________________________
>>>>> Von: 易剑
>>>>> Gesendet: 14.04.2015 08:57
>>>>> An: dev@thrift.apache.org
>>>>> Betreff: Re: How to comiple https://github.com/eyjian/thrift?
>>>>>
>>>>> Solution:
>>>>>
>>>>> dos2unix *.sh
>>>>> chmod +x *.sh
>>>>> dos2unix configure.ac
>>>>> find . -name Makefile.am |xargs dos2unix
>>>>>
>>>>> Bug got many warning and error:
>>>>> # ./bootstrap.sh
>>>>> configure.ac:90: installing './config.guess'
>>>>> configure.ac:90: installing './config.sub'
>>>>> configure.ac:27: installing './install-sh'
>>>>> configure.ac:27: installing './missing'
>>>>> compiler/cpp/Makefile.am:103: warning: source file 'src/thrifty.yy' is
>>>>> in a
>>>>> subdirectory,
>>>>> compiler/cpp/Makefile.am:103: but option 'subdir-objects' is disabled
>>>>> automake: warning: possible forward-incompatibility.
>>>>> automake: At least a source file is in a subdirectory, but the
>>>>> 'subdir-objects'
>>>>> automake: automake option hasn't been enabled.  For now, the
>>>>> corresponding
>>>>> output
>>>>> automake: object file(s) will be placed in the top-level directory.
>>>>> However,
>>>>> automake: this behaviour will change in future Automake versions: they
>>>>> will
>>>>> automake: unconditionally cause object files to be placed in the same
>>>>> subdirectory
>>>>> automake: of the corresponding sources.
>>>>> automake: You are advised to start using 'subdir-objects' option
>>>>> throughout
>>>>> your
>>>>> automake: project, to avoid future incompatibilities.
>>>>> compiler/cpp/Makefile.am:103: warning: source file 'src/thriftl.ll' is
>>>>> in a
>>>>> subdirectory,
>>>>> compiler/cpp/Makefile.am:103: but option 'subdir-objects' is disabled
>>>>> compiler/cpp/Makefile.am:34: warning: source file 'src/main.cc' is in a
>>>>> subdirectory,
>>>>> compiler/cpp/Makefile.am:34: but option 'subdir-objects' is disabled
>>>>> compiler/cpp/Makefile.am:34: warning: source file 'src/md5.c' is in a
>>>>> subdirectory,
>>>>> compiler/cpp/Makefile.am:34: but option 'subdir-objects' is disabled
>>>>> compiler/cpp/Makefile.am:34: warning: source file
>>>>> 'src/generate/t_generator.cc' is in a subdirectory,
>>>>> compiler/cpp/Makefile.am:34: but option 'subdir-objects' is disabled
>>>>> compiler/cpp/Makefile.am:34: warning: source file
>>>>> 'src/parse/t_typedef.cc'
>>>>> is in a subdirectory,
>>>>> compiler/cpp/Makefile.am:34: but option 'subdir-objects' is disabled
>>>>> compiler/cpp/Makefile.am:34: warning: source file 'src/parse/parse.cc'
>>>>> is
>>>>> in a subdirectory,
>>>>> compiler/cpp/Makefile.am:34: but option 'subdir-objects' is disabled
>>>>> compiler/cpp/Makefile.am:34: warning: source file
>>>>> 'src/generate/t_c_glib_generator.cc' is in a subdirectory,
>>>>> compiler/cpp/Makefile.am:34: but option 'subdir-objects' is disabled
>>>>> compiler/cpp/Makefile.am:34: warning: source file
>>>>> 'src/generate/t_cpp_generator.cc' is in a subdirectory,
>>>>> compiler/cpp/Makefile.am:34: but option 'subdir-objects' is disabled
>>>>> compiler/cpp/Makefile.am:34: warning: source file
>>>>> 'src/generate/t_java_generator.cc' is in a subdirectory,
>>>>> compiler/cpp/Makefile.am:34: but option 'subdir-objects' is disabled
>>>>> compiler/cpp/Makefile.am:34: warning: source file
>>>>> 'src/generate/t_json_generator.cc' is in a subdirectory,
>>>>> compiler/cpp/Makefile.am:34: but option 'subdir-objects' is disabled
>>>>> compiler/cpp/Makefile.am:34: warning: source file
>>>>> 'src/generate/t_as3_generator.cc' is in a subdirectory,
>>>>> compiler/cpp/Makefile.am:34: but option 'subdir-objects' is disabled
>>>>> compiler/cpp/Makefile.am:34: warning: source file
>>>>> 'src/generate/t_haxe_generator.cc' is in a subdirectory,
>>>>> compiler/cpp/Makefile.am:34: but option 'subdir-objects' is disabled
>>>>> compiler/cpp/Makefile.am:34: warning: source file
>>>>> 'src/generate/t_csharp_generator.cc' is in a subdirectory,
>>>>> compiler/cpp/Makefile.am:34: but option 'subdir-objects' is disabled
>>>>> compiler/cpp/Makefile.am:34: warning: source file
>>>>> 'src/generate/t_py_generator.cc' is in a subdirectory,
>>>>> compiler/cpp/Makefile.am:34: but option 'subdir-objects' is disabled
>>>>> compiler/cpp/Makefile.am:34: warning: source file
>>>>> 'src/generate/t_rb_generator.cc' is in a subdirectory,
>>>>> compiler/cpp/Makefile.am:34: but option 'subdir-objects' is disabled
>>>>> compiler/cpp/Makefile.am:34: warning: source file
>>>>> 'src/generate/t_perl_generator.cc' is in a subdirectory,
>>>>> compiler/cpp/Makefile.am:34: but option 'subdir-objects' is disabled
>>>>> compiler/cpp/Makefile.am:34: warning: source file
>>>>> 'src/generate/t_php_generator.cc' is in a subdirectory,
>>>>> compiler/cpp/Makefile.am:34: but option 'subdir-objects' is disabled
>>>>> compiler/cpp/Makefile.am:34: warning: source file
>>>>> 'src/generate/t_erl_generator.cc' is in a subdirectory,
>>>>> compiler/cpp/Makefile.am:34: but option 'subdir-objects' is disabled
>>>>> compiler/cpp/Makefile.am:34: warning: source file
>>>>> 'src/generate/t_cocoa_generator.cc' is in a subdirectory,
>>>>> compiler/cpp/Makefile.am:34: but option 'subdir-objects' is disabled
>>>>> compiler/cpp/Makefile.am:34: warning: source file
>>>>> 'src/generate/t_st_generator.cc' is in a subdirectory,
>>>>> compiler/cpp/Makefile.am:34: but option 'subdir-objects' is disabled
>>>>> compiler/cpp/Makefile.am:34: warning: source file
>>>>> 'src/generate/t_ocaml_generator.cc' is in a subdirectory,
>>>>> compiler/cpp/Makefile.am:34: but option 'subdir-objects' is disabled
>>>>> compiler/cpp/Makefile.am:34: warning: source file
>>>>> 'src/generate/t_hs_generator.cc' is in a subdirectory,
>>>>> compiler/cpp/Makefile.am:34: but option 'subdir-objects' is disabled
>>>>> compiler/cpp/Makefile.am:34: warning: source file
>>>>> 'src/generate/t_xsd_generator.cc' is in a subdirectory,
>>>>> compiler/cpp/Makefile.am:34: but option 'subdir-objects' is disabled
>>>>> compiler/cpp/Makefile.am:34: warning: source file
>>>>> 'src/generate/t_html_generator.cc' is in a subdirectory,
>>>>> compiler/cpp/Makefile.am:34: but option 'subdir-objects' is disabled
>>>>> compiler/cpp/Makefile.am:34: warning: source file
>>>>> 'src/generate/t_js_generator.cc' is in a subdirectory,
>>>>> compiler/cpp/Makefile.am:34: but option 'subdir-objects' is disabled
>>>>> compiler/cpp/Makefile.am:34: warning: source file
>>>>> 'src/generate/t_javame_generator.cc' is in a subdirectory,
>>>>> compiler/cpp/Makefile.am:34: but option 'subdir-objects' is disabled
>>>>> compiler/cpp/Makefile.am:34: warning: source file
>>>>> 'src/generate/t_delphi_generator.cc' is in a subdirectory,
>>>>> compiler/cpp/Makefile.am:34: but option 'subdir-objects' is disabled
>>>>> compiler/cpp/Makefile.am:34: warning: source file
>>>>> 'src/generate/t_go_generator.cc' is in a subdirectory,
>>>>> compiler/cpp/Makefile.am:34: but option 'subdir-objects' is disabled
>>>>> compiler/cpp/Makefile.am:34: warning: source file
>>>>> 'src/generate/t_gv_generator.cc' is in a subdirectory,
>>>>> compiler/cpp/Makefile.am:34: but option 'subdir-objects' is disabled
>>>>> compiler/cpp/Makefile.am:34: warning: source file
>>>>> 'src/generate/t_d_generator.cc' is in a subdirectory,
>>>>> compiler/cpp/Makefile.am:34: but option 'subdir-objects' is disabled
>>>>> compiler/cpp/Makefile.am:34: warning: source file
>>>>> 'src/generate/t_lua_generator.cc' is in a subdirectory,
>>>>> compiler/cpp/Makefile.am:34: but option 'subdir-objects' is disabled
>>>>> compiler/cpp/Makefile.am: installing './depcomp'
>>>>> configure.ac: installing './ylwrap'
>>>>> lib/c_glib/Makefile.am:31: warning: source file
>>>>> 'src/thrift/c_glib/thrift.c' is in a subdirectory,
>>>>> lib/c_glib/Makefile.am:31: but option 'subdir-objects' is disabled
>>>>> lib/c_glib/Makefile.am:31: warning: source file
>>>>> 'src/thrift/c_glib/thrift_struct.c' is in a subdirectory,
>>>>> lib/c_glib/Makefile.am:31: but option 'subdir-objects' is disabled
>>>>> lib/c_glib/Makefile.am:31: warning: source file
>>>>> 'src/thrift/c_glib/thrift_application_exception.c' is in a
>>>>> subdirectory,
>>>>> lib/c_glib/Makefile.am:31: but option 'subdir-objects' is disabled
>>>>> lib/c_glib/Makefile.am:31: warning: source file
>>>>> 'src/thrift/c_glib/processor/thrift_processor.c' is in a subdirectory,
>>>>> lib/c_glib/Makefile.am:31: but option 'subdir-objects' is disabled
>>>>> lib/c_glib/Makefile.am:31: warning: source file
>>>>> 'src/thrift/c_glib/processor/thrift_dispatch_processor.c' is in a
>>>>> subdirectory,
>>>>> lib/c_glib/Makefile.am:31: but option 'subdir-objects' is disabled
>>>>> lib/c_glib/Makefile.am:31: warning: source file
>>>>> 'src/thrift/c_glib/protocol/thrift_protocol.c' is in a subdirectory,
>>>>> lib/c_glib/Makefile.am:31: but option 'subdir-objects' is disabled
>>>>> lib/c_glib/Makefile.am:31: warning: source file
>>>>> 'src/thrift/c_glib/protocol/thrift_protocol_factory.c' is in a
>>>>> subdirectory,
>>>>> lib/c_glib/Makefile.am:31: but option 'subdir-objects' is disabled
>>>>> lib/c_glib/Makefile.am:31: warning: source file
>>>>> 'src/thrift/c_glib/protocol/thrift_binary_protocol.c' is in a
>>>>> subdirectory,
>>>>> lib/c_glib/Makefile.am:31: but option 'subdir-objects' is disabled
>>>>> lib/c_glib/Makefile.am:31: warning: source file
>>>>> 'src/thrift/c_glib/protocol/thrift_binary_protocol_factory.c' is in a
>>>>> subdirectory,
>>>>> lib/c_glib/Makefile.am:31: but option 'subdir-objects' is disabled
>>>>> lib/c_glib/Makefile.am:31: warning: source file
>>>>> 'src/thrift/c_glib/transport/thrift_transport.c' is in a subdirectory,
>>>>> lib/c_glib/Makefile.am:31: but option 'subdir-objects' is disabled
>>>>> lib/c_glib/Makefile.am:31: warning: source file
>>>>> 'src/thrift/c_glib/transport/thrift_transport_factory.c' is in a
>>>>> subdirectory,
>>>>> lib/c_glib/Makefile.am:31: but option 'subdir-objects' is disabled
>>>>> lib/c_glib/Makefile.am:31: warning: source file
>>>>> 'src/thrift/c_glib/transport/thrift_buffered_transport_factory.c' is
>>>>> in
>>>>> a
>>>>> subdirectory,
>>>>> lib/c_glib/Makefile.am:31: but option 'subdir-objects' is disabled
>>>>> lib/c_glib/Makefile.am:31: warning: source file
>>>>> 'src/thrift/c_glib/transport/thrift_framed_transport_factory.c' is in
>>>>> a
>>>>> subdirectory,
>>>>> lib/c_glib/Makefile.am:31: but option 'subdir-objects' is disabled
>>>>> lib/c_glib/Makefile.am:31: warning: source file
>>>>> 'src/thrift/c_glib/transport/thrift_socket.c' is in a subdirectory,
>>>>> lib/c_glib/Makefile.am:31: but option 'subdir-objects' is disabled
>>>>> lib/c_glib/Makefile.am:31: warning: source file
>>>>> 'src/thrift/c_glib/transport/thrift_server_transport.c' is in a
>>>>> subdirectory,
>>>>> lib/c_glib/Makefile.am:31: but option 'subdir-objects' is disabled
>>>>> lib/c_glib/Makefile.am:31: warning: source file
>>>>> 'src/thrift/c_glib/transport/thrift_server_socket.c' is in a
>>>>> subdirectory,
>>>>> lib/c_glib/Makefile.am:31: but option 'subdir-objects' is disabled
>>>>> lib/c_glib/Makefile.am:31: warning: source file
>>>>> 'src/thrift/c_glib/transport/thrift_buffered_transport.c' is in a
>>>>> subdirectory,
>>>>> lib/c_glib/Makefile.am:31: but option 'subdir-objects' is disabled
>>>>> lib/c_glib/Makefile.am:31: warning: source file
>>>>> 'src/thrift/c_glib/transport/thrift_framed_transport.c' is in a
>>>>> subdirectory,
>>>>> lib/c_glib/Makefile.am:31: but option 'subdir-objects' is disabled
>>>>> lib/c_glib/Makefile.am:31: warning: source file
>>>>> 'src/thrift/c_glib/transport/thrift_memory_buffer.c' is in a
>>>>> subdirectory,
>>>>> lib/c_glib/Makefile.am:31: but option 'subdir-objects' is disabled
>>>>> lib/c_glib/Makefile.am:31: warning: source file
>>>>> 'src/thrift/c_glib/server/thrift_server.c' is in a subdirectory,
>>>>> lib/c_glib/Makefile.am:31: but option 'subdir-objects' is disabled
>>>>> lib/c_glib/Makefile.am:31: warning: source file
>>>>> 'src/thrift/c_glib/server/thrift_simple_server.c' is in a
>>>>> subdirectory,
>>>>> lib/c_glib/Makefile.am:31: but option 'subdir-objects' is disabled
>>>>> lib/c_glib/test/Makefile.am:128: warning: source file
>>>>> 'gen-c_glib/t_test_debug_proto_test_types.c' is in a subdirectory,
>>>>> lib/c_glib/test/Makefile.am:128: but option 'subdir-objects' is
>>>>> disabled
>>>>> lib/c_glib/test/Makefile.am:128: warning: source file
>>>>> 'gen-c_glib/t_test_empty_service.c' is in a subdirectory,
>>>>> lib/c_glib/test/Makefile.am:128: but option 'subdir-objects' is
>>>>> disabled
>>>>> lib/c_glib/test/Makefile.am:128: warning: source file
>>>>> 'gen-c_glib/t_test_inherited.c' is in a subdirectory,
>>>>> lib/c_glib/test/Makefile.am:128: but option 'subdir-objects' is
>>>>> disabled
>>>>> lib/c_glib/test/Makefile.am:128: warning: source file
>>>>> 'gen-c_glib/t_test_optional_required_test_types.c' is in a
>>>>> subdirectory,
>>>>> lib/c_glib/test/Makefile.am:128: but option 'subdir-objects' is
>>>>> disabled
>>>>> lib/c_glib/test/Makefile.am:128: warning: source file
>>>>> 'gen-c_glib/t_test_reverse_order_service.c' is in a subdirectory,
>>>>> lib/c_glib/test/Makefile.am:128: but option 'subdir-objects' is
>>>>> disabled
>>>>> lib/c_glib/test/Makefile.am:128: warning: source file
>>>>> 'gen-c_glib/t_test_second_service.c' is in a subdirectory,
>>>>> lib/c_glib/test/Makefile.am:128: but option 'subdir-objects' is
>>>>> disabled
>>>>> lib/c_glib/test/Makefile.am:128: warning: source file
>>>>> 'gen-c_glib/t_test_service_for_exception_with_a_map.c' is in a
>>>>> subdirectory,
>>>>> lib/c_glib/test/Makefile.am:128: but option 'subdir-objects' is
>>>>> disabled
>>>>> lib/c_glib/test/Makefile.am:128: warning: source file
>>>>> 'gen-c_glib/t_test_srv.c' is in a subdirectory,
>>>>> lib/c_glib/test/Makefile.am:128: but option 'subdir-objects' is
>>>>> disabled
>>>>> lib/c_glib/test/Makefile.am:128: warning: source file
>>>>> 'gen-c_glib/t_test_thrift_test.c' is in a subdirectory,
>>>>> lib/c_glib/test/Makefile.am:128: but option 'subdir-objects' is
>>>>> disabled
>>>>> lib/c_glib/test/Makefile.am:128: warning: source file
>>>>> 'gen-c_glib/t_test_thrift_test_types.c' is in a subdirectory,
>>>>> lib/c_glib/test/Makefile.am:128: but option 'subdir-objects' is
>>>>> disabled
>>>>> lib/c_glib/test/Makefile.am:151: warning: source file
>>>>> 'gen-cpp/ThriftTest.cpp' is in a subdirectory,
>>>>> lib/c_glib/test/Makefile.am:151: but option 'subdir-objects' is
>>>>> disabled
>>>>> lib/c_glib/test/Makefile.am:151: warning: source file
>>>>> 'gen-cpp/ThriftTest_constants.cpp' is in a subdirectory,
>>>>> lib/c_glib/test/Makefile.am:151: but option 'subdir-objects' is
>>>>> disabled
>>>>> lib/c_glib/test/Makefile.am:151: warning: source file
>>>>> 'gen-cpp/ThriftTest_types.cpp' is in a subdirectory,
>>>>> lib/c_glib/test/Makefile.am:151: but option 'subdir-objects' is
>>>>> disabled
>>>>>
>>>>> # ./configure --prefix=$THIRDPARTY_HOME/thrift-0.9.2 \
>>>>> >            --with-boost=$THIRDPARTY_HOME/boost \
>>>>> >            --with-libevent=$THIRDPARTY_HOME/libevent \
>>>>> >            CPPFLAGS="-I$THIRDPARTY_HOME/openssl/include" \
>>>>> >            LDFLAGS="-ldl -L$THIRDPARTY_HOME/openssl/lib" \
>>>>> >            --with-qt4=no --with-c_glib=no --with-csharp=no \
>>>>> >            --with-java=no --with-erlang=no --with-python=no \
>>>>> >            --with-perl=no --with-ruby=no --with-haskell=no \
>>>>> >            --with-go=no --with-d=no
>>>>> checking for a BSD-compatible install... /usr/bin/install -c
>>>>> checking whether build environment is sane... yes
>>>>> checking for a thread-safe mkdir -p... /bin/mkdir -p
>>>>> checking for gawk... gawk
>>>>> checking whether make sets $(MAKE)... yes
>>>>> checking whether make supports nested variables... yes
>>>>> checking whether UID '0' is supported by ustar format... yes
>>>>> checking whether GID '100' is supported by ustar format... yes
>>>>> checking how to create a ustar tar archive... gnutar
>>>>> ./configure: line 3740: PKG_PROG_PKG_CONFIG: command not found
>>>>> checking for gcc... gcc
>>>>> checking whether the C compiler works... yes
>>>>> checking for C compiler default output file name... a.out
>>>>> checking for suffix of executables...
>>>>> checking whether we are cross compiling... no
>>>>> checking for suffix of object files... o
>>>>> checking whether we are using the GNU C compiler... yes
>>>>> checking whether gcc accepts -g... yes
>>>>> checking for gcc option to accept ISO C89... none needed
>>>>> checking whether gcc understands -c and -o together... yes
>>>>> checking for style of include used by make... GNU
>>>>> checking dependency style of gcc... gcc3
>>>>> checking how to run the C preprocessor... gcc -E
>>>>> checking for g++... g++
>>>>> checking whether we are using the GNU C++ compiler... yes
>>>>> checking whether g++ accepts -g... yes
>>>>> checking dependency style of g++... gcc3
>>>>> checking build system type... x86_64-unknown-linux-gnu
>>>>> checking host system type... x86_64-unknown-linux-gnu
>>>>> checking how to print strings... printf
>>>>> checking for a sed that does not truncate output... /usr/bin/sed
>>>>> checking for grep that handles long lines and -e... /usr/bin/grep
>>>>> checking for egrep... /usr/bin/grep -E
>>>>> checking for fgrep... /usr/bin/grep -F
>>>>> checking for ld used by gcc... /usr/x86_64-suse-linux/bin/ld
>>>>> checking if the linker (/usr/x86_64-suse-linux/bin/ld) is GNU ld...
>>>>> yes
>>>>> checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
>>>>> checking the name lister (/usr/bin/nm -B) interface... BSD nm
>>>>> checking whether ln -s works... yes
>>>>> checking the maximum length of command line arguments... 98304
>>>>> checking whether the shell understands some XSI constructs... yes
>>>>> checking whether the shell understands "+="... yes
>>>>> checking how to convert x86_64-unknown-linux-gnu file names to
>>>>> x86_64-unknown-linux-gnu format... func_convert_file_noop
>>>>> checking how to convert x86_64-unknown-linux-gnu file names to
>>>>> toolchain
>>>>> format... func_convert_file_noop
>>>>> checking for /usr/x86_64-suse-linux/bin/ld option to reload object
>>>>> files...
>>>>> -r
>>>>> checking for objdump... objdump
>>>>> checking how to recognize dependent libraries... pass_all
>>>>> checking for dlltool... no
>>>>> checking how to associate runtime and link libraries... printf %s\n
>>>>> checking for ar... ar
>>>>> checking for archiver @FILE support... @
>>>>> checking for strip... strip
>>>>> checking for ranlib... ranlib
>>>>> checking command to parse /usr/bin/nm -B output from gcc object... ok
>>>>> checking for sysroot... no
>>>>> checking for mt... mt
>>>>> checking if mt is a manifest tool... no
>>>>> checking for ANSI C header files... yes
>>>>> checking for sys/types.h... yes
>>>>> checking for sys/stat.h... yes
>>>>> checking for stdlib.h... yes
>>>>> checking for string.h... yes
>>>>> checking for memory.h... yes
>>>>> checking for strings.h... yes
>>>>> checking for inttypes.h... yes
>>>>> checking for stdint.h... yes
>>>>> checking for unistd.h... yes
>>>>> checking for dlfcn.h... yes
>>>>> checking for objdir... .libs
>>>>> checking if gcc supports -fno-rtti -fno-exceptions... no
>>>>> checking for gcc option to produce PIC... -fPIC -DPIC
>>>>> checking if gcc PIC flag -fPIC -DPIC works... yes
>>>>> checking if gcc static flag -static works... yes
>>>>> checking if gcc supports -c -o file.o... yes
>>>>> checking if gcc supports -c -o file.o... (cached) yes
>>>>> checking whether the gcc linker (/usr/x86_64-suse-linux/bin/ld -m
>>>>> elf_x86_64) supports shared libraries... yes
>>>>> checking whether -lc should be explicitly linked in... no
>>>>> checking dynamic linker characteristics... GNU/Linux ld.so
>>>>> checking how to hardcode library paths into programs... immediate
>>>>> checking whether stripping libraries is possible... yes
>>>>> checking if libtool supports shared libraries... yes
>>>>> checking whether to build shared libraries... yes
>>>>> checking whether to build static libraries... yes
>>>>> checking how to run the C++ preprocessor... g++ -E
>>>>> checking for ld used by g++... /usr/x86_64-suse-linux/bin/ld -m
>>>>> elf_x86_64
>>>>> checking if the linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) is
>>>>> GNU
>>>>> ld... yes
>>>>> checking whether the g++ linker (/usr/x86_64-suse-linux/bin/ld -m
>>>>> elf_x86_64) supports shared libraries... yes
>>>>> checking for g++ option to produce PIC... -fPIC -DPIC
>>>>> checking if g++ PIC flag -fPIC -DPIC works... yes
>>>>> checking if g++ static flag -static works... yes
>>>>> checking if g++ supports -c -o file.o... yes
>>>>> checking if g++ supports -c -o file.o... (cached) yes
>>>>> checking whether the g++ linker (/usr/x86_64-suse-linux/bin/ld -m
>>>>> elf_x86_64) supports shared libraries... yes
>>>>> checking dynamic linker characteristics... (cached) GNU/Linux ld.so
>>>>> checking how to hardcode library paths into programs... immediate
>>>>> checking whether make sets $(MAKE)... (cached) yes
>>>>> checking for bison... yes
>>>>> checking for bison version >= 2.5... yes
>>>>> checking for bison... bison -y
>>>>> checking for flex... flex
>>>>> checking lex output file root... lex.yy
>>>>> checking lex library... -lfl
>>>>> checking whether yytext is a pointer... yes
>>>>> checking whether ln -s works... yes
>>>>> checking for gawk... (cached) gawk
>>>>> checking for ranlib... (cached) ranlib
>>>>> checking whether g++ supports C++11 features by default... no
>>>>> checking whether g++ supports C++11 features with -std=c++11... no
>>>>> configure: No compiler with C++11 support was found
>>>>> ./configure: line 16746: syntax error near unexpected token `fi'
>>>>> ./configure: line 16746: `fi'
>>>>>
>>>>>
>>>>> 2015-04-14 14:42 GMT+08:00 易剑 <eyj...@gmail.com>:
>>>>>
>>>>> > If this is in Makefile.am
>>>>> >
>>>>> >   ACLOCAL_AMFLAGS = -I ./aclocal
>>>>> >
>>>>> > and this is in configure.ac:
>>>>> >
>>>>> >   AC_CONFIG_MACRO_DIR([./aclocal])
>>>>> >
>>>>> > Then libtoolize fails with
>>>>> >
>>>>> > .ibtoolize: AC_CONFIG_MACRO_DIR([./aclocal]) conflicts with
>>>>> ACLOCAL_AMFLAGS=-I ./aclocal4
>>>>> >
>>>>> >
>>>>> >
>>>>> > 2015-04-14 14:23 GMT+08:00 易剑 <eyj...@gmail.com>:
>>>>> >
>>>>> >> Error at "*$LIBTOOLIZE --copy --automake*" in bootstrap.sh
>>>>> >>
>>>>> >> Error message:
>>>>> >> .ibtoolize: AC_CONFIG_MACRO_DIR([./aclocal]) conflicts with
>>>>> >> ACLOCAL_AMFLAGS=-I ./aclocal
>>>>> >>
>>>>> >> 2015-04-14 4:54 GMT+08:00 Jens Geyer <jensge...@hotmail.com>:
>>>>> >>
>>>>> >>> Hi,
>>>>> >>>
>>>>> >>> no idea, works fine for me (setup below).
>>>>> >>> Can we get something like a full log or is this the only output you
>>>>> got?
>>>>> >>>
>>>>> >>> JensG
>>>>> >>>
>>>>> >>>
>>>>> >>> bison 2.7
>>>>> >>> autoconf 2.69
>>>>> >>> automake 1.13.4
>>>>> >>> libtool 2.4.2
>>>>> >>> OpenSSL 1.0.1k-fips 8 Jan 2015
>>>>> >>> boost 1.54.0
>>>>> >>> libevent 2.0.5
>>>>> >>> m4 1.4.17
>>>>> >>> gcc (SUSE Linux) 4.8.3 20140627 [gcc-4_8-branch revision 212064]
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> -----Ursprüngliche Nachricht----- From: 易剑
>>>>> >>> Sent: Monday, April 13, 2015 10:36 AM
>>>>> >>> To: dev@thrift.apache.org
>>>>> >>> Subject: How to comiple https://github.com/eyjian/thrift?
>>>>> >>>
>>>>> >>> I forked branches to https://github.com/eyjian/thrift, but failed
>>>>> to
>>>>> >>> compile it with errors:
>>>>> >>>
>>>>> >>> *./bootstrap.sh *
>>>>> >>> *.ibtoolize: AC_CONFIG_MACRO_DIR([./aclocal]) conflicts with
>>>>> >>> ACLOCAL_AMFLAGS=-I ./aclocal*
>>>>> >>>
>>>>> >>>
>>>>> >>> i had updated deps as the followings:
>>>>> >>> bison-3.0
>>>>> >>> autoconf-2.69
>>>>> >>> automake-1.15
>>>>> >>> libtool-2.4
>>>>> >>> openssl-1.0.2a
>>>>> >>> boost_1_57_0
>>>>> >>> libevent-2.0.22-stable
>>>>> >>> m4-1.4.17
>>>>> >>>
>>>>> >>>
>>>>> >>> # gcc --version
>>>>> >>> gcc (GCC) 4.1.2 20070115 (prerelease) (SUSE Linux)
>>>>> >>> Copyright (C) 2006 Free Software Foundation, Inc.
>>>>> >>>
>>>>> >>
>>>>> >>
>>>>> >>
>>>>> >> --
>>>>> >> Hadoop Forum: http://www.hadoopor.com
>>>>> >> Open mooon:  https://github.com/eyjian/mooon
>>>>> >>
>>>>> >
>>>>> >
>>>>> >
>>>>> > --
>>>>> > Hadoop Forum: http://www.hadoopor.com
>>>>> > Open mooon:  https://github.com/eyjian/mooon
>>>>> >
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Hadoop Forum: http://www.hadoopor.com
>>>>> Open mooon:  https://github.com/eyjian/mooon
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Hadoop Forum: http://www.hadoopor.com
>>>> Open mooon:  https://github.com/eyjian/mooon
>>>>
>>>>
>>>
>>>
>>> --
>>> Hadoop Forum: http://www.hadoopor.com
>>> Open mooon:  https://github.com/eyjian/mooon
>>>
>>>
>>
>>
>> --
>> Hadoop Forum: http://www.hadoopor.com
>> Open mooon:  https://github.com/eyjian/mooon
>>
>>
>
>
> --
> Hadoop Forum: http://www.hadoopor.com
> Open mooon:  https://github.com/eyjian/mooon
>



-- 
Hadoop Forum: http://www.hadoopor.com
Open mooon:  https://github.com/eyjian/mooon

Reply via email to