Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

installation on ruby 3.1 #13

Open
dsisnero opened this issue Jan 11, 2022 · 0 comments
Open

installation on ruby 3.1 #13

dsisnero opened this issue Jan 11, 2022 · 0 comments

Comments

@dsisnero
Copy link

dsisnero commented Jan 11, 2022

gem_make.out
https://gist.github.com/dsisnero/f0dfdd87a64073e3a1d1a6748108455b

F:\programming\source\repos\git\asciidoctor-pdf>ruby -v
ruby 3.1.0p0 (2021-12-25 revision fb4df44d16) [x64-mingw-ucrt]

F:\programming\source\repos\git\asciidoctor-pdf>gem install numo-gsl
`
Temporarily enhancing PATH for MSYS/MINGW...
Building native extensions. This could take a while...
ERROR: Error installing numo-gsl:
ERROR: Failed to build gem native extension.

current directory: F:/windows/tools/ruby/Ruby31-x64/lib/ruby/gems/3.1.0/gems/numo-gsl-0.1.2/ext/numo/gsl/cdf

F:/windows/tools/ruby/Ruby31-x64/bin/ruby.exe -I F:/windows/tools/ruby/Ruby31-x64/lib/ruby/3.1.0 -r ./siteconf20220111-61612-q22xzx.rb extconf.rb
which: no gsl-config in (/f/windows/tools/ruby/Ruby31-x64/bin:/ucrt64/bin:/usr/bin:/U1:/f/windows/tools/ruby/Ruby31-x64/bin:/U2:/f/windows/scoop/apps/miniconda3/current/condabin:/c/Program Files (x86)/Microsoft SDKs/Azure/CLI2/wbin:/c/Python27:/c/Python27/Scripts:/c/app/client/dsisnero/product/12.2.0/client_1/bin:/c/oracle/product/12.2.0/client_1/bin:/c/Ruby26-x64/bin:/c/Program Files (x86)/Common Files/Oracle/Java/javapath:/c/WINDOWS/system32:/c/WINDOWS:/c/WINDOWS/System32/Wbem:/c/WINDOWS/System32/WindowsPowerShell/v1.0:/c/Program Files (x86)/HID Global/ActivClient:/c/Program Files/HID Global/ActivClient:/c/Program Files/Tumbleweed/Desktop Validator:/c/Program Files/Tumbleweed/Desktop Validator/x86:/c/Program Files/dotnet:/c/Program Files/Microsoft SQL Server/130/Tools/Binn:/c/Program Files/Microsoft SQL Server/Client SDK/ODBC/170/Tools/Binn:/e/windows/chocoportable/bin:/c/Program Files (x86)/ivi foundation/visa/WinNT/Bin:/c/Program Files/IVI Foundation/VISA/Win64/Bin:/c/Program Files (x86)/IVI Foundation/VISA/WinNT/Bin:/c/Program Files (x86)/Pulse Secure/VC142.CRT/X64:/c/Program Files (x86)/Pulse Secure/VC142.CRT/X86:/c/Program Files (x86)/Common Files/Pulse Secure/VC142.CRT/X64:/c/Program Files (x86)/Common Files/Pulse Secure/VC142.CRT/X86:/c/Program Files (x86)/dotnet:/f/windows/scoop/apps/yarn/current/global/node_modules/.bin:/f/windows/scoop/apps/yarn/current/bin:/f/windows/scoop/apps/nodejs/current/bin:/f/windows/scoop/apps/nodejs/current:/f/windows/scoop/apps/elixir/current/bin:/c/Users/Dominic E Sisneros/go/bin:/f/windows/scoop/apps/python/current/Scripts:/f/windows/scoop/apps/python/current:/f/windows/scoop/apps/nu/current/Plugins:/f/windows/scoop/apps/yarn/current/Yarn/bin:/f/windows/scoop/apps/miniconda3/current/scripts:/f/windows/scoop/apps/miniconda3/current/Library/bin:/f/windows/scoop/apps/python27/current/scripts:/f/windows/tools/ruby/Ruby30-x64/bin:/f/windows/scoop/apps/android-sdk/current/tools/bin:/f/windows/scoop/shims:/c/Users/Dominic E Sisneros/AppData/Local/Microsoft/WindowsApps:/c/Users/Dominic E Sisneros/AppData/Local/Programs/Microsoft VS Code/bin:/c/Users/Dominic E Sisneros/AppData/Local/GitHubDesktop/bin:/f/windows/tools/bolt/bin:/f/windows/tools/puppet_labs/pdk/bin:/f/windows/tools/bin:/f/windows/tools/GnuWin32/bin:/f/windows/tools/rust/.cargo/bin:/f/windows/tools/java/jdk-11.0.2/bin:/f/windows/tools/dgraph:/c/Program Files (x86)/Windows Kits/10/bin/10.0.17763.0/x64:/c/Users/Dominic E Sisneros/.virtualenvs/bin:/c/Users/Dominic E Sisneros/bin:/c/Program Files/MySQL/MySQL Server 8.0/bin:/f/windows/scoop/apps/msys2/current/mingw64/bin:/c/Users/Dominic E Sisneros/AppData/Local/Microsoft/WindowsApps:/c/Users/Dominic E Sisneros/.dotnet/tools:/c/Users/Dominic E Sisneros/AppData/Local/Programs/Git/cmd:/f/windows/tools/vscode/bin)
sh: line 1: --libs: command not found
which: no gsl-config in (/f/windows/tools/ruby/Ruby31-x64/bin:/ucrt64/bin:/usr/bin:/U1:/f/windows/tools/ruby/Ruby31-x64/bin:/U2:/f/windows/scoop/apps/miniconda3/current/condabin:/c/Program Files (x86)/Microsoft SDKs/Azure/CLI2/wbin:/c/Python27:/c/Python27/Scripts:/c/app/client/dsisnero/product/12.2.0/client_1/bin:/c/oracle/product/12.2.0/client_1/bin:/c/Ruby26-x64/bin:/c/Program Files (x86)/Common Files/Oracle/Java/javapath:/c/WINDOWS/system32:/c/WINDOWS:/c/WINDOWS/System32/Wbem:/c/WINDOWS/System32/WindowsPowerShell/v1.0:/c/Program Files (x86)/HID Global/ActivClient:/c/Program Files/HID Global/ActivClient:/c/Program Files/Tumbleweed/Desktop Validator:/c/Program Files/Tumbleweed/Desktop Validator/x86:/c/Program Files/dotnet:/c/Program Files/Microsoft SQL Server/130/Tools/Binn:/c/Program Files/Microsoft SQL Server/Client SDK/ODBC/170/Tools/Binn:/e/windows/chocoportable/bin:/c/Program Files (x86)/ivi foundation/visa/WinNT/Bin:/c/Program Files/IVI Foundation/VISA/Win64/Bin:/c/Program Files (x86)/IVI Foundation/VISA/WinNT/Bin:/c/Program Files (x86)/Pulse Secure/VC142.CRT/X64:/c/Program Files (x86)/Pulse Secure/VC142.CRT/X86:/c/Program Files (x86)/Common Files/Pulse Secure/VC142.CRT/X64:/c/Program Files (x86)/Common Files/Pulse Secure/VC142.CRT/X86:/c/Program Files (x86)/dotnet:/f/windows/scoop/apps/yarn/current/global/node_modules/.bin:/f/windows/scoop/apps/yarn/current/bin:/f/windows/scoop/apps/nodejs/current/bin:/f/windows/scoop/apps/nodejs/current:/f/windows/scoop/apps/elixir/current/bin:/c/Users/Dominic E Sisneros/go/bin:/f/windows/scoop/apps/python/current/Scripts:/f/windows/scoop/apps/python/current:/f/windows/scoop/apps/nu/current/Plugins:/f/windows/scoop/apps/yarn/current/Yarn/bin:/f/windows/scoop/apps/miniconda3/current/scripts:/f/windows/scoop/apps/miniconda3/current/Library/bin:/f/windows/scoop/apps/python27/current/scripts:/f/windows/tools/ruby/Ruby30-x64/bin:/f/windows/scoop/apps/android-sdk/current/tools/bin:/f/windows/scoop/shims:/c/Users/Dominic E Sisneros/AppData/Local/Microsoft/WindowsApps:/c/Users/Dominic E Sisneros/AppData/Local/Programs/Microsoft VS Code/bin:/c/Users/Dominic E Sisneros/AppData/Local/GitHubDesktop/bin:/f/windows/tools/bolt/bin:/f/windows/tools/puppet_labs/pdk/bin:/f/windows/tools/bin:/f/windows/tools/GnuWin32/bin:/f/windows/tools/rust/.cargo/bin:/f/windows/tools/java/jdk-11.0.2/bin:/f/windows/tools/dgraph:/c/Program Files (x86)/Windows Kits/10/bin/10.0.17763.0/x64:/c/Users/Dominic E Sisneros/.virtualenvs/bin:/c/Users/Dominic E Sisneros/bin:/c/Program Files/MySQL/MySQL Server 8.0/bin:/f/windows/scoop/apps/msys2/current/mingw64/bin:/c/Users/Dominic E Sisneros/AppData/Local/Microsoft/WindowsApps:/c/Users/Dominic E Sisneros/.dotnet/tools:/c/Users/Dominic E Sisneros/AppData/Local/Programs/Git/cmd:/f/windows/tools/vscode/bin)
sh: line 1: --cflags: command not found
checking for gsl-config... yes
checking for numo/narray.h... yes
checking for nary_new() in -lnarray... yes
creating Makefile

current directory: F:/windows/tools/ruby/Ruby31-x64/lib/ruby/gems/3.1.0/gems/numo-gsl-0.1.2/ext/numo/gsl/cdf
make DESTDIR= clean

current directory: F:/windows/tools/ruby/Ruby31-x64/lib/ruby/gems/3.1.0/gems/numo-gsl-0.1.2/ext/numo/gsl/cdf
make DESTDIR=
generating cdf-x64-mingw-ucrt.def
ruby erbpp_cdf.rb > gsl_cdf.c
which: no gsl-config in (/f/windows/tools/ruby/Ruby31-x64/bin:/ucrt64/bin:/usr/bin:/U1:/f/windows/tools/ruby/Ruby31-x64/bin:/U2:/f/windows/scoop/apps/miniconda3/current/condabin:/c/Program Files (x86)/Microsoft SDKs/Azure/CLI2/wbin:/c/Python27:/c/Python27/Scripts:/c/app/client/dsisnero/product/12.2.0/client_1/bin:/c/oracle/product/12.2.0/client_1/bin:/c/Ruby26-x64/bin:/c/Program Files (x86)/Common Files/Oracle/Java/javapath:/c/WINDOWS/system32:/c/WINDOWS:/c/WINDOWS/System32/Wbem:/c/WINDOWS/System32/WindowsPowerShell/v1.0:/c/Program Files (x86)/HID Global/ActivClient:/c/Program Files/HID Global/ActivClient:/c/Program Files/Tumbleweed/Desktop Validator:/c/Program Files/Tumbleweed/Desktop Validator/x86:/c/Program Files/dotnet:/c/Program Files/Microsoft SQL Server/130/Tools/Binn:/c/Program Files/Microsoft SQL Server/Client SDK/ODBC/170/Tools/Binn:/e/windows/chocoportable/bin:/c/Program Files (x86)/ivi foundation/visa/WinNT/Bin:/c/Program Files/IVI Foundation/VISA/Win64/Bin:/c/Program Files (x86)/IVI Foundation/VISA/WinNT/Bin:/c/Program Files (x86)/Pulse Secure/VC142.CRT/X64:/c/Program Files (x86)/Pulse Secure/VC142.CRT/X86:/c/Program Files (x86)/Common Files/Pulse Secure/VC142.CRT/X64:/c/Program Files (x86)/Common Files/Pulse Secure/VC142.CRT/X86:/c/Program Files (x86)/dotnet:/f/windows/scoop/persist/yarn/global/node_modules/.bin:/f/windows/scoop/apps/yarn/current/bin:/f/windows/scoop/apps/nodejs/current/bin:/f/windows/scoop/apps/nodejs/current:/f/windows/scoop/apps/elixir/current/bin:/c/Users/Dominic E Sisneros/go/bin:/f/windows/scoop/apps/python/current/Scripts:/f/windows/scoop/apps/python/current:/f/windows/scoop/apps/nu/0.42.0/Plugins:/f/windows/scoop/apps/yarn/1.22.17/Yarn/bin:/f/windows/scoop/apps/miniconda3/current/scripts:/f/windows/scoop/apps/miniconda3/current/Library/bin:/f/windows/scoop/apps/python27/current/scripts:/f/windows/tools/ruby/Ruby30-x64/bin:/f/windows/scoop/apps/android-sdk/current/tools/bin:/f/windows/scoop/shims:/c/Users/Dominic E Sisneros/AppData/Local/Microsoft/WindowsApps:/c/Users/Dominic E Sisneros/AppData/Local/Programs/Microsoft VS Code/bin:/c/Users/Dominic E Sisneros/AppData/Local/GitHubDesktop/bin:/f/windows/tools/bolt/bin:/f/windows/tools/puppet_labs/pdk/bin:/f/windows/tools/bin:/f/windows/tools/GnuWin32/bin:/f/windows/tools/rust/.cargo/bin:/f/windows/tools/java/jdk-11.0.2/bin:/f/windows/tools/dgraph:/c/Program Files (x86)/Windows Kits/10/bin/10.0.17763.0/x64:/c/Users/Dominic E Sisneros/.virtualenvs/bin:/c/Users/Dominic E Sisneros/bin:/c/Program Files/MySQL/MySQL Server 8.0/bin:/f/windows/scoop/apps/msys2/current/mingw64/bin:/c/Users/Dominic E Sisneros/AppData/Local/Microsoft/WindowsApps:/c/Users/Dominic E Sisneros/.dotnet/tools:/c/Users/Dominic E Sisneros/AppData/Local/Programs/Git/cmd:/f/windows/tools/vscode/bin)
sh: line 1: --version: command not found
compiling gsl_cdf.c
../gen/tmpl/lib.c:15:10: fatal error: gsl/gsl_cdf.h: No such file or directory
15 | #include <<%=f%>>
| ^~~~~~~~
compilation terminated.
make: *** [Makefile:246: gsl_cdf.o] Error 1

make failed, exit code 2

Gem files will remain installed in F:/windows/tools/ruby/Ruby31-x64/lib/ruby/gems/3.1.0/gems/numo-gsl-0.1.2 for inspection.
Results logged to F:/windows/tools/ruby/Ruby31-x64/lib/ruby/gems/3.1.0/extensions/x64-mingw-ucrt/3.1.0/numo-gsl-0.1.2/gem_make.out
`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant