On 11/05/2014 19:29, Waldek SPdwaONG wrote:
Hi,
Hi Waldek,

I have try update today my wsjt-x and after run my script I have following errors

======================================================
CMake Error at debian/CMakeLists.txt:3 (string):
  string does not recognize sub-command TIMESTAMP
That is a CMake version issue, I had not realised the TIMESTAMP sub-command of the STRING command was so new. It is in CMake versions 2.8.11 and later.

It was introduced during improvements to the CMake script for building a Debian package.

I get 2.8.11.2 from the 13.10 repositories.

If you only have 2.8.10 or earlier from the 13.04 repositories then you can try commenting out the 'add_subdirectory (debian)' line from the top level CMakeLists.txt. This should still build the install target without problems.

You will probably also want to set the WSJT_SKIP_MANPAGES cmake option to 'ON' to avoid the need for asciidoc while building.



CMake Error at debian/CMakeLists.txt:6 (string):
  string sub-command SUBSTRING requires four arguments.


CMake Error at debian/CMakeLists.txt:7 (list):
  list sub-command GET requires at least three arguments.


CMake Error at debian/CMakeLists.txt:8 (string):
  string sub-command REPLACE requires at least four arguments.


CMake Error at debian/CMakeLists.txt:11 (string):
  string sub-command SUBSTRING requires four arguments.


CMake Error at debian/CMakeLists.txt:12 (math):
  math cannot parse the expression: " - 1": syntax error, unexpected
  exp_MINUS, expecting exp_OPENPARENT or exp_NUMBER (2)


CMake Error at debian/CMakeLists.txt:14 (string):
  string sub-command REPLACE requires at least four arguments.


-- Configuring incomplete, errors occurred!

==========================================================

I have use script on Ubuntu 13.04:

#!/bin/sh
cd ~/Projects
svn checkout svn://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx <http://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx> wsjtx-src
cd ~/Projects/build/wsjtx/
rm -drf Release
mkdir -p ~/Projects/build/wsjtx/Release
cd ~/Projects/build/wsjtx/Release
cmake -D CMAKE_PREFIX_PATH=/usr/local/hamlib -D CMAKE_INSTALL_PREFIX=~/local/wsjtx -D CMAKE_BUILD_TYPE=Release ~/Projects/wsjtx-src
cmake --build ~/Projects/build/wsjtx/Release --target install -- -kj

this script working 2 weeks ago but now I have errors above.



--
Waldek sp2ong
73
Bill
G4WJS.
------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
&#149; 3 signs your SCM is hindering your productivity
&#149; Requirements for releasing software faster
&#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
_______________________________________________
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel

Reply via email to