<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Hello,</div><div><br></div><div>I have recently installed McStas release 2.0 using your sources from subversion.</div><div>After installation some directories and binary files have a <font face="Monaco">-2.9999-svn</font> suffix but are relying on</div><div>system calls to e.g. mcstas without suffix.</div><div>I tried to patch this myself using sed because I did not figure out how to configure a build without the suffix</div><div>mentioned above. At the moment I resolved this issue using symlinks to the suffixed binaries.</div><div><br></div><div>How to disable -2.99-svn suffix? I would like to get rid off these symlinks.</div><div><br></div><div>See build instructions on bash below:</div><div><br></div><div><div><font face="Monaco"> for my_dir in mcstas mcstas-comps tools/Legacy-Perl tools/Python/mcplot/matplotlib ;\</font></div><div><font face="Monaco"> do \</font></div><div><font face="Monaco"> rm -rf ${my_dir}/build ;\</font></div><div><font face="Monaco"> mkdir -p ${my_dir}/build &&\</font></div><div><font face="Monaco"> cd ${my_dir}/build ;\</font></div><div><font face="Monaco"> ${my_PREFIX}/bin/cmake -DCMAKE_INSTALL_PREFIX:PATH=${my_PREFIX} \</font></div><div><font face="Monaco"> -Denable_mcstas=1 .. ;\</font></div><div><font face="Monaco"> cd - ;\</font></div><div><font face="Monaco"> done</font></div><div><br></div><div><font face="Monaco"> for my_dir in mcstas mcstas-comps tools/Legacy-Perl tools/Python/mcplot/matplotlib ;\</font></div><div><font face="Monaco"> do \</font></div><div><font face="Monaco"> cd ${my_dir}/build &&\</font></div><div><font face="Monaco"> make -j2 ;\</font></div><div><font face="Monaco"> cd - ;\</font></div><div><font face="Monaco"> done</font></div><div><br></div><div><font face="Monaco"> for my_dir in mcstas mcstas-comps tools/Legacy-Perl tools/Python/mcplot/matplotlib ;\</font></div><div><font face="Monaco"> do \</font></div><div><font face="Monaco"> cd ${my_dir}/build &&\</font></div><div><font face="Monaco"> make install DESTDIR=${my_DESTDIR} ;\</font></div><div><font face="Monaco"> cd - ;\</font></div><div><font face="Monaco"> done</font></div></div><div><br></div><div><div><font face="Monaco"> find ${my_DESTDIR} -name '.svn' -type d -exec rm -rf {}/ \\; || echo ;\</font></div><div><font face="Monaco"> ln -s mccode-select-bundle-mcstas-2.9999-svn ${my_DESTDIR}/usr/local/bin/mccode-select-bundle-mcstas ;\</font></div><div><font face="Monaco"> ln -s mccode-select-mcstas-2.9999-svn ${my_DESTDIR}/usr/local/bin/mccode-select-mcstas ;\</font></div><div><font face="Monaco"> ln -s mcconfig-2.9999-svn ${my_DESTDIR}/usr/local/bin/mcconfig ;\</font></div><div><font face="Monaco"> ln -s mcconvert-2.9999-svn ${my_DESTDIR}/usr/local/bin/mcconvert ;\</font></div><div><font face="Monaco"> ln -s mcdaemon-2.9999-svn ${my_DESTDIR}/usr/local/bin/mcdaemon ;\</font></div><div><font face="Monaco"> ln -s mcdisplay-2.9999-svn ${my_DESTDIR}/usr/local/bin/mcdisplay ;\</font></div><div><font face="Monaco"> ln -s mcdoc-2.9999-svn ${my_DESTDIR}/usr/local/bin/mcdoc ;\</font></div><div><font face="Monaco"> ln -s mcformat-2.9999-svn ${my_DESTDIR}/usr/local/bin/mcformat ;\</font></div><div><font face="Monaco"> ln -s mcformatgui-2.9999-svn ${my_DESTDIR}/usr/local/bin/mcformatgui ;\</font></div><div><font face="Monaco"> ln -s mcgui-2.9999-svn ${my_DESTDIR}/usr/local/bin/mcgui ;\</font></div><div><font face="Monaco"> ln -s mcplot-2.9999-svn ${my_DESTDIR}/usr/local/bin/mcplot ;\</font></div><div><font face="Monaco"> ln -s mcplot-2.9999-svn-matplotlib ${my_DESTDIR}/usr/local/bin/mcplot-matplotlib ;\</font></div><div><font face="Monaco"> ln -s mcresplot-2.9999-svn ${my_DESTDIR}/usr/local/bin/mcresplot ;\</font></div><div><font face="Monaco"> ln -s mcrun-2.9999-svn ${my_DESTDIR}/usr/local/bin/mcrun ;\</font></div><div><font face="Monaco"> ln -s mcstas-2.9999-svn ${my_DESTDIR}/usr/local/bin/mcstas ;\</font></div><div><font face="Monaco"> ln -s mcstas2vitess-2.9999-svn ${my_DESTDIR}/usr/local/bin/mcstas2vitess</font></div></div><div><br></div><div>Thanks in advance.</div><div>Best</div><div>
<span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; 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; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; 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; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; 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; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Christian Felder</div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br></div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Jülich Centre for Neutron Science JCNS</div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Forschungszentrum Jülich GmbH<br></div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Outstation at MLZ<br>Lichtenbergstraße 1<br>85747 Garching</div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">GERMANY<br><br>Telefon: +49 - 89 289 10 773<br>Telefax: +49 - 89 289 10 799</div></span></div></span></div></span></div></span>
</div>
<br></body></html>