trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: April 2011

[SOLVED] Re: [trinity-devel] tqtinterface - make: *** No rule to make target `install'. Stop.

From: "David C. Rankin" <drankinatty@...>
Date: Sat, 02 Apr 2011 23:34:20 -0500
On 04/02/2011 11:20 PM, David C. Rankin wrote:
> Guys,
>
> Doing the out-of-source build on tqtinterface, I've run into a CMake/make issue.
> After successfully completing the build, I get the following error:
>
> <snip>
> [ 99%] Building CXX object
> qtinterface/CMakeFiles/tqt-shared.dir/private/tqucomextra_p.cpp.o
> [100%] Building CXX object
> qtinterface/CMakeFiles/tqt-shared.dir/tqlistiterator.cpp.o
> Linking CXX shared library libtqt.so
> [100%] Built target tqt-shared
> ==> Entering fakeroot environment...
> ==> Starting package()...
> ==> Packaging - trinity-tqtinterface-1226875
> make: *** No rule to make target `install'. Stop.
> ==> ERROR: A failure occurred in package().
> Aborting...
>
> What's the trick?
>

I just had to update the package() function in the script to package from the 
new out of source directory:

package() {

   msg "Packaging - $pkgname-$pkgver"

   cd ${srcdir}/build
   make DESTDIR="$pkgdir/" install

   # include uic-tqt in package
}



-- 
David C. Rankin, J.D.,P.E.