You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@thrift.apache.org by xu xiong <xi...@gmail.com> on 2009/03/19 09:33:58 UTC

build on cygwin+WinXP problem--thrift.exe not work!

Hi,

I follow the win32
guide(http://wiki.apache.org/thrift/ThriftInstallationWin32) and did
finally manage to compile a thrift.exe.
But this 'thrift.exe' seems not work.

$ ./thrift.exe
----this is supposed to print out the usage, right?But it just silently return.
xux@xux-asus /cygdrive/d/opensource/thrift/compiler/cpp
$total 12458
-rw-r--r--  1 xux None   55997 Mar 19 09:03 Makefile
-rwx------+ 1 xux None    3545 Feb  7 18:00 Makefile.am
-rw-r--r--  1 xux None   64139 Mar 19 08:52 Makefile.in
-rwx------+ 1 xux None     711 Feb  7 18:00 README
-rw-r--r--  1 xux None    8455 Mar 19 09:48 md5.o
drwx------+ 5 xux None       0 Feb  7 18:00 src
-rw-r--r--  1 xux None  563577 Mar 19 09:48 thrift-main.o
-rw-r--r--  1 xux None  762994 Mar 19 09:49 thrift-t_cocoa_generator.o
-rw-r--r--  1 xux None 1166295 Mar 19 09:48 thrift-t_cpp_generator.o
-rw-r--r--  1 xux None  760048 Mar 19 09:49 thrift-t_csharp_generator.o
-rw-r--r--  1 xux None  436843 Mar 19 09:48 thrift-t_erl_generator.o
-rw-r--r--  1 xux None  424210 Mar 19 09:48 thrift-t_generator.o
-rw-r--r--  1 xux None  721435 Mar 19 09:50 thrift-t_hs_generator.o
-rw-r--r--  1 xux None  526013 Mar 19 09:50 thrift-t_html_generator.o
-rw-r--r--  1 xux None 1004486 Mar 19 09:49 thrift-t_java_generator.o
-rw-r--r--  1 xux None  770500 Mar 19 09:49 thrift-t_ocaml_generator.o
-rw-r--r--  1 xux None  770237 Mar 19 09:49 thrift-t_perl_generator.o
-rw-r--r--  1 xux None  860294 Mar 19 09:48 thrift-t_php_generator.o
-rw-r--r--  1 xux None  774212 Mar 19 09:49 thrift-t_py_generator.o
-rw-r--r--  1 xux None  660722 Mar 19 09:49 thrift-t_rb_generator.o
-rw-r--r--  1 xux None  671231 Mar 19 09:49 thrift-t_st_generator.o
-rw-r--r--  1 xux None  426719 Mar 19 09:48 thrift-t_xsd_generator.o
-rw-r--r--  1 xux None  291415 Mar 19 09:48 thrift-thriftl.o
-rw-r--r--  1 xux None  760999 Mar 19 09:48 thrift-thrifty.o
-rwxr-xr-x  1 xux None   17408 Mar 19 09:50 thrift.exe
-rw-r--r--  1 xux None   97554 Mar 19 09:48 thriftl.cc
-rw-r--r--  1 xux None   86451 Mar 19 09:47 thrifty.cc
-rw-r--r--  1 xux None    5147 Mar 19 09:47 thrifty.h
-rw-------  1 xux None      99 Mar 19 09:47 version.h

xux@xux-asus /cygdrive/d/opensource/thrift/compiler/cpp

Notice that ' thrift.exe' is 17408 bytes.

Does anyone have build experience in cygwin can help?

-Xiong