trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: January 2014

adept configure, but make builds nothing, what to check?

From: "David C. Rankin" <drankinatty@...>
Date: Fri, 24 Jan 2014 21:26:34 -0600
All,

  Building adept. the package builds without error, but results in an empty
package. I'm using a standard autotools build:

  cd ${srcdir}

  ## Set up environment
  msg "Setting PATH, Trinity Environment variables"
  # Source the QT and TDE profile
  [ "$QTDIR" = "" ] && . /etc/profile.d/tqt3.sh       # or qt3.sh
  [ "$TDEDIR" = "" ] && . /etc/profile.d/trinity.sh   # or tde.sh

  ## Generate config files and update with autoreconf
  cd "${srcdir}/${pkgname#*-}"

  msg "Copying system libtool files...."
  cp /usr/share/aclocal/libtool.m4 ./admin/libtool.m4.in
  cp /usr/share/libtool/config/ltmain.sh ./admin

  msg "Running make -f admin/Makefile.common ...."
  make -f admin/Makefile.common

  ## configure
  msg "Configuring - ${pkgname}..."
  ./configure \
    --prefix=${TDEDIR} \
    --with-qt-dir=${QTDIR} \
    --with-qt-includes=${QTDIR}/include \
    --with-qt-libraries=${QTDIR}/lib \
    --with-extra-includes="/usr/include/tqt:/usr/include/tqt/Qt" \
    --with-extra-libs=${TDEDIR}/lib/trinity \
    --sysconfdir=${TDEDIR}/etc \
    --localstatedir=/var

  msg "Building - ${pkgname}..."

  make $NUMJOBS

Then calling:

  msg "Packaging - $pkgname-$pkgver"
  cd "${srcdir}/${pkgname#*-}"
  make -j1 DESTDIR="$pkgdir" install

  I get no errors, but it is apparent nothing is being compiled after
./configure is done. What should I look for and in what files? The Makefile (or
.in or .am.in or in the autom4te.cache files??) Here is the end of ./configure
and the build:

<snip>
config.status: executing depfiles commands
config.status: executing libtool commands

Good - your configure finished. Start make now

==> Building - tde-adept...
make  all-recursive
make[1]: Entering directory '/build/tde-adept/src/adept'
make[2]: Entering directory '/build/tde-adept/src/adept'
make[2]: Leaving directory '/build/tde-adept/src/adept'
make[1]: Leaving directory '/build/tde-adept/src/adept'
==> Entering fakeroot environment...
==> Starting package()...
==> Packaging - tde-adept-14.0.0
make[1]: Entering directory '/build/tde-adept/src/adept'
make[2]: Entering directory '/build/tde-adept/src/adept'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Leaving directory '/build/tde-adept/src/adept'
make[1]: Leaving directory '/build/tde-adept/src/adept'

  Note the dearth of build output.. What to check??


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