You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@thrift.apache.org by Tim Hughes <th...@thegoldfish.org> on 2010/06/16 00:46:26 UTC

./configure of thrift has boostlib issue Fedora 13

I cannot get thrift to compile on Fedora 13, any help would be appreciated.
>From memory when this happened on Fedora 12 I needed boost-devel but that
hasn't helped this time.


[root@hughestlpt thrift-instant-r953796]# ./bootstrap.sh
configure.ac: warning: missing AC_PROG_AWK wanted by: lib/erl/Makefile:80
configure.ac: warning: missing AC_PROG_RANLIB wanted by:
lib/erl/Makefile:158
configure.ac:61: installing `./config.guess'
configure.ac:61: installing `./config.sub'
configure.ac:26: installing `./install-sh'
configure.ac:26: installing `./missing'
compiler/cpp/Makefile.am: installing `./depcomp'
configure.ac: installing `./ylwrap'
[root@hughestlpt thrift-instant-r953796]# ./configure
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 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 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++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/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... 1966080
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
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 whether we are using the GNU C++ compiler... (cached) no
checking whether g++ accepts -g... (cached) no
checking dependency style of g++... (cached) none
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... no
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/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 whether make sets $(MAKE)... (cached) yes
checking for bison... no
checking for byacc... byacc
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 boostlib >= 1.33.1... configure: error: We could not detect the
boost libraries (version 1.33 or higher). If you have a staged boost library
(still not installed) please specify $BOOST_ROOT in your environment and do
not give a PATH to --with-boost option.  If you are sure you have boost
installed, then check your version number looking in <boost/version.hpp>.
See http://randspringer.de/boost for more documentation.



[root@hughestlpt thrift-instant-r953796]# rpm -qa|grep boost
boost-system-1.41.0-8.fc13.x86_64
boost-serialization-1.41.0-8.fc13.i686
boost-iostreams-1.41.0-8.fc13.x86_64
boost-thread-1.41.0-8.fc13.i686
boost-thread-1.41.0-8.fc13.x86_64
boost-program-options-1.41.0-8.fc13.i686
boost-date-time-1.41.0-8.fc13.x86_64
boost-test-1.41.0-8.fc13.x86_64
boost-date-time-1.41.0-8.fc13.i686
boost-test-1.41.0-8.fc13.i686
boost-python-1.41.0-8.fc13.x86_64
boost-filesystem-1.41.0-8.fc13.i686
boost-filesystem-1.41.0-8.fc13.x86_64
boost-signals-1.41.0-8.fc13.x86_64
boost-python-1.41.0-8.fc13.i686
boost-wave-1.41.0-8.fc13.x86_64
boost-1.41.0-8.fc13.x86_64
boost-graph-1.41.0-8.fc13.i686
boost-iostreams-1.41.0-8.fc13.i686
boost-graph-1.41.0-8.fc13.x86_64
boost-system-1.41.0-8.fc13.i686
boost-regex-1.41.0-8.fc13.x86_64
boost-signals-1.41.0-8.fc13.i686
boost-devel-1.41.0-8.fc13.x86_64
boost-program-options-1.41.0-8.fc13.x86_64
boost-wave-1.41.0-8.fc13.i686
boost-serialization-1.41.0-8.fc13.x86_64
boost-regex-1.41.0-8.fc13.i686

Re: ./configure of thrift has boostlib issue Fedora 13

Posted by Tim Hughes <th...@thegoldfish.org>.
Thankyou , I learnt something today. The missing package was gcc-c++


Tim Hughes
mailto:thughes@thegoldfish.org





On Tue, Jun 15, 2010 at 11:51 PM, David Reiss <dr...@facebook.com> wrote:

