WHM 11.40.0 + EL6 + Issues installing Ruby

This is just a brief post that hopefully helps some people so they don’t start banging their head on their keyboard. As of recently a bunch of OpenSSL* package updates have been released for *EL6 (RHEL, CloudLinux, etc) which is fine and dandy. Unfortunately there is a slight issue that makes it conflict with Ruby without a minor patch.

Below are instructions to get Ruby to compile cleanly through cPanel / WHM (either through the GUI or using /scripts/installruby).

  1. We’re going to need to patch the ossl_pkey_ec.c file – it’s only two conditionals however we’ll use a simple patch file to avoid typos and making life easier. You’re going to want to extract the Ruby source cPanel / WHM uses located at: /usr/local/cpanel/src/3rdparty/ruby/ruby-1.8.7-*.tar.bz2. 
  2. Once extracted you’ll want to apply the following patch by downloading the patch file (ossl_pkey_ec.c.patch) to the Ruby source directory and running the following:
    patch -p0 < ossl_pkey_ec.c.patch
  3. Once patched simply re-bundle the package the same as it was and re-run the cPanel / WHM Ruby installation tool of your choice. This should compile cleanly.

Thanks to cPanel support for providing a quick fix for this – below is the attached error log when compiling with the OpenSSL issues aforementioned:

