looks like the harmony gem depends on the johnson gem which depends on nodejs which, of course, isn't a gem. try installing nodejs - see: nodejs.org.
rick
On Monday, February 24, 2014 5:50:07 AM UTC-5, saravanan p wrote:
rick
On Monday, February 24, 2014 5:50:07 AM UTC-5, saravanan p wrote:
Hello everyone,saravanan@ubuntu:~$ ruby -vruby 2.0.0p353 (2013-11-22 revision 43784) [x86_64-linux]saravanan@ubuntu:~$ rails -vRails 4.0.3saravanan@ubuntu:~$ rvm -vrvm 1.24.4 (stable) by Wayne E. Seguin <waynee...@gmail.com>, Michal Papis <mpa...@gmail.com> [https://rvm.io/]I am trying to install "harmony" gem for data scraping.saravanan@ubuntu:~$ gem install harmonyBuilding native extensions. This could take a while...ERROR: Error installing harmony:ERROR: Failed to build gem native extension./home/saravanan/.rvm/rubies/ruby-2.0.0-p353/bin/ruby extconf.rb creating cache ./config.cachechecking host system type... x86_64-unknown-linux-gnuchecking target system type... x86_64-unknown-linux-gnuchecking build system type... x86_64-unknown-linux-gnuchecking for mawk... mawkchecking for gcc... gccchecking whether the C compiler (gcc ) works... yeschecking whether the C compiler (gcc ) is a cross-compiler... nochecking whether we are using GNU C... yeschecking whether gcc accepts -g... yeschecking for c++... c++checking whether the C++ compiler (c++ ) works... yeschecking whether the C++ compiler (c++ ) is a cross-compiler... nochecking whether we are using GNU C++... yeschecking whether c++ accepts -g... yeschecking for ranlib... ranlibchecking for as... /usr/bin/aschecking for ar... archecking for ld... ldchecking for strip... stripchecking for windres... nochecking whether gcc and cc understand -c and -o together... yeschecking how to run the C preprocessor... gcc -Echecking how to run the C++ preprocessor... c++ -Echecking for a BSD compatible install... /usr/bin/install -cchecking whether ln -s works... yeschecking for perl5... nochecking for perl... /usr/bin/perlchecking for minimum required perl version >= 5.006... 5.014002checking for full perl installation... yeschecking for python... /usr/bin/pythonchecking for doxygen... :checking for whoami... /usr/bin/whoamichecking for autoconf... /usr/bin/autoconfchecking for unzip... /usr/bin/unzipchecking for zip... /usr/bin/zipchecking for makedepend... nochecking for xargs... /usr/bin/xargschecking for gmake... nochecking for make... /usr/bin/makechecking for X... libraries , headerschecking for dnet_ntoa in -ldnet... nochecking for dnet_ntoa in -ldnet_stub... nochecking for gethostbyname... yeschecking for connect... yeschecking for remove... yeschecking for shmat... yeschecking for IceConnectionNumber in -lICE... yeschecking whether the compiler supports -Wno-invalid-offsetof... yeschecking whether the compiler supports -Wno-variadic-macros... yeschecking whether ld has archive extraction flags... yeschecking that static assertion macros used in autoconf tests work... yeschecking for 64-bit OS... yeschecking for ANSI C header files... yeschecking for working const... yeschecking for mode_t... yeschecking for off_t... yeschecking for pid_t... yeschecking for size_t... yeschecking for st_blksize in struct stat... yeschecking for siginfo_t... yeschecking for stdint.h... yeschecking for the size of void*... 8checking for the alignment of void*... 8checking for the size of double... 8checking for int16_t... yeschecking for int32_t... yeschecking for int64_t... yeschecking for int64... nochecking for uint... yeschecking for uint_t... nochecking for uint16_t... nochecking for uname.domainname... yeschecking for uname.__domainname... nochecking for visibility(hidden) attribute... yeschecking for visibility(default) attribute... yeschecking for visibility pragma support... yeschecking For gcc visibility bug with class-level attributes (GCC bug 26905)... nochecking For x86_64 gcc visibility bug with builtins (GCC bug 20297)... nochecking for dirent.h that defines DIR... yeschecking for opendir in -ldir... nochecking for sys/byteorder.h... nochecking for compat.h... nochecking for getopt.h... yeschecking for sys/bitypes.h... yeschecking for memory.h... yeschecking for unistd.h... yeschecking for gnu/libc-version.h... yeschecking for nl_types.h... yeschecking for malloc.h... yeschecking for X11/XKBlib.h... yeschecking for sys/statvfs.h... yeschecking for sys/statfs.h... yeschecking for sys/vfs.h... yeschecking for sys/mount.h... yeschecking for mmintrin.h... yeschecking for new... yeschecking for sys/cdefs.h... yeschecking for gethostbyname_r in -lc_r... nochecking for atan in -lm... yeschecking for dlopen in -ldl... yeschecking for dlfcn.h... yeschecking for dladdr... yeschecking for socket in -lsocket... nochecking for pthread_create in -lpthreads... nochecking for pthread_create in -lpthread... yeschecking whether gcc accepts -pthread... yeschecking whether mmap() sees write()s... yeschecking whether gcc needs -traditional... nochecking for 8-bit clean memcmp... yeschecking for fchmod... yeschecking for flockfile... yeschecking for getc_unlocked... yeschecking for _getc_nolock... nochecking for getpagesize... yeschecking for lchown... yeschecking for localtime_r... yeschecking for lstat64... yeschecking for memmove... yeschecking for random... yeschecking for rint... yeschecking for sbrk... yeschecking for snprintf... yeschecking for stat64... yeschecking for statvfs... yeschecking for statvfs64... yeschecking for strerror... yeschecking for strtok_r... yeschecking for truncate64... yeschecking for wcrtomb... yeschecking for mbrtowc... yeschecking for res_ninit()... yeschecking for gnu_get_libc_version()... yeschecking for iconv in -lc... yeschecking for iconv()... yeschecking for iconv() with const input... nochecking for an implementation of va_copy()... yeschecking for an implementation of __va_copy()... yeschecking whether va_lists can be copied by value... nochecking for C++ exceptions flag... -fno-exceptionschecking for gcc 3.0 ABI... yeschecking for C++ "explicit" keyword... yeschecking for C++ "typename" keyword... yeschecking for modern C++ template specialization syntax support... yeschecking whether partial template specialization works... yeschecking whether operators must be re-defined for templates derived from templates... nochecking whether we need to cast a derived template to pass as its base class... nochecking whether the compiler can resolve const ambiguities for templates... yeschecking whether the C++ "using" keyword can change access... yeschecking whether the C++ "using" keyword resolves ambiguity... yeschecking for "std::" namespace... yeschecking whether standard template operator!=() is ambiguous... unambiguouschecking for C++ reinterpret_cast... yeschecking for C++ dynamic_cast to void*... yeschecking whether C++ requires implementation of unused virtual methods... yeschecking for trouble comparing to zero near std::operator!=()... nochecking for LC_MESSAGES... yeschecking for valid optimization flags... yeschecking for __cxa_demangle... yeschecking for unwind.h... yeschecking for _Unwind_Backtrace... yeschecking for gcc -pipe support... yeschecking whether compiler supports -Wno-long-long... yeschecking whether C compiler supports -fprofile-generate... yeschecking whether C++ compiler has -pedantic long long bug... nochecking for correct temporary object destruction order... yeschecking for correct overload resolution with const and templates... nochecking for tm_zone tm_gmtoff in struct tm... yeschecking for setlocale... yescreating js-confdefs.h==== js-confdefs.h ================================= /* List of defines generated by configure. Included with preprocessor flag,* -include, to avoid long list of -D defines on the compile command-line.* Do not edit.*/#ifndef _JS_CONFDEFS_H_#define _JS_CONFDEFS_H_#define CPP_THROW_NEW throw()#define D_INO d_ino#define EDITLINE 1#define HAVE_64BIT_OS 1#define HAVE_CPP_ACCESS_CHANGING_USING 1#define HAVE_CPP_AMBIGUITY_RESOLVING_USING 1 #define HAVE_CPP_DYNAMIC_CAST_TO_VOID_PTR 1 #define HAVE_CPP_EXPLICIT 1#define HAVE_CPP_MODERN_SPECIALIZE_TEMPLATE_SYNTAX 1 #define HAVE_CPP_NAMESPACE_STD 1#define HAVE_CPP_NEW_CASTS 1#define HAVE_CPP_PARTIAL_SPECIALIZATION 1 #define HAVE_CPP_TYPENAME 1#define HAVE_CPP_UNAMBIGUOUS_STD_NOTEQUAL 1 #define HAVE_DIRENT_H 1#define HAVE_DLADDR 1#define HAVE_FCHMOD 1#define HAVE_FLOCKFILE 1#define HAVE_GETC_UNLOCKED 1#define HAVE_GETOPT_H 1#define HAVE_GETPAGESIZE 1#define HAVE_GNU_GET_LIBC_VERSION 1#define HAVE_GNU_LIBC_VERSION_H 1#define HAVE_I18N_LC_MESSAGES 1#define HAVE_ICONV 1#define HAVE_INT16_T 1#define HAVE_INT32_T 1#define HAVE_INT64_T 1#define HAVE_LCHOWN 1#define HAVE_LIBDL 1#define HAVE_LIBM 1#define HAVE_LOCALTIME_R 1#define HAVE_LSTAT64 1#define HAVE_MALLOC_H 1#define HAVE_MBRTOWC 1#define HAVE_MEMMOVE 1#define HAVE_MEMORY_H 1#define HAVE_MMINTRIN_H 1#define HAVE_NL_TYPES_H 1#define HAVE_RANDOM 1#define HAVE_RES_NINIT 1#define HAVE_RINT 1#define HAVE_SBRK 1#define HAVE_SETLOCALE 1#define HAVE_SIGINFO_T 1#define HAVE_SNPRINTF 1#define HAVE_STAT64 1#define HAVE_STATVFS 1#define HAVE_STATVFS64 1#define HAVE_STRERROR 1#define HAVE_STRTOK_R 1#define HAVE_ST_BLKSIZE 1#define HAVE_SYS_BITYPES_H 1#define HAVE_SYS_CDEFS_H 1#define HAVE_SYS_MOUNT_H 1#define HAVE_SYS_STATFS_H 1#define HAVE_SYS_STATVFS_H 1#define HAVE_SYS_VFS_H 1#define HAVE_TM_ZONE_TM_GMTOFF 1#define HAVE_TRUNCATE64 1#define HAVE_UINT 1#define HAVE_UNAME_DOMAINNAME_FIELD 1#define HAVE_UNISTD_H 1#define HAVE_VA_COPY 1#define HAVE_VA_LIST_AS_ARRAY 1#define HAVE_VISIBILITY_ATTRIBUTE 1#define HAVE_VISIBILITY_HIDDEN_ATTRIBUTE 1 #define HAVE_WCRTOMB 1#define HAVE_X11_XKBLIB_H 1#define HAVE__UNWIND_BACKTRACE 1#define HAVE___CXA_DEMANGLE 1#define JS_ALIGN_OF_POINTER 8#define JS_BITS_PER_WORD_LOG2 6#define JS_BYTES_PER_DOUBLE 8#define JS_BYTES_PER_WORD 8#define JS_HAVE_STDINT_H 1#define MOZ_DLL_SUFFIX ".so"#define NEED_CPP_UNUSED_IMPLEMENTATIONS 1 #define NEW_H <new>#define STDC_HEADERS 1#define UNIX_ASYNC_DNS 1#define VA_COPY va_copy#define XP_UNIX 1#define _REENTRANT 1
No comments:
Post a Comment