Taiwan Hadoop Forum

台灣 Hadoop 技術討論區
現在的時間是 2022-07-01, 16:42

所有顯示的時間為 UTC + 8 小時




發表新文章 回覆主題  [ 5 篇文章 ] 
發表人 內容
 文章主題 : 在安裝thrift0.8.0 make 發生的錯誤
文章發表於 : 2015-06-01, 22:31 
離線

註冊時間: 2015-05-25, 13:42
文章: 7
下sudo ./configure --without-test
--------------------------------------------------------------------------
thrift 0.8.0

Building code generators ..... :

Building C++ Library ......... : yes
Building C (GLib) Library .... : no
Building Java Library ........ : yes
Building C# Library .......... : no
Building Python Library ...... : yes
Building Ruby Library ........ : yes
Building Haskell Library ..... : yes
Building Perl Library ........ : yes
Building PHP Library ......... : yes
Building Erlang Library ...... : yes
Building Go Library .......... : no

Building TZlibTransport ...... : yes
Building TNonblockingServer .. : yes

Using javac .................. : javac
Using java ................... : java
Using ant .................... : /usr/bin/ant

Using Python ................. : /usr/bin/python

Using php-config ............. : /usr/bin/php-config

Using Ruby ................... : /usr/bin/ruby

Using Haskell ................ : /usr/bin/runhaskell
Using Cabal .................. : /usr/bin/cabal

Using Perl ................... : /usr/bin/perl

Using erlc ................... : /usr/bin/erlc

If something is missing that you think should be present,
please skim the output of configure to find the missing
component. Details are present in config.log.
-------------------------------------------------------------------------------------

這邊以下則是 執行sudo make 發生的錯誤

hadoop@node1:/opt/thrift-0.8.0$ sudo make
make all-recursive
make[1]: Entering directory `/opt/thrift-0.8.0'
Making all in compiler/cpp
make[2]: Entering directory `/opt/thrift-0.8.0/compiler/cpp'
make all-am
make[3]: Entering directory `/opt/thrift-0.8.0/compiler/cpp'
g++ -DHAVE_CONFIG_H -I. -I../.. -I./src -Wall -g -O2 -MT thrift-main.o -MD -MP -MF .deps/thrift-main.Tpo -c -o thrift-main.o `test -f 'src/main.cc' || echo './'`src/main.cc
mv -f .deps/thrift-main.Tpo .deps/thrift-main.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I./src -Wall -g -O2 -MT thrift-t_c_glib_generator.o -MD -MP -MF .deps/thrift-t_c_glib_generator.Tpo -c -o thrift-t_c_glib_generator.o `test -f 'src/generate/t_c_glib_generator.cc' || echo './'`src/generate/t_c_glib_generator.cc
src/generate/t_c_glib_generator.cc: In member function ‘void t_c_glib_generator::generate_object(t_struct*)’:
src/generate/t_c_glib_generator.cc:1655:8: warning: variable ‘has_nonrequired_fields’ set but not used [-Wunused-but-set-variable]
mv -f .deps/thrift-t_c_glib_generator.Tpo .deps/thrift-t_c_glib_generator.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I./src -Wall -g -O2 -MT thrift-t_cpp_generator.o -MD -MP -MF .deps/thrift-t_cpp_generator.Tpo -c -o thrift-t_cpp_generator.o `test -f 'src/generate/t_cpp_generator.cc' || echo './'`src/generate/t_cpp_generator.cc
mv -f .deps/thrift-t_cpp_generator.Tpo .deps/thrift-t_cpp_generator.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I./src -Wall -g -O2 -MT thrift-t_java_generator.o -MD -MP -MF .deps/thrift-t_java_generator.Tpo -c -o thrift-t_java_generator.o `test -f 'src/generate/t_java_generator.cc' || echo './'`src/generate/t_java_generator.cc
mv -f .deps/thrift-t_java_generator.Tpo .deps/thrift-t_java_generator.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I./src -Wall -g -O2 -MT thrift-t_as3_generator.o -MD -MP -MF .deps/thrift-t_as3_generator.Tpo -c -o thrift-t_as3_generator.o `test -f 'src/generate/t_as3_generator.cc' || echo './'`src/generate/t_as3_generator.cc
mv -f .deps/thrift-t_as3_generator.Tpo .deps/thrift-t_as3_generator.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I./src -Wall -g -O2 -MT thrift-t_csharp_generator.o -MD -MP -MF .deps/thrift-t_csharp_generator.Tpo -c -o thrift-t_csharp_generator.o `test -f 'src/generate/t_csharp_generator.cc' || echo './'`src/generate/t_csharp_generator.cc
mv -f .deps/thrift-t_csharp_generator.Tpo .deps/thrift-t_csharp_generator.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I./src -Wall -g -O2 -MT thrift-t_py_generator.o -MD -MP -MF .deps/thrift-t_py_generator.Tpo -c -o thrift-t_py_generator.o `test -f 'src/generate/t_py_generator.cc' || echo './'`src/generate/t_py_generator.cc
mv -f .deps/thrift-t_py_generator.Tpo .deps/thrift-t_py_generator.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I./src -Wall -g -O2 -MT thrift-t_rb_generator.o -MD -MP -MF .deps/thrift-t_rb_generator.Tpo -c -o thrift-t_rb_generator.o `test -f 'src/generate/t_rb_generator.cc' || echo './'`src/generate/t_rb_generator.cc
mv -f .deps/thrift-t_rb_generator.Tpo .deps/thrift-t_rb_generator.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I./src -Wall -g -O2 -MT thrift-t_perl_generator.o -MD -MP -MF .deps/thrift-t_perl_generator.Tpo -c -o thrift-t_perl_generator.o `test -f 'src/generate/t_perl_generator.cc' || echo './'`src/generate/t_perl_generator.cc
mv -f .deps/thrift-t_perl_generator.Tpo .deps/thrift-t_perl_generator.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I./src -Wall -g -O2 -MT thrift-t_php_generator.o -MD -MP -MF .deps/thrift-t_php_generator.Tpo -c -o thrift-t_php_generator.o `test -f 'src/generate/t_php_generator.cc' || echo './'`src/generate/t_php_generator.cc
mv -f .deps/thrift-t_php_generator.Tpo .deps/thrift-t_php_generator.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I./src -Wall -g -O2 -MT thrift-t_erl_generator.o -MD -MP -MF .deps/thrift-t_erl_generator.Tpo -c -o thrift-t_erl_generator.o `test -f 'src/generate/t_erl_generator.cc' || echo './'`src/generate/t_erl_generator.cc
mv -f .deps/thrift-t_erl_generator.Tpo .deps/thrift-t_erl_generator.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I./src -Wall -g -O2 -MT thrift-t_cocoa_generator.o -MD -MP -MF .deps/thrift-t_cocoa_generator.Tpo -c -o thrift-t_cocoa_generator.o `test -f 'src/generate/t_cocoa_generator.cc' || echo './'`src/generate/t_cocoa_generator.cc
mv -f .deps/thrift-t_cocoa_generator.Tpo .deps/thrift-t_cocoa_generator.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I./src -Wall -g -O2 -MT thrift-t_st_generator.o -MD -MP -MF .deps/thrift-t_st_generator.Tpo -c -o thrift-t_st_generator.o `test -f 'src/generate/t_st_generator.cc' || echo './'`src/generate/t_st_generator.cc
mv -f .deps/thrift-t_st_generator.Tpo .deps/thrift-t_st_generator.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I./src -Wall -g -O2 -MT thrift-t_ocaml_generator.o -MD -MP -MF .deps/thrift-t_ocaml_generator.Tpo -c -o thrift-t_ocaml_generator.o `test -f 'src/generate/t_ocaml_generator.cc' || echo './'`src/generate/t_ocaml_generator.cc
mv -f .deps/thrift-t_ocaml_generator.Tpo .deps/thrift-t_ocaml_generator.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I./src -Wall -g -O2 -MT thrift-t_hs_generator.o -MD -MP -MF .deps/thrift-t_hs_generator.Tpo -c -o thrift-t_hs_generator.o `test -f 'src/generate/t_hs_generator.cc' || echo './'`src/generate/t_hs_generator.cc
mv -f .deps/thrift-t_hs_generator.Tpo .deps/thrift-t_hs_generator.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I./src -Wall -g -O2 -MT thrift-t_js_generator.o -MD -MP -MF .deps/thrift-t_js_generator.Tpo -c -o thrift-t_js_generator.o `test -f 'src/generate/t_js_generator.cc' || echo './'`src/generate/t_js_generator.cc
src/generate/t_js_generator.cc: In member function ‘std::string t_js_generator::render_const_value(t_type*, t_const_value*)’:
src/generate/t_js_generator.cc:437:13: warning: variable ‘key_is_string’ set but not used [-Wunused-but-set-variable]
mv -f .deps/thrift-t_js_generator.Tpo .deps/thrift-t_js_generator.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I./src -Wall -g -O2 -MT thrift-t_javame_generator.o -MD -MP -MF .deps/thrift-t_javame_generator.Tpo -c -o thrift-t_javame_generator.o `test -f 'src/generate/t_javame_generator.cc' || echo './'`src/generate/t_javame_generator.cc
mv -f .deps/thrift-t_javame_generator.Tpo .deps/thrift-t_javame_generator.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I./src -Wall -g -O2 -MT thrift-t_delphi_generator.o -MD -MP -MF .deps/thrift-t_delphi_generator.Tpo -c -o thrift-t_delphi_generator.o `test -f 'src/generate/t_delphi_generator.cc' || echo './'`src/generate/t_delphi_generator.cc
mv -f .deps/thrift-t_delphi_generator.Tpo .deps/thrift-t_delphi_generator.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I./src -Wall -g -O2 -MT thrift-t_go_generator.o -MD -MP -MF .deps/thrift-t_go_generator.Tpo -c -o thrift-t_go_generator.o `test -f 'src/generate/t_go_generator.cc' || echo './'`src/generate/t_go_generator.cc
mv -f .deps/thrift-t_go_generator.Tpo .deps/thrift-t_go_generator.Po
/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_delphi_generator.o thrift-t_go_generator.o -lfl libparse.a
libtool: 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_delphi_generator.o thrift-t_go_generator.o -lfl libparse.a
make[3]: Leaving directory `/opt/thrift-0.8.0/compiler/cpp'
make[2]: Leaving directory `/opt/thrift-0.8.0/compiler/cpp'
Making all in lib
make[2]: Entering directory `/opt/thrift-0.8.0/lib'
Making all in cpp
make[3]: Entering directory `/opt/thrift-0.8.0/lib/cpp'
Making all in .
make[4]: Entering directory `/opt/thrift-0.8.0/lib/cpp'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/opt/thrift-0.8.0/lib/cpp'
Making all in test
make[4]: Entering directory `/opt/thrift-0.8.0/lib/cpp/test'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/opt/thrift-0.8.0/lib/cpp/test'
make[3]: Leaving directory `/opt/thrift-0.8.0/lib/cpp'
Making all in java
make[3]: Entering directory `/opt/thrift-0.8.0/lib/java'
/usr/bin/ant
Buildfile: /opt/thrift-0.8.0/lib/java/build.xml

setup.init:

mvn.ant.tasks.check:

proxy:

mvn.ant.tasks.download:
[get] Getting: http://repo1.maven.org/maven2/org/apach ... -2.1.3.jar
[get] To: /opt/thrift-0.8.0/lib/java/build/tools/maven-ant-tasks-2.1.3.jar
[get] Not modified - so not downloaded

mvn.init:
[artifact:dependencies] [WARNING] Overriding profile: 'maven-ant-tasks-repo-profile' (source: pom) with new instance from source: pom

init:

compile:

dist:

BUILD SUCCESSFUL
Total time: 4 seconds
make[3]: Leaving directory `/opt/thrift-0.8.0/lib/java'
Making all in js/test
make[3]: Entering directory `/opt/thrift-0.8.0/lib/js/test'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/opt/thrift-0.8.0/lib/js/test'
Making all in py
make[3]: Entering directory `/opt/thrift-0.8.0/lib/py'
/usr/bin/python setup.py build
running build
running build_py
running build_ext
make[3]: Leaving directory `/opt/thrift-0.8.0/lib/py'
Making all in erl
make[3]: Entering directory `/opt/thrift-0.8.0/lib/erl'
./rebar get-deps
==> nicefloats (get-deps)
==> jsx (get-deps)
==> erl (get-deps)
./rebar compile
==> nicefloats (compile)
==> jsx (compile)
==> erl (compile)
make[3]: Leaving directory `/opt/thrift-0.8.0/lib/erl'
Making all in rb
make[3]: Entering directory `/opt/thrift-0.8.0/lib/rb'
/usr/bin/rake
rake aborted!
no such file to load -- spec/rake/spectask

