JCluzet / GrademeBash

Automatic testing for all 42, C and CPP projects. Makefile relink, Header wrong name, Coplien Form and so much more.
296 stars 11 forks source link

infinite installation #33

Open ter0kan opened 1 year ago

ter0kan commented 1 year ago

Capture d’écran du 2023-07-24 22-31-07 hi, i juste tryed to install grademe, but it's been 15 min that i'm looping on "installing 42-EXAM folderr"

how do i fix this issue ?

thanks for reading !

ter0kan commented 1 year ago

not install, run the bash command with the link included.

JCluzet commented 1 year ago

Hey, I saw a similar error yesterday, the person had simply moved the folder to the bin can so the program had no write permission. Can you check that you have the right to do simple commands where you did the bash -c command? If you did it at the root of your computer it's normal for example. The best is to do it in ~/Documents or on the ~/Desktop.

ter0kan commented 1 year ago

i've been running the command in /Documents, same issue ocured. i'm on linux ubuntu !

JCluzet commented 1 year ago

when qui left grademe, and go on /Documents, can you type « git » or « ls » ?

ter0kan commented 1 year ago

alright ! i sudo git,(wich seams to be the solution to the orginal problem)but now i have a new issue .

when i try to automakefile i have this message

cc -Wall -Wextra -Werror  -c .subjects/PISCINE_PART/exam_03/1/wdmatch/wdmatch.c -o .subjects/PISCINE_PART/exam_03/1/wdmatch/wdmatch.o
cc -Wall -Wextra -Werror  -c .subjects/PISCINE_PART/exam_03/1/wdmatch/main.c -o .subjects/PISCINE_PART/exam_03/1/wdmatch/main.o
cc -Wall -Wextra -Werror  -c .subjects/PISCINE_PART/exam_03/1/ft_strcmp/main.c -o .subjects/PISCINE_PART/exam_03/1/ft_strcmp/main.o
cc -Wall -Wextra -Werror  -c .subjects/PISCINE_PART/exam_03/1/ft_strcmp/ft_strcmp.c -o .subjects/PISCINE_PART/exam_03/1/ft_strcmp/ft_strcmp.o
cc -Wall -Wextra -Werror  -c .subjects/PISCINE_PART/exam_03/1/alpha_mirror/alpha_mirror.c -o .subjects/PISCINE_PART/exam_03/1/alpha_mirror/alpha_mirror.o
cc -Wall -Wextra -Werror  -c .subjects/PISCINE_PART/exam_03/1/ft_strrev/ft_strrev.c -o .subjects/PISCINE_PART/exam_03/1/ft_strrev/ft_strrev.o
cc -Wall -Wextra -Werror  -c .subjects/PISCINE_PART/exam_03/1/ft_strrev/main.c -o .subjects/PISCINE_PART/exam_03/1/ft_strrev/main.o
.subjects/PISCINE_PART/exam_03/1/ft_strrev/main.c: In function ‘main’:
.subjects/PISCINE_PART/exam_03/1/ft_strrev/main.c:5:18: error: unused parameter ‘ac’ [-Werror=unused-parameter]
    5 | int     main(int ac, char **argv)
      |              ~~~~^~
cc1: all warnings being treated as errors
make: *** [Makefile:282 : .subjects/PISCINE_PART/exam_03/1/ft_strrev/main.o] Erreur 1

i can't try to edit the argc because the file isn't installed !

B18a commented 6 months ago

The following commands helped me to get rid of the infinitve loop and get it running on a brandnew vm linux/ubuntu:

sudo apt install curl
sudo apt install libreadline-dev
sudo apt install g++
sudo apt install git
sudo apt install clang

thank me later ....