> Look for "failed program was" in config.log to try to find information
> about what went wrong.
>
> Tim Hughes wrote:
> > I cannot get thrift to compile on Fedora 13, any help would be
> appreciated.
> > From memory when this happened on Fedora 12 I needed boost-devel but that
> > hasn't helped this time.
> >
> >
> > [root@hughestlpt thrift-instant-r953796]# ./bootstrap.sh
> > configure.ac: warning: missing AC_PROG_AWK wanted by:
> lib/erl/Makefile:80
> > configure.ac: warning: missing AC_PROG_RANLIB wanted by:
> > lib/erl/Makefile:158
> > configure.ac:61: installing `./config.guess'
> > configure.ac:61: installing `./config.sub'
> > configure.ac:26: installing `./install-sh'
> > configure.ac:26: installing `./missing'
> > compiler/cpp/Makefile.am: installing `./depcomp'
> > configure.ac: installing `./ylwrap'
> > [root@hughestlpt thrift-instant-r953796]# ./configure
> > 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 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 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++... no
> > checking for c++... no
> > checking for gpp... no
> > checking for aCC... no
> > checking for CC... no
> > checking for cxx... no
> > checking for cc++... no
> > checking for cl.exe... no
> > checking for FCC... no
> > checking for KCC... no
> > checking for RCC... no
> > checking for xlC_r... no
> > checking for xlC... no
> > checking whether we are using the GNU C++ compiler... no
> > checking whether g++ accepts -g... no
> > checking dependency style of g++... none
> > checking build system type... x86_64-unknown-linux-gnu
> > checking host system type... x86_64-unknown-linux-gnu
> > checking for a sed that does not truncate output... /bin/sed
> > checking for grep that handles long lines and -e... /bin/grep
> > checking for egrep... /bin/grep -E
> > checking for fgrep... /bin/grep -F
> > checking for ld used by gcc... /usr/bin/ld
> > checking if the linker (/usr/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... 1966080
> > checking whether the shell understands some XSI constructs... yes
> > checking whether the shell understands "+="... yes
> > checking for /usr/bin/ld option to reload object files... -r
> > checking for objdump... objdump
> > checking how to recognize dependent libraries... pass_all
> > checking for ar... ar
> > checking for strip... strip
> > checking for ranlib... ranlib
> > checking command to parse /usr/bin/nm -B output from gcc object... ok
> > 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 whether we are using the GNU C++ compiler... (cached) no
> > checking whether g++ accepts -g... (cached) no
> > checking dependency style of g++... (cached) none
> > 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... no
> > 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/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 whether make sets $(MAKE)... (cached) yes
> > checking for bison... no
> > checking for byacc... byacc
> > 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 boostlib >= 1.33.1... configure: error: We could not detect
> the
> > boost libraries (version 1.33 or higher). If you have a staged boost
> library
> > (still not installed) please specify $BOOST_ROOT in your environment and
> do
> > not give a PATH to --with-boost option.  If you are sure you have boost
> > installed, then check your version number looking in <boost/version.hpp>.
> > See http://randspringer.de/boost for more documentation.
> >
> >
> >
> > [root@hughestlpt thrift-instant-r953796]# rpm -qa|grep boost
> > boost-system-1.41.0-8.fc13.x86_64
> > boost-serialization-1.41.0-8.fc13.i686
> > boost-iostreams-1.41.0-8.fc13.x86_64
> > boost-thread-1.41.0-8.fc13.i686
> > boost-thread-1.41.0-8.fc13.x86_64
> > boost-program-options-1.41.0-8.fc13.i686
> > boost-date-time-1.41.0-8.fc13.x86_64
> > boost-test-1.41.0-8.fc13.x86_64
> > boost-date-time-1.41.0-8.fc13.i686
> > boost-test-1.41.0-8.fc13.i686
> > boost-python-1.41.0-8.fc13.x86_64
> > boost-filesystem-1.41.0-8.fc13.i686
> > boost-filesystem-1.41.0-8.fc13.x86_64
> > boost-signals-1.41.0-8.fc13.x86_64
> > boost-python-1.41.0-8.fc13.i686
> > boost-wave-1.41.0-8.fc13.x86_64
> > boost-1.41.0-8.fc13.x86_64
> > boost-graph-1.41.0-8.fc13.i686
> > boost-iostreams-1.41.0-8.fc13.i686
> > boost-graph-1.41.0-8.fc13.x86_64
> > boost-system-1.41.0-8.fc13.i686
> > boost-regex-1.41.0-8.fc13.x86_64
> > boost-signals-1.41.0-8.fc13.i686
> > boost-devel-1.41.0-8.fc13.x86_64
> > boost-program-options-1.41.0-8.fc13.x86_64
> > boost-wave-1.41.0-8.fc13.i686
> > boost-serialization-1.41.0-8.fc13.x86_64
> > boost-regex-1.41.0-8.fc13.i686
>

Re: ./configure of thrift has boostlib issue Fedora 13

Posted by David Reiss <dr...@facebook.com>.
Look for "failed program was" in config.log to try to find information
about what went wrong.

Tim Hughes wrote:
> I cannot get thrift to compile on Fedora 13, any help would be appreciated.
> From memory when this happened on Fedora 12 I needed boost-devel but that
> hasn't helped this time.
> 
> 
> [root@hughestlpt thrift-instant-r953796]# ./bootstrap.sh
> configure.ac: warning: missing AC_PROG_AWK wanted by: lib/erl/Makefile:80
> configure.ac: warning: missing AC_PROG_RANLIB wanted by:
> lib/erl/Makefile:158
> configure.ac:61: installing `./config.guess'
> configure.ac:61: installing `./config.sub'
> configure.ac:26: installing `./install-sh'
> configure.ac:26: installing `./missing'
> compiler/cpp/Makefile.am: installing `./depcomp'
> configure.ac: installing `./ylwrap'
> [root@hughestlpt thrift-instant-r953796]# ./configure
> 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 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 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++... no
> checking for c++... no
> checking for gpp... no
> checking for aCC... no
> checking for CC... no
> checking for cxx... no
> checking for cc++... no
> checking for cl.exe... no
> checking for FCC... no
> checking for KCC... no
> checking for RCC... no
> checking for xlC_r... no
> checking for xlC... no
> checking whether we are using the GNU C++ compiler... no
> checking whether g++ accepts -g... no
> checking dependency style of g++... none
> checking build system type... x86_64-unknown-linux-gnu
> checking host system type... x86_64-unknown-linux-gnu
> checking for a sed that does not truncate output... /bin/sed
> checking for grep that handles long lines and -e... /bin/grep
> checking for egrep... /bin/grep -E
> checking for fgrep... /bin/grep -F
> checking for ld used by gcc... /usr/bin/ld
> checking if the linker (/usr/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... 1966080
> checking whether the shell understands some XSI constructs... yes
> checking whether the shell understands "+="... yes
> checking for /usr/bin/ld option to reload object files... -r
> checking for objdump... objdump
> checking how to recognize dependent libraries... pass_all
> checking for ar... ar
> checking for strip... strip
> checking for ranlib... ranlib
> checking command to parse /usr/bin/nm -B output from gcc object... ok
> 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 whether we are using the GNU C++ compiler... (cached) no
> checking whether g++ accepts -g... (cached) no
> checking dependency style of g++... (cached) none
> 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... no
> 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/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 whether make sets $(MAKE)... (cached) yes
> checking for bison... no
> checking for byacc... byacc
> 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 boostlib >= 1.33.1... configure: error: We could not detect the
> boost libraries (version 1.33 or higher). If you have a staged boost library
> (still not installed) please specify $BOOST_ROOT in your environment and do
> not give a PATH to --with-boost option.  If you are sure you have boost
> installed, then check your version number looking in <boost/version.hpp>.
> See http://randspringer.de/boost for more documentation.
> 
> 
> 
> [root@hughestlpt thrift-instant-r953796]# rpm -qa|grep boost
> boost-system-1.41.0-8.fc13.x86_64
> boost-serialization-1.41.0-8.fc13.i686
> boost-iostreams-1.41.0-8.fc13.x86_64
> boost-thread-1.41.0-8.fc13.i686
> boost-thread-1.41.0-8.fc13.x86_64
> boost-program-options-1.41.0-8.fc13.i686
> boost-date-time-1.41.0-8.fc13.x86_64
> boost-test-1.41.0-8.fc13.x86_64
> boost-date-time-1.41.0-8.fc13.i686
> boost-test-1.41.0-8.fc13.i686
> boost-python-1.41.0-8.fc13.x86_64
> boost-filesystem-1.41.0-8.fc13.i686
> boost-filesystem-1.41.0-8.fc13.x86_64
> boost-signals-1.41.0-8.fc13.x86_64
> boost-python-1.41.0-8.fc13.i686
> boost-wave-1.41.0-8.fc13.x86_64
> boost-1.41.0-8.fc13.x86_64
> boost-graph-1.41.0-8.fc13.i686
> boost-iostreams-1.41.0-8.fc13.i686
> boost-graph-1.41.0-8.fc13.x86_64
> boost-system-1.41.0-8.fc13.i686
> boost-regex-1.41.0-8.fc13.x86_64
> boost-signals-1.41.0-8.fc13.i686
> boost-devel-1.41.0-8.fc13.x86_64
> boost-program-options-1.41.0-8.fc13.x86_64
> boost-wave-1.41.0-8.fc13.i686
> boost-serialization-1.41.0-8.fc13.x86_64
> boost-regex-1.41.0-8.fc13.i686