42_GradeMe icon indicating copy to clipboard operation
42_GradeMe copied to clipboard

infinite installation

Open ter0kan opened this issue 1 year ago • 6 comments

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 avatar Jul 24 '23 20:07 ter0kan

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

ter0kan avatar Jul 24 '23 21:07 ter0kan

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.

JCluzet avatar Jul 24 '23 21:07 JCluzet

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

ter0kan avatar Jul 25 '23 18:07 ter0kan

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

JCluzet avatar Jul 25 '23 19:07 JCluzet

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 !

ter0kan avatar Jul 25 '23 20:07 ter0kan

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 ....

B18a avatar Feb 23 '24 17:02 B18a