Hello again,<div><br></div><div>Yes, just found out the French version prints out "Révision:", which explains why it fails...</div><div><br></div><div>I've just had a go at modifying that section of the build script to use the --xml option of svn info, which should produce consistent output regardless of locale. I've just committed it, so please do an svn update and try again, see if it works now.</div>
<div><br></div><div>Cheers,</div><div><br></div><div>Donald.</div><div><br><br><div class="gmail_quote">On 23 November 2012 23:12, Donald Tournier <span dir="ltr"><<a href="mailto:d.tournier@brain.org.au" target="_blank">d.tournier@brain.org.au</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Gérard,<div><br></div><div>The procedure for building from the SVN repository is slightly different from that used for the release tarball, in that the SVN revision number is read using the "svn info" command and used to create or update the svn_revision.h file. I don't know why it would fail in your case, but my guess is it'll have to do with the fact that you're presumably using the french version. What does the output of "svn info" look like? My script only checks for the "Revision:" line...</div>
<div><br></div><div>Cheers,</div><div><br></div><div>Donald.</div><div><br><br><div class="gmail_quote"><div><div class="h5">On 23 November 2012 21:57, gerard <span dir="ltr"><<a href="mailto:gerard@rmsb.u-bordeaux2.fr" target="_blank">gerard@rmsb.u-bordeaux2.fr</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
<div bgcolor="#FFFFFF" text="#000000">
Hello,<br>
i want to use mrtrix on opensuse 12.4. <br>
<br>
I get <tt>"svn checkout <strong><em>http</em></strong>://<a href="http://mrtrix.googlecode.com/svn/trunk/" target="_blank">mrtrix.googlecode.com/svn/trunk/</a>
mrtrix-read-only"<br>
<br>
in build command i have this message<br>
<br>
"ERROR: [CC] lib/app.o<br>
<br>
g++ -c -Wall -march=native -fPIC -fno-strict-aliasing
-DGL_GLEXT_PROTOTYPES -DUSE_TR1 -O2 -pthread
-I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
-I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Ilib -Isrc
lib/app.cpp -o lib/app.o<br>
<br>
failed with output:<br>
<br>
lib/app.cpp: In member function ‘void MR::App::sort_arguments(int,
gchar**)’:<br>
lib/app.cpp:274:51: error: ‘SVN_REVISION’ was not declared in this
scope<br>
<br>
STOP<br>
"<br>
The file svn_revision.h is empty 0 octet.<br>
<br>
Thank for you attention.<br>
<br>
<br>
Gerard Raffard<br>
<br>
<a href="mailto:gerard.raffard@rmsb.u-bordeaux2.fr" target="_blank">gerard.raffard@rmsb.u-bordeaux2.fr</a><br>
<br>
<br>
</tt>
</div>
<br></div></div>_______________________________________________<br>
Mrtrix-discussion mailing list<br>
<a href="mailto:Mrtrix-discussion@www.nitrc.org" target="_blank">Mrtrix-discussion@www.nitrc.org</a><br>
<a href="http://www.nitrc.org/mailman/listinfo/mrtrix-discussion" target="_blank">http://www.nitrc.org/mailman/listinfo/mrtrix-discussion</a><br>
<br></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><font color="#ff6600" size="1"><b>Dr Jacques-Donald Tournier<br></b></font><div><font color="#ff6600" size="1">Research Fellow</font></div>
<div><font size="1"><br>
</font></div><div><font size="1">The Florey Institute of Neuroscience and Mental Health</font></div><div><font size="1">Melbourne Brain Centre - Austin Campus</font></div><div><font size="1">245 Burgundy Street</font></div>
<div><font size="1">Heidelberg Vic 3084</font></div><div><font size="1">Ph: +61 3 9035 7033</font></div><div><font size="1">Fax: +61 3 9035 7307</font></div><div><font size="1"><a href="http://www.florey.edu.au" target="_blank">www.florey.edu.au</a></font></div>
<br><br>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><font color="#ff6600" size="1"><b>Dr Jacques-Donald Tournier<br></b></font><div><font color="#ff6600" size="1">Research Fellow</font></div><div><font size="1"><br>
</font></div><div><font size="1">The Florey Institute of Neuroscience and Mental Health</font></div><div><font size="1">Melbourne Brain Centre - Austin Campus</font></div><div><font size="1">245 Burgundy Street</font></div>
<div><font size="1">Heidelberg Vic 3084</font></div><div><font size="1">Ph: +61 3 9035 7033</font></div><div><font size="1">Fax: +61 3 9035 7307</font></div><div><font size="1"><a href="http://www.florey.edu.au" target="_blank">www.florey.edu.au</a></font></div>
<br><br>
</div>