<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"><base href="x-msg://179/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Kyle,<div><br></div><div><br></div><div>What is not at all clear in the documentation (and even in the tarball) is that we have effectively moved away from using autoconf / configure to the use of cmake. Sorry about this!</div><div><br></div><div>The easiest way to compile from source if you insist (we do have a set of proper 64bit deb packages these days) is probably by using installing cmake, i.e.</div><div><br></div><div>tar xzf mcstas-2.0-src-unix.tar.gz</div><div>cd mcstas-2.0-src-unix</div><div><br></div><div>Core package:</div><div>tar xzf mcstas-2.0-src.tar.gz</div><div>cd mcstas-2.0-src</div><div>mkdir build && cd build</div><div>cmake ..</div><div>make</div><div>make install</div><div><br></div><div>Do the same for the -components, and the selection of -tool- packages you want.</div><div><br></div><div><br></div><div>Hope this helps,</div><div><br></div><div>Peter</div><div><br></div><div><br></div><div><br><div><div>On Mar 1, 2013, at 20:53 , "Grammer, Kyle Brandon" <<a href="mailto:kgrammer@utk.edu">kgrammer@utk.edu</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div ocsi="0" fpstyle="1" style="font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="direction: ltr; font-family: Tahoma; 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...<span class="Apple-converted-space"> </span><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><a href="mailto:MCCODE_BUGREPORT=mcstas-support@mcstas.org">MCCODE_BUGREPORT=mcstas-support@mcstas.org</a><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:<span class="Apple-converted-space"> </span><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>_______________________________________________<br>mcstas-users mailing list<br><a href="mailto:mcstas-users@mcstas.org">mcstas-users@mcstas.org</a><br><a href="http://mailman.mcstas.org/cgi-bin/mailman/listinfo/mcstas-users">http://mailman.mcstas.org/cgi-bin/mailman/listinfo/mcstas-users</a><br></div></blockquote></div><br></div></body></html>