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?
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 wrote:
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 }
Hi David,
Running the same setup as you here, can we sync our PKGBUILD scripts?
Here is mine. :-)
# $Id$
# Maintainer: David C. Rankindrankinatty@gmail.com
pkgbase=trinity
pkgname=trinity-tqtinterface
pkgver=1226875
pkgrel=1
arch=('i686' 'x86_64')
url="http://trinity.pearsoncomputing.net"
license=('GPL2')
groups=('trinity-bld')
pkgdesc="Trinity - tqtinterface"
depends=('python2-sip'
'trinity-qt3'
'trinity-pyqt3')
makedepends=('subversion' 'pkgconfig' 'cmake' 'autoconf')
provides=('trinity-tqtinterface')
conflicts=('trinity-tqtinterface')
replaces=('trinity-tqtinterface')
source=()
_svntrunk="svn://anonsvn.kde.org/home/kde/branches/trinity/dependencies/tqtinterface"
_svnmod=tqtinterface
build() {
cd ${srcdir}
msg "Connecting to SVN server to update or checkout ${_svnmod}...."
if [ -d ${_svnmod}/.svn ]; then
(cd ${_svnmod}&& svn up)
[[ $? -eq 0 ]] || _co_failed=1
else
(svn co $_svntrunk ${_svnmod})
[[ $? -eq 0 ]] || _co_failed=1
fi
# if update or checkout failed - bail...
if [[ $_co_failed -ne 1 ]]; then
msg "SVN checkout of revision $pkgver -- Complete."
else
msg "SVN checkout of revision $pkgver -- Failed or server timeout."
exit 1
fi
msg "Setting PATH, CMAKE and Trinity Environment variables"
[[ ${PATH%%:*} =~ /opt/qt/bin ]] || export PATH=/opt/qt/bin:$PATH
cd ${srcdir}/${_svnmod}
#####################################
if [ -f CMakeCache.txt ]
then
rm CMakeCache.txt
fi
msg "Starting cmake..."
if [ ! -d ../../build ]
then
mkdir ../../build
fi
cd ../../build
###############################################
cmake ${srcdir}/${_svnmod} \
-DQT_VERSION=3 \
-DQT_PREFIX_DIR=/opt/qt \
-DCMAKE_INSTALL_PREFIX=/opt/qt \
-DCMAKE_SKIP_RPATH=ON || return 1
make
# cd ${srcdir}/${_svnmod}
}
package() {
msg "Packaging - $pkgname-$pkgver"
cd ../build
# cd ${_svnmod}
make DESTDIR="$pkgdir/" install
# include uic-tqt in package
cd ${srcdir}
mkdir -p ${pkgdir}/usr/bin
cp -Rp ${srcdir}/${_svnmod}/qtinterface/uic-tqt ${pkgdir}/usr/bin
# rm -r ${srcdir}/${_svnmod}
}
Castro. (David Baylis)
Archlinux on VirtualBox.
On 04/03/2011 12:02 AM, Castro wrote:
David C. Rankin wrote:
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 }
Hi David,
Running the same setup as you here, can we sync our PKGBUILD scripts?
Here is mine. :-)
# $Id$
# Maintainer: David C. Rankindrankinatty@gmail.com
<snip>
Castro. (David Baylis)
Archlinux on VirtualBox.
Yep - glad it is working :)
All my updated out-of-source PKGBUILDs are here (build and package updated for out-of-source):
http://www.3111skyline.com/dl/dt/trinity/arch/pkgbuild/svn/
Feel free to grab them all. They need a bit more testing before I can update the Arch wiki or upload them to the trinity svn.
I also have to follow up with Baho on Qt3-3.3.8c updates. We should be able to do that in the next few days. I haven't had time to look at trinity in the past 10 days. After I convinced we have Qt3 correct, I'll run a build start-to-finish with the new PKGBUILDs to confirm everything before updating the svn server.
How are your shared folders working in vbox with the new Arch kernels? I have had to downgrade to 2.6.37-1 to get a working kernel in vbox. How have you faired?
On 04/03/2011 01:21 AM, David C. Rankin wrote:
On 04/03/2011 12:02 AM, Castro wrote:
David C. Rankin wrote:
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 }
Hi David,
Running the same setup as you here, can we sync our PKGBUILD scripts?
Here is mine. :-)
# $Id$
# Maintainer: David C. Rankindrankinatty@gmail.com
<snip> > Castro. (David Baylis) > > Archlinux on VirtualBox. > >
Yep - glad it is working :)
All my updated out-of-source PKGBUILDs are here (build and package updated for out-of-source):
http://www.3111skyline.com/dl/dt/trinity/arch/pkgbuild/svn/
Feel free to grab them all. They need a bit more testing before I can update the Arch wiki or upload them to the trinity svn.
I also have to follow up with Baho on Qt3-3.3.8c updates. We should be able to do that in the next few days. I haven't had time to look at trinity in the past 10 days. After I convinced we have Qt3 correct, I'll run a build start-to-finish with the new PKGBUILDs to confirm everything before updating the svn server.
How are your shared folders working in vbox with the new Arch kernels? I have had to downgrade to 2.6.37-1 to get a working kernel in vbox. How have you faired?
I have completely reworks the QT-3.3.8c PKGBUILD.
After I build from a fresh svn update today I will upload the entire build system to the server.