There was a common type in the code Chris gave you. You're missing the
<path-to-source> argument for cmake.

Change the line:

cmake -DCMAKE_INSTALL_PREFIX=/home/you/play/rootdir && \

to

cmake -DCMAKE_INSTALL_PREFIX=/home/you/play/rootdir .. && \

Those two dots tell cmake where to look for the source. CMake expects a file
named CMakeLists.txt in the root of the source directory. That file tells
cmake what needs to be done to build the project.

The new commands to build opensync:
      rm -rf rootdir
 for f in opensync osynctool evolution2 vformat xmlformat ; do
              (cd $f && rm -rf build && mkdir build && cd build && \
              cmake -DCMAKE_INSTALL_PREFIX=/home/you/play/rootdir .. && \
              make && make install)
      done

-John
------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Barry-devel mailing list
Barry-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/barry-devel

Reply via email to