(See full trace by running task with --trace)
make[3]: *** [all-local] Error 1
make[3]: Leaving directory `/opt/thrift-0.8.0/lib/rb'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/opt/thrift-0.8.0/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/thrift-0.8.0'
make: *** [all] Error 2


煩請各位高手 幫小弟看看哪裡出錯了
小弟卡在這有點久了 :?


回頂端
 個人資料 E-mail  
 
 文章主題 : Re: 在安裝thrift0.8.0 make 發生的錯誤
文章發表於 : 2015-06-01, 23:40 
離線

註冊時間: 2015-05-25, 13:42
文章: 7
另外附上 sudo make install 所發生的error
跪求大大們的幫忙找找問題該如何解決
------------------------------------------------------------------

hadoop@node1:/opt/thrift-0.8.0$ sudo make install
Making install in compiler/cpp
make[1]: Entering directory `/opt/thrift-0.8.0/compiler/cpp'
make install-am
make[2]: Entering directory `/opt/thrift-0.8.0/compiler/cpp'
make[3]: Entering directory `/opt/thrift-0.8.0/compiler/cpp'
test -z "/usr/local/bin" || /bin/mkdir -p "/usr/local/bin"
/bin/bash ../../libtool --mode=install /usr/bin/install -c thrift '/usr/local/bin'
libtool: install: /usr/bin/install -c thrift /usr/local/bin/thrift
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/opt/thrift-0.8.0/compiler/cpp'
make[2]: Leaving directory `/opt/thrift-0.8.0/compiler/cpp'
make[1]: Leaving directory `/opt/thrift-0.8.0/compiler/cpp'
Making install in lib
make[1]: Entering directory `/opt/thrift-0.8.0/lib'
Making install in cpp
make[2]: Entering directory `/opt/thrift-0.8.0/lib/cpp'
Making install in .
make[3]: Entering directory `/opt/thrift-0.8.0/lib/cpp'
make[4]: Entering directory `/opt/thrift-0.8.0/lib/cpp'
test -z "/usr/local/lib" || /bin/mkdir -p "/usr/local/lib"
/bin/bash ../../libtool --mode=install /usr/bin/install -c libthrift.la libthriftnb.la libthriftz.la '/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/libthrift-0.8.0.so /usr/local/lib/libthrift-0.8.0.so
libtool: install: (cd /usr/local/lib && { ln -s -f libthrift-0.8.0.so libthrift.so || { rm -f libthrift.so && ln -s libthrift-0.8.0.so libthrift.so; }; })
libtool: install: /usr/bin/install -c .libs/libthrift.lai /usr/local/lib/libthrift.la
libtool: install: /usr/bin/install -c .libs/libthriftnb-0.8.0.so /usr/local/lib/libthriftnb-0.8.0.so
libtool: install: (cd /usr/local/lib && { ln -s -f libthriftnb-0.8.0.so libthriftnb.so || { rm -f libthriftnb.so && ln -s libthriftnb-0.8.0.so libthriftnb.so; }; })
libtool: install: /usr/bin/install -c .libs/libthriftnb.lai /usr/local/lib/libthriftnb.la
libtool: install: /usr/bin/install -c .libs/libthriftz-0.8.0.so /usr/local/lib/libthriftz-0.8.0.so
libtool: install: (cd /usr/local/lib && { ln -s -f libthriftz-0.8.0.so libthriftz.so || { rm -f libthriftz.so && ln -s libthriftz-0.8.0.so libthriftz.so; }; })
libtool: install: /usr/bin/install -c .libs/libthriftz.lai /usr/local/lib/libthriftz.la
libtool: install: /usr/bin/install -c .libs/libthrift.a /usr/local/lib/libthrift.a
libtool: install: chmod 644 /usr/local/lib/libthrift.a
libtool: install: ranlib /usr/local/lib/libthrift.a
libtool: install: /usr/bin/install -c .libs/libthriftnb.a /usr/local/lib/libthriftnb.a
libtool: install: chmod 644 /usr/local/lib/libthriftnb.a
libtool: install: ranlib /usr/local/lib/libthriftnb.a
libtool: install: /usr/bin/install -c .libs/libthriftz.a /usr/local/lib/libthriftz.a
libtool: install: chmod 644 /usr/local/lib/libthriftz.a
libtool: install: ranlib /usr/local/lib/libthriftz.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
test -z "/usr/local/include/thrift/async" || /bin/mkdir -p "/usr/local/include/thrift/async"
/usr/bin/install -c -m 644 src/async/TAsyncChannel.h src/async/TAsyncProcessor.h src/async/TAsyncBufferProcessor.h src/async/TAsyncProtocolProcessor.h src/async/TEvhttpClientChannel.h src/async/TEvhttpServer.h '/usr/local/include/thrift/async'
test -z "/usr/local/include/thrift/concurrency" || /bin/mkdir -p "/usr/local/include/thrift/concurrency"
/usr/bin/install -c -m 644 src/concurrency/BoostThreadFactory.h src/concurrency/Exception.h src/concurrency/Mutex.h src/concurrency/Monitor.h src/concurrency/PlatformThreadFactory.h src/concurrency/PosixThreadFactory.h src/concurrency/Thread.h src/concurrency/ThreadManager.h src/concurrency/TimerManager.h src/concurrency/FunctionRunner.h src/concurrency/Util.h '/usr/local/include/thrift/concurrency'
test -z "/usr/local/include/thrift/processor" || /bin/mkdir -p "/usr/local/include/thrift/processor"
/usr/bin/install -c -m 644 src/processor/PeekProcessor.h src/processor/StatsProcessor.h '/usr/local/include/thrift/processor'
test -z "/usr/local/include/thrift/protocol" || /bin/mkdir -p "/usr/local/include/thrift/protocol"
/usr/bin/install -c -m 644 src/protocol/TBinaryProtocol.h src/protocol/TBinaryProtocol.tcc src/protocol/TCompactProtocol.h src/protocol/TCompactProtocol.tcc src/protocol/TDenseProtocol.h src/protocol/TDebugProtocol.h src/protocol/TBase64Utils.h src/protocol/TJSONProtocol.h src/protocol/TProtocolTap.h src/protocol/TProtocolException.h src/protocol/TVirtualProtocol.h src/protocol/TProtocol.h '/usr/local/include/thrift/protocol'
test -z "/usr/local/include/thrift/server" || /bin/mkdir -p "/usr/local/include/thrift/server"
/usr/bin/install -c -m 644 src/server/TServer.h src/server/TSimpleServer.h src/server/TThreadPoolServer.h src/server/TThreadedServer.h src/server/TNonblockingServer.h '/usr/local/include/thrift/server'
test -z "/usr/local/include/thrift" || /bin/mkdir -p "/usr/local/include/thrift"
/usr/bin/install -c -m 644 ../../config.h src/Thrift.h src/TReflectionLocal.h src/TProcessor.h src/TApplicationException.h src/TLogging.h '/usr/local/include/thrift'
test -z "/usr/local/include/thrift/transport" || /bin/mkdir -p "/usr/local/include/thrift/transport"
/usr/bin/install -c -m 644 src/transport/TFDTransport.h src/transport/TFileTransport.h src/transport/TSimpleFileTransport.h src/transport/TServerSocket.h src/transport/TSSLServerSocket.h src/transport/TServerTransport.h src/transport/THttpTransport.h src/transport/THttpClient.h src/transport/THttpServer.h src/transport/TSocket.h src/transport/TSSLSocket.h src/transport/TSocketPool.h src/transport/TVirtualTransport.h src/transport/TTransport.h src/transport/TTransportException.h src/transport/TTransportUtils.h src/transport/TBufferTransports.h src/transport/TShortReadTransport.h src/transport/TZlibTransport.h '/usr/local/include/thrift/transport'
test -z "/usr/local/lib/pkgconfig" || /bin/mkdir -p "/usr/local/lib/pkgconfig"
/usr/bin/install -c -m 644 thrift.pc thrift-nb.pc thrift-z.pc '/usr/local/lib/pkgconfig'
make[4]: Leaving directory `/opt/thrift-0.8.0/lib/cpp'
make[3]: Leaving directory `/opt/thrift-0.8.0/lib/cpp'
Making install in test
make[3]: Entering directory `/opt/thrift-0.8.0/lib/cpp/test'
make[4]: Entering directory `/opt/thrift-0.8.0/lib/cpp/test'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/opt/thrift-0.8.0/lib/cpp/test'
make[3]: Leaving directory `/opt/thrift-0.8.0/lib/cpp/test'
make[2]: Leaving directory `/opt/thrift-0.8.0/lib/cpp'
Making install in java
make[2]: Entering directory `/opt/thrift-0.8.0/lib/java'
/usr/bin/ant
Buildfile: /opt/thrift-0.8.0/lib/java/build.xml

setup.init:

mvn.ant.tasks.check:

proxy:

mvn.ant.tasks.download:
[get] Getting: http://repo1.maven.org/maven2/org/apach ... -2.1.3.jar
[get] To: /opt/thrift-0.8.0/lib/java/build/tools/maven-ant-tasks-2.1.3.jar
[get] Not modified - so not downloaded

mvn.init:
[artifact:dependencies] [WARNING] Overriding profile: 'maven-ant-tasks-repo-profile' (source: pom) with new instance from source: pom

init:

compile:

dist:

BUILD SUCCESSFUL
Total time: 4 seconds
make[3]: Entering directory `/opt/thrift-0.8.0/lib/java'
make install-exec-hook
make[4]: Entering directory `/opt/thrift-0.8.0/lib/java'
/usr/bin/ant install -Dinstall.path=/usr/local/lib \
-Dinstall.javadoc.path=/usr/local/share/doc/thrift/java
Buildfile: /opt/thrift-0.8.0/lib/java/build.xml

setup.init:

mvn.ant.tasks.check:

proxy:

mvn.ant.tasks.download:
[get] Getting: http://repo1.maven.org/maven2/org/apach ... -2.1.3.jar
[get] To: /opt/thrift-0.8.0/lib/java/build/tools/maven-ant-tasks-2.1.3.jar
[get] Not modified - so not downloaded

mvn.init:
[artifact:dependencies] [WARNING] Overriding profile: 'maven-ant-tasks-repo-profile' (source: pom) with new instance from source: pom

init:

compile:

dist:

javadoc:
[javadoc] Generating Javadoc
[javadoc] Javadoc execution
[javadoc] Loading source files for package org.apache.thrift...
[javadoc] Loading source files for package org.apache.thrift.async...
[javadoc] Loading source files for package org.apache.thrift.meta_data...
[javadoc] Loading source files for package org.apache.thrift.protocol...
[javadoc] Loading source files for package org.apache.thrift.scheme...
[javadoc] Loading source files for package org.apache.thrift.server...
[javadoc] Loading source files for package org.apache.thrift.transport...
[javadoc] Constructing Javadoc information...
[javadoc] Standard Doclet version 1.7.0_76
[javadoc] Building tree for all the packages and classes...
[javadoc] Building index for all the packages and classes...
[javadoc] Building index for all classes...
[jar] Building jar: /opt/thrift-0.8.0/lib/java/build/libthrift-0.8.0-javadoc.jar

install:
[copy] Copying 1 file to /usr/local/lib
[copy] Copying 158 files to /usr/local/share/doc/thrift/java

BUILD SUCCESSFUL
Total time: 14 seconds
make[4]: Leaving directory `/opt/thrift-0.8.0/lib/java'
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/opt/thrift-0.8.0/lib/java'
make[2]: Leaving directory `/opt/thrift-0.8.0/lib/java'
Making install in js/test
make[2]: Entering directory `/opt/thrift-0.8.0/lib/js/test'
make[3]: Entering directory `/opt/thrift-0.8.0/lib/js/test'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/opt/thrift-0.8.0/lib/js/test'
make[2]: Leaving directory `/opt/thrift-0.8.0/lib/js/test'
Making install in py
make[2]: Entering directory `/opt/thrift-0.8.0/lib/py'
/usr/bin/python setup.py build
running build
running build_py
running build_ext
make[3]: Entering directory `/opt/thrift-0.8.0/lib/py'
make install-exec-hook
make[4]: Entering directory `/opt/thrift-0.8.0/lib/py'
/usr/bin/python setup.py install --root=/ --prefix=/usr
running install
running build
running build_py
running build_ext
running install_lib
writing byte-compilation script '/tmp/tmpE8mJEY.py'
/usr/bin/python -O /tmp/tmpE8mJEY.py
removing /tmp/tmpE8mJEY.py
running install_egg_info
Removing /usr/lib/python2.7/site-packages/thrift-0.8.0-py2.7.egg-info
Writing /usr/lib/python2.7/site-packages/thrift-0.8.0-py2.7.egg-info
make[4]: Leaving directory `/opt/thrift-0.8.0/lib/py'
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/opt/thrift-0.8.0/lib/py'
make[2]: Leaving directory `/opt/thrift-0.8.0/lib/py'
Making install in erl
make[2]: Entering directory `/opt/thrift-0.8.0/lib/erl'
./rebar get-deps
==> nicefloats (get-deps)
==> jsx (get-deps)
==> erl (get-deps)
./rebar compile
==> nicefloats (compile)
==> jsx (compile)
==> erl (compile)
mkdir -p /usr/lib/erlang/lib/thrift-0.8.0 ; \
mkdir -p /usr/lib/erlang/lib/thrift-0.8.0/ebin ; \
mkdir -p /usr/lib/erlang/lib/thrift-0.8.0/include ; \
mkdir -p /usr/lib/erlang/lib/thrift-0.8.0/src ; \
for p in ebin/*.app* ebin/*.beam include/*.hrl src/*.erl ; \
do /usr/bin/install -c $p /usr/lib/erlang/lib/thrift-0.8.0/$p ; \
done
make[2]: Leaving directory `/opt/thrift-0.8.0/lib/erl'
Making install in rb
make[2]: Entering directory `/opt/thrift-0.8.0/lib/rb'
/usr/bin/rake
rake aborted!
no such file to load -- spec/rake/spectask

(See full trace by running task with --trace)
make[2]: *** [all-local] Error 1
make[2]: Leaving directory `/opt/thrift-0.8.0/lib/rb'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/opt/thrift-0.8.0/lib'
make: *** [install-recursive] Error 1


回頂端
 個人資料 E-mail  
 
 文章主題 : Re: 在安裝thrift0.8.0 make 發生的錯誤
文章發表於 : 2015-06-02, 00:11 
離線

註冊時間: 2009-11-09, 19:52
文章: 2897
wizozc36146 寫:
Making install in rb
make[2]: Entering directory `/opt/thrift-0.8.0/lib/rb'
/usr/bin/rake
rake aborted!
no such file to load -- spec/rake/spectask


我不太確定,但是 rake 感覺上是跟 Ruby 有點關係,請問您有裝 Ruby 的 rake 嘛?
https://github.com/ruby/rake
或者要找一下參數,看能否跳過產生 Ruby 相關的函式庫。

- Jazz


回頂端
 個人資料 E-mail  
 
 文章主題 : Re: 在安裝thrift0.8.0 make 發生的錯誤
文章發表於 : 2015-06-02, 02:27 
離線

註冊時間: 2015-05-25, 13:42
文章: 7
thrift 0.8.0 在下 . /configure --without-test --without-ruby
已除去了ruby Library
*****************************************************************************
Building code generators ..... :

Building C++ Library ......... : yes
Building C (GLib) Library .... : no
Building Java Library ........ : yes
Building C# Library .......... : no
Building Python Library ...... : yes
Building Ruby Library ........ : no
Building Haskell Library ..... : yes
Building Perl Library ........ : yes
Building PHP Library ......... : yes
Building Erlang Library ...... : yes
Building Go Library .......... : no

Building TZlibTransport ...... : yes
Building TNonblockingServer .. : yes

Using javac .................. : javac
Using java ................... : java
Using ant .................... : /usr/bin/ant

Using Python ................. : /usr/bin/python

Using php-config ............. : /usr/bin/php-config

Using Haskell ................ : /usr/bin/runhaskell
Using Cabal .................. : /usr/bin/cabal

Using Perl ................... : /usr/bin/perl

Using erlc ................... : /usr/bin/erlc

If something is missing that you think should be present,
please skim the output of configure to find the missing
component. Details are present in config.log.c
--------------------------------------------------------------------



hadoop@node1:/opt/thrift-0.8.0$ sudo make
make all-recursive
make[1]: Entering directory `/opt/thrift-0.8.0'
Making all in compiler/cpp
make[2]: Entering directory `/opt/thrift-0.8.0/compiler/cpp'
make all-am
make[3]: Entering directory `/opt/thrift-0.8.0/compiler/cpp'
g++ -DHAVE_CONFIG_H -I. -I../.. -I./src -Wall -g -O2 -MT thrift-main.o -MD -MP -MF .deps/thrift-main.Tpo -c -o thrift-m ain.o `test -f 'src/main.cc' || echo './'`src/main.cc
mv -f .deps/thrift-main.Tpo .deps/thrift-main.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I./src -Wall -g -O2 -MT thrift-t_c_glib_generator.o -MD -MP -MF .deps/thrift-t_c_glib_ generator.Tpo -c -o thrift-t_c_glib_generator.o `test -f 'src/generate/t_c_glib_generator.cc' || echo './'`src/generate/t _c_glib_generator.cc
src/generate/t_c_glib_generator.cc: In member function ‘void t_c_glib_generator::generate_object(t_struct*)’:
src/generate/t_c_glib_generator.cc:1655:8: warning: variable ‘has_nonrequired_fields’ set but not used [-Wunused-but-se t-variable]
mv -f .deps/thrift-t_c_glib_generator.Tpo .deps/thrift-t_c_glib_generator.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I./src -Wall -g -O2 -MT thrift-t_cpp_generator.o -MD -MP -MF .deps/thrift-t_cpp_genera tor.Tpo -c -o thrift-t_cpp_generator.o `test -f 'src/generate/t_cpp_generator.cc' || echo './'`src/generate/t_cpp_generat or.cc
mv -f .deps/thrift-t_cpp_generator.Tpo .deps/thrift-t_cpp_generator.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I./src -Wall -g -O2 -MT thrift-t_java_generator.o -MD -MP -MF .deps/thrift-t_java_gene rator.Tpo -c -o thrift-t_java_generator.o `test -f 'src/generate/t_java_generator.cc' || echo './'`src/generate/t_java_ge nerator.cc
mv -f .deps/thrift-t_java_generator.Tpo .deps/thrift-t_java_generator.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I./src -Wall -g -O2 -MT thrift-t_as3_generator.o -MD -MP -MF .deps/thrift-t_as3_genera tor.Tpo -c -o thrift-t_as3_generator.o `test -f 'src/generate/t_as3_generator.cc' || echo './'`src/generate/t_as3_generat or.cc
mv -f .deps/thrift-t_as3_generator.Tpo .deps/thrift-t_as3_generator.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I./src -Wall -g -O2 -MT thrift-t_csharp_generator.o -MD -MP -MF .deps/thrift-t_csharp_ generator.Tpo -c -o thrift-t_csharp_generator.o `test -f 'src/generate/t_csharp_generator.cc' || echo './'`src/generate/t _csharp_generator.cc
mv -f .deps/thrift-t_csharp_generator.Tpo .deps/thrift-t_csharp_generator.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I./src -Wall -g -O2 -MT thrift-t_py_generator.o -MD -MP -MF .deps/thrift-t_py_generato r.Tpo -c -o thrift-t_py_generator.o `test -f 'src/generate/t_py_generator.cc' || echo './'`src/generate/t_py_generator.cc
mv -f .deps/thrift-t_py_generator.Tpo .deps/thrift-t_py_generator.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I./src -Wall -g -O2 -MT thrift-t_rb_generator.o -MD -MP -MF .deps/thrift-t_rb_generato r.Tpo -c -o thrift-t_rb_generator.o `test -f 'src/generate/t_rb_generator.cc' || echo './'`src/generate/t_rb_generator.cc
mv -f .deps/thrift-t_rb_generator.Tpo .deps/thrift-t_rb_generator.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I./src -Wall -g -O2 -MT thrift-t_perl_generator.o -MD -MP -MF .deps/thrift-t_perl_gene rator.Tpo -c -o thrift-t_perl_generator.o `test -f 'src/generate/t_perl_generator.cc' || echo './'`src/generate/t_perl_ge nerator.cc
mv -f .deps/thrift-t_perl_generator.Tpo .deps/thrift-t_perl_generator.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I./src -Wall -g -O2 -MT thrift-t_php_generator.o -MD -MP -MF .deps/thrift-t_php_genera tor.Tpo -c -o thrift-t_php_generator.o `test -f 'src/generate/t_php_generator.cc' || echo './'`src/generate/t_php_generat or.cc
mv -f .deps/thrift-t_php_generator.Tpo .deps/thrift-t_php_generator.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I./src -Wall -g -O2 -MT thrift-t_erl_generator.o -MD -MP -MF .deps/thrift-t_erl_genera tor.Tpo -c -o thrift-t_erl_generator.o `test -f 'src/generate/t_erl_generator.cc' || echo './'`src/generate/t_erl_generat or.cc
mv -f .deps/thrift-t_erl_generator.Tpo .deps/thrift-t_erl_generator.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I./src -Wall -g -O2 -MT thrift-t_cocoa_generator.o -MD -MP -MF .deps/thrift-t_cocoa_ge nerator.Tpo -c -o thrift-t_cocoa_generator.o `test -f 'src/generate/t_cocoa_generator.cc' || echo './'`src/generate/t_coc oa_generator.cc
mv -f .deps/thrift-t_cocoa_generator.Tpo .deps/thrift-t_cocoa_generator.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I./src -Wall -g -O2 -MT thrift-t_st_generator.o -MD -MP -MF .deps/thrift-t_st_generato r.Tpo -c -o thrift-t_st_generator.o `test -f 'src/generate/t_st_generator.cc' || echo './'`src/generate/t_st_generator.cc
mv -f .deps/thrift-t_st_generator.Tpo .deps/thrift-t_st_generator.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I./src -Wall -g -O2 -MT thrift-t_ocaml_generator.o -MD -MP -MF .deps/thrift-t_ocaml_ge nerator.Tpo -c -o thrift-t_ocaml_generator.o `test -f 'src/generate/t_ocaml_generator.cc' || echo './'`src/generate/t_oca ml_generator.cc
mv -f .deps/thrift-t_ocaml_generator.Tpo .deps/thrift-t_ocaml_generator.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I./src -Wall -g -O2 -MT thrift-t_hs_generator.o -MD -MP -MF .deps/thrift-t_hs_generato r.Tpo -c -o thrift-t_hs_generator.o `test -f 'src/generate/t_hs_generator.cc' || echo './'`src/generate/t_hs_generator.cc
mv -f .deps/thrift-t_hs_generator.Tpo .deps/thrift-t_hs_generator.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I./src -Wall -g -O2 -MT thrift-t_js_generator.o -MD -MP -MF .deps/thrift-t_js_generato r.Tpo -c -o thrift-t_js_generator.o `test -f 'src/generate/t_js_generator.cc' || echo './'`src/generate/t_js_generator.cc
src/generate/t_js_generator.cc: In member function ‘std::string t_js_generator::render_const_value(t_type*, t_const_valu e*)’:
src/generate/t_js_generator.cc:437:13: warning: variable ‘key_is_string’ set but not used [-Wunused-but-set-variable]
mv -f .deps/thrift-t_js_generator.Tpo .deps/thrift-t_js_generator.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I./src -Wall -g -O2 -MT thrift-t_javame_generator.o -MD -MP -MF .deps/thrift-t_javame_ generator.Tpo -c -o thrift-t_javame_generator.o `test -f 'src/generate/t_javame_generator.cc' || echo './'`src/generate/t _javame_generator.cc
mv -f .deps/thrift-t_javame_generator.Tpo .deps/thrift-t_javame_generator.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I./src -Wall -g -O2 -MT thrift-t_delphi_generator.o -MD -MP -MF .deps/thrift-t_delphi_ generator.Tpo -c -o thrift-t_delphi_generator.o `test -f 'src/generate/t_delphi_generator.cc' || echo './'`src/generate/t _delphi_generator.cc
mv -f .deps/thrift-t_delphi_generator.Tpo .deps/thrift-t_delphi_generator.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I./src -Wall -g -O2 -MT thrift-t_go_generator.o -MD -MP -MF .deps/thrift-t_go_generato r.Tpo -c -o thrift-t_go_generator.o `test -f 'src/generate/t_go_generator.cc' || echo './'`src/generate/t_go_generator.cc
mv -f .deps/thrift-t_go_generator.Tpo .deps/thrift-t_go_generator.Po
/bin/bash ../../libtool --tag=CXX --mode=link g++ -Wall -g -O2 -o thrift thrift-main.o thrift-md5.o thrift-t_generato r.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_gene rator.o thrift-t_erl_generator.o thrift-t_cocoa_generator.o thrift-t_st_generator.o thrift-t_ocaml_generator.o thrift-t_h s_generator.o thrift-t_xsd_generator.o thrift-t_html_generator.o thrift-t_js_generator.o thrift-t_javame_generator.o thri ft-t_delphi_generator.o thrift-t_go_generator.o -lfl libparse.a
libtool: 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 thrif t-t_py_generator.o thrift-t_rb_generator.o thrift-t_perl_generator.o thrift-t_php_generator.o thrift-t_erl_generator.o th rift-t_cocoa_generator.o thrift-t_st_generator.o thrift-t_ocaml_generator.o thrift-t_hs_generator.o thrift-t_xsd_generato r.o thrift-t_html_generator.o thrift-t_js_generator.o thrift-t_javame_generator.o thrift-t_delphi_generator.o thrift-t_go _generator.o -lfl libparse.a
make[3]: Leaving directory `/opt/thrift-0.8.0/compiler/cpp'
make[2]: Leaving directory `/opt/thrift-0.8.0/compiler/cpp'
Making all in lib
make[2]: Entering directory `/opt/thrift-0.8.0/lib'
Making all in cpp
make[3]: Entering directory `/opt/thrift-0.8.0/lib/cpp'
Making all in .
make[4]: Entering directory `/opt/thrift-0.8.0/lib/cpp'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/opt/thrift-0.8.0/lib/cpp'
Making all in test
make[4]: Entering directory `/opt/thrift-0.8.0/lib/cpp/test'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/opt/thrift-0.8.0/lib/cpp/test'
make[3]: Leaving directory `/opt/thrift-0.8.0/lib/cpp'
Making all in java
make[3]: Entering directory `/opt/thrift-0.8.0/lib/java'
/usr/bin/ant
Buildfile: /opt/thrift-0.8.0/lib/java/build.xml

setup.init:

mvn.ant.tasks.check:

proxy:

mvn.ant.tasks.download:
[get] Getting: http://repo1.maven.org/maven2/org/apach ... -2.1.3.jar
[get] To: /opt/thrift-0.8.0/lib/java/build/tools/maven-ant-tasks-2.1.3.jar
[get] Not modified - so not downloaded

mvn.init:
[artifact:dependencies] [WARNING] Overriding profile: 'maven-ant-tasks-repo-profile' (source: pom) with new instance from source: pom

init:

compile:

dist:

BUILD SUCCESSFUL
Total time: 4 seconds
make[3]: Leaving directory `/opt/thrift-0.8.0/lib/java'
Making all in js/test
make[3]: Entering directory `/opt/thrift-0.8.0/lib/js/test'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/opt/thrift-0.8.0/lib/js/test'
Making all in py
make[3]: Entering directory `/opt/thrift-0.8.0/lib/py'
/usr/bin/python setup.py build
running build
running build_py
running build_ext
make[3]: Leaving directory `/opt/thrift-0.8.0/lib/py'
Making all in erl
make[3]: Entering directory `/opt/thrift-0.8.0/lib/erl'
./rebar get-deps
==> nicefloats (get-deps)
==> jsx (get-deps)
==> erl (get-deps)
./rebar compile
==> nicefloats (compile)
==> jsx (compile)
==> erl (compile)
make[3]: Leaving directory `/opt/thrift-0.8.0/lib/erl'
Making all in hs
make[3]: Entering directory `/opt/thrift-0.8.0/lib/hs'
/usr/bin/runhaskell Setup.lhs configure
Configuring thrift-0.8.0...
/usr/bin/runhaskell Setup.lhs build
Building thrift-0.8.0...
Preprocessing library thrift-0.8.0...
Registering thrift-0.8.0...
make[3]: Leaving directory `/opt/thrift-0.8.0/lib/hs'
Making all in perl
make[3]: Entering directory `/opt/thrift-0.8.0/lib/perl'
Making all in test
make[4]: Entering directory `/opt/thrift-0.8.0/lib/perl/test'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/opt/thrift-0.8.0/lib/perl/test'
make[4]: Entering directory `/opt/thrift-0.8.0/lib/perl'
make -f Makefile-perl.mk
make[5]: Entering directory `/opt/thrift-0.8.0/lib/perl'
make[5]: Leaving directory `/opt/thrift-0.8.0/lib/perl'
find blib -name 'Makefile*' -exec rm -f {} \;
make[4]: Leaving directory `/opt/thrift-0.8.0/lib/perl'
make[3]: Leaving directory `/opt/thrift-0.8.0/lib/perl'
Making all in php
make[3]: Entering directory `/opt/thrift-0.8.0/lib/php'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/opt/thrift-0.8.0/lib/php'
make[3]: Entering directory `/opt/thrift-0.8.0/lib'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/opt/thrift-0.8.0/lib'
make[2]: Leaving directory `/opt/thrift-0.8.0/lib'
Making all in test
make[2]: Entering directory `/opt/thrift-0.8.0/test'
Making all in cpp
make[3]: Entering directory `/opt/thrift-0.8.0/test/cpp'
Makefile:811: warning: overriding commands for target `gen-cpp/ThriftTest.cpp'
Makefile:808: warning: ignoring old commands for target `gen-cpp/ThriftTest.cpp'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/opt/thrift-0.8.0/test/cpp'
Making all in py
make[3]: Entering directory `/opt/thrift-0.8.0/test/py'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/opt/thrift-0.8.0/test/py'
Making all in py.twisted
make[3]: Entering directory `/opt/thrift-0.8.0/test/py.twisted'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/opt/thrift-0.8.0/test/py.twisted'
Making all in hs
make[3]: Entering directory `/opt/thrift-0.8.0/test/hs'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/opt/thrift-0.8.0/test/hs'
make[3]: Entering directory `/opt/thrift-0.8.0/test'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/opt/thrift-0.8.0/test'
make[2]: Leaving directory `/opt/thrift-0.8.0/test'
make[2]: Entering directory `/opt/thrift-0.8.0'
make[2]: Leaving directory `/opt/thrift-0.8.0'
make[1]: Leaving directory `/opt/thrift-0.8.0
****************************************************************************
這邊是sudo make install

hadoop@node1:/opt/thrift-0.8.0$ sudo make install
Making install in compiler/cpp
make[1]: Entering directory `/opt/thrift-0.8.0/compiler/cpp'
make install-am
make[2]: Entering directory `/opt/thrift-0.8.0/compiler/cpp'
make[3]: Entering directory `/opt/thrift-0.8.0/compiler/cpp'
test -z "/usr/local/bin" || /bin/mkdir -p "/usr/local/bin"
/bin/bash ../../libtool --mode=install /usr/bin/install -c thrift '/usr/local/bin'
libtool: install: /usr/bin/install -c thrift /usr/local/bin/thrift
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/opt/thrift-0.8.0/compiler/cpp'
make[2]: Leaving directory `/opt/thrift-0.8.0/compiler/cpp'
make[1]: Leaving directory `/opt/thrift-0.8.0/compiler/cpp'
Making install in lib
make[1]: Entering directory `/opt/thrift-0.8.0/lib'
Making install in cpp
make[2]: Entering directory `/opt/thrift-0.8.0/lib/cpp'
Making install in .
make[3]: Entering directory `/opt/thrift-0.8.0/lib/cpp'
make[4]: Entering directory `/opt/thrift-0.8.0/lib/cpp'
test -z "/usr/local/lib" || /bin/mkdir -p "/usr/local/lib"
/bin/bash ../../libtool --mode=install /usr/bin/install -c libthrift.la libthriftnb.la libthriftz.la '/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/libthrift-0.8.0.so /usr/local/lib/libthrift-0.8.0.so
libtool: install: (cd /usr/local/lib && { ln -s -f libthrift-0.8.0.so libthrift.so || { rm -f libthrift.so && ln -s libthrift-0.8.0.so libthrift.so; }; })
libtool: install: /usr/bin/install -c .libs/libthrift.lai /usr/local/lib/libthrift.la
libtool: install: /usr/bin/install -c .libs/libthriftnb-0.8.0.so /usr/local/lib/libthriftnb-0.8.0.so
libtool: install: (cd /usr/local/lib && { ln -s -f libthriftnb-0.8.0.so libthriftnb.so || { rm -f libthriftnb.so && ln -s libthriftnb-0.8.0.so libthriftnb.so; }; })
libtool: install: /usr/bin/install -c .libs/libthriftnb.lai /usr/local/lib/libthriftnb.la
libtool: install: /usr/bin/install -c .libs/libthriftz-0.8.0.so /usr/local/lib/libthriftz-0.8.0.so
libtool: install: (cd /usr/local/lib && { ln -s -f libthriftz-0.8.0.so libthriftz.so || { rm -f libthriftz.so && ln -s libthriftz-0.8.0.so libthriftz.so; }; })
libtool: install: /usr/bin/install -c .libs/libthriftz.lai /usr/local/lib/libthriftz.la
libtool: install: /usr/bin/install -c .libs/libthrift.a /usr/local/lib/libthrift.a
libtool: install: chmod 644 /usr/local/lib/libthrift.a
libtool: install: ranlib /usr/local/lib/libthrift.a
libtool: install: /usr/bin/install -c .libs/libthriftnb.a /usr/local/lib/libthriftnb.a
libtool: install: chmod 644 /usr/local/lib/libthriftnb.a
libtool: install: ranlib /usr/local/lib/libthriftnb.a
libtool: install: /usr/bin/install -c .libs/libthriftz.a /usr/local/lib/libthriftz.a
libtool: install: chmod 644 /usr/local/lib/libthriftz.a
libtool: install: ranlib /usr/local/lib/libthriftz.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
test -z "/usr/bin/install -c -m 644 src/transport/TFDTransport.h src/transport/TFileTransport.h src/transport/TSimpleFileTransport.h src/transport/TServerSocket.h src/transport/TSSLServerSocket.h src/transport/TServerTransport.h src/transport/THttpTransport.h src/transport/THttpClient.h src/transport/THttpServer.h src/transport/TSocket.h src/transport/TSSLSocket.h src/transport/TSocketPool.h src/transport/TVirtualTransport.h src/transport/TTransport.h src/transport/TTransportException.h src/transport/TTransportUtils.h src/transport/TBufferTransports.h src/transport/TShortReadTransport.h src/transport/TZlibTransport.h '/usr/local/include/thrift/transport'
test -z "/usr/local/lib/pkgconfig" || /bin/mkdir -p "/usr/local/lib/pkgconfig"
/usr/bin/install -c -m 644 thrift.pc thrift-nb.pc thrift-z.pc '/usr/local/lib/pkgconfig'
make[4]: Leaving directory `/opt/thrift-0.8.0/lib/cpp'
make[3]: Leaving directory `/opt/thrift-0.8.0/lib/cpp'
Making install in test
make[3]: Entering directory `/opt/thrift-0.8.0/lib/cpp/test'
make[4]: Entering directory `/opt/thrift-0.8.0/lib/cpp/test'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/opt/thrift-0.8.0/lib/cpp/test'
make[3]: Leaving directory `/opt/thrift-0.8.0/lib/cpp/test'
make[2]: Leaving directory `/opt/thrift-0.8.0/lib/cpp'
Making install in java
make[2]: Entering directory `/opt/thrift-0.8.0/lib/java'
/usr/bin/ant
Buildfile: /opt/thrift-0.8.0/lib/java/build.xml

setup.init:

mvn.ant.tasks.check:

proxy:

mvn.ant.tasks.download:
[get] Getting: http://repo1.maven.org/maven2/org/apach ... -2.1.3.jar
[get] To: /opt/thrift-0.8.0/lib/java/build/tools/maven-ant-tasks-2.1.3.jar
[get] Not modified - so not downloaded

mvn.init:
[artifact:dependencies] [WARNING] Overriding profile: 'maven-ant-tasks-repo-profile' (source: pom) with new instance from source: pom

init:

compile:

dist:

BUILD SUCCESSFUL
Total time: 4 seconds
make[3]: Entering directory `/opt/thrift-0.8.0/lib/java'
make install-exec-hook
make[4]: Entering directory `/opt/thrift-0.8.0/lib/java'
/usr/bin/ant install -Dinstall.path=/usr/local/lib \
-Dinstall.javadoc.path=/usr/local/share/doc/thrift/java
Buildfile: /opt/thrift-0.8.0/lib/java/build.xml

setup.init:

mvn.ant.tasks.check:

proxy:

mvn.ant.tasks.download:
[get] Getting: http://repo1.maven.org/maven2/org/apach ... -2.1.3.jar
[get] To: /opt/thrift-0.8.0/lib/java/build/tools/maven-ant-tasks-2.1.3.jar
[get] Not modified - so not downloaded

mvn.init:
[artifact:dependencies] [WARNING] Overriding profile: 'maven-ant-tasks-repo-profile' (source: pom) with new instance from source: pom

init:

compile:

dist:

javadoc:
[javadoc] Generating Javadoc
[javadoc] Javadoc execution
[javadoc] Loading source files for package org.apache.thrift...
[javadoc] Loading source files for package org.apache.thrift.async...
[javadoc] Loading source files for package org.apache.thrift.meta_data...
[javadoc] Loading source files for package org.apache.thrift.protocol...
[javadoc] Loading source files for package org.apache.thrift.scheme...
[javadoc] Loading source files for package org.apache.thrift.server...
[javadoc] Loading source files for package org.apache.thrift.transport...
[javadoc] Constructing Javadoc information...
[javadoc] Standard Doclet version 1.7.0_76
[javadoc] Building tree for all the packages and classes...
[javadoc] Building index for all the packages and classes...
[javadoc] Building index for all classes...
[jar] Building jar: /opt/thrift-0.8.0/lib/java/build/libthrift-0.8.0-javadoc.jar

install:
[copy] Copying 1 file to /usr/local/lib
[copy] Copying 158 files to /usr/local/share/doc/thrift/java

BUILD SUCCESSFUL
Total time: 13 seconds
make[4]: Leaving directory `/opt/thrift-0.8.0/lib/java'
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/opt/thrift-0.8.0/lib/java'
make[2]: Leaving directory `/opt/thrift-0.8.0/lib/java'
Making install in js/test
make[2]: Entering directory `/opt/thrift-0.8.0/lib/js/test'
make[3]: Entering directory `/opt/thrift-0.8.0/lib/js/test'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/opt/thrift-0.8.0/lib/js/test'
make[2]: Leaving directory `/opt/thrift-0.8.0/lib/js/test'
Making install in py
make[2]: Entering directory `/opt/thrift-0.8.0/lib/py'
/usr/bin/python setup.py build
running build
running build_py
running build_ext
make[3]: Entering directory `/opt/thrift-0.8.0/lib/py'
make install-exec-hook
make[4]: Entering directory `/opt/thrift-0.8.0/lib/py'
/usr/bin/python setup.py install --root=/ --prefix=/usr
running install
running build
running build_py
running build_ext
running install_lib
writing byte-compilation script '/tmp/tmp49jqQ0.py'
/usr/bin/python -O /tmp/tmp49jqQ0.py
removing /tmp/tmp49jqQ0.py
running install_egg_info
Removing /usr/lib/python2.7/site-packages/thrift-0.8.0-py2.7.egg-info
Writing /usr/lib/python2.7/site-packages/thrift-0.8.0-py2.7.egg-info
make[4]: Leaving directory `/opt/thrift-0.8.0/lib/py'
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/opt/thrift-0.8.0/lib/py'
make[2]: Leaving directory `/opt/thrift-0.8.0/lib/py'
Making install in erl
make[2]: Entering directory `/opt/thrift-0.8.0/lib/erl'
./rebar get-deps
==> nicefloats (get-deps)
==> jsx (get-deps)
==> erl (get-deps)
./rebar compile
==> nicefloats (compile)
==> jsx (compile)
==> erl (compile)
mkdir -p /usr/lib/erlang/lib/thrift-0.8.0 ; \
mkdir -p /usr/lib/erlang/lib/thrift-0.8.0/ebin ; \
mkdir -p /usr/lib/erlang/lib/thrift-0.8.0/include ; \
mkdir -p /usr/lib/erlang/lib/thrift-0.8.0/src ; \
for p in ebin/*.app* ebin/*.beam include/*.hrl src/*.erl ; \
do /usr/bin/install -c $p /usr/lib/erlang/lib/thrift-0.8.0/$p ; \
done
make[2]: Leaving directory `/opt/thrift-0.8.0/lib/erl'
Making install in hs
make[2]: Entering directory `/opt/thrift-0.8.0/lib/hs'
/usr/bin/runhaskell Setup.lhs configure
Configuring thrift-0.8.0...
/usr/bin/runhaskell Setup.lhs build
Building thrift-0.8.0...
Preprocessing library thrift-0.8.0...
Registering thrift-0.8.0...
make[3]: Entering directory `/opt/thrift-0.8.0/lib/hs'
make install-exec-hook
make[4]: Entering directory `/opt/thrift-0.8.0/lib/hs'
/usr/bin/runhaskell Setup.lhs install
Installing library in /usr/local/lib/thrift-0.8.0/ghc-7.4.1
Registering thrift-0.8.0...
make[4]: Leaving directory `/opt/thrift-0.8.0/lib/hs'
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/opt/thrift-0.8.0/lib/hs'
make[2]: Leaving directory `/opt/thrift-0.8.0/lib/hs'
Making install in perl
make[2]: Entering directory `/opt/thrift-0.8.0/lib/perl'
Making install in test
make[3]: Entering directory `/opt/thrift-0.8.0/lib/perl/test'
make[4]: Entering directory `/opt/thrift-0.8.0/lib/perl/test'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/opt/thrift-0.8.0/lib/perl/test'
make[3]: Leaving directory `/opt/thrift-0.8.0/lib/perl/test'
make[3]: Entering directory `/opt/thrift-0.8.0/lib/perl'
make -f Makefile-perl.mk
make[4]: Entering directory `/opt/thrift-0.8.0/lib/perl'
make[4]: Leaving directory `/opt/thrift-0.8.0/lib/perl'
find blib -name 'Makefile*' -exec rm -f {} \;
make[4]: Entering directory `/opt/thrift-0.8.0/lib/perl'
make -f Makefile-perl.mk install DESTDIR=/
make[5]: Entering directory `/opt/thrift-0.8.0/lib/perl'
make[5]: Leaving directory `/opt/thrift-0.8.0/lib/perl'
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/opt/thrift-0.8.0/lib/perl'
make[3]: Leaving directory `/opt/thrift-0.8.0/lib/perl'
make[2]: Leaving directory `/opt/thrift-0.8.0/lib/perl'
Making install in php
make[2]: Entering directory `/opt/thrift-0.8.0/lib/php'
make[3]: Entering directory `/opt/thrift-0.8.0/lib/php'
make[3]: Nothing to be done for `install-exec-am'.
test -z "/usr/lib/php" || /bin/mkdir -p "/usr/lib/php"
/usr/bin/install -c -m 644 src/autoload.php src/Thrift.php '/usr/lib/php'
test -z "/etc/php.d" || /bin/mkdir -p "/etc/php.d"
/usr/bin/install -c -m 644 thrift_protocol.ini '/etc/php.d'
test -z "`php-config --extension-dir`" || /bin/mkdir -p "`php-config --extension-dir`"
/usr/bin/install -c src/ext/thrift_protocol/modules/thrift_protocol.so '/usr/lib/php5/20090626+lfs'
test -z "/usr/lib/php/protocol" || /bin/mkdir -p "/usr/lib/php/protocol"
/usr/bin/install -c -m 644 src/protocol/TBinaryProtocol.php src/protocol/TBinarySerializer.php src/protocol/TProtocol.php '/usr/lib/php/protocol'
test -z "/usr/lib/php/transport" || /bin/mkdir -p "/usr/lib/php/transport"
/usr/bin/install -c -m 644 src/transport/TBufferedTransport.php src/transport/TFramedTransport.php src/transport/THttpClient.php src/transport/TMemoryBuffer.php src/transport/TNullTransport.php src/transport/TPhpStream.php src/transport/TSocket.php src/transport/TSocketPool.php src/transport/TTransport.php '/usr/lib/php/transport'
make[3]: Leaving directory `/opt/thrift-0.8.0/lib/php'
make[2]: Leaving directory `/opt/thrift-0.8.0/lib/php'
make[2]: Entering directory `/opt/thrift-0.8.0/lib'
make[3]: Entering directory `/opt/thrift-0.8.0/lib'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/opt/thrift-0.8.0/lib'
make[2]: Leaving directory `/opt/thrift-0.8.0/lib'
make[1]: Leaving directory `/opt/thrift-0.8.0/lib'
Making install in test
make[1]: Entering directory `/opt/thrift-0.8.0/test'
Making install in cpp
make[2]: Entering directory `/opt/thrift-0.8.0/test/cpp'
Makefile:811: warning: overriding commands for target `gen-cpp/ThriftTest.cpp'
Makefile:808: warning: ignoring old commands for target `gen-cpp/ThriftTest.cpp'
make[3]: Entering directory `/opt/thrift-0.8.0/test/cpp'
Makefile:811: warning: overriding commands for target `gen-cpp/ThriftTest.cpp'
Makefile:808: warning: ignoring old commands for target `gen-cpp/ThriftTest.cpp'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/opt/thrift-0.8.0/test/cpp'
make[2]: Leaving directory `/opt/thrift-0.8.0/test/cpp'
Making install in py
make[2]: Entering directory `/opt/thrift-0.8.0/test/py'
make[3]: Entering directory `/opt/thrift-0.8.0/test/py'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/opt/thrift-0.8.0/test/py'
make[2]: Leaving directory `/opt/thrift-0.8.0/test/py'
Making install in py.twisted
make[2]: Entering directory `/opt/thrift-0.8.0/test/py.twisted'
make[3]: Entering directory `/opt/thrift-0.8.0/test/py.twisted'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/opt/thrift-0.8.0/test/py.twisted'
make[2]: Leaving directory `/opt/thrift-0.8.0/test/py.twisted'
Making install in hs
make[2]: Entering directory `/opt/thrift-0.8.0/test/hs'
make[3]: Entering directory `/opt/thrift-0.8.0/test/hs'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/opt/thrift-0.8.0/test/hs'
make[2]: Leaving directory `/opt/thrift-0.8.0/test/hs'
make[2]: Entering directory `/opt/thrift-0.8.0/test'
make[3]: Entering directory `/opt/thrift-0.8.0/test'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/opt/thrift-0.8.0/test'
make[2]: Leaving directory `/opt/thrift-0.8.0/test'
make[1]: Leaving directory `/opt/thrift-0.8.0/test'
make[1]: Entering directory `/opt/thrift-0.8.0'
make[2]: Entering directory `/opt/thrift-0.8.0'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/opt/thrift-0.8.0'
make[1]: Leaving directory `/opt/thrift-0.8.0'

***********************************************************
另外jazz大大 想在請問一下 在thrift 0.8.0/lib/php/src/ext 中 只找到 protocol server transport 這些檔案,但是DemoClient.php中所要求的 type ,exception , factory , stringfunc 資料夾沒有找到 ??

require_once( $GLOBALS['THRIFT_ROOT'].'/type/TMessageType.php' );
require_once( $GLOBALS['THRIFT_ROOT'].'/type/TType.php' );
require_once( $GLOBALS['THRIFT_ROOT'].'/exception/TException.php' );
require_once( $GLOBALS['THRIFT_ROOT'].'/factory/TStringFuncFactory.php' );
require_once( $GLOBALS['THRIFT_ROOT'].'/stringfunc/TStringFunc.php' );
require_once( $GLOBALS['THRIFT_ROOT'].'/stringfunc/Core.php' );
require_once( $GLOBALS['THRIFT_ROOT'].'/transport/TSocket.php' );
require_once( $GLOBALS['THRIFT_ROOT'].'/transport/TBufferedTransport.php' );
require_once( $GLOBALS['THRIFT_ROOT'].'/protocol/TBinaryProtocol.php' );


回頂端
 個人資料 E-mail  
 
 文章主題 : Re: 在安裝thrift0.8.0 make 發生的錯誤
文章發表於 : 2015-06-03, 10:55 
離線

註冊時間: 2009-11-09, 19:52
文章: 2897
wizozc36146 寫:
thrift 0.8.0 在下 . /configure --without-test --without-ruby
已除去了ruby Library
***********************************************************
另外jazz大大 想在請問一下 在thrift 0.8.0/lib/php/src/ext 中 只找到 protocol server transport 這些檔案,但是DemoClient.php中所要求的 type ,exception , factory , stringfunc 資料夾沒有找到 ??

require_once( $GLOBALS['THRIFT_ROOT'].'/type/TMessageType.php' );
require_once( $GLOBALS['THRIFT_ROOT'].'/type/TType.php' );
require_once( $GLOBALS['THRIFT_ROOT'].'/exception/TException.php' );
require_once( $GLOBALS['THRIFT_ROOT'].'/factory/TStringFuncFactory.php' );
require_once( $GLOBALS['THRIFT_ROOT'].'/stringfunc/TStringFunc.php' );
require_once( $GLOBALS['THRIFT_ROOT'].'/stringfunc/Core.php' );
require_once( $GLOBALS['THRIFT_ROOT'].'/transport/TSocket.php' );
require_once( $GLOBALS['THRIFT_ROOT'].'/transport/TBufferedTransport.php' );
require_once( $GLOBALS['THRIFT_ROOT'].'/protocol/TBinaryProtocol.php' );


參考先前陳威宇先生寫的步驟
https://sites.google.com/site/waue0920/Home/hbase/hadoop-hbase-thrift-php-an-zhuang-she-ding-cheng-shi-she-ji#%3F%3Fthrift%3Fphp%3F%3F%3F%3F%3F%3F%3F%3F
試試看能不能跑
引言回覆:
thrift --gen php Hbase.thrift


- Jazz


回頂端
 個人資料 E-mail  
 
顯示文章 :  排序  
發表新文章 回覆主題  [ 5 篇文章 ] 

所有顯示的時間為 UTC + 8 小時


誰在線上

正在瀏覽這個版面的使用者:沒有註冊會員 和 1 位訪客


不能 在這個版面發表主題
不能 在這個版面回覆主題
不能 在這個版面編輯您的文章
不能 在這個版面刪除您的文章
不能 在這個版面上傳附加檔案

搜尋:
前往 :  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
正體中文語系由 竹貓星球 維護製作