Problem in installing gem puma

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear All,



I am using Windows 7
ruby version :: ruby 2.1.6p336 (2015-04-13 revision 50298) [i386-mingw32]
gem version :: 2.2.3




I have a problem in installing  gem puma

|PS C:\Users\VSrinivasan\mystuff\SampleApp> gem install puma
Temporarily enhancing PATH to include DevKit...
Building native extensions.  This could take a while...
ERROR:  Error installing puma:
         ERROR: Failed to build gem native extension.

     C:/Ruby21/bin/ruby.exe extconf.rb
checking for BIO_read() in -lcrypto... no
checking for BIO_read() in -llibeay32... no
*** 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=C:/Ruby21/bin/ruby
         --with-puma_http11-dir
         --without-puma_http11-dir
         --with-puma_http11-include
         --without-puma_http11-include=${puma_http11-dir}/include
         --with-puma_http11-lib
         --without-puma_http11-lib=${puma_http11-dir}/lib
         --with-cryptolib
         --without-cryptolib
         --with-libeay32lib
         --without-libeay32lib

extconf failed, exit code 1

Gem files will remain installed in C:/Ruby21/lib/ruby/gems/2.1.0/gems/puma-2.13.4 for inspection.
Results logged to C:/Ruby21/lib/ruby/gems/2.1.0/extensions/x86-mingw32/2.1.0/puma-2.13.4/gem_make.out
|


mkmf.log

have_library: checking for BIO_read() in -lcrypto... -------------------- no

"gcc -o conftest.exe -IC:/Ruby21/include/ruby-2.1.0/i386-mingw32 
-IC:/Ruby21/include/ruby-2.1.0/ruby/backward 
-IC:/Ruby21/include/ruby-2.1.0 -I. -DFD_SETSIZE=2048 
-D_WIN32_WINNT=0x0501 -D__MINGW_USE_VC2005_COMPAT 
-D_FILE_OFFSET_BITS=64   -O3 -fno-omit-frame-pointer -fno-fast-math -g 
-Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long 
-Wno-missing-field-initializers -Wunused-variable -Wpointer-arith 
-Wwrite-strings -Wdeclaration-after-statement 
-Wimplicit-function-declaration conftest.c  -L. -LC:/Ruby21/lib -L.      
-lmsvcrt-ruby210  -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi  "
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5: int main(int argc, char **argv)
6: {
7:   return 0;
8: }
/* end */

"gcc -o conftest.exe -IC:/Ruby21/include/ruby-2.1.0/i386-mingw32 
-IC:/Ruby21/include/ruby-2.1.0/ruby/backward 
-IC:/Ruby21/include/ruby-2.1.0 -I. -DFD_SETSIZE=2048 
-D_WIN32_WINNT=0x0501 -D__MINGW_USE_VC2005_COMPAT 
-D_FILE_OFFSET_BITS=64   -O3 -fno-omit-frame-pointer -fno-fast-math -g 
-Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long 
-Wno-missing-field-initializers -Wunused-variable -Wpointer-arith 
-Wwrite-strings -Wdeclaration-after-statement 
-Wimplicit-function-declaration conftest.c  -L. -LC:/Ruby21/lib -L.      
-lmsvcrt-ruby210 -lcrypto  -lshell32 -lws2_32 -liphlpapi -limagehlp 
-lshlwapi  "
conftest.c: In function 't':
conftest.c:16:57: error: 'BIO_read' undeclared (first use in this function)
conftest.c:16:57: note: each undeclared identifier is reported only once 
for each function it appears in
conftest.c:16:32: warning: variable 'p' set but not used 
[-Wunused-but-set-variable]
checked program was:
/* begin */
  1: #include "ruby.h"
  2:
  3: #include <winsock2.h>
  4: #include <windows.h>
  5:
  6: /*top*/
  7: extern int t(void);
  8: int main(int argc, char **argv)
  9: {
10:   if (argc > 1000000) {
11:     printf("%p", &t);
12:   }
13:
14:   return 0;
15: }
16: int t(void) { void ((*volatile p)()); p = (void ((*)()))BIO_read; 
return 0; }
/* end */

