"./recompile.sh" just keeps failing and here are the details:
Device: a PC Lenovo Legion Y9000P IAX10H
OS: Windows 11 25H2 26200.8875
There is no primarily known issue I encountered with CPU, GPU or memory. No crashdown or anything stuck.
I cloned apgmera in its newest version which seems to be broken (pipeline failed?), both on a Windows folder and on a Cygwin folder. After download completes, I ran compilation as according to the instructions: "./recompile.sh" and "bash recompile.sh" both tried, but there is the following error:
Code: Select all
: invalid optionne 2: set: -
set: usage: set [-abefhkmnptuvxBCEHPT] [-o option-name] [--] [-] [arg ...]
recompile.sh: line 3: $'\r': command not found
chmod: cannot access '*.sh'$'\r': No such file or directory
recompile.sh: line 5: $'\r': command not found
recompile.sh: line 7: $'true\r': command not found
recompile.sh: line 8: $'true\r': command not found
'. Stop. No rule to make target 'clean
recompile.sh: line 10: $'\r': command not found
recompile.sh: line 12: $'true\r': command not found
recompile.sh: line 13: $'\r': command not found
grep: warning: stray \ before -
grep: warning: stray \ before -
grep: warning: stray \ before -
grep: warning: stray \ before -
grep: warning: stray \ before -
grep: warning: stray \ before -
recompile.sh: line 20: $'\r': command not found
recompile.sh: line 24: syntax error near unexpected token `elif'
'ecompile.sh: line 24: `elif [ "${symmarg:0:1}" = "H" ]; then
Code: Select all
: invalid optionne 2: set: -
set: usage: set [-abefhkmnptuvxBCEHPT] [-o option-name] [--] [-] [arg ...]
recompile.sh: line 3: $'\r': command not found
chmod: cannot access '*.sh'$'\r': No such file or directory
recompile.sh: line 5: $'\r': command not found
recompile.sh: line 7: $'true\r': command not found
recompile.sh: line 8: $'true\r': command not found
'. Stop. No rule to make target 'clean
recompile.sh: line 10: $'\r': command not found
recompile.sh: line 12: $'true\r': command not found
recompile.sh: line 13: $'\r': command not found
grep: warning: stray \ before -
grep: warning: stray \ before -
grep: warning: stray \ before -
grep: warning: stray \ before -
grep: warning: stray \ before -
grep: warning: stray \ before -
recompile.sh: line 20: $'\r': command not found
recompile.sh: line 24: syntax error near unexpected token `elif'
'ecompile.sh: line 24: `elif [ "${symmarg:0:1}" = "H" ]; then
I am new to Linux and generally systems like that. I had a Windows 10 PC and used to use Cygwin for downloading and running certain code in Linux environment, but however I add certain components in Cygwin setup (already have list of plugins to install: git, make, gcc-g++, python, python 3 and a few others negligible), the errors are completely the same in text. I only read the docs from https://gitlab.com/apgoucher/apgmera and asked Gemini about a few trivial things, it said the "pipeline failed" text tells that the code collapsed or didn't match certain standards.
Question:
1. What should I do? In particular, can I still use this version downloaded in my laptop? If not, how can I use apgmera (or other applicable resources?) to contribute to the Hatsya Catalogue?
2. I searched for similar problems & solutions on the Forums and one result popped out here: https://conwaylife.com/forums/viewtopic ... 36#p173636
Would the advice to use WSL2 be useful? What else should I provide to you, or can I do or search to solve this issue?
Thank you very much for reading until here. I will close all related topics (including the one in Scripts) if this turned out to be trivial and is clearly solved.