You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@thrift.apache.org by DakshinaMurthy Bhamidi <da...@ymail.com> on 2010/02/19 09:10:51 UTC

Installing thrift on RedHat 4.1

Hi,

I am trying to install thrift on my linux box (RedHat 4.1.2). Configure script runs fine but make dies with the following error. I installed all the packages necessary for thrift installation.

make  all-recursive
make[1]: Entering directory `/root/thrift-0.2.0'
Making all in compiler/cpp
make[2]: Entering directory `/root/thrift-0.2.0/compiler/cpp'
Regenerating version.h... No changes.
make  all-am
make[3]: Entering directory `/root/thrift-0.2.0/compiler/cpp'
/bin/sh ../../libtool --tag=CXX --mode=link g++  -g -O2   -o thrift -Wall -L/usr/lib thrift-thrifty.o thrift-thriftl.o thrift-main.o md5.o thrift-t_generator.o thrift-t_cpp_generator.o thrift-t_java_generator.o thrift-t_csharp_generator.o thrift-t_py_generator.o thrift-t_rb_generator.o thrift-t_perl_generator.o thrift-t_php_generator.o thrift-t_erl_generator.o thrift-t_cocoa_generator.o thrift-t_st_generator.o thrift-t_ocaml_generator.o thrift-t_hs_generator.o thrift-t_xsd_generator.o thrift-t_html_generator.o -lfl -lrt -lpthread
../../libtool: line 827: X--tag=CXX: command not found
../../libtool: line 860: libtool: ignoring unknown tag : command not found
../../libtool: line 827: X--mode=link: command not found
../../libtool: line 993: *** Warning: inferring the mode of operation is deprecated.: command not found
../../libtool: line 994: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
gcc: no input files
gcc: no input files
gcc: no input files
gcc: no input files
../../libtool: line 2230: X-g: command not found
../../libtool: line 2230: X-O2: command not found
../../libtool: line 2230: X-Wall: command not found
../../libtool: line 1950: X-L/usr/lib: No such file or directory
../../libtool: line 2399: Xthrift: command not found
../../libtool: line 2404: X/usr/local/mysql/lib:: No such file or directory
../../libtool: line 2411: Xthrift: command not found
../../libtool: line 2546: X-lfl: command not found
../../libtool: line 2546: X-lrt: command not found
../../libtool: line 2546: X-lpthread: command not found
../../libtool: line 2628: X-L/root/thrift-0.2.0/compiler/cpp: No such file or directory
../../libtool: line 2546: X-lfl: command not found
../../libtool: line 2546: X-lrt: command not found
../../libtool: line 2546: X-lpthread: command not found
../../libtool: line 2628: X-L/root/thrift-0.2.0/compiler/cpp: No such file or directory
../../libtool: line 2546: X-lfl: command not found
../../libtool: line 2546: X-lrt: command not found
../../libtool: line 2546: X-lpthread: command not found
../../libtool: line 5155: Xg++ "" "" -o @OUTPUT@ "" thrift-thrifty.o thrift-thriftl.o thrift-main.o md5.o thrift-t_generator.o thrift-t_cpp_generator.o thrift-t_java_generator.o thrift-t_csharp_generator.o thrift-t_py_generator.o thrift-t_rb_generator.o thrift-t_perl_generator.o thrift-t_php_generator.o thrift-t_erl_generator.o thrift-t_cocoa_generator.o thrift-t_st_generator.o thrift-t_ocaml_generator.o thrift-t_hs_generator.o thrift-t_xsd_generator.o thrift-t_html_generator.o  -L/root/thrift-0.2.0/compiler/cpp -lfl -lrt -lpthread: File name too long
../../libtool: line 5156: Xg++ "" "" -o @OUTPUT@ "" thrift-thrifty.o thrift-thriftl.o thrift-main.o md5.o thrift-t_generator.o thrift-t_cpp_generator.o thrift-t_java_generator.o thrift-t_csharp_generator.o thrift-t_py_generator.o thrift-t_rb_generator.o thrift-t_perl_generator.o thrift-t_php_generator.o thrift-t_erl_generator.o thrift-t_cocoa_generator.o thrift-t_st_generator.o thrift-t_ocaml_generator.o thrift-t_hs_generator.o thrift-t_xsd_generator.o thrift-t_html_generator.o  -L/root/thrift-0.2.0/compiler/cpp -lfl -lrt -lpthread: File name too long
../../libtool: line 5161: X: command not found
../../libtool: line 5165: : command not found
make[3]: Leaving directory `/root/thrift-0.2.0/compiler/cpp'
make[2]: Leaving directory `/root/thrift-0.2.0/compiler/cpp'
Making all in lib
make[2]: Entering directory `/root/thrift-0.2.0/lib'
Making all in cpp
make[3]: Entering directory `/root/thrift-0.2.0/lib/cpp'
if /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../..  -I/usr/include -I./src  -Wall -g -O2 -MT Thrift.lo -MD -MP -MF ".deps/Thrift.Tpo" -c -o Thrift.lo `test -f 'src/Thrift.cpp' || echo './'`src/Thrift.cpp; \
        then mv -f ".deps/Thrift.Tpo" ".deps/Thrift.Plo"; else rm -f ".deps/Thrift.Tpo"; exit 1; fi
../../libtool: line 827: X--tag=CXX: command not found
../../libtool: line 860: libtool: ignoring unknown tag : command not found
../../libtool: line 827: X--mode=compile: command not found
../../libtool: line 993: *** Warning: inferring the mode of operation is deprecated.: command not found
../../libtool: line 994: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
../../libtool: line 1137: Xg++: command not found
../../libtool: line 1137: X-DHAVE_CONFIG_H: command not found
../../libtool: line 1137: X-I.: command not found
../../libtool: line 1137: X-I.: command not found
../../libtool: line 1137: X-I../..: No such file or directory
../../libtool: line 1137: X-I/usr/include: No such file or directory
../../libtool: line 1137: X-I./src: No such file or directory
../../libtool: line 1137: X-Wall: command not found
../../libtool: line 1137: X-g: command not found
../../libtool: line 1137: X-O2: command not found
../../libtool: line 1137: X-MT: command not found
../../libtool: line 1137: XThrift.lo: command not found
../../libtool: line 1137: X-MD: command not found
../../libtool: line 1137: X-MP: command not found
../../libtool: line 1137: X-MF: command not found
../../libtool: line 1137: X.deps/Thrift.Tpo: No such file or directory
../../libtool: line 1137: X-c: command not found
../../libtool: line 1189: XThrift.lo: command not found
../../libtool: line 1194: libtool: compile: cannot determine name of library object from `': command not found
make[3]: *** [Thrift.lo] Error 1
make[3]: Leaving directory `/root/thrift-0.2.0/lib/cpp'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/thrift-0.2.0/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/thrift-0.2.0'
make: *** [all] Error 2


      The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. http://in.yahoo.com/