Problem with installation on Mac OSX

293 views
Skip to first unread message

akshay shekhawat

unread,
Jan 23, 2017, 5:23:39 AM1/23/17
to basilisk-fr
I am trying to install Basilisk on Mac OSX. I have followed all steps given in installation instruction. I have installed darcs and got  Basilisk source code. Copied config.osx on config. make command is showing following error:

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

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


Is there some problem with config.osx file?

I ran install procedure given for linux on osx. basilisk seem to have installed somehow('qcc --version' is not giving error) but it doesnt seem to work as desired. compiler cant seem to find libraries with such installation.

Stephane Popinet

unread,
Jan 23, 2017, 6:24:48 AM1/23/17
to basil...@googlegroups.com
You need to make sure that the BASILISK environment variable is set to
the correct directory, for example:

% echo $BASILISK
/home/popinet/basilisk/src

To set this variable automatically, you need to modify your .bashrc (or
equivalent on Mac). See the end of this paragraph:

http://basilisk.fr/src/INSTALL#compilation

Stephane

akshay shekhawat

unread,
Feb 2, 2017, 2:13:42 AM2/2/17
to basilisk-fr, pop...@basilisk.fr
I am still confused. Install procedure for Linux is supposed to work on OSX?
I have modified .bashrc file in home dir. 

akshay shekhawat

unread,
Feb 2, 2017, 2:52:46 AM2/2/17
to basilisk-fr
Let me reiterate it. This is what I did and output I got-

Akshays-MacBook-Air:~ akshayshekhawat$ cd basilisk/src                   

Akshays-MacBook-Air:src akshayshekhawat$ cp config.osx config

Akshays-MacBook-Air:src akshayshekhawat$ make

/Users/akshayshekhawat/basilisk/src/Makefile.defs:8: Makefile.tests: No such file or directory

/Users/akshayshekhawat/basilisk/src/Makefile.defs:143: Makefile.deps: No such file or directory

sh /Users/akshayshekhawat/basilisk/src/tests.sh

updating Makefile.tests

updating Makefile.deps

make: *** No rule to make target `discharge.h.tags.d', needed by `Makefile.deps'.  Stop.

Akshays-MacBook-Air:src akshayshekhawat$ cd ~/basilisk/src

Akshays-MacBook-Air:src akshayshekhawat$ echo "export BASILISK=$PWD" >> ~/.bash_profile

Akshays-MacBook-Air:src akshayshekhawat$ echo "export PATH=$PATH:$PWD" >> ~/.bash_profile

Akshays-MacBook-Air:src akshayshekhawat$ qcc --version

-bash: /Users/akshayshekhawat/basilisk/src/qcc: No such file or directory

Stephane Popinet

unread,
Feb 2, 2017, 7:34:50 AM2/2/17
to basil...@googlegroups.com
How did you get the source code? with darcs or using the tarball?

Stephane

Stephane Popinet

unread,
Feb 3, 2017, 7:49:53 AM2/3/17
to basilisk-fr
I just re-did it following the instructions here:

http://basilisk.fr/src/INSTALL#compilation

and it works fine. Note that you need to first do

% make -k

the first time you compile and ignore error messages looking like:

make: *** No rule to make target 'discharge.h.tags.d', needed by
'Makefile.deps'.

This is only required once. Later compilations can just use

% make

cheers

Stephane
Reply all
Reply to author
Forward
0 new messages