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

How can I resolve 'make failed, exit code 2' error? #83

Open
70RAN opened this issue Jun 5, 2023 · 9 comments
Open

How can I resolve 'make failed, exit code 2' error? #83

70RAN opened this issue Jun 5, 2023 · 9 comments

Comments

@70RAN
Copy link

70RAN commented Jun 5, 2023

I cannot install gem - posted details at:
https://stackoverflow.com/questions/76395150/failed-to-install-rubygem-trilogy-how-can-i-resolve-make-failed-exit-code-2

Thx in advance!

@mgaditya-er
Copy link

@70RAN
Copy link
Author

70RAN commented Jun 6, 2023

C:\Ruby30-x64\msys64\mingw64\bin>gcc --version
gcc (Rev5, Built by MSYS2 project) 10.3.0

C:\Ruby30-x64\msys64\mingw64\bin>ruby dk.rb init
ruby: No such file or directory -- dk.rb (LoadError)

What else can I try?

2 similar comments
@70RAN
Copy link
Author

70RAN commented Jun 6, 2023

C:\Ruby30-x64\msys64\mingw64\bin>gcc --version
gcc (Rev5, Built by MSYS2 project) 10.3.0

C:\Ruby30-x64\msys64\mingw64\bin>ruby dk.rb init
ruby: No such file or directory -- dk.rb (LoadError)

What else can I try?

@70RAN
Copy link
Author

70RAN commented Jun 6, 2023

C:\Ruby30-x64\msys64\mingw64\bin>gcc --version
gcc (Rev5, Built by MSYS2 project) 10.3.0

C:\Ruby30-x64\msys64\mingw64\bin>ruby dk.rb init
ruby: No such file or directory -- dk.rb (LoadError)

What else can I try?

@70RAN 70RAN closed this as completed Jun 6, 2023
@70RAN
Copy link
Author

70RAN commented Jun 6, 2023

Mistakenly I clicked "close issue" while infact i am still clueless what to try to enable this gem installation.
Thx!

@70RAN 70RAN reopened this Jun 6, 2023
@70RAN
Copy link
Author

70RAN commented Jun 19, 2023

Due to above stackoverflow link dead, here are compilation errors (I have OpenSSL 3.1 for Windows & Ruby 3.0.2):
checking for CRYPTO_malloc() in -lcrypto... no
checking for SSL_new() in -lssl... no
trilogy.c:2:10: fatal error: poll.h: No such file or directory
2 | #include <poll.h>

Pls Help!

@dbussink
Copy link
Contributor

dbussink commented Jul 7, 2023

Trilogy currently doesn't support Windows. It uses the poll function which is not available on Windows.

@70RAN
Copy link
Author

70RAN commented Aug 14, 2023

Is there a workaround for Windows?
Need it in conjuction with async gem, msql2 won't behave properly :(

@dbussink
Copy link
Contributor

Is there a workaround for Windows?

There is no workaround. Windows support would need to be explicitly added and verified to be working.

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

3 participants