Fwd: have a problem with xtrkcad

Bhavani Shankar R bhavi at ubuntu.com
Thu Sep 3 13:18:49 BST 2009


On Wed, Sep 2, 2009 at 10:58 PM, Terence Simpson <
kubuntu.tsimpson at googlemail.com> wrote:
   The -D option is like the -D option to gcc, that is, no space after the

> option.
> cd app && cmake -DCMAKE_INSTALL_PREFIX=/usr/lib/xtrkcad . && make
>
> Optionally you can use the cmake class with cdbs, then your rules file
> would only need:
> [start of rules]
> include /usr/share/cdbs/1/class/cmake.mk
> include /usr/share/cdbs/1/rules/debhelper.mk
>
> DEB_CMAKE_INSTALL_PREFIX = /usr/lib/xtrkcad
> [end of rules]
>
> just make sure to build-depend on cdbs (>= 0.4.51)
>
>
Still no luck

dh_testdir
dh_testroot
[ ! -f Makefile ] || cmake distclean
rm -f build-stamp
dh_clean
 debian/rules build
dh_testdir
cd app && cmake -DCMAKE_INSTALL_PREFIX=/usr/lib/xtrkcad . && make
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
CMake Error at help/CMakeLists.txt:24 (INSTALL):
  install FILES given no DESTINATION!


CMake Error at doc/CMakeLists.txt:87 (INSTALL):
  install FILES given no DESTINATION!


CMake Error at bin/CMakeLists.txt:162 (INSTALL):
  install TARGETS given no RUNTIME DESTINATION for executable target
  "xtrkcad".


CMake Error at lib/CMakeLists.txt:11 (INSTALL):
  install FILES given no DESTINATION!


CMake Warning (dev) in CMakeLists.txt:
  No cmake_minimum_required command is present.  A line of code such as

    cmake_minimum_required(VERSION 2.6)

  should be added at the top of the file.  The version specified may be lower
  if you wish to support older CMake versions for this project.  For more
  information run "cmake --help-policy CMP0000".
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring incomplete, errors occurred!
make: *** [build-stamp] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2
******************************************************************************


Regards
-- 
Bhavani Shankar.R
https://launchpad.net/~bhavi, a proud ubuntu community  member.
What matters in life is application of mind!,
It makes great sense to have some common sense..!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/ubuntu-motu-mentors/attachments/20090903/652b3ae3/attachment-0002.htm 


More information about the Ubuntu-motu-mentors mailing list