Installation problem on macOS Big Sur

225 views
Skip to first unread message

Léo Thieblemont

unread,
Mar 25, 2021, 9:23:54 AM3/25/21
to basilisk-fr
Good Afternoon everyone, 

I had a problem with Basilisk so I have to re-install it but I encounter a lot of problems. I use a Mac with Macports and I encounter this situation everytime I do the "make -k" : 

(base) leothieblemont@macbook-pro-de-leo src % make -k

/Users/leothieblemont/Desktop/M1/Programmes/basilisk_0/src/Makefile.defs:8: Makefile.tests: No such file or directory

/Users/leothieblemont/Desktop/M1/Programmes/basilisk_0/src/Makefile.defs:203: Makefile.deps: No such file or directory

sh /Users/leothieblemont/Desktop/M1/Programmes/basilisk_0/src/tests.sh

updating Makefile.tests

/Users/leothieblemont/Desktop/M1/Programmes/basilisk_0/src/tests.sh: line 83: Makefile.tests: Permission denied

updating Makefile.deps

/bin/sh: Makefile.deps: Permission denied

make: *** [Makefile.deps] Error 1

make: Failed to remake makefile `Makefile.deps'.

cd kdt && make

make[1]: Nothing to be done for `all'.

cd darcsit && make && cd cgi-bin && make

make[1]: Nothing to be done for `all'.

chmod 755 darcsit

cd gl && make libfb_dumb.a libglutils.a

make[1]: `libfb_dumb.a' is up to date.

make[1]: `libglutils.a' is up to date.

cd wsServer && make

make[1]: Nothing to be done for `all'.

qcc -autolink -O2 -g -Wall -pipe -DDUMBGL -o bview/bview bview.c -lm

/bin/sh: bview.log~: Permission denied

mkdir: bview: Permission denied

make: *** [bview.s] Error 1

make: Target `all' not remade because of errors.


Knowing that I am under zsh and that I put in my ~/.zshrc file the lines :

export BASILISK=/Users/leothieblemont/M1/Programmes/basilisk/src

export PATH=$PATH:/Users/leothieblemont/M1/Programmes/basilisk/src

export PATH=$PATH:$BASILISK


Can someone help me please ? 


Léo Thieblemont

unread,
Mar 25, 2021, 9:25:38 AM3/25/21
to basilisk-fr
Just to add something, even the "sudo make -k" gives me back this : 

(base) leothieblemont@macbook-pro-de-leo src % sudo make -k

Password:

Makefile:108: /Makefile.defs: No such file or directory

make: *** No rule to make target `/Makefile.defs'.

make: Failed to remake makefile `/Makefile.defs'.

cd kdt && make

make[1]: Nothing to be done for `all'.

cd darcsit && make && cd cgi-bin && make

make[1]: Nothing to be done for `all'.

chmod 755 darcsit

cd gl && make libfb_dumb.a libglutils.a

make[1]: `libfb_dumb.a' is up to date.

make[1]: `libglutils.a' is up to date.

cd wsServer && make

make[1]: Nothing to be done for `all'.

make: *** No rule to make target `bview.s', needed by `bview2D'.

make: Target `all' not remade because of errors.


Stephane Zaleski

unread,
Mar 25, 2021, 9:48:48 AM3/25/21
to basilisk-fr, Léo Thieblemont
Dear Leo

  The fact that you get 

make: *** No rule to make target `/Makefile.defs'.

  and in particular the "/" in the file name is suspicious. You would get that if you had "/" as prefix to the filename. Check your environment variables again. 

  Also avoid using "sudo", it is dangerous in this context. 

  Best

Stéphane

-- 
You received this message because you are subscribed to the Google Groups "basilisk-fr" group.
To unsubscribe from this group and stop receiving emails from it, send an email to basilisk-fr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/basilisk-fr/366a9f9e-3f7a-4b30-a820-c0a7c413cca0n%40googlegroups.com.



Stéphane

Stephane Popinet

unread,
Mar 25, 2021, 9:53:22 AM3/25/21
to basil...@googlegroups.com
>   and in particular the "/" in the file name is suspicious. You would
> get that if you had "/" as prefix to the filename. Check your
> environment variables again.

To check that your environment variables are set properly, do:

echo $BASILISK
echo $PATH

which returns on my system:

/home/popinet/basilisk/src
/usr/bin:/bin:/home/popinet/basilisk/src

and/or

which qcc

which returns

/home/popinet/basilisk/src/qcc

Léo Thieblemont

unread,
Mar 25, 2021, 9:58:44 AM3/25/21
to basilisk-fr
Dear all, 

By doing those verifications, I obtain :

(base) leothieblemont@macbook-pro-de-leo src % echo $BASILISK

/Users/leothieblemont/Desktop/M1/Programmes/basilisk_0/src

(base) leothieblemont@macbook-pro-de-leo src % echo $PATH

/Users/leothieblemont/opt/anaconda3/bin:/Users/leothieblemont/opt/anaconda3/condabin:/opt/local/bin:/opt/local/sbin:/anaconda3/bin:/Users/leothieblemont/bin:/Users/leothieblemont/scripts:/opt/local/bin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Apple/usr/bin:/Users/leothieblemont/basilisk/src:/Users/leothieblemont/Desktop/M1/Programmes/basilisk_0/src

(base) leothieblemont@macbook-pro-de-leo src % which qcc

/Users/leothieblemont/Desktop/M1/Programmes/basilisk_0/src/qcc



Reply all
Reply to author
Forward
0 new messages