'Malformed package version' compiling on Windows 7

2 replies [Last post]
dchackett's picture
Offline
Joined: 05/19/2011

Having an issue compiling OpenMx on Windows 7 (64 bit).

Before revision 1908 I don't have this problem. On revision 1909 and afterwards, I get the output below.

This error occurs with both R 2.13.0 and R 2.14.2. This is with the PATH location referring specifically to R-2.X.X\bin\i386 for each, so I don't think it has anything to do with 64-bitness. Also, builds correctly on a Ubuntu install on the same machine.

c:\Users\Dan\Documents\Projects\openmx\trunk>make install
svnversion: not found
svnversion: not found
rm -rf build/*
rm -rf models/passing/temp-files/*
rm -rf models/failing/temp-files/*
svnversion: not found
cp DESCRIPTION DESCRIPTION.bak
sed '/Version:/d' DESCRIPTION.bak > DESCRIPTION
echo "Version: "999.0.0"-" >> DESCRIPTION
cd build; R CMD build ..
* checking for file '../DESCRIPTION' ... OK
* preparing 'OpenMx':
* checking DESCRIPTION meta-information ... ERROR
Malformed package version.

See the information on DESCRIPTION files in section 'Creating R
packages' of the 'Writing R Extensions' manual.

make: *** [build/OpenMx_999.0.0-.tar.gz] Error 1

mspiegel's picture
Offline
Joined: 07/31/2009
You'll need the "svnversion"

You'll need the "svnversion" command in your PATH.

dchackett's picture
Offline
Joined: 05/19/2011
Fixed

That fixed it, thanks!

It seems that TortoiseSVN doesn't install SVN command line utilities by default.