thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matej Kosik <ko...@fiit.stuba.sk>
Subject problems compiling thrift
Date Wed, 05 Oct 2011 10:02:48 GMT
Hello,

I am trying to compile thrift-0.7.0.
README file mentions

	./bootstrap.sh

but it does not exist (in the same directory).
Does that mean that we have to invoke

	source contrib/fb303/bootstrap.sh

instead?

When I tried the aforementioned alternative, installed various other things that seem to be
necessary and ran

	./configure && make

the building process ran for a while and thenstopped with the following message.
I am not sure what what is wrong.
Thank you in advance for any help.

================================================================================

/bin/bash ../../libtool --tag=CXX   --mode=link g++ -Wall -g -O2   -o thrift thrift-main.o
thrift-md5.o thrift-t_generator.o thrift-parse.o thrift-t_c_glib_generator.o thrift-t_cpp_generator.o
thrift-t_java_generator.o thrift-t_as3_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 thrift-t_js_generator.o thrift-t_javame_generator.o
thrift-t_go_generator.o -lfl libparse.a -lssl -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-Wall: command not found
../../libtool: line 2230: X-g: command not found
../../libtool: line 2230: X-O2: command not found
../../libtool: line 2399: Xthrift: command not found
../../libtool: line 2404: X/usr/local/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-lssl: command not found
../../libtool: line 2546: X-lrt: command not found
../../libtool: line 2546: X-lpthread: command not found
../../libtool: line 2546: X-lfl: command not found
../../libtool: line 2546: X-lssl: command not found
../../libtool: line 2546: X-lrt: command not found
../../libtool: line 2546: X-lpthread: command not found
../../libtool: line 2546: X-lfl: command not found
../../libtool: line 2546: X-lssl: 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-main.o thrift-md5.o thrift-t_generator.o
thrift-parse.o thrift-t_c_glib_generator.o thrift-t_cpp_generator.o thrift-t_java_generator.o
thrift-t_as3_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 thrift-t_js_generator.o thrift-t_javame_generator.o thrift-t_go_generator.o
 -lfl libparse.a -lssl -lrt -lpthread: command not found
../../libtool: line 5156: Xg++ "" "" "" -o @OUTPUT@ thrift-main.o thrift-md5.o thrift-t_generator.o
thrift-parse.o thrift-t_c_glib_generator.o thrift-t_cpp_generator.o thrift-t_java_generator.o
thrift-t_as3_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 thrift-t_js_generator.o thrift-t_javame_generator.o thrift-t_go_generator.o
 -lfl libparse.a -lssl -lrt -lpthread: command not found
X: user not authorized to run the X server, aborting.
../../libtool: line 5165: : command not found
make[3]: Leaving directory `/home/kosik/src/thrift-0.7.0/compiler/cpp'
make[2]: Leaving directory `/home/kosik/src/thrift-0.7.0/compiler/cpp'
Making all in lib
make[2]: Entering directory `/home/kosik/src/thrift-0.7.0/lib'
Making all in cpp
make[3]: Entering directory `/home/kosik/src/thrift-0.7.0/lib/cpp'
Making all in .
make[4]: Entering directory `/home/kosik/src/thrift-0.7.0/lib/cpp'
/bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -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
../../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../..: 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[4]: *** [Thrift.lo] Error 1
make[4]: Leaving directory `/home/kosik/src/thrift-0.7.0/lib/cpp'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/kosik/src/thrift-0.7.0/lib/cpp'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/kosik/src/thrift-0.7.0/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/kosik/src/thrift-0.7.0'
make: *** [all] Error 2



-- 
Matej Košík

Mime
View raw message