On Tuesday 08 March 2011 20:39:49 Darrell Anderson wrote: > All of my build scripts work in $TMP, outside the source tree. :) I see this: cd /dev/shm/kdebase/kioslave/nfs && rpcgen -c -o nfs_prot_xdr.c /dev/shm/kdebase/kioslave/nfs/nfs_prot.x This meaning that CMAKE_SOURCE_DIR is /dev/shm/kdebase/kioslave/nfs, which are the same with CMAKE_BINARY_DIR, which is /dev/shm/kdebase/kioslave/nfs as well. Are you sure that you're out-of-source? If yes, why nfs_prot.x is in build directory? > Still can't build. > > Darrell -- Serghei