EGSnrc
EGSnrc copied to clipboard
Virtual BoX Error
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'
Can you post the full installation log, found in HEN_HOUSE/log?
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
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?
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.
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"
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.