Closed sanwar0asu0edu closed 4 years ago
Ryan recently fixed an issue with the installer due to this broken Puma installer: https://github.com/BallAerospace/COSMOS/commit/4f7e323885765050a4134dc35b4cc5baf3e9f243
Ensure you're using the latest (2.4) version of the installer.
Hello,
I am getting an installation failure (ERROR: Problem installing cosmos gem). Below is the part of the log. Thanks.
Successfully installed snmp-1.3.2 Successfully installed rubyzip-1.3.0 Successfully installed mini_portile2-2.4.0 Nokogiri is built with the packaged libraries: libxml2-2.9.10, libxslt-1.1.34, zlib-1.2.11, libiconv-1.15. Successfully installed nokogiri-1.10.5-x64-mingw32 Successfully installed opengl-bindings-1.6.9 Successfully installed qtbindings-qt-4.8.6.4-x64-mingw32 Successfully installed qtbindings-4.8.6.5-x64-mingw32 Temporarily enhancing PATH for MSYS/MINGW... Installing required msys2 packages: mingw-w64-x86_64-openssl Building native extensions. This could take a while... ERROR: Error installing cosmos: ERROR: Failed to build gem native extension.
C:/COSMOS/Vendor/Ruby/bin/ruby.exe -I C:/COSMOS/Vendor/Ruby/lib/ruby/site_ruby/2.5.0 -r ./siteconf20191118-2804-185xcy4.rb extconf.rb checking for BIO_read() in -lcrypto... yes checking for SSL_CTX_new() in -lssl... yes checking for openssl/bio.h... yes creating Makefile
current directory: C:/COSMOS/Vendor/Ruby/lib/ruby/gems/2.5.0/gems/puma-3.12.1/ext/puma_http11 make "DESTDIR=" clean
current directory: C:/COSMOS/Vendor/Ruby/lib/ruby/gems/2.5.0/gems/puma-3.12.1/ext/puma_http11 make "DESTDIR=" generating puma_http11-x64-mingw32.def compiling http11_parser.c compiling io_buffer.c compiling mini_ssl.c mini_ssl.c: In function 'engine_init_client': mini_ssl.c:220:3: warning: 'DTLSv1_method' is deprecated [-Wdeprecated-declarations] 220 | conn->ctx = SSL_CTX_new(DTLSv1_method()); | ^~~~ In file included from C:/COSMOS/Vendor/Ruby/msys64/mingw64/include/openssl/e_os2.h:13, from C:/COSMOS/Vendor/Ruby/msys64/mingw64/include/openssl/bio.h:13, from mini_ssl.c:14: C:/COSMOS/Vendor/Ruby/msys64/mingw64/include/openssl/ssl.h:1895:1: note: declared here 1895 | DEPRECATEDIN_1_1_0(owur const SSL_METHOD DTLSv1_method(void)) / DTLSv1.0 */ | ^
~~~~~ compiling puma_http11.c linking shared-object puma/puma_http11.so C:/COSMOS/Vendor/Ruby/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/9.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: puma_http11.o:puma_http11.c:(.text+0x9a4): undefined reference to `memcpy_chk' collect2.exe: error: ld returned 1 exit status make: *** [Makefile:259: puma_http11.so] Error 1make failed, exit code 2
Gem files will remain installed in C:/COSMOS/Vendor/Ruby/lib/ruby/gems/2.5.0/gems/puma-3.12.1 for inspection. Results logged to C:/COSMOS/Vendor/Ruby/lib/ruby/gems/2.5.0/extensions/x64-mingw32/2.5.0/puma-3.12.1/gem_make.out ERROR: Problem installing cosmos gem INSTALL FAILED Press any key to continue . . .