Open auonhaidar opened 7 years ago
Same problem, here is the last part of the log:
checking for folly/folly-config.h in /usr/local... no checking whether compiling and linking against folly works... no configure: Unable to find the folly library. configure: error: Please install the folly library make: No targets specified and no makefile found. Stop. make: No rule to make target 'install'. Stop. /usr/bin/python: No module named thrift_compiler Failed to install Facebook Thrift
I can make a symbolic link to fbthrift/folly/folly from /usr/local/include/folly, so it works out like this:
checking for folly/folly-config.h in /usr/local... yes
but the error still persists because compiling and linking against folly still does not work. Please help.
Try with current master and let me know if it fails
I am having the same issue , did anyone figure it out ?
It seems like a dependency issue with linux mint. Will have a look in a week's time.
Kamal
I am running it on Ubuntu 14. Also is this project dead ? I am doing research on it and have not been able to successfully run and study this. If this is not an on going project I can switch it in time for my thesis.
Currently it seems I am the only one interested in maintaining it. I am busy with a lot of stuff though so don't expect prompt resolution. But I am surely willing to help
Regarding the issue. Can you send me your log? The errors in mygearstationcom's logs seem to be folly and linux mint related. The project installs easily on fresh Ubuntu 14.04 and 16.04
Kamal
This is over all a fantastic project its sad if you're the only one maintaining it. I might not be much help but I am willing to help if needed.
Regrading the issues I have both 14.04 and 16.04 and have not been able to successfully do it on both, the issues that I am getting now is shown below.
CMake Error at CMakeLists.txt:1 (cmake_minimum_required): CMake 3.0.2 or higher is required. You are running version 2.8.12.2
-- Configuring incomplete, errors occurred! Failed to install Facebook Thrift
Due to some reason cmake isn't installing on your system. Type in the following commands and let me know if they succeed
sudo apt-get install -y software-properties-common
sudo add-apt-repository -y ppa:george-edison55/cmake-3.x
sudo apt-get -y update
sudo apt-get install -y cmake
sudo apt-get -y upgrade
If they suceed cmake --version
should return a 3.x version number
On Sun, Oct 15, 2017 at 12:47 PM, hassanpasha5630 notifications@github.com wrote:
This is over all a fantastic project its sad if you're the only one maintaining it. I might not be much help but I am willing to help if needed.
Regrading the issues I have both 14.04 and 16.04 and have not been able to successfully do it on both, the issues that I am getting now is shown below.
CMake Error at CMakeLists.txt:1 (cmake_minimum_required): CMake 3.0.2 or higher is required. You are running version 2.8.12.2
-- Configuring incomplete, errors occurred! Failed to install Facebook Thrift
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/claritylab/lucida/issues/147#issuecomment-336691743, or mute the thread https://github.com/notifications/unsubscribe-auth/ACPIebdXc9a99TSbbx0-yvlKxl1F23lNks5ssbGKgaJpZM4LjgF6 .
g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See file:///usr/share/doc/gcc-4.8/README.Bugs for instructions.
make[4]: [frontend_la-compiler.lo] Error 1
make[4]: Leaving directory `/home/linux14/Desktop/lucida-master/tools/fbthrift/thrift/compiler/py'
make[3]: [all-recursive] Error 1
make[3]: Leaving directory /home/linux14/Desktop/lucida-master/tools/fbthrift/thrift/compiler' make[2]: *** [all] Error 2 make[2]: Leaving directory
/home/linux14/Desktop/lucida-master/tools/fbthrift/thrift/compiler'
make[1]: [all-recursive] Error 1
make[1]: Leaving directory `/home/linux14/Desktop/lucida-master/tools/fbthrift/thrift'
make: [all] Error 2
Failed to install Facebook Thrift
Can you send me a complete log
On Sun, Oct 15, 2017 at 1:20 PM, hassanpasha5630 notifications@github.com wrote:
g++: internal compiler error: Killed (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See file:///usr/share/doc/gcc-4.8/README.Bugs for instructions. make[4]: [frontend_la-compiler.lo] Error 1 make[4]: Leaving directory /home/linux14/Desktop/lucida- master/tools/fbthrift/thrift/compiler/py' make[3]: [all-recursive] Error 1 make[3]: Leaving directory/home/linux14/ Desktop/lucida-master/tools/fbthrift/thrift/compiler' make[2]: [all] Error 2 make[2]: Leaving directory /home/linux14/Desktop/lucida- master/tools/fbthrift/thrift/compiler' make[1]: [all-recursive] Error 1 make[1]: Leaving directory/home/linux14/Desktop/lucida-master/tools/ fbthrift/thrift' make: *** [all] Error 2 Failed to install Facebook Thrift
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/claritylab/lucida/issues/147#issuecomment-336693084, or mute the thread https://github.com/notifications/unsubscribe-auth/ACPIeWXF3M3243FKUBHtTSR3scS6fWiTks5ssblWgaJpZM4LjgF6 .
Where can I find the log you are referring to. I went into cd log/var is that the correct place to find the log that you are requesting ?
I mean the complete output of the make command. That is the log
On Sun, Oct 15, 2017 at 1:29 PM, hassanpasha5630 notifications@github.com wrote:
Where can I find the log you are referring to. I went into cd log/var is that the correct place to find the log that you are requesting ?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/claritylab/lucida/issues/147#issuecomment-336693470, or mute the thread https://github.com/notifications/unsubscribe-auth/ACPIebdP6ZY_d2IFmWUgVOx354QhdK20ks5ssbtLgaJpZM4LjgF6 .
So you would like to see everything that is outputted after I make the call , "make all" in the tool directory ?
yep
-- Up-to-date: /usr/local/include/wangle/acceptor/AcceptorHandshakeManager.h -- Up-to-date: /usr/local/include/wangle/acceptor/TransportInfo.h -- Up-to-date: /usr/local/include/wangle/acceptor/ConnectionManager.h -- Up-to-date: /usr/local/include/wangle/acceptor/PeekingAcceptorHandshakeHelper.h -- Up-to-date: /usr/local/include/wangle/acceptor/ServerSocketConfig.h -- Up-to-date: /usr/local/include/wangle/acceptor/SecurityProtocolContextManager.h -- Up-to-date: /usr/local/include/wangle/acceptor/SocketOptions.h -- Up-to-date: /usr/local/include/wangle/acceptor/SecureTransportType.h -- Up-to-date: /usr/local/include/wangle/acceptor/ConnectionCounter.h -- Up-to-date: /usr/local/include/wangle/acceptor/LoadShedConfiguration.h -- Up-to-date: /usr/local/include/wangle/acceptor/SocketPeeker.h -- Up-to-date: /usr/local/include/wangle/acceptor/SSLContextSelectionMisc.h -- Up-to-date: /usr/local/include/wangle/acceptor/NetworkAddress.h -- Up-to-date: /usr/local/include/wangle/acceptor/TLSPlaintextPeekingCallback.h -- Up-to-date: /usr/local/include/wangle/bootstrap -- Up-to-date: /usr/local/include/wangle/bootstrap/RoutingDataHandler-inl.h -- Up-to-date: /usr/local/include/wangle/bootstrap/AcceptRoutingHandler.h -- Up-to-date: /usr/local/include/wangle/bootstrap/ServerBootstrap.h -- Up-to-date: /usr/local/include/wangle/bootstrap/ServerSocketFactory.h -- Up-to-date: /usr/local/include/wangle/bootstrap/AcceptRoutingHandler-inl.h -- Up-to-date: /usr/local/include/wangle/bootstrap/RoutingDataHandler.h -- Up-to-date: /usr/local/include/wangle/bootstrap/ClientBootstrap.h -- Up-to-date: /usr/local/include/wangle/bootstrap/BaseClientBootstrap.h -- Up-to-date: /usr/local/include/wangle/bootstrap/ServerBootstrap-inl.h -- Up-to-date: /usr/local/include/wangle/channel -- Up-to-date: /usr/local/include/wangle/channel/FileRegion.h -- Up-to-date: /usr/local/include/wangle/channel/test -- Up-to-date: /usr/local/include/wangle/channel/test/MockHandler.h -- Up-to-date: /usr/local/include/wangle/channel/test/MockPipeline.h -- Up-to-date: /usr/local/include/wangle/channel/AsyncSocketHandler.h -- Up-to-date: /usr/local/include/wangle/channel/broadcast -- Up-to-date: /usr/local/include/wangle/channel/broadcast/Subscriber.h -- Up-to-date: /usr/local/include/wangle/channel/broadcast/BroadcastHandler.h -- Up-to-date: /usr/local/include/wangle/channel/broadcast/test -- Up-to-date: /usr/local/include/wangle/channel/broadcast/test/Mocks.h -- Up-to-date: /usr/local/include/wangle/channel/broadcast/ObservingHandler-inl.h -- Up-to-date: /usr/local/include/wangle/channel/broadcast/BroadcastHandler-inl.h -- Up-to-date: /usr/local/include/wangle/channel/broadcast/BroadcastPool-inl.h -- Up-to-date: /usr/local/include/wangle/channel/broadcast/BroadcastPool.h -- Up-to-date: /usr/local/include/wangle/channel/broadcast/ObservingHandler.h -- Up-to-date: /usr/local/include/wangle/channel/OutputBufferingHandler.h -- Up-to-date: /usr/local/include/wangle/channel/HandlerContext-inl.h -- Up-to-date: /usr/local/include/wangle/channel/Handler.h -- Up-to-date: /usr/local/include/wangle/channel/Pipeline-inl.h -- Up-to-date: /usr/local/include/wangle/channel/Pipeline.h -- Up-to-date: /usr/local/include/wangle/channel/HandlerContext.h -- Up-to-date: /usr/local/include/wangle/channel/EventBaseHandler.h -- Up-to-date: /usr/local/include/wangle/channel/StaticPipeline.h -- Up-to-date: /usr/local/include/wangle/client -- Up-to-date: /usr/local/include/wangle/client/persistence -- Up-to-date: /usr/local/include/wangle/client/persistence/test -- Up-to-date: /usr/local/include/wangle/client/persistence/test/Mocks.h -- Up-to-date: /usr/local/include/wangle/client/persistence/test/TestUtil.h -- Up-to-date: /usr/local/include/wangle/client/persistence/PersistentCache.h -- Up-to-date: /usr/local/include/wangle/client/persistence/LRUInMemoryCache-inl.h -- Up-to-date: /usr/local/include/wangle/client/persistence/LRUPersistentCache.h -- Up-to-date: /usr/local/include/wangle/client/persistence/FilePersistentCache-inl.h -- Up-to-date: /usr/local/include/wangle/client/persistence/LRUPersistentCache-inl.h -- Up-to-date: /usr/local/include/wangle/client/persistence/FilePersistentCache.h -- Up-to-date: /usr/local/include/wangle/client/persistence/SharedMutexCacheLockGuard.h -- Up-to-date: /usr/local/include/wangle/client/persistence/LRUInMemoryCache.h -- Up-to-date: /usr/local/include/wangle/client/persistence/PersistentCacheCommon.h -- Up-to-date: /usr/local/include/wangle/client/ssl -- Up-to-date: /usr/local/include/wangle/client/ssl/SSLSessionPersistentCache-inl.h -- Up-to-date: /usr/local/include/wangle/client/ssl/test -- Up-to-date: /usr/local/include/wangle/client/ssl/test/Mocks.h -- Up-to-date: /usr/local/include/wangle/client/ssl/test/TestUtil.h -- Up-to-date: /usr/local/include/wangle/client/ssl/SSLSessionCallbacks.h -- Up-to-date: /usr/local/include/wangle/client/ssl/ThreadSafeSSLSessionCache.h -- Up-to-date: /usr/local/include/wangle/client/ssl/SSLSession.h -- Up-to-date: /usr/local/include/wangle/client/ssl/SSLSessionCacheUtils.h -- Up-to-date: /usr/local/include/wangle/client/ssl/SSLSessionPersistentCache.h -- Up-to-date: /usr/local/include/wangle/client/ssl/SSLSessionCacheData.h -- Up-to-date: /usr/local/include/wangle/codec -- Up-to-date: /usr/local/include/wangle/codec/LengthFieldPrepender.h -- Up-to-date: /usr/local/include/wangle/codec/FixedLengthFrameDecoder.h -- Up-to-date: /usr/local/include/wangle/codec/ByteToMessageDecoder.h -- Up-to-date: /usr/local/include/wangle/codec/LineBasedFrameDecoder.h -- Up-to-date: /usr/local/include/wangle/codec/LengthFieldBasedFrameDecoder.h -- Up-to-date: /usr/local/include/wangle/codec/StringCodec.h -- Up-to-date: /usr/local/include/wangle/codec/MessageToByteEncoder.h -- Up-to-date: /usr/local/include/wangle/concurrent -- Up-to-date: /usr/local/include/wangle/concurrent/IOThreadPoolExecutor.h -- Up-to-date: /usr/local/include/wangle/concurrent/FutureExecutor.h -- Up-to-date: /usr/local/include/wangle/concurrent/IOExecutor.h -- Up-to-date: /usr/local/include/wangle/concurrent/PriorityThreadFactory.h -- Up-to-date: /usr/local/include/wangle/concurrent/IOObjectCache.h -- Up-to-date: /usr/local/include/wangle/concurrent/test -- Up-to-date: /usr/local/include/wangle/concurrent/ThreadFactory.h -- Up-to-date: /usr/local/include/wangle/concurrent/BlockingQueue.h -- Up-to-date: /usr/local/include/wangle/concurrent/Codel.h -- Up-to-date: /usr/local/include/wangle/concurrent/Async.h -- Up-to-date: /usr/local/include/wangle/concurrent/ThreadPoolExecutor.h -- Up-to-date: /usr/local/include/wangle/concurrent/FiberIOExecutor.h -- Up-to-date: /usr/local/include/wangle/concurrent/PriorityLifoSemMPMCQueue.h -- Up-to-date: /usr/local/include/wangle/concurrent/CPUThreadPoolExecutor.h -- Up-to-date: /usr/local/include/wangle/concurrent/NamedThreadFactory.h -- Up-to-date: /usr/local/include/wangle/concurrent/SerialExecutor.h -- Up-to-date: /usr/local/include/wangle/concurrent/GlobalExecutor.h -- Up-to-date: /usr/local/include/wangle/concurrent/ThreadedExecutor.h -- Up-to-date: /usr/local/include/wangle/concurrent/LifoSemMPMCQueue.h -- Up-to-date: /usr/local/include/wangle/deprecated -- Up-to-date: /usr/local/include/wangle/deprecated/rx -- Up-to-date: /usr/local/include/wangle/deprecated/rx/test -- Up-to-date: /usr/local/include/wangle/deprecated/rx/Subscription.h -- Up-to-date: /usr/local/include/wangle/deprecated/rx/types.h -- Up-to-date: /usr/local/include/wangle/deprecated/rx/Observable.h -- Up-to-date: /usr/local/include/wangle/deprecated/rx/Observer.h -- Up-to-date: /usr/local/include/wangle/deprecated/rx/Subject.h -- Up-to-date: /usr/local/include/wangle/service -- Up-to-date: /usr/local/include/wangle/service/CloseOnReleaseFilter.h -- Up-to-date: /usr/local/include/wangle/service/Service.h -- Up-to-date: /usr/local/include/wangle/service/ExpiringFilter.h -- Up-to-date: /usr/local/include/wangle/service/ClientDispatcher.h -- Up-to-date: /usr/local/include/wangle/service/ServerDispatcher.h -- Up-to-date: /usr/local/include/wangle/service/ExecutorFilter.h -- Up-to-date: /usr/local/include/wangle/ssl -- Up-to-date: /usr/local/include/wangle/ssl/SSLContextManager.h -- Up-to-date: /usr/local/include/wangle/ssl/TLSTicketKeyManager.h -- Up-to-date: /usr/local/include/wangle/ssl/ClientHelloExtStats.h -- Up-to-date: /usr/local/include/wangle/ssl/SSLContextConfig.h -- Up-to-date: /usr/local/include/wangle/ssl/ServerSSLContext.h -- Up-to-date: /usr/local/include/wangle/ssl/test -- Up-to-date: /usr/local/include/wangle/ssl/test/certs -- Up-to-date: /usr/local/include/wangle/ssl/test/TicketUtil.h -- Up-to-date: /usr/local/include/wangle/ssl/SSLCacheOptions.h -- Up-to-date: /usr/local/include/wangle/ssl/SSLCacheProvider.h -- Up-to-date: /usr/local/include/wangle/ssl/SSLUtil.h -- Up-to-date: /usr/local/include/wangle/ssl/SSLStats.h -- Up-to-date: /usr/local/include/wangle/ssl/TLSCredProcessor.h -- Up-to-date: /usr/local/include/wangle/ssl/SSLSessionCacheManager.h -- Up-to-date: /usr/local/include/wangle/ssl/TLSTicketKeySeeds.h -- Up-to-date: /usr/local/include/wangle/ssl/DHParam.h -- Up-to-date: /usr/local/include/wangle/ssl/PasswordInFile.h -- Up-to-date: /usr/local/include/wangle/util -- Up-to-date: /usr/local/include/wangle/util/test -- Up-to-date: /usr/local/include/wangle/util/FilePoller.h
.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I m4 autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR,
build-aux'.
libtoolize: copying file build-aux/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIR,
m4'.
libtoolize: copying file m4/libtool.m4' libtoolize: copying file
m4/ltoptions.m4'
libtoolize: copying file m4/ltsugar.m4' libtoolize: copying file
m4/ltversion.m4'
libtoolize: copying file m4/lt~obsolete.m4' autoreconf: running: /usr/bin/autoconf --force autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing lib/cpp2/Makefile.am:114: warning: variable 'thrift2include_fatal_SOURCES' is defined but no program or lib/cpp2/Makefile.am:114: library has 'thrift2include_fatal' as canonical name (possible typo) autoreconf: Leaving directory
.'
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '0' is supported by ustar format... yes
checking whether GID '0' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for python... /usr/bin/python
checking for a version of Python >= '2.1.0'... yes
checking for the distutils Python package... yes
checking for Python include path... -I/usr/include/python2.7
checking for Python library path... -L/usr/lib -lpython2.7
checking for Python site-packages path... /usr/lib/python2.7/dist-packages
checking python extra libraries... -lpthread -ldl -lutil -lm
checking python extra linking flags... -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions
checking consistency of all components of python development environment... yes
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking if g++ supports C++0x features without additional flags... no
checking if g++ supports C++0x features with -std=c++0x... yes
checking if g++ supports C++0x features with -std=gnu++0x... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 3458764513820540925
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether make sets $(MAKE)... (cached) yes
checking for bison... bison -y
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking whether ln -s works... yes
checking for gawk... (cached) gawk
checking for boostlib >= 1.40.0... yes
checking whether the Boost::Filesystem library is available... yes
checking for exit in -lboost_filesystem... yes
checking whether the Boost::Python library is available... yes
checking for exit in -lboost_python-py27... yes
checking whether the Boost::System library is available... yes
checking for exit in -lboost_system... yes
checking for folly/folly-config.h in /usr/local... yes
checking whether compiling and linking against folly works... yes
checking for openlog in -lglog... yes
checking for getenv in -lmstch... yes
checking for getenv in -lgflags... yes
checking for main in -lsnappy... yes
checking for getenv in -lwangle... yes
checking for numa_available in -lnuma... yes
checking numa.h usability... yes
checking numa.h presence... yes
checking for numa.h... yes
checking whether the Boost::Thread library is available... yes
checking for exit in -lboost_thread... yes
checking for libevent >= 1.0... yes
checking gssapi/gssapi_generic.h usability... yes
checking gssapi/gssapi_generic.h presence... yes
checking for gssapi/gssapi_generic.h... yes
checking for sasl_client_new in -lsasl2... yes
checking snappy.h usability... yes
checking snappy.h presence... yes
checking for snappy.h... yes
checking mstch/mstch.hpp usability... yes
checking mstch/mstch.hpp presence... yes
checking for mstch/mstch.hpp... yes
checking for zlib >= 1.2.3... yes
checking for DMD... no
checking for library containing strerror... none required
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for working volatile... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... no
checking for ANSI C header files... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking return type of signal handlers... void
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for inttypes.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking for unistd.h... (cached) yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking openssl/ssl.h usability... yes
checking openssl/ssl.h presence... yes
checking for openssl/ssl.h... yes
checking openssl/rand.h usability... yes
checking openssl/rand.h presence... yes
checking for openssl/rand.h... yes
checking openssl/x509v3.h usability... yes
checking openssl/x509v3.h presence... yes
checking for openssl/x509v3.h... yes
checking sched.h usability... yes
checking sched.h presence... yes
checking for sched.h... yes
checking for pthread_create in -lpthread... yes
checking for clock_gettime in -lrt... yes
checking for setsockopt in -lsocket... no
checking for BN_init in -lcrypto... yes
checking for SSL_ctrl in -lssl... yes
checking for int16_t... yes
checking for int32_t... yes
checking for int64_t... yes
checking for int8_t... yes
checking for mode_t... yes
checking for off_t... yes
checking for size_t... yes
checking for ssize_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for uint8_t... yes
checking for ptrdiff_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking whether AI_ADDRCONFIG is declared... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for pid_t... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for working memcmp... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... int,fd_set ,struct timeval
checking whether lstat correctly handles trailing slash... yes
checking whether stat accepts an empty string... no
checking whether strerror_r is declared... yes
checking for strerror_r... yes
checking whether strerror_r returns char *... yes
checking for strftime... yes
checking for vprintf... yes
checking for _doprnt... no
checking for strtoul... yes
checking for bzero... yes
checking for ftruncate... yes
checking for gethostbyname... yes
checking for gettimeofday... yes
checking for memmove... yes
checking for memset... yes
checking for mkdir... yes
checking for realpath... yes
checking for select... yes
checking for socket... yes
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strstr... yes
checking for strtol... yes
checking for sqrt... yes
checking for alarm... yes
checking for clock_gettime... yes
checking for sched_get_priority_min... yes
checking for sched_get_priority_max... yes
checking the behavior of a signed right shift... arithmetic
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating compiler/Makefile
config.status: creating compiler/py/Makefile
config.status: creating compiler/version.h
config.status: creating lib/Makefile
config.status: creating lib/thrift/Makefile
config.status: creating lib/cpp/Makefile
config.status: creating lib/cpp2/Makefile
config.status: creating lib/cpp2/test/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing lib/cpp/thrift_config.h commands
config.status: creating lib/cpp/thrift_config.h - prefix THRIFT for config.h defines
config.status: lib/cpp/thrift_config.h is unchangedthrift 32.0
Building C++ Library ......... : yes
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.
make all-recursive
make[1]: Entering directory /home/linux14/Desktop/lucida-master/tools/fbthrift/thrift' Making all in compiler make[2]: Entering directory
/home/linux14/Desktop/lucida-master/tools/fbthrift/thrift/compiler'
make all-recursive
make[3]: Entering directory /home/linux14/Desktop/lucida-master/tools/fbthrift/thrift/compiler' Making all in . make[4]: Entering directory
/home/linux14/Desktop/lucida-master/tools/fbthrift/thrift/compiler'
make[4]: Nothing to be done for all-am'. make[4]: Leaving directory
/home/linux14/Desktop/lucida-master/tools/fbthrift/thrift/compiler'
Making all in py
make[4]: Entering directory /home/linux14/Desktop/lucida-master/tools/fbthrift/thrift/compiler/py' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I../../.. -pthread -I/usr/include -I/usr/include/python2.7 -I/usr/local/include -std=gnu++1y -MT frontend_la-compiler.lo -MD -MP -MF .deps/frontend_la-compiler.Tpo -c -o frontend_la-compiler.lo
test -f 'compiler.cc' || echo './'compiler.cc libtool: compile: g++ -DHAVE_CONFIG_H -I../../.. -pthread -I/usr/include -I/usr/include/python2.7 -I/usr/local/include -std=gnu++1y -MT frontend_la-compiler.lo -MD -MP -MF .deps/frontend_la-compiler.Tpo -c compiler.cc -fPIC -DPIC -o .libs/frontend_la-compiler.o g++: internal compiler error: Killed (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-4.8/README.Bugs> for instructions. make[4]: *** [frontend_la-compiler.lo] Error 1 make[4]: Leaving directory
/home/linux14/Desktop/lucida-master/tools/fbthrift/thrift/compiler/py'
make[3]: [all-recursive] Error 1
make[3]: Leaving directory `/home/linux14/Desktop/lucida-master/tools/fbthrift/thrift/compiler'
make[2]: [all] Error 2
make[2]: Leaving directory /home/linux14/Desktop/lucida-master/tools/fbthrift/thrift/compiler' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory
/home/linux14/Desktop/lucida-master/tools/fbthrift/thrift'
make: [all] Error 2
Failed to install Facebook Thrift
make: [all] Error 1
Weird. I tried to install it on a fresh Ubuntu 14.04 and it worked. Anyway try the following and let me know.
Option 1: Install it on a fresh installation of Ubuntu (preferably 14.04 or 16.04)
Option 2:
sudo apt-get purge thrift-compiler*
sudo apt-get autoremove*
sudo rm -rf /usr/include/thrift*
sudo rm -rf /usr/local/include/thrift*
sudo rm -rf /usr/lib/python2.7/site-packages/thrift*
sudo rm -rf /usr/lib/python2.7/dist-packages/thrift*
sudo rm -rf /usr/lib/python/site-packages/thrift*
sudo rm -rf /usr/lib/python/dist-packages/thrift*
sudo rm -rf /usr/local/lib/python2.7/site-packages/thrift*
sudo rm -rf /usr/local/lib/python2.7/dist-packages/thrift*
sudo rm -rf /usr/local/lib/python/site-packages/thrift*
sudo rm -rf /usr/local/lib/python/dist-packages/thrift*
sudo rm -rf /usr/lib/libthrift*
sudo rm -rf /usr/local/lib/libthrift*
sudo rm -rf /usr/local/bin/thrift*
sudo rm -rf /usr/bin/thrift*
sudo rm -rf /usr/share/thrift*
sudo rm -rf /usr/local/share/thrift*
Delete the lucida repository
sudo rm -rf /home/linux14/Desktop/lucida-master
The following command will locate traces of fbthrift if present. Remvoe
those files/folders using sudo rm -rf
sudo updatedb
sudo updatedb.mlocate
locate fbthrift
Clone the repository and run make all again
Kamal
tried both ways, not successful at all
I’ll try it on a fresh 14.04 to check if something is broken. Give me some time for that. If it installs fine I can’t be of any further help as this seems to be a system specific issue -- Kamal Galrani IIT Bombay
Earlier I was not able to install Apache thrift, then somehow I managed to do that. Now, when I am running ./install_fbthrift.sh (after running: export LD_LIBRARY_PATH=/usr/local/lib/), it stops, saying 'unable to find folly library' although they are present in /usr/local/lib/ . I tried doing that directly from fbthrift repo following their instructions but did not help. Can you guys help?