# /scripts/installruby --force
warn [installruby] Unable to locate gem binary.
warn [installruby] Unable to locate ruby binary.
info [checkccompiler] /root/.cpanel/datastore/Cpanel::Sys::Compiler::test_compile_gcc
C compiler (/usr/bin/gcc) OK (cached Thu Dec  5 20:16:22 2013)
Tuned C compiler not available because it is not enabled
info [installsqlite3] Sqlite3 is already installed.
Installing ruby version: 1.8.7-p374
Using Dir: /home/cprubybuild/ruby-1.8.7-p374
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-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 how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking whether gcc needs -traditional... no
checking whether the linker is GNU ld... yes
checking whether gcc -E accepts -o... yes
checking for bison... bison -y
checking for ranlib... ranlib
checking for ar... ar
checking for as... as
checking whether ln -s works... yes
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for long long... yes
checking for off_t... yes
checking size of int... 4
checking size of short... 2
checking size of long... 8
checking size of long long... 8
checking size of __int64... 0
checking size of off_t... 8
checking size of void*... 8
checking size of float... 4
checking size of double... 8
checking size of time_t... 8
checking for pid_t... yes
checking for gid_t... yes
checking for uid_t... yes
checking for prototypes... yes
checking token paste string... ansi
checking for variable length prototypes and stdarg.h... yes
checking for noreturn function attribute... __attribute__ ((noreturn)) x
checking for noinline function attribute... __attribute__ ((noinline)) x
checking for RUBY_EXTERN... no
checking whether sys_nerr is declared... yes
checking for crypt in -lcrypt... yes
checking for dlopen in -ldl... yes
checking for shl_load in -ldld... no
checking for clock_gettime in -lrt... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/syscall.h usability... yes
checking sys/syscall.h presence... yes
checking for sys/syscall.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/fcntl.h usability... yes
checking sys/fcntl.h presence... yes
checking for sys/fcntl.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking syscall.h usability... yes
checking syscall.h presence... yes
checking for syscall.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking a.out.h usability... yes
checking a.out.h presence... yes
checking for a.out.h... yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking for memory.h... (cached) yes
checking direct.h usability... no
checking direct.h presence... no
checking for direct.h... no
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/mkdev.h usability... no
checking sys/mkdev.h presence... no
checking for sys/mkdev.h... no
checking sys/utime.h usability... no
checking sys/utime.h presence... no
checking for sys/utime.h... no
checking netinet/in_systm.h usability... yes
checking netinet/in_systm.h presence... yes
checking for netinet/in_systm.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking ieeefp.h usability... no
checking ieeefp.h presence... no
checking for ieeefp.h... no
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking ucontext.h usability... yes
checking ucontext.h presence... yes
checking for ucontext.h... yes
checking intrinsics.h usability... no
checking intrinsics.h presence... no
checking for intrinsics.h... no
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking size of rlim_t... 8
checking for size_t... yes
checking for struct stat.st_blksize... yes
checking for struct stat.st_blocks... yes
checking for struct stat.st_rdev... yes
checking for int8_t... yes
checking size of int8_t... 1
checking for uint8_t... yes
checking size of uint8_t... 1
checking for int16_t... yes
checking size of int16_t... 2
checking for uint16_t... yes
checking size of uint16_t... 2
checking for int32_t... yes
checking size of int32_t... 4
checking for uint32_t... yes
checking size of uint32_t... 4
checking for int64_t... yes
checking size of int64_t... 8
checking for uint64_t... yes
checking size of uint64_t... 8
checking for int128_t... no
checking for uint128_t... no
checking for struct timezone... yes
checking for uid_t in sys/types.h... (cached) yes
checking type of array argument to getgroups... gid_t
checking return type of signal handlers... void
checking for working alloca.h... yes
checking for alloca... yes
checking for working memcmp... yes
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for ftello... yes
checking for broken erfc of glibc-2.3.6 on IA64... no
checking for dup2... yes
checking for memmove... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for strerror... yes
checking for strftime... yes
checking for strchr... yes
checking for strstr... yes
checking for strtoul... yes
checking for crypt... yes
checking for flock... yes
checking for vsnprintf... yes
checking for isnan... yes
checking for finite... yes
checking for isinf... yes
checking for hypot... yes
checking for acosh... yes
checking for erf... yes
checking for fmod... yes
checking for killpg... yes
checking for wait4... yes
checking for waitpid... yes
checking for syscall... yes
checking for chroot... yes
checking for fsync... yes
checking for getcwd... yes
checking for eaccess... yes
checking for truncate... yes
checking for ftruncate... yes
checking for chsize... no
checking for times... yes
checking for utimes... yes
checking for fcntl... yes
checking for lockf... yes
checking for lstat... yes
checking for symlink... yes
checking for link... yes
checking for readlink... yes
checking for setitimer... yes
checking for setruid... no
checking for seteuid... yes
checking for setreuid... yes
checking for setresuid... yes
checking for setproctitle... no
checking for setrgid... no
checking for setegid... yes
checking for setregid... yes
checking for setresgid... yes
checking for issetugid... no
checking for pause... yes
checking for lchown... yes
checking for lchmod... no
checking for getpgrp... yes
checking for setpgrp... yes
checking for getpgid... yes
checking for setpgid... yes
checking for initgroups... yes
checking for getgroups... yes
checking for setgroups... yes
checking for getpriority... yes
checking for getrlimit... yes
checking for setrlimit... yes
checking for sysconf... yes
checking for group_member... yes
checking for dlopen... yes
checking for sigprocmask... yes
checking for sigaction... yes
checking for sigsetjmp... no
checking for _setjmp... yes
checking for _longjmp... yes
checking for setsid... yes
checking for telldir... yes
checking for seekdir... yes
checking for fchmod... yes
checking for mktime... yes
checking for timegm... yes
checking for gettimeofday... yes
checking for cosh... yes
checking for sinh... yes
checking for tanh... yes
checking for round... yes
checking for setuid... yes
checking for setgid... yes
checking for setenv... yes
checking for unsetenv... yes
checking for __builtin_setjmp... no
checking for setjmp type... _setjmp
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking for struct tm.tm_gmtoff... yes
checking for external int daylight... yes
checking for external timezone... long
checking for external altzone... no
checking for negative time_t for gmtime(3)... yes
checking whether getpgrp requires zero arguments... yes
checking whether setpgrp takes no argument... yes
checking whether byte ordering is bigendian... no
checking for an ANSI C-conforming const... yes
checking whether char is unsigned... no
checking for inline... inline
checking for working volatile... yes
checking whether right shift preserve sign bit... yes
checking read count field in FILE structures... not found(OK if using GNU libc)
checking read buffer ptr field in FILE structures... _IO_read_ptr
checking read buffer end field in FILE structures... _IO_read_end
checking whether need to seek between R/W... no
checking whether st_ino is huge... no
checking whether _SC_CLK_TCK is supported... yes
checking stack growing direction... -1
checking whether ELF binaries are produced... yes
checking whether OS depend dynamic link works... yes
checking for nroff... /usr/bin/nroff
creating config.h
configure: creating ./config.status
config.status: creating Makefile
gcc -g -O2  -fPIC    -DRUBY_EXPORT -D_GNU_SOURCE=1  -I. -I.    -c array.c
gcc -g -O2  -fPIC    -DRUBY_EXPORT -D_GNU_SOURCE=1  -I. -I.    -c bignum.c
gcc -g -O2  -fPIC    -DRUBY_EXPORT -D_GNU_SOURCE=1  -I. -I.    -c class.c
gcc -g -O2  -fPIC    -DRUBY_EXPORT -D_GNU_SOURCE=1  -I. -I.    -c compar.c
gcc -g -O2  -fPIC    -DRUBY_EXPORT -D_GNU_SOURCE=1  -I. -I.    -c dir.c
gcc -g -O2  -fPIC    -DRUBY_EXPORT -D_GNU_SOURCE=1  -I. -I.    -c dln.c
gcc -g -O2  -fPIC    -DRUBY_EXPORT -D_GNU_SOURCE=1  -I. -I.    -c enum.c
gcc -g -O2  -fPIC    -DRUBY_EXPORT -D_GNU_SOURCE=1  -I. -I.    -c enumerator.c
gcc -g -O2  -fPIC    -DRUBY_EXPORT -D_GNU_SOURCE=1  -I. -I.    -c error.c
gcc -g -O2  -fPIC    -DRUBY_EXPORT -D_GNU_SOURCE=1  -I. -I.    -c eval.c
eval.c: In function ‘rb_eval_string_wrap’:
eval.c:1754: warning: assignment discards qualifiers from pointer target type
eval.c: In function ‘rb_eval_cmd’:
eval.c:1895: warning: assignment discards qualifiers from pointer target type
eval.c: In function ‘call_trace_func’:
eval.c:2746: warning: assignment discards qualifiers from pointer target type
eval.c: In function ‘rb_raise_jump’:
eval.c:4780: warning: assignment discards qualifiers from pointer target type
eval.c: In function ‘method_missing’:
eval.c:5746: warning: assignment discards qualifiers from pointer target type
eval.c: In function ‘rb_call0’:
eval.c:5904: warning: assignment discards qualifiers from pointer target type
eval.c: In function ‘rb_f_eval’:
eval.c:6706: warning: assignment discards qualifiers from pointer target type
eval.c: In function ‘exec_under’:
eval.c:6730: warning: assignment discards qualifiers from pointer target type
eval.c: In function ‘rb_load’:
eval.c:7046: warning: assignment discards qualifiers from pointer target type
eval.c: In function ‘call_end_proc’:
eval.c:8081: warning: assignment discards qualifiers from pointer target type
eval.c: In function ‘rb_f_END’:
eval.c:8094: warning: assignment discards qualifiers from pointer target type
eval.c: In function ‘mproc’:
eval.c:9870: warning: assignment discards qualifiers from pointer target type
gcc -g -O2  -fPIC    -DRUBY_EXPORT -D_GNU_SOURCE=1  -I. -I.    -c file.c
gcc -g -O2  -fPIC    -DRUBY_EXPORT -D_GNU_SOURCE=1  -I. -I.    -c gc.c
gcc -g -O2  -fPIC    -DRUBY_EXPORT -D_GNU_SOURCE=1  -I. -I.    -c hash.c
gcc -g -O2  -fPIC    -DRUBY_EXPORT -D_GNU_SOURCE=1  -I. -I.    -c inits.c
gcc -g -O2  -fPIC    -DRUBY_EXPORT -D_GNU_SOURCE=1  -I. -I.    -c io.c
gcc -g -O2  -fPIC    -DRUBY_EXPORT -D_GNU_SOURCE=1  -I. -I.    -c marshal.c
gcc -g -O2  -fPIC    -DRUBY_EXPORT -D_GNU_SOURCE=1  -I. -I.    -c math.c
gcc -g -O2  -fPIC    -DRUBY_EXPORT -D_GNU_SOURCE=1  -I. -I.    -c numeric.c
gcc -g -O2  -fPIC    -DRUBY_EXPORT -D_GNU_SOURCE=1  -I. -I.    -c object.c
gcc -g -O2  -fPIC    -DRUBY_EXPORT -D_GNU_SOURCE=1  -I. -I.    -c pack.c
gcc -g -O2  -fPIC    -DRUBY_EXPORT -D_GNU_SOURCE=1  -I. -I.    -c parse.c
gcc -g -O2  -fPIC    -DRUBY_EXPORT -D_GNU_SOURCE=1  -I. -I.    -c process.c
gcc -g -O2  -fPIC    -DRUBY_EXPORT -D_GNU_SOURCE=1  -I. -I.    -c prec.c
gcc -g -O2  -fPIC    -DRUBY_EXPORT -D_GNU_SOURCE=1  -I. -I.    -c random.c
random.c: In function ‘make_seed_value’:
random.c:306: warning: assignment from incompatible pointer type
gcc -g -O2  -fPIC    -DRUBY_EXPORT -D_GNU_SOURCE=1  -I. -I.    -c range.c
gcc -g -O2  -fPIC    -DRUBY_EXPORT -D_GNU_SOURCE=1  -I. -I.    -c re.c
gcc -g -O2  -fPIC    -DRUBY_EXPORT -D_GNU_SOURCE=1  -I. -I.    -c regex.c
gcc -g -O2  -fPIC    -DRUBY_EXPORT -D_GNU_SOURCE=1  -I. -I.    -c ruby.c
gcc -g -O2  -fPIC    -DRUBY_EXPORT -D_GNU_SOURCE=1  -I. -I.    -c signal.c
gcc -g -O2  -fPIC    -DRUBY_EXPORT -D_GNU_SOURCE=1  -I. -I.    -c sprintf.c
gcc -g -O2  -fPIC    -DRUBY_EXPORT -D_GNU_SOURCE=1  -I. -I.    -c st.c
gcc -g -O2  -fPIC    -DRUBY_EXPORT -D_GNU_SOURCE=1  -I. -I.    -c string.c
gcc -g -O2  -fPIC    -DRUBY_EXPORT -D_GNU_SOURCE=1  -I. -I.    -c struct.c
gcc -g -O2  -fPIC    -DRUBY_EXPORT -D_GNU_SOURCE=1  -I. -I.    -c time.c
gcc -g -O2  -fPIC    -DRUBY_EXPORT -D_GNU_SOURCE=1  -I. -I.    -c util.c
gcc -g -O2  -fPIC    -DRUBY_EXPORT -D_GNU_SOURCE=1  -I. -I.    -c variable.c
gcc -g -O2  -fPIC    -DRUBY_EXPORT -D_GNU_SOURCE=1  -I. -I.    -c version.c
gcc -g -O2  -fPIC    -DRUBY_EXPORT -D_GNU_SOURCE=1  -I. -I.    -c dmyext.c
ar rcu libruby-static.a array.o bignum.o class.o compar.o dir.o dln.o enum.o enumerator.o error.o eval.o file.o gc.o hash.o inits.o io.o marshal.o math.o numeric.o object.o pack.o parse.o process.o prec.o random.o range.o re.o regex.o ruby.o signal.o sprintf.o st.o string.o struct.o time.o util.o variable.o version.o  dmyext.o
gcc -g -O2  -fPIC    -DRUBY_EXPORT -D_GNU_SOURCE=1  -I. -I.    -c main.c
gcc -g -O2  -fPIC    -DRUBY_EXPORT -D_GNU_SOURCE=1  -L.  -rdynamic -Wl,-export-dynamic   main.o  libruby-static.a -lrt -ldl -lcrypt -lm   -o miniruby
rbconfig.rb updated
gcc -shared -Wl,-soname,libruby.so.1.8   array.o bignum.o class.o compar.o dir.o dln.o enum.o enumerator.o error.o eval.o file.o gc.o hash.o inits.o io.o marshal.o math.o numeric.o object.o pack.o parse.o process.o prec.o random.o range.o re.o regex.o ruby.o signal.o sprintf.o st.o string.o struct.o time.o util.o variable.o version.o  dmyext.o -lrt -ldl -lcrypt -lm   -o libruby.so.1.8.7
compiling Win32API
compiling bigdecimal
gmake[1]: Entering directory `/home/cprubybuild/ruby-1.8.7-p374/ext/bigdecimal'
mkdir -p ../../.ext/x86_64-linux
gcc -I. -I../.. -I../../. -I../.././ext/bigdecimal -DBASE=1000000000UL -DBASE_FIG=9    -fPIC -g -O2  -fPIC   -c bigdecimal.c
gcc -shared -o ../../.ext/x86_64-linux/bigdecimal.so bigdecimal.o -L. -L../.. -L.  -rdynamic -Wl,-export-dynamic    -Wl,-R -Wl,/usr/lib -L/usr/lib -lruby  -lrt -ldl -lcrypt -lm   -lc
/usr/bin/ld: skipping incompatible /usr/lib/librt.so when searching for -lrt
/usr/bin/ld: skipping incompatible /usr/lib/libdl.so when searching for -ldl
/usr/bin/ld: skipping incompatible /usr/lib/libcrypt.so when searching for -lcrypt
/usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
mkdir -p ../../.ext/common/bigdecimal
cp ../.././ext/bigdecimal/lib/bigdecimal/util.rb ../../.ext/common/bigdecimal
cp ../.././ext/bigdecimal/lib/bigdecimal/newton.rb ../../.ext/common/bigdecimal
cp ../.././ext/bigdecimal/lib/bigdecimal/ludcmp.rb ../../.ext/common/bigdecimal
cp ../.././ext/bigdecimal/lib/bigdecimal/math.rb ../../.ext/common/bigdecimal
cp ../.././ext/bigdecimal/lib/bigdecimal/jacobian.rb ../../.ext/common/bigdecimal
gmake[1]: Leaving directory `/home/cprubybuild/ruby-1.8.7-p374/ext/bigdecimal'
compiling curses
gmake[1]: Entering directory `/home/cprubybuild/ruby-1.8.7-p374/ext/curses'
gcc -I. -I../.. -I../../. -I../.././ext/curses -DHAVE_NCURSES_H -DHAVE_BEEP -DHAVE_BKGD -DHAVE_BKGDSET -DHAVE_CURS_SET -DHAVE_DELETELN -DHAVE_DOUPDATE -DHAVE_FLASH -DHAVE_GETBKGD -DHAVE_GETNSTR -DHAVE_ISENDWIN -DHAVE_KEYNAME -DHAVE_KEYPAD -DHAVE_RESIZETERM -DHAVE_SCRL -DHAVE_SETSCRREG -DHAVE_UNGETCH -DHAVE_WATTROFF -DHAVE_WATTRON -DHAVE_WATTRSET -DHAVE_WBKGD -DHAVE_WBKGDSET -DHAVE_WDELETELN -DHAVE_WGETNSTR -DHAVE_WRESIZE -DHAVE_WSCRL -DHAVE_WSETSCRREG -DHAVE_DEF_PROG_MODE -DHAVE_RESET_PROG_MODE -DHAVE_TIMEOUT -DHAVE_WTIMEOUT -DHAVE_NODELAY -DHAVE_INIT_COLOR -DHAVE_WCOLOR_SET -D_XOPEN_SOURCE_EXTENDED    -fPIC -g -O2  -fPIC   -c curses.c
gcc -shared -o ../../.ext/x86_64-linux/curses.so curses.o -L. -L../.. -L.  -rdynamic -Wl,-export-dynamic    -Wl,-R -Wl,/usr/lib -L/usr/lib -lruby -lncurses -ltinfo  -lrt -ldl -lcrypt -lm   -lc
/usr/bin/ld: skipping incompatible /usr/lib/librt.so when searching for -lrt
/usr/bin/ld: skipping incompatible /usr/lib/libdl.so when searching for -ldl
/usr/bin/ld: skipping incompatible /usr/lib/libcrypt.so when searching for -lcrypt
/usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
gmake[1]: Leaving directory `/home/cprubybuild/ruby-1.8.7-p374/ext/curses'
compiling dbm
gmake[1]: Entering directory `/home/cprubybuild/ruby-1.8.7-p374/ext/dbm'
gcc -I. -I../.. -I../../. -I../.././ext/dbm -DHAVE_TYPE_DBM -DHAVE___DB_NDBM_CLEARERR -DDB_DBM_HSEARCH  -DDBM_HDR="<db.h>" -DHAVE_SYS_CDEFS_H    -fPIC -g -O2  -fPIC   -c dbm.c
gcc -shared -o ../../.ext/x86_64-linux/dbm.so dbm.o -L. -L../.. -L.  -rdynamic -Wl,-export-dynamic    -Wl,-R -Wl,/usr/lib -L/usr/lib -lruby -ldb  -lrt -ldl -lcrypt -lm   -lc
/usr/bin/ld: skipping incompatible /usr/lib/librt.so when searching for -lrt
/usr/bin/ld: skipping incompatible /usr/lib/libdl.so when searching for -ldl
/usr/bin/ld: skipping incompatible /usr/lib/libcrypt.so when searching for -lcrypt
/usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
gmake[1]: Leaving directory `/home/cprubybuild/ruby-1.8.7-p374/ext/dbm'
compiling digest
gmake[1]: Entering directory `/home/cprubybuild/ruby-1.8.7-p374/ext/digest'
gcc -I. -I../.. -I../../. -I../.././ext/digest   -fPIC -g -O2  -fPIC   -c digest.c
digest.c: In function ‘rb_digest_instance_inspect’:
digest.c:280: warning: assignment discards qualifiers from pointer target type
gcc -shared -o ../../.ext/x86_64-linux/digest.so digest.o -L. -L../.. -L.  -rdynamic -Wl,-export-dynamic    -Wl,-R -Wl,/usr/lib -L/usr/lib -lruby  -lrt -ldl -lcrypt -lm   -lc
/usr/bin/ld: skipping incompatible /usr/lib/librt.so when searching for -lrt
/usr/bin/ld: skipping incompatible /usr/lib/libdl.so when searching for -ldl
/usr/bin/ld: skipping incompatible /usr/lib/libcrypt.so when searching for -lcrypt
/usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
cp ../.././ext/digest/lib/md5.rb ../../.ext/common
cp ../.././ext/digest/lib/digest.rb ../../.ext/common
cp ../.././ext/digest/lib/sha1.rb ../../.ext/common
cp ../.././ext/digest/digest.h ../../.ext/x86_64-linux
gmake[1]: Leaving directory `/home/cprubybuild/ruby-1.8.7-p374/ext/digest'
compiling digest/bubblebabble
gmake[1]: Entering directory `/home/cprubybuild/ruby-1.8.7-p374/ext/digest/bubblebabble'
mkdir -p ../../../.ext/x86_64-linux/digest
gcc -I. -I../../.. -I../../../. -I../../.././ext/digest/bubblebabble -I../../.././ext/digest/bubblebabble/.. -DHAVE_CONFIG_H    -fPIC -g -O2  -fPIC   -c bubblebabble.c
gcc -shared -o ../../../.ext/x86_64-linux/digest/bubblebabble.so bubblebabble.o -L. -L../../.. -L.  -rdynamic -Wl,-export-dynamic    -Wl,-R -Wl,/usr/lib -L/usr/lib -lruby  -lrt -ldl -lcrypt -lm   -lc
/usr/bin/ld: skipping incompatible /usr/lib/librt.so when searching for -lrt
/usr/bin/ld: skipping incompatible /usr/lib/libdl.so when searching for -ldl
/usr/bin/ld: skipping incompatible /usr/lib/libcrypt.so when searching for -lcrypt
/usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
gmake[1]: Leaving directory `/home/cprubybuild/ruby-1.8.7-p374/ext/digest/bubblebabble'
compiling digest/md5
gmake[1]: Entering directory `/home/cprubybuild/ruby-1.8.7-p374/ext/digest/md5'
gcc -I. -I../../.. -I../../../. -I../../.././ext/digest/md5 -I../../.././ext/digest/md5/.. -DHAVE_CONFIG_H -DHAVE_OPENSSL_MD5_H -DHAVE_SYS_CDEFS_H -DHAVE_INTTYPES_H -DHAVE_UNISTD_H    -fPIC -g -O2  -fPIC   -c md5init.c
gcc -I. -I../../.. -I../../../. -I../../.././ext/digest/md5 -I../../.././ext/digest/md5/.. -DHAVE_CONFIG_H -DHAVE_OPENSSL_MD5_H -DHAVE_SYS_CDEFS_H -DHAVE_INTTYPES_H -DHAVE_UNISTD_H    -fPIC -g -O2  -fPIC   -c md5ossl.c
gcc -shared -o ../../../.ext/x86_64-linux/digest/md5.so md5init.o md5ossl.o -L. -L../../.. -L.  -rdynamic -Wl,-export-dynamic    -Wl,-R -Wl,/usr/lib -L/usr/lib -lruby -lcrypto  -lrt -ldl -lcrypt -lm   -lc
/usr/bin/ld: skipping incompatible /usr/lib/librt.so when searching for -lrt
/usr/bin/ld: skipping incompatible /usr/lib/libdl.so when searching for -ldl
/usr/bin/ld: skipping incompatible /usr/lib/libcrypt.so when searching for -lcrypt
/usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
gmake[1]: Leaving directory `/home/cprubybuild/ruby-1.8.7-p374/ext/digest/md5'
compiling digest/rmd160
gmake[1]: Entering directory `/home/cprubybuild/ruby-1.8.7-p374/ext/digest/rmd160'
gcc -I. -I../../.. -I../../../. -I../../.././ext/digest/rmd160 -I../../.././ext/digest/rmd160/.. -DNDEBUG -DHAVE_CONFIG_H -DHAVE_OPENSSL_RIPEMD_H -DHAVE_SYS_CDEFS_H -DHAVE_INTTYPES_H -DHAVE_UNISTD_H    -fPIC -g -O2  -fPIC   -c rmd160init.c
gcc -I. -I../../.. -I../../../. -I../../.././ext/digest/rmd160 -I../../.././ext/digest/rmd160/.. -DNDEBUG -DHAVE_CONFIG_H -DHAVE_OPENSSL_RIPEMD_H -DHAVE_SYS_CDEFS_H -DHAVE_INTTYPES_H -DHAVE_UNISTD_H    -fPIC -g -O2  -fPIC   -c rmd160ossl.c
gcc -shared -o ../../../.ext/x86_64-linux/digest/rmd160.so rmd160init.o rmd160ossl.o -L. -L../../.. -L.  -rdynamic -Wl,-export-dynamic    -Wl,-R -Wl,/usr/lib -L/usr/lib -lruby -lcrypto  -lrt -ldl -lcrypt -lm   -lc
/usr/bin/ld: skipping incompatible /usr/lib/librt.so when searching for -lrt
/usr/bin/ld: skipping incompatible /usr/lib/libdl.so when searching for -ldl
/usr/bin/ld: skipping incompatible /usr/lib/libcrypt.so when searching for -lcrypt
/usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
gmake[1]: Leaving directory `/home/cprubybuild/ruby-1.8.7-p374/ext/digest/rmd160'
compiling digest/sha1
gmake[1]: Entering directory `/home/cprubybuild/ruby-1.8.7-p374/ext/digest/sha1'
gcc -I. -I../../.. -I../../../. -I../../.././ext/digest/sha1 -I../../.././ext/digest/sha1/.. -DHAVE_CONFIG_H -DHAVE_OPENSSL_SHA_H -DHAVE_SYS_CDEFS_H -DHAVE_INTTYPES_H -DHAVE_UNISTD_H    -fPIC -g -O2  -fPIC   -c sha1init.c
gcc -I. -I../../.. -I../../../. -I../../.././ext/digest/sha1 -I../../.././ext/digest/sha1/.. -DHAVE_CONFIG_H -DHAVE_OPENSSL_SHA_H -DHAVE_SYS_CDEFS_H -DHAVE_INTTYPES_H -DHAVE_UNISTD_H    -fPIC -g -O2  -fPIC   -c sha1ossl.c
gcc -shared -o ../../../.ext/x86_64-linux/digest/sha1.so sha1init.o sha1ossl.o -L. -L../../.. -L.  -rdynamic -Wl,-export-dynamic    -Wl,-R -Wl,/usr/lib -L/usr/lib -lruby -lcrypto  -lrt -ldl -lcrypt -lm   -lc
/usr/bin/ld: skipping incompatible /usr/lib/librt.so when searching for -lrt
/usr/bin/ld: skipping incompatible /usr/lib/libdl.so when searching for -ldl
/usr/bin/ld: skipping incompatible /usr/lib/libcrypt.so when searching for -lcrypt
/usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
gmake[1]: Leaving directory `/home/cprubybuild/ruby-1.8.7-p374/ext/digest/sha1'
compiling digest/sha2
gmake[1]: Entering directory `/home/cprubybuild/ruby-1.8.7-p374/ext/digest/sha2'
gcc -I. -I../../.. -I../../../. -I../../.././ext/digest/sha2 -I../../.././ext/digest/sha2/.. -DHAVE_CONFIG_H -DHAVE_SYS_CDEFS_H -DHAVE_INTTYPES_H -DHAVE_UNISTD_H -DHAVE_TYPE_UINT64_T    -fPIC -g -O2  -fPIC   -c sha2.c
gcc -I. -I../../.. -I../../../. -I../../.././ext/digest/sha2 -I../../.././ext/digest/sha2/.. -DHAVE_CONFIG_H -DHAVE_SYS_CDEFS_H -DHAVE_INTTYPES_H -DHAVE_UNISTD_H -DHAVE_TYPE_UINT64_T    -fPIC -g -O2  -fPIC   -c sha2init.c
gcc -shared -o ../../../.ext/x86_64-linux/digest/sha2.so sha2.o sha2init.o -L. -L../../.. -L.  -rdynamic -Wl,-export-dynamic    -Wl,-R -Wl,/usr/lib -L/usr/lib -lruby  -lrt -ldl -lcrypt -lm   -lc
/usr/bin/ld: skipping incompatible /usr/lib/librt.so when searching for -lrt
/usr/bin/ld: skipping incompatible /usr/lib/libdl.so when searching for -ldl
/usr/bin/ld: skipping incompatible /usr/lib/libcrypt.so when searching for -lcrypt
/usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
mkdir -p ../../../.ext/common/digest
cp ../../.././ext/digest/sha2/lib/sha2.rb ../../../.ext/common/digest
gmake[1]: Leaving directory `/home/cprubybuild/ruby-1.8.7-p374/ext/digest/sha2'
compiling dl
gmake[1]: Entering directory `/home/cprubybuild/ruby-1.8.7-p374/ext/dl'
gcc -I. -I../.. -I../../. -I../.././ext/dl -DHAVE_DLFCN_H -DHAVE_DLOPEN -DHAVE_DLCLOSE -DHAVE_DLSYM -DHAVE_DLERROR    -I. -fPIC -g -O2  -fPIC  -fno-defer-pop -fno-omit-frame-pointer  -c ptr.c
Generating callback.func
Generating cbtable.func
gcc -I. -I../.. -I../../. -I../.././ext/dl -DHAVE_DLFCN_H -DHAVE_DLOPEN -DHAVE_DLCLOSE -DHAVE_DLSYM -DHAVE_DLERROR    -I. -fPIC -g -O2  -fPIC  -fno-defer-pop -fno-omit-frame-pointer  -c dl.c
gcc -I. -I../.. -I../../. -I../.././ext/dl -DHAVE_DLFCN_H -DHAVE_DLOPEN -DHAVE_DLCLOSE -DHAVE_DLSYM -DHAVE_DLERROR    -I. -fPIC -g -O2  -fPIC  -fno-defer-pop -fno-omit-frame-pointer  -c handle.c
Generating call.func
  void
  char
  short
  int
  long
  float
  double
gcc -I. -I../.. -I../../. -I../.././ext/dl -DHAVE_DLFCN_H -DHAVE_DLOPEN -DHAVE_DLCLOSE -DHAVE_DLSYM -DHAVE_DLERROR    -I. -fPIC -g -O2  -fPIC  -fno-defer-pop -fno-omit-frame-pointer  -c sym.c
gcc -shared -o ../../.ext/x86_64-linux/dl.so ptr.o dl.o handle.o sym.o -L. -L../.. -L.  -rdynamic -Wl,-export-dynamic    -Wl,-R -Wl,/usr/lib -L/usr/lib -lruby -ldl  -lrt -ldl -lcrypt -lm   -lc
/usr/bin/ld: skipping incompatible /usr/lib/libdl.so when searching for -ldl
/usr/bin/ld: skipping incompatible /usr/lib/librt.so when searching for -lrt
/usr/bin/ld: skipping incompatible /usr/lib/libdl.so when searching for -ldl
/usr/bin/ld: skipping incompatible /usr/lib/libcrypt.so when searching for -lcrypt
/usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
mkdir -p ../../.ext/common/dl
cp ../.././ext/dl/lib/dl/types.rb ../../.ext/common/dl
cp ../.././ext/dl/lib/dl/import.rb ../../.ext/common/dl
cp ../.././ext/dl/lib/dl/win32.rb ../../.ext/common/dl
cp ../.././ext/dl/lib/dl/struct.rb ../../.ext/common/dl
cp dlconfig.h ../../.ext/x86_64-linux
cp ../.././ext/dl/dl.h ../../.ext/x86_64-linux
gmake[1]: Leaving directory `/home/cprubybuild/ruby-1.8.7-p374/ext/dl'
compiling etc
gmake[1]: Entering directory `/home/cprubybuild/ruby-1.8.7-p374/ext/etc'
gcc -I. -I../.. -I../../. -I../.././ext/etc -DHAVE_GETLOGIN -DHAVE_GETPWENT -DHAVE_GETGRENT -DHAVE_ST_PW_GECOS -DHAVE_ST_PW_PASSWD -DHAVE_ST_GR_PASSWD -DHAVE_TYPE_UID_T -DPW_UID2VAL=UINT2NUM -DPW_VAL2UID=NUM2UINT -DHAVE_TYPE_GID_T -DPW_GID2VAL=UINT2NUM -DPW_VAL2GID=NUM2UINT    -fPIC -g -O2  -fPIC   -c etc.c
gcc -shared -o ../../.ext/x86_64-linux/etc.so etc.o -L. -L../.. -L.  -rdynamic -Wl,-export-dynamic    -Wl,-R -Wl,/usr/lib -L/usr/lib -lruby  -lrt -ldl -lcrypt -lm   -lc
/usr/bin/ld: skipping incompatible /usr/lib/librt.so when searching for -lrt
/usr/bin/ld: skipping incompatible /usr/lib/libdl.so when searching for -ldl
/usr/bin/ld: skipping incompatible /usr/lib/libcrypt.so when searching for -lcrypt
/usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
gmake[1]: Leaving directory `/home/cprubybuild/ruby-1.8.7-p374/ext/etc'
compiling fcntl
gmake[1]: Entering directory `/home/cprubybuild/ruby-1.8.7-p374/ext/fcntl'
gcc -I. -I../.. -I../../. -I../.././ext/fcntl   -fPIC -g -O2  -fPIC   -c fcntl.c
gcc -shared -o ../../.ext/x86_64-linux/fcntl.so fcntl.o -L. -L../.. -L.  -rdynamic -Wl,-export-dynamic    -Wl,-R -Wl,/usr/lib -L/usr/lib -lruby  -lrt -ldl -lcrypt -lm   -lc
/usr/bin/ld: skipping incompatible /usr/lib/librt.so when searching for -lrt
/usr/bin/ld: skipping incompatible /usr/lib/libdl.so when searching for -ldl
/usr/bin/ld: skipping incompatible /usr/lib/libcrypt.so when searching for -lcrypt
/usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
gmake[1]: Leaving directory `/home/cprubybuild/ruby-1.8.7-p374/ext/fcntl'
compiling gdbm
gmake[1]: Entering directory `/home/cprubybuild/ruby-1.8.7-p374/ext/gdbm'
gcc -I. -I../.. -I../../. -I../.././ext/gdbm -DHAVE_GDBM_H    -fPIC -g -O2  -fPIC   -c gdbm.c
gcc -shared -o ../../.ext/x86_64-linux/gdbm.so gdbm.o -L. -L../.. -L.  -rdynamic -Wl,-export-dynamic    -Wl,-R -Wl,/usr/lib -L/usr/lib -lruby -lgdbm  -lrt -ldl -lcrypt -lm   -lc
/usr/bin/ld: skipping incompatible /usr/lib/librt.so when searching for -lrt
/usr/bin/ld: skipping incompatible /usr/lib/libdl.so when searching for -ldl
/usr/bin/ld: skipping incompatible /usr/lib/libcrypt.so when searching for -lcrypt
/usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
gmake[1]: Leaving directory `/home/cprubybuild/ruby-1.8.7-p374/ext/gdbm'
compiling iconv
gmake[1]: Entering directory `/home/cprubybuild/ruby-1.8.7-p374/ext/iconv'
gcc -I. -I../.. -I../../. -I../.././ext/iconv -DHAVE_ICONV    -fPIC -g -O2  -fPIC   -c iconv.c
gcc -shared -o ../../.ext/x86_64-linux/iconv.so iconv.o -L. -L../.. -L.  -rdynamic -Wl,-export-dynamic    -Wl,-R -Wl,/usr/lib -L/usr/lib -lruby  -lrt -ldl -lcrypt -lm   -lc
/usr/bin/ld: skipping incompatible /usr/lib/librt.so when searching for -lrt
/usr/bin/ld: skipping incompatible /usr/lib/libdl.so when searching for -ldl
/usr/bin/ld: skipping incompatible /usr/lib/libcrypt.so when searching for -lcrypt
/usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
gmake[1]: Leaving directory `/home/cprubybuild/ruby-1.8.7-p374/ext/iconv'
compiling io/wait
gmake[1]: Entering directory `/home/cprubybuild/ruby-1.8.7-p374/ext/io/wait'
mkdir -p ../../../.ext/x86_64-linux/io
gcc -I. -I../../.. -I../../../. -I../../.././ext/io/wait -DFIONREAD_HEADER="<sys/ioctl.h>"    -fPIC -g -O2  -fPIC   -c wait.c
gcc -shared -o ../../../.ext/x86_64-linux/io/wait.so wait.o -L. -L../../.. -L.  -rdynamic -Wl,-export-dynamic    -Wl,-R -Wl,/usr/lib -L/usr/lib -lruby  -lrt -ldl -lcrypt -lm   -lc
/usr/bin/ld: skipping incompatible /usr/lib/librt.so when searching for -lrt
/usr/bin/ld: skipping incompatible /usr/lib/libdl.so when searching for -ldl
/usr/bin/ld: skipping incompatible /usr/lib/libcrypt.so when searching for -lcrypt
/usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
mkdir -p ../../../.ext/common/io
cp ../../.././ext/io/wait/lib/nonblock.rb ../../../.ext/common/io
gmake[1]: Leaving directory `/home/cprubybuild/ruby-1.8.7-p374/ext/io/wait'
compiling nkf
gmake[1]: Entering directory `/home/cprubybuild/ruby-1.8.7-p374/ext/nkf'
gcc -I. -I../.. -I../../. -I../.././ext/nkf   -fPIC -g -O2  -fPIC   -c nkf.c
gcc -shared -o ../../.ext/x86_64-linux/nkf.so nkf.o -L. -L../.. -L.  -rdynamic -Wl,-export-dynamic    -Wl,-R -Wl,/usr/lib -L/usr/lib -lruby  -lrt -ldl -lcrypt -lm   -lc
/usr/bin/ld: skipping incompatible /usr/lib/librt.so when searching for -lrt
/usr/bin/ld: skipping incompatible /usr/lib/libdl.so when searching for -ldl
/usr/bin/ld: skipping incompatible /usr/lib/libcrypt.so when searching for -lcrypt
/usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
cp ../.././ext/nkf/lib/kconv.rb ../../.ext/common
gmake[1]: Leaving directory `/home/cprubybuild/ruby-1.8.7-p374/ext/nkf'
compiling openssl
gmake[1]: Entering directory `/home/cprubybuild/ruby-1.8.7-p374/ext/openssl'
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\"    -fPIC -g -O2  -fPIC   -c ossl.c
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\"    -fPIC -g -O2  -fPIC   -c ossl_x509revoked.c
ossl_x509revoked.c: In function ‘ossl_x509revoked_new’:
ossl_x509revoked.c:48: warning: passing argument 2 of ‘ASN1_dup’ from incompatible pointer type
/usr/include/openssl/asn1.h:954: note: expected ‘void * (*)(void **, const unsigned char **, long int)’ but argument is of type ‘char * (*)()’
ossl_x509revoked.c: In function ‘DupX509RevokedPtr’:
ossl_x509revoked.c:64: warning: passing argument 2 of ‘ASN1_dup’ from incompatible pointer type
/usr/include/openssl/asn1.h:954: note: expected ‘void * (*)(void **, const unsigned char **, long int)’ but argument is of type ‘char * (*)()’
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\"    -fPIC -g -O2  -fPIC   -c ossl_ns_spki.c
ossl_ns_spki.c: In function ‘ossl_spki_initialize’:
ossl_ns_spki.c:67: warning: passing argument 2 of ‘d2i_NETSCAPE_SPKI’ from incompatible pointer type
/usr/include/openssl/x509.h:876: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\"    -fPIC -g -O2  -fPIC   -c ossl_x509attr.c
ossl_x509attr.c: In function ‘ossl_x509attr_initialize’:
ossl_x509attr.c:104: warning: passing argument 2 of ‘d2i_X509_ATTRIBUTE’ from incompatible pointer type
/usr/include/openssl/x509.h:825: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\"    -fPIC -g -O2  -fPIC   -c ossl_ssl.c
ossl_ssl.c:101: warning: initialization from incompatible pointer type
ossl_ssl.c:102: warning: initialization from incompatible pointer type
ossl_ssl.c:103: warning: initialization from incompatible pointer type
ossl_ssl.c:106: warning: initialization from incompatible pointer type
ossl_ssl.c:107: warning: initialization from incompatible pointer type
ossl_ssl.c:108: warning: initialization from incompatible pointer type
ossl_ssl.c:110: warning: initialization from incompatible pointer type
ossl_ssl.c:111: warning: initialization from incompatible pointer type
ossl_ssl.c:112: warning: initialization from incompatible pointer type
ossl_ssl.c:113: warning: initialization from incompatible pointer type
ossl_ssl.c:114: warning: initialization from incompatible pointer type
ossl_ssl.c:115: warning: initialization from incompatible pointer type
ossl_ssl.c: In function ‘ossl_ssl_get_cipher’:
ossl_ssl.c:1230: warning: assignment discards qualifiers from pointer target type
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\"    -fPIC -g -O2  -fPIC   -c ossl_rand.c
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\"    -fPIC -g -O2  -fPIC   -c ossl_pkcs7.c
ossl_pkcs7.c: In function ‘ossl_pkcs7si_new’:
ossl_pkcs7.c:89: warning: passing argument 2 of ‘ASN1_dup’ from incompatible pointer type
/usr/include/openssl/asn1.h:954: note: expected ‘void * (*)(void **, const unsigned char **, long int)’ but argument is of type ‘char * (*)()’
ossl_pkcs7.c: In function ‘DupPKCS7SignerPtr’:
ossl_pkcs7.c:102: warning: passing argument 2 of ‘ASN1_dup’ from incompatible pointer type
/usr/include/openssl/asn1.h:954: note: expected ‘void * (*)(void **, const unsigned char **, long int)’ but argument is of type ‘char * (*)()’
ossl_pkcs7.c: In function ‘ossl_pkcs7ri_new’:
ossl_pkcs7.c:115: warning: passing argument 2 of ‘ASN1_dup’ from incompatible pointer type
/usr/include/openssl/asn1.h:954: note: expected ‘void * (*)(void **, const unsigned char **, long int)’ but argument is of type ‘char * (*)()’
ossl_pkcs7.c: In function ‘DupPKCS7RecipientPtr’:
ossl_pkcs7.c:128: warning: passing argument 2 of ‘ASN1_dup’ from incompatible pointer type
/usr/include/openssl/asn1.h:954: note: expected ‘void * (*)(void **, const unsigned char **, long int)’ but argument is of type ‘char * (*)()’
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\"    -fPIC -g -O2  -fPIC   -c ossl_config.c
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\"    -fPIC -g -O2  -fPIC   -c ossl_asn1.c
ossl_asn1.c: In function ‘decode_bool’:
ossl_asn1.c:317: warning: passing argument 2 of ‘d2i_ASN1_BOOLEAN’ from incompatible pointer type
/usr/include/openssl/asn1.h:829: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
ossl_asn1.c: In function ‘decode_int’:
ossl_asn1.c:332: warning: passing argument 2 of ‘d2i_ASN1_INTEGER’ from incompatible pointer type
/usr/include/openssl/asn1.h:831: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
ossl_asn1.c: In function ‘decode_enum’:
ossl_asn1.c:372: warning: passing argument 2 of ‘d2i_ASN1_ENUMERATED’ from incompatible pointer type
/usr/include/openssl/asn1.h:840: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
ossl_asn1.c: In function ‘decode_null’:
ossl_asn1.c:389: warning: passing argument 2 of ‘d2i_ASN1_NULL’ from incompatible pointer type
/usr/include/openssl/asn1.h:866: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
ossl_asn1.c: In function ‘decode_obj’:
ossl_asn1.c:406: warning: passing argument 2 of ‘d2i_ASN1_OBJECT’ from incompatible pointer type
/usr/include/openssl/asn1.h:786: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
ossl_asn1.c: In function ‘decode_time’:
ossl_asn1.c:434: warning: passing argument 2 of ‘d2i_ASN1_TIME’ from incompatible pointer type
/usr/include/openssl/asn1.h:882: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
ossl_asn1.c: In function ‘ossl_asn1_decode0’:
ossl_asn1.c:726: warning: passing argument 1 of ‘ASN1_get_object’ from incompatible pointer type
/usr/include/openssl/asn1.h:944: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\"    -fPIC -g -O2  -fPIC   -c ossl_x509req.c
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\"    -fPIC -g -O2  -fPIC   -c ossl_x509ext.c
ossl_x509ext.c: In function ‘ossl_x509ext_initialize’:
ossl_x509ext.c:286: warning: passing argument 2 of ‘d2i_X509_EXTENSION’ from incompatible pointer type
/usr/include/openssl/x509.h:828: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\"    -fPIC -g -O2  -fPIC   -c ossl_pkcs5.c
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\"    -fPIC -g -O2  -fPIC   -c ossl_x509crl.c
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\"    -fPIC -g -O2  -fPIC   -c ossl_ssl_session.c
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\"    -fPIC -g -O2  -fPIC   -c ossl_x509name.c
ossl_x509name.c: In function ‘ossl_x509name_initialize’:
ossl_x509name.c:143: warning: passing argument 2 of ‘d2i_X509_NAME’ from incompatible pointer type
/usr/include/openssl/x509.h:833: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\"    -fPIC -g -O2  -fPIC   -c ossl_pkey_dh.c
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\"    -fPIC -g -O2  -fPIC   -c openssl_missing.c
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\"    -fPIC -g -O2  -fPIC   -c ossl_engine.c
ossl_engine.c: In function ‘ossl_engine_inspect’:
ossl_engine.c:347: warning: initialization discards qualifiers from pointer target type
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\"    -fPIC -g -O2  -fPIC   -c ossl_x509cert.c
ossl_x509cert.c: In function ‘ossl_x509_inspect’:
ossl_x509cert.c:693: warning: initialization discards qualifiers from pointer target type
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\"    -fPIC -g -O2  -fPIC   -c ossl_bio.c
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\"    -fPIC -g -O2  -fPIC   -c ossl_x509store.c
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\"    -fPIC -g -O2  -fPIC   -c ossl_pkey.c
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\"    -fPIC -g -O2  -fPIC   -c ossl_pkey_rsa.c
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\"    -fPIC -g -O2  -fPIC   -c ossl_digest.c
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\"    -fPIC -g -O2  -fPIC   -c ossl_pkcs12.c
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\"    -fPIC -g -O2  -fPIC   -c ossl_pkey_ec.c
ossl_pkey_ec.c: In function ‘ossl_ec_group_initialize’:
ossl_pkey_ec.c:761: warning: assignment makes pointer from integer without a cast
ossl_pkey_ec.c:815: error: ‘EC_GROUP_new_curve_GF2m’ undeclared (first use in this function)
ossl_pkey_ec.c:815: error: (Each undeclared identifier is reported only once
ossl_pkey_ec.c:815: error: for each function it appears in.)
gmake[1]: *** [ossl_pkey_ec.o] Error 1
gmake[1]: Leaving directory `/home/cprubybuild/ruby-1.8.7-p374/ext/openssl'
gmake: *** [all] Error 1
./miniruby -I./lib -I.ext/common -I./- -r./ext/purelib.rb  ./instruby.rb --make="gmake" --dest-dir="" --extout=".ext" --mflags="" --make-flags="" --data-mode=0644 --prog-mode=0755 --installed-list .installed.list --mantype="doc"
installing binary commands
/home/cprubybuild/ruby-1.8.7-p374/lib/fileutils.rb:849:in `stat': No such file or directory - ruby (Errno::ENOENT)
        from /home/cprubybuild/ruby-1.8.7-p374/lib/fileutils.rb:849:in `install'
        from /home/cprubybuild/ruby-1.8.7-p374/lib/fileutils.rb:1402:in `fu_each_src_dest'
        from /home/cprubybuild/ruby-1.8.7-p374/lib/fileutils.rb:1416:in `fu_each_src_dest0'
        from /home/cprubybuild/ruby-1.8.7-p374/lib/fileutils.rb:1400:in `fu_each_src_dest'
        from /home/cprubybuild/ruby-1.8.7-p374/lib/fileutils.rb:846:in `install'
        from ./instruby.rb:133:in `install'
        from ./instruby.rb:230
        from ./instruby.rb:404:in `call'
        from ./instruby.rb:404
        from ./instruby.rb:401:in `each'
        from ./instruby.rb:401
        from ./instruby.rb:397:in `each'
        from ./instruby.rb:397
gmake: *** [do-install-nodoc] Error 1
warn [installruby] Unable to locate ruby binary.
warn [installruby] ruby install failed: ruby binary not present after attempting to install

Removing source directory /home/cprubybuild
Installing rubygems version: 1.3.7
Using Dir: /home/cprubygemsbuild/rubygems-1.3.7
Setting up rubygems ...
warn [installruby] rubygems install failed: Ruby is not installed; can't install rubygems

Removing source directory /home/cprubygemsbuild
warn [installruby] Unable to locate gem binary.
warn [installruby] Unable to locate gem binary.
open3: exec of uninstall -I -x -a -v >1.8.25 rubygems-update failed at /usr/local/cpanel/Cpanel/SafeRun/Dynamic.pm line 86
This entry was posted in General and tagged , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *