Skip to content

Instantly share code, notes, and snippets.

@kivanio
Created October 26, 2010 20:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kivanio/647712 to your computer and use it in GitHub Desktop.
Save kivanio/647712 to your computer and use it in GitHub Desktop.
install johnson --pre
Building native extensions. This could take a while...
ERROR: Error installing johnson:
ERROR: Failed to build gem native extension.
/usr/local/bin/ruby18 extconf.rb
creating cache ./config.cache
checking host system type... i386-unknown-freebsd7.1
checking target system type... i386-unknown-freebsd7.1
checking build system type... i386-unknown-freebsd7.1
checking for mawk... no
checking for gawk... gawk
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for c++... c++
checking whether the C++ compiler (c++ ) works... yes
checking whether the C++ compiler (c++ ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking for ranlib... ranlib
checking for as... /usr/bin/as
checking for ar... ar
checking for ld... ld
checking for strip... strip
checking for windres... no
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking how to run the C++ preprocessor... c++ -E
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for perl5... /usr/bin/perl5
checking for minimum required perl version >= 5.006... 5.012002
checking for full perl installation... yes
checking for python... /usr/local/bin/python
checking for doxygen... :
checking for whoami... /usr/bin/whoami
checking for autoconf... /usr/local/bin/autoconf
checking for unzip... /usr/local/bin/unzip
checking for zip... /usr/local/bin/zip
checking for makedepend... no
checking for xargs... /usr/bin/xargs
checking for gmake... /usr/local/bin/gmake
checking for X... libraries /usr/local/lib, headers /usr/local/include
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking whether the compiler supports -Wno-invalid-offsetof... yes
checking whether the compiler supports -Wno-variadic-macros... yes
checking whether ld has archive extraction flags... yes
checking that static assertion macros used in autoconf tests work... yes
checking for 64-bit OS... no
checking for ANSI C header files... yes
checking for working const... yes
checking for mode_t... yes
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for st_blksize in struct stat... yes
checking for siginfo_t... yes
checking for stdint.h... yes
checking for the size of void*... 4
checking for the alignment of void*... 4
checking for the size of double... 8
checking for int16_t... yes
checking for int32_t... yes
checking for int64_t... yes
checking for int64... no
checking for uint... yes
checking for uint_t... no
checking for uint16_t... yes
checking for uname.domainname... no
checking for uname.__domainname... no
checking for visibility(hidden) attribute... yes
checking for visibility(default) attribute... yes
checking for visibility pragma support... yes
checking For gcc visibility bug with class-level attributes (GCC bug 26905)... no
checking For x86_64 gcc visibility bug with builtins (GCC bug 20297)... no
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking for sys/byteorder.h... no
checking for compat.h... no
checking for getopt.h... yes
checking for sys/bitypes.h... no
checking for memory.h... yes
checking for unistd.h... yes
checking for gnu/libc-version.h... no
checking for nl_types.h... yes
checking for malloc.h... no
checking for X11/XKBlib.h... yes
checking for sys/statvfs.h... yes
checking for sys/statfs.h... no
checking for sys/vfs.h... no
checking for sys/mount.h... yes
checking for mmintrin.h... no
checking for new... yes
checking for sys/cdefs.h... yes
checking for gethostbyname_r in -lc_r... no
checking for atan in -lm... yes
checking for dlopen in -ldl... no
checking for dladdr... yes
checking for socket in -lsocket... no
checking for pthread_create in -lpthreads... no
checking for pthread_create in -lpthread... yes
checking whether gcc accepts -pthread... yes
checking whether mmap() sees write()s... yes
checking whether gcc needs -traditional... no
checking for 8-bit clean memcmp... yes
checking for fchmod... yes
checking for flockfile... yes
checking for getc_unlocked... yes
checking for _getc_nolock... no
checking for getpagesize... yes
checking for lchown... yes
checking for localtime_r... yes
checking for lstat64... no
checking for memmove... yes
checking for random... yes
checking for rint... yes
checking for sbrk... yes
checking for snprintf... yes
checking for stat64... no
checking for statvfs... yes
checking for statvfs64... no
checking for strerror... yes
checking for strtok_r... yes
checking for truncate64... no
checking for wcrtomb... yes
checking for mbrtowc... yes
checking for res_ninit()... no
checking for gnu_get_libc_version()... no
checking for iconv in -lc... no
checking for iconv in -liconv... no
checking for libiconv in -liconv... no
checking for iconv()... no
checking for an implementation of va_copy()... yes
checking for an implementation of __va_copy()... no
checking whether va_lists can be copied by value... yes
checking for C++ exceptions flag... -fno-exceptions
checking for gcc 3.0 ABI... yes
checking for C++ "explicit" keyword... yes
checking for C++ "typename" keyword... yes
checking for modern C++ template specialization syntax support... yes
checking whether partial template specialization works... yes
checking whether operators must be re-defined for templates derived from templates... no
checking whether we need to cast a derived template to pass as its base class... no
checking whether the compiler can resolve const ambiguities for templates... yes
checking whether the C++ "using" keyword can change access... yes
checking whether the C++ "using" keyword resolves ambiguity... yes
checking for "std::" namespace... yes
checking whether standard template operator!=() is ambiguous... unambiguous
checking for C++ reinterpret_cast... yes
checking for C++ dynamic_cast to void*... yes
checking whether C++ requires implementation of unused virtual methods... yes
checking for trouble comparing to zero near std::operator!=()... no
checking for LC_MESSAGES... yes
checking for valid optimization flags... yes
checking for __cxa_demangle... yes
checking for unwind.h... no
checking for gcc -pipe support... yes
checking whether compiler supports -Wno-long-long... yes
checking whether C compiler supports -fprofile-generate... yes
checking whether C++ compiler has -pedantic long long bug... no
checking for correct temporary object destruction order... yes
checking for correct overload resolution with const and templates... no
checking for tm_zone tm_gmtoff in struct tm... yes
checking for setlocale... yes
creating 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 AVMPLUS_IA32 1
#define AVMPLUS_UNIX 1
#define CPP_THROW_NEW throw()
#define D_INO d_ino
#define EDITLINE 1
#define FEATURE_NANOJIT 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_I18N_LC_MESSAGES 1
#define HAVE_INT16_T 1
#define HAVE_INT32_T 1
#define HAVE_INT64_T 1
#define HAVE_LCHOWN 1
#define HAVE_LIBM 1
#define HAVE_LOCALTIME_R 1
#define HAVE_MBRTOWC 1
#define HAVE_MEMMOVE 1
#define HAVE_MEMORY_H 1
#define HAVE_NL_TYPES_H 1
#define HAVE_RANDOM 1
#define HAVE_RINT 1
#define HAVE_SBRK 1
#define HAVE_SETLOCALE 1
#define HAVE_SIGINFO_T 1
#define HAVE_SNPRINTF 1
#define HAVE_STATVFS 1
#define HAVE_STRERROR 1
#define HAVE_STRTOK_R 1
#define HAVE_ST_BLKSIZE 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_TM_ZONE_TM_GMTOFF 1
#define HAVE_UINT 1
#define HAVE_UINT16_T 1
#define HAVE_UNISTD_H 1
#define HAVE_VA_COPY 1
#define HAVE_VISIBILITY_ATTRIBUTE 1
#define HAVE_VISIBILITY_HIDDEN_ATTRIBUTE 1
#define HAVE_WCRTOMB 1
#define HAVE_X11_XKBLIB_H 1
#define HAVE___CXA_DEMANGLE 1
#define JS_ALIGN_OF_POINTER 4
#define JS_BITS_PER_WORD_LOG2 5
#define JS_BYTES_PER_DOUBLE 8
#define JS_BYTES_PER_WORD 4
#define JS_HAVE_STDINT_H 1
#define JS_TRACER 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
#define _THREAD_SAFE 1
#endif /* _JS_CONFDEFS_H_ */
creating Makefile
creating shell/Makefile
creating lirasm/Makefile
creating jsapi-tests/Makefile
creating tests/Makefile
creating config/Makefile
creating config/mkdepend/Makefile
creating editline/Makefile
updating cache ./config.cache
creating ./config.status
creating config/autoconf.mk
creating js-config.h
invoking make to create js-config script
rm -f js-config.tmp
sed < js-config.in > js-config.tmp \
-e 's|@prefix@|/usr/local|' \
-e 's|@exec_prefix@|/usr/local|' \
-e 's|@includedir@|/usr/local/include|' \
-e 's|@libdir@|/usr/local/lib|' \
-e 's|@MOZILLA_VERSION@||' \
-e 's|@LIBRARY_NAME@|mozjs|' \
-e 's|@NSPR_CFLAGS@||' \
-e 's|@JS_CONFIG_LIBS@| -lm -lm -pthread |' \
-e 's|@MOZ_JS_LIBS@|-L/usr/local/lib -lmozjs|' \
&& mv js-config.tmp js-config && chmod +x js-config
Unknown modifier ' '
"./config/autoconf.mk", line 68: Missing dependency operator
"./config/autoconf.mk", line 70: Need an operator
"./config/autoconf.mk", line 72: Need an operator
"Makefile", line 49: Need an operator
"Makefile", line 51: Need an operator
"Makefile", line 53: Need an operator
"Makefile", line 55: Need an operator
"Makefile", line 58: Need an operator
"Makefile", line 60: Need an operator
"Makefile", line 63: Need an operator
"Makefile", line 64: Need an operator
"Makefile", line 66: Need an operator
"Makefile", line 67: Need an operator
"Makefile", line 69: Need an operator
"Makefile", line 71: Need an operator
"Makefile", line 80: Need an operator
"Makefile", line 81: Need an operator
"Makefile", line 83: Need an operator
"Makefile", line 85: Need an operator
"Makefile", line 88: Need an operator
"Makefile", line 89: Need an operator
"Makefile", line 93: Need an operator
"Makefile", line 94: Need an operator
"Makefile", line 95: Missing dependency operator
"Makefile", line 97: Need an operator
"Makefile", line 98: Missing dependency operator
"Makefile", line 99: Need an operator
"Makefile", line 102: Need an operator
"Makefile", line 104: Need an operator
"Makefile", line 105: Need an operator
"Makefile", line 106: Need an operator
"Makefile", line 109: Missing dependency operator
"Makefile", line 111: Need an operator
"Makefile", line 166: Need an operator
"Makefile", line 169: Need an operator
"Makefile", line 227: Need an operator
"Makefile", line 259: Need an operator
"Makefile", line 264: Need an operator
"Makefile", line 266: Need an operator
"Makefile", line 268: Need an operator
"Makefile", line 273: Need an operator
"Makefile", line 275: Missing dependency operator
"Makefile", line 277: Need an operator
"Makefile", line 285: Missing dependency operator
"Makefile", line 287: Need an operator
"Makefile", line 289: Need an operator
"./config/config.mk", line 52: Need an operator
"./config/config.mk", line 54: Need an operator
"./config/config.mk", line 56: Need an operator
"./config/autoconf.mk", line 68: Missing dependency operator
"./config/autoconf.mk", line 70: Need an operator
"./config/autoconf.mk", line 72: Need an operator
"./config/config.mk", line 58: Need an operator
"./config/config.mk", line 59: Need an operator
"./config/config.mk", line 60: Need an operator
"./config/insure.mk", line 46: Missing dependency operator
"./config/insure.mk", line 48: Missing dependency operator
"./config/insure.mk", line 51: Need an operator
"./config/insure.mk", line 53: Need an operator
"./config/config.mk", line 62: Need an operator
"./config/config.mk", line 63: Need an operator
Error expanding embedded variable.
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/usr/local/bin/ruby18
extconf.rb:37: could not make tracemonkey (RuntimeError)
from extconf.rb:23:in `chdir'
from extconf.rb:23
Gem files will remain installed in /usr/local/lib/ruby/gems/1.8/gems/johnson-2.0.0.pre3 for inspection.
Results logged to /usr/local/lib/ruby/gems/1.8/gems/johnson-2.0.0.pre3/ext/tracemonkey/gem_make.out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment