[CMake] Strange problem...

Nima Talebi nima at it.net.au
Tue Feb 3 02:31:36 EST 2009


Hi all,
I'm having trouble understanding what the problem is here...

This is the relevant part of the make process (which calls cmake in
producing a debian package)...

echo `pwd`
/usr/src/hotwire-0.2.3
cd BUILD; cmake -DBUILD=Release -DPREFIX=STAGING
-DWEBDIR=usr/share/hotwire-irbd-common/sfweb
-DDOCDIR=usr/share/doc/hotwire-irbd-doc -DBAKDIR=var/backups
-DSRVDIR=srv/hotwire-irbd -DETCDIR=etc/hotwire-irbd -DMANDIR=man
-DLIBDIR=usr/lib/hotwire-irbd -DLOGDIR=var/log/hotwire-irbd
-DLOCKDIR=var/lock/hotwire-irbd -DCACHEDIR=var/cache/hotwire-irbd
-DSHAREDIR=usr/share/hotwire-irbd-common -DBINDIR=usr/bin -DSBINDIR=usr/sbin
-DABS_SFFW_DIR=/opt/symfony
-DONLY=HOTWIRE_INDEP;HOTWIRE_DOC;FUNCWIRE_OVERLORD;FUNCWIRE_MINION -DDIST=1
..
CMake Error: The source directory "/usr/src/hotwire-0.2.3/BUILD" does not
appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
/bin/sh: HOTWIRE_DOC: command not found
/bin/sh: FUNCWIRE_OVERLORD: command not found
/bin/sh: FUNCWIRE_MINION: command not found
make[1]: *** [build-indep] Error 127
make[1]: Leaving directory `/usr/src/hotwire-0.2.3'
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
make: *** [../BUILD/i386/hotwire-irbd_0.2.3-1.dsc] Error 2

Notice that I cd into the BUILD directory, and from there, I cmake <options>
 ..



More information about the CMake mailing list