"gcc -o conftest.exe -IC:/Ruby21/include/ruby-2.1.0/i386-mingw32 
-IC:/Ruby21/include/ruby-2.1.0/ruby/backward 
-IC:/Ruby21/include/ruby-2.1.0 -I. -DFD_SETSIZE=2048 
-D_WIN32_WINNT=0x0501 -D__MINGW_USE_VC2005_COMPAT 
-D_FILE_OFFSET_BITS=64   -O3 -fno-omit-frame-pointer -fno-fast-math -g 
-Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long 
-Wno-missing-field-initializers -Wunused-variable -Wpointer-arith 
-Wwrite-strings -Wdeclaration-after-statement 
-Wimplicit-function-declaration conftest.c  -L. -LC:/Ruby21/lib -L.      
-lmsvcrt-ruby210 -lcrypto  -lshell32 -lws2_32 -liphlpapi -limagehlp 
-lshlwapi  "
conftest.c: In function 't':
conftest.c:16:1: warning: implicit declaration of function 'BIO_read' 
[-Wimplicit-function-declaration]
c:/devkit/mingw/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/bin/ld.exe: 
cannot find -lcrypto
collect2.exe: error: ld returned 1 exit status
checked program was:
/* begin */
  1: #include "ruby.h"
  2:
  3: #include <winsock2.h>
  4: #include <windows.h>
  5:
  6: /*top*/
  7: extern int t(void);
  8: int main(int argc, char **argv)
  9: {
10:   if (argc > 1000000) {
11:     printf("%p", &t);
12:   }
13:
14:   return 0;
15: }
16: int t(void) { BIO_read(); return 0; }
/* end */

--------------------

have_library: checking for BIO_read() in -llibeay32... 
-------------------- no

"gcc -o conftest.exe -IC:/Ruby21/include/ruby-2.1.0/i386-mingw32 
-IC:/Ruby21/include/ruby-2.1.0/ruby/backward 
-IC:/Ruby21/include/ruby-2.1.0 -I. -DFD_SETSIZE=2048 
-D_WIN32_WINNT=0x0501 -D__MINGW_USE_VC2005_COMPAT 
-D_FILE_OFFSET_BITS=64   -O3 -fno-omit-frame-pointer -fno-fast-math -g 
-Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long 
-Wno-missing-field-initializers -Wunused-variable -Wpointer-arith 
-Wwrite-strings -Wdeclaration-after-statement 
-Wimplicit-function-declaration conftest.c  -L. -LC:/Ruby21/lib -L.      
-lmsvcrt-ruby210 -llibeay32  -lshell32 -lws2_32 -liphlpapi -limagehlp 
-lshlwapi  "
conftest.c: In function 't':
conftest.c:16:57: error: 'BIO_read' undeclared (first use in this function)
conftest.c:16:57: note: each undeclared identifier is reported only once 
for each function it appears in
conftest.c:16:32: warning: variable 'p' set but not used 
[-Wunused-but-set-variable]
checked program was:
/* begin */
  1: #include "ruby.h"
  2:
  3: #include <winsock2.h>
  4: #include <windows.h>
  5:
  6: /*top*/
  7: extern int t(void);
  8: int main(int argc, char **argv)
  9: {
10:   if (argc > 1000000) {
11:     printf("%p", &t);
12:   }
13:
14:   return 0;
15: }
16: int t(void) { void ((*volatile p)()); p = (void ((*)()))BIO_read; 
return 0; }
/* end */

"gcc -o conftest.exe -IC:/Ruby21/include/ruby-2.1.0/i386-mingw32 
-IC:/Ruby21/include/ruby-2.1.0/ruby/backward 
-IC:/Ruby21/include/ruby-2.1.0 -I. -DFD_SETSIZE=2048 
-D_WIN32_WINNT=0x0501 -D__MINGW_USE_VC2005_COMPAT 
-D_FILE_OFFSET_BITS=64   -O3 -fno-omit-frame-pointer -fno-fast-math -g 
-Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long 
-Wno-missing-field-initializers -Wunused-variable -Wpointer-arith 
-Wwrite-strings -Wdeclaration-after-statement 
-Wimplicit-function-declaration conftest.c  -L. -LC:/Ruby21/lib -L.      
-lmsvcrt-ruby210 -llibeay32  -lshell32 -lws2_32 -liphlpapi -limagehlp 
-lshlwapi  "
conftest.c: In function 't':
conftest.c:16:1: warning: implicit declaration of function 'BIO_read' 
[-Wimplicit-function-declaration]
c:/devkit/mingw/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/bin/ld.exe: 
cannot find -llibeay32
collect2.exe: error: ld returned 1 exit status
checked program was:
/* begin */
  1: #include "ruby.h"
  2:
  3: #include <winsock2.h>
  4: #include <windows.h>
  5:
  6: /*top*/
  7: extern int t(void);
  8: int main(int argc, char **argv)
  9: {
10:   if (argc > 1000000) {
11:     printf("%p", &t);
12:   }
13:
14:   return 0;
15: }
16: int t(void) { BIO_read(); return 0; }
/* end */

--------------------






Request your help please

Rgds
V.Srinivasan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20150819/86266780/attachment.html>


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux