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> .. >From the pwd, you can see that I am running the process from /usr/src/hotwire-0.2.3; and /usr/src/hotwire-0.2.3/CMakeLists.txt exists BUILD/CMakeLists.txt does not, and it's not supposed to, however the error shows that cmake is looking in BUILD for the CMakeLists.txt file, even though I have told it to look in the parent (..) directory. Any suggestions? Nima -- Nima Talebiw: http://ai.autonomy.net.au/ p: +61-4-0667-7607 m: [email protected]
_______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
