[Vm-dev] Notes from compiling on ARM / Fedora 18 (OLPC XO-4)

David T. Lewis lewis at mail.msen.com
Thu Nov 8 01:43:14 UTC 2012


On Wed, Nov 07, 2012 at 02:02:37PM -0500, David T. Lewis wrote:
> On Wed, Nov 07, 2012 at 05:07:41PM +0100, Bert Freudenberg wrote:
> > 
> > * please fix punctuation in "4.10.2-"
> 
> It's not missing punctuation, it's a missing Subversion rev number that should
> be getting generated during the cmake/configure phase.
> 
> 
> > ==================
> > 
> > Why is it installing in 
> > 
> > 	/usr/local/lib/squeak/4.10.2-/
> > 
> > instead of
> > 
> > 	/usr/local/lib/squeak/4.10-2/
> > 
> > ?
> > 
> > ===================
> 
> 
> It should be installing in something like /usr/local/lib/squeak/4.10.2-nnnn/
> where nnnn is the Subversion rev number. This gets figured out during the
> build based on the SVN control files, and it's stored in a file somewhere (in
> platforms/unix/cmake I think). If the platforms source tree does not have either
> the SVN control files or the generated file, it will not have the "nnnn" part
> of the version name.

Following up on this, the missing "nnnn" version number comes from the file
platforms/unix/svnversion. This file is not itself under version control, but
is created and used by platforms/unix/cmake/configure. If the svnversion
file is not present, and if the .svn control files are also not present, then
you would end up with a version tag such as "4.10.2-" when something like
"4.10.2-2616" was expected.

Conclusion: platforms/unix/cmake/configure must be run at least one time
on a platforms tree that has the ./svn control files. Once that has been
done, the platforms/unix/svnversion file will be present.

Dave
 


More information about the Vm-dev mailing list