I downloaded and extracted this, then ran ./bootstrap.sh and ./
configure. However, I failed to build the compiler with these errors:
Regenerating version.h... No changes.
make all-am
/bin/sh ../../libtool --tag=CXX --mode=link g++ -Wall -I./src -I/
opt/local/include/boost-1_34 -g -O2 -Wall -L/opt/local/lib -o thrift
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 -lpthread
../../libtool: line 1: X--tag=CXX: command not found
../../libtool: line 837: libtool: ignoring unknown tag : command not
found
../../libtool: line 1: X--mode=link: command not found
../../libtool: line 970: *** Warning: inferring the mode of operation
is deprecated.: command not found
../../libtool: line 971: *** Future versions of Libtool will require
--mode=MODE be specified.: command not found
i686-apple-darwin8-gcc-4.0.1: no input files
i686-apple-darwin8-gcc-4.0.1: no input files
i686-apple-darwin8-gcc-4.0.1: no input files
i686-apple-darwin8-gcc-4.0.1: no input files
../../libtool: line 1: X-Wall: command not found
../../libtool: line 1: X-I./src: No such file or directory
../../libtool: line 1: X-I/opt/local/include/boost-1_34: No such file
or directory
../../libtool: line 1: X-g: command not found
../../libtool: line 1: X-O2: command not found
../../libtool: line 1: X-Wall: command not found
../../libtool: line 1: X-L/opt/local/lib: No such file or directory
../../libtool: line 1: Xthrift: command not found
../../libtool: line 1: X: command not found
../../libtool: line 1: Xthrift: command not found
../../libtool: line 1: X-lfl: command not found
../../libtool: line 1: X-lpthread: command not found
../../libtool: line 1: X-L/Users/bryanduxbury/thrift-0.2.0/compiler/
cpp: No such file or directory
../../libtool: line 1: X-lfl: command not found
../../libtool: line 1: X-lpthread: command not found
../../libtool: line 1: X-L/Users/bryanduxbury/thrift-0.2.0/compiler/
cpp: No such file or directory
../../libtool: line 1: X-lfl: command not found
../../libtool: line 1: X-lpthread: command not found
../../libtool: line 1: 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 -Wl,-bind_at_load -L/
Users/bryanduxbury/thrift-0.2.0/compiler/cpp -lfl -lpthread: File
name too long
../../libtool: line 1: 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 -Wl,-bind_at_load -L/
Users/bryanduxbury/thrift-0.2.0/compiler/cpp -lfl -lpthread: File
name too long
../../libtool: line 1: X: command not found
../../libtool: line 5131: : command not found
I'm on OSX, and usually this works for me out of SVN.
-1
On Dec 7, 2009, at 8:00 PM, Todd Lipcon wrote:
Hi all,
I'd like to propose a vote to make the following tarball the
official Thrift
0.2.0 release:
http://people.apache.org/~todd/thrift-0.2.0-incubating-rc0.tar.gz
with GPG signature:
http://people.apache.org/~todd/thrift-0.2.0-incubating-rc0.tar.gz.asc
and md5sum: 9958c57c402c02171ba0bcc96183505c
This was built from
https://svn.apache.org/repos/asf/incubator/thrift/branches/0.2.x at
revision
887836 using svn export and then running bootstrap.sh on an Ubuntu
Karmic
box.
Please ensure that it builds and configures correctly on your target
systems, and give a +1 if everything looks good to you. We need
three +1s
from committers before we can send it along to the Incubator PMC for
approval.
I've configured and compiled successfully on CentOS 5 and Ubuntu
Karmic. I
also verified that the Incubation disclaimer is present at
DISCLAIMER. So,
I'll start the voting with a +1 from me.
-Todd