<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hi All,<br>
<br>
I have downloaded the mcstas-2.0-src-unix.tar.gz file and tried to compile mcstas 2.0 from source on 64 bit ubuntu. Previously, I was able to compile version 1.12c from source using the 64 bit intel linux source tar without any issues.<br>
<br>
When I extract the unix source tar and try to run ./configure, I get the following:<br>
<br>
checking for gcc... gcc<br>
checking whether the C compiler works... yes<br>
checking for C compiler default output file name... a.out<br>
checking for suffix of executables... <br>
checking whether we are cross compiling... no<br>
checking for suffix of object files... o<br>
checking whether we are using the GNU C compiler... yes<br>
checking whether gcc accepts -g... yes<br>
checking for gcc option to accept ISO C89... none needed<br>
Configurating McCode with McStas flavour<br>
MCCODE_DATE =Mar. 01, 2013<br>
MCCODE_TARNAME =mcstas<br>
MCCODE_NAME =McStas<br>
MCCODE_VERSION =Mar-01-2013<br>
MCCODE_STRING =McStas Mar-01-2013 - Mar. 01, 2013<br>
MCCODE_BUGREPORT=mcstas-support@mcstas.org<br>
MCCODE_PARTICULE=neutron<br>
MCCODE_PROJECT =1<br>
MCCODE_LIBENV =MCSTAS<br>
MCCODE_PREFIX =mc<br>
configure: error: cannot find install-sh, install.sh, or shtool in "." "./.." "./../.."<br>
<br>
It seems that it is missing an install script that it requires. Also, there is no install-docs folder full of documentation. There are several other tar files in mcstas-2.0-src-unix.tar.gz, as well, but I cannot find any instructions for where to unzip/untar
them.<br>
<br>
Perhaps this is the absolutely wrong tar for me to be using and an intel linux tar simply does not exist? Would I be better served downloading the bleeding edge version from SVN?<br>
<br>
I was able to install mcstas 2.0 from the experimental deb mirror with:<br>
sudo apt-get install mcstas-suite<br>
<br>
However, I want to be able to modify and add my own components to the system and mcstas 2.0 does not seem to find new component files that I have added. For isntance, I have a component called "Guide_circular.comp" that I placed in the optics/ directory for
mcstas 2.0, and mcstas found it and included it in the menu of possible components to add. However, the guide that takes dimensions and other parameters in the gui for Guide_circular.comp does not exist. When I try to compile an existing instrument that uses
Guide_circular, I get an error of "Guide_circular is similar to Guide_circular.comp - perhaps there is a spelling error". All of this works correctly with mcstas 1.12c, where I only had to place the .comp in the correct place and I believe re-compiling mcstas
would generate an html file for defining parameters in the gui.<br>
<br>
So, I suppose my question is two-fold: <br>
How can I properly install/compile from source mcstas-2.0 in linux?<br>
How can I properly incorporate my own components to mcstas-2.0?<br>
<br>
Thanks,<br>
Kyle Grammer<br>
</div>
</body>
</html>