EGSnrc icon indicating copy to clipboard operation
EGSnrc copied to clipboard

Virtual BoX Error

Open finjoetri opened this issue 4 years ago • 6 comments

I tried it to install on virtual box linux and I am getting this error

cd ~/EGSnrc/HEN_HOUSE/egs++/view/ && make --quiet --print-directory make: Entering directory '/home/username/EGSnrc/HEN_HOUSE/egs++/view' gmake[1]: Entering directory

'/home/username/EGSnrc/HEN_HOUSE/egs++/view' /usr/bin/ld: cannot find -legspp collect2: error: ld returned 1 exit status gmake[1]: *** [Makefile_linux:183: ../../bin/linux/egs_view] Error 1 gmake[1]: Leaving directory '/home/username/EGSnrc/HEN_HOUSE/egs++/view' make: *** [Makefile:34: all] Error 2 make: Leaving directory '/home/username/EGSnrc/HEN_HOUSE/egs++/view'

finjoetri avatar Feb 17 '21 04:02 finjoetri

Can you post the full installation log, found in HEN_HOUSE/log?

rtownson avatar Feb 17 '21 18:02 rtownson

hi, There is no log files found in HEN_HOUSE/log. I tried rerunning cd ~/EGSnrc/HEN_HOUSE/egs++/view/ && make --quiet --print-directory but still it is not generating any logs

finjoetri avatar Feb 18 '21 02:02 finjoetri

If there's nothing in the log directory, then it seems like you haven't run the EGSnrc installer yet. Have you followed all of the installation instructions?

rtownson avatar Feb 18 '21 14:02 rtownson

Hi, I was following the installation steps on https://github.com/nrc-cnrc/EGSnrc/wiki/install-EGSnrc-on-VirtualBox.

I ran this line ./HEN_HOUSE/scripts/configure.expect linux.conf 1 which I assume is an installation command.

finjoetri avatar Feb 18 '21 17:02 finjoetri

If I run ./HEN_HOUSE/scripts/configure, I am getting error as " Creating egs_config1.h ... OK Creating egs_c_utils.h and egs_c_utils.c ... OK Compiling egs_c_utils.c ... OK Creating load_beamlib.o ... OK Creating load_vculib.o ... OK Creating read_write_pardose ... OK Creating dosxyznrc_linux.spec ... OK Library needed for dlopen ... -ldl Creating config file linux.conf ... OK Creating machine.macros ... OK Creating machine.f ... OK Creating machine.mortran ... OK Compiling mortran3 ... OK Compiling pegs4 ... Failed See configure.log for the output of make"

finjoetri avatar Feb 18 '21 17:02 finjoetri

Might be related to https://github.com/nrc-cnrc/EGSnrc/pull/648, if your VM has gcc>=10 but you should have a configure.log (or config.log?) somewhere that will tell you the exact problem.

joeydumont avatar Feb 18 '21 17:02 joeydumont