Ticket #66 (closed fixme: worksforme)

Opened 3 years ago

Last modified 9 months ago

gdl-package fails to compile with dpkg-buildpackage

Reported by: rockfx01 Owned by: ichthyo
Priority: lesser Milestone: 0integration
Component: infrastructure Keywords: debian
Cc: Blocked By:
Blocking:

Description

When using "dpkg-buildpackage" to compile gdl-package from source (git clone from 4/27/09), compilation fails with the error:

...
checking for native Win32... no
/home/tim/Documents/Projects/Lumiera/gdl-package/./configure: line 17282: syntax error near unexpected token `0.35.0'
/home/tim/Documents/Projects/Lumiera/gdl-package/./configure: line 17282: `IT_PROG_INTLTOOL(0.35.0)'
make: *** [config.status] Error 2

Compiled on Ubuntu 9.04 Jaunty

Change History

comment:1 Changed 3 years ago by rockfx01

  • Status changed from new to closed
  • Resolution set to done

I found the problem, I was doing the build incorrectly and missing some packages.

First, I found that the gtk-doc-tools package and dependencies had to be installed or autoreconf would fail with the following error(s):

gtk-doc.make:7: GTK_DOC_USE_LIBTOOL does not appear in AM_CONDITIONAL
docs/reference/Makefile.am:83:   `gtk-doc.make' included from here
gtk-doc.make:48: ENABLE_GTK_DOC does not appear in AM_CONDITIONAL
docs/reference/Makefile.am:83:   `gtk-doc.make' included from here
gtk-doc.make:153: ENABLE_GTK_DOC does not appear in AM_CONDITIONAL
docs/reference/Makefile.am:83:   `gtk-doc.make' included from here
autoreconf: automake failed with exit status: 1

The proper install process (that worked for me) was:

  1. cd into gdl-package source directory
  2. $ autoreconf -i
  3. $ mkdir build
  4. $ cd build
  5. $ ../configure
  6. $ make
  7. $ sudo make install

(must use sudo for 'make install' in Ubuntu it seems)

This should be documented in the newbies tutorial. Currently there is no documentation for installing gdl-package in the tutorial, which the gui build does not work without.

comment:2 Changed 3 years ago by ichthyo

  • Priority changed from urgent to lesser
  • Status changed from closed to reopened
  • Resolution done deleted
  • Milestone set to 0integration

Sorry ... I'll re-open this ticket, to remind me to investigate this issue further.

If actually dpkg-buildpackage aborts with an error in the configure stage, this is a defect, as the debian buildsystem should already have detected the missing dependency. Maybe the package description in insufficient.

comment:3 Changed 3 years ago by ichthyo

  • Owner set to ichthyo
  • Status changed from reopened to assigned

I'll investigate this one in due time

comment:4 Changed 3 years ago by ichthyo

  • Component changed from lumiera to infrastructure

comment:5 Changed 2 years ago by ct

  • Keywords dpkg added

comment:6 Changed 9 months ago by ichthyo

  • Keywords debian added; dpkg removed
  • Status changed from assigned to closed
  • Resolution set to worksforme

considering this one as superseded -- debian packaging works with several newer debian/ubuntu flavours

Note: See TracTickets for help on using tickets.