[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problems when compiling



Hi Daniel,

A quick way to build dpkg would be to download the source archive and
use it to build dpkg. 

To do this use:
apt-get source dpkg
To grab the source archive.
Then you can use:
debuild
Inside the package directory to build the debs.
Then you can install this either in a virtual machine (to be safe) or on
your root installation if you are brave. 

This should allow you to proceed in the mean time, before someone more
knowledgeable than I solves your git issue. 

Good luck,

Chris

On Mon, 2011-04-18 at 14:05 +0200, Daniel Lobato wrote:
> Hi and sorry for the forthcoming terminal output, the two mails in a
> row, and the newbieness of the question,
> 
> I apparently cannot compile dpkg from
> git://git.debian.org/git/dpkg/dpkg.git
> 
> The steps that I have followed are as simple as cloning the git
> repository in a folder and running autoconf and automake in order to
> create the correct configure and makefiles but
> the scripts fail.
> 
> Here is what the terminal shows if I try to compile it
> 
> root@debian:/home/daniel/dpkg# autoconf
> root@debian:/home/daniel/dpkg# automake
> configure.ac:7: required directory ./build-aux does not exist
> configure.ac: no proper invocation of AM_INIT_AUTOMAKE was found.
> configure.ac: You should verify that configure.ac invokes AM_INIT_AUTOMAKE,
> configure.ac: that aclocal.m4 is present in the top-level directory,
> configure.ac: and that aclocal.m4 was recently regenerated (using aclocal).
> dpkg-deb/Makefile.am: required file `build-aux/depcomp' not found
> dpkg-deb/Makefile.am:   `automake --add-missing' can install `depcomp'
> /usr/share/automake-1.11/am/depend2.am: am__fastdepCC does not appear
> in AM_CONDITIONAL
> /usr/share/automake-1.11/am/depend2.am:   The usual way to define
> `am__fastdepCC' is to add `AC_PROG_CC'
> /usr/share/automake-1.11/am/depend2.am:   to `configure.ac' and run
> `aclocal' and `autoconf' again.
> /usr/share/automake-1.11/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
> /usr/share/automake-1.11/am/depend2.am:   The usual way to define
> `AMDEP' is to add one of the compiler tests
> /usr/share/automake-1.11/am/depend2.am:     AC_PROG_CC, AC_PROG_CXX,
> AC_PROG_CXX, AC_PROG_OBJC,
> /usr/share/automake-1.11/am/depend2.am:     AM_PROG_AS, AM_PROG_GCJ, AM_PROG_UPC
> /usr/share/automake-1.11/am/depend2.am:   to `configure.ac' and run
> `aclocal' and `autoconf' again.
> /usr/share/automake-1.11/am/depend2.am: am__fastdepCXX does not appear
> in AM_CONDITIONAL
> /usr/share/automake-1.11/am/depend2.am:   The usual way to define
> `am__fastdepCXX' is to add `AC_PROG_CXX'
> /usr/share/automake-1.11/am/depend2.am:   to `configure.ac' and run
> `aclocal' and `autoconf' again.
> lib/compat/Makefile.am:15: HAVE_GETOPT does not appear in AM_CONDITIONAL
> lib/compat/Makefile.am:19: HAVE_GETOPT_LONG does not appear in AM_CONDITIONAL
> lib/compat/Makefile.am:23: HAVE_OBSTACK_FREE does not appear in AM_CONDITIONAL
> lib/compat/Makefile.am:27: HAVE_STRNLEN does not appear in AM_CONDITIONAL
> lib/compat/Makefile.am:31: HAVE_STRERROR does not appear in AM_CONDITIONAL
> lib/compat/Makefile.am:35: HAVE_STRSIGNAL does not appear in AM_CONDITIONAL
> lib/compat/Makefile.am:39: HAVE_C99_SNPRINTF does not appear in AM_CONDITIONAL
> lib/compat/Makefile.am:43: HAVE_ASPRINTF does not appear in AM_CONDITIONAL
> lib/compat/Makefile.am:47: HAVE_ALPHASORT does not appear in AM_CONDITIONAL
> lib/compat/Makefile.am:51: HAVE_SCANDIR does not appear in AM_CONDITIONAL
> lib/compat/Makefile.am:55: HAVE_UNSETENV does not appear in AM_CONDITIONAL
> configure.ac: required file `build-aux/ylwrap' not found
> configure.ac:   `automake --add-missing' can install `ylwrap'
> man/Makefile.am:130: WITH_DSELECT does not appear in AM_CONDITIONAL
> man/Makefile.am:136: WITH_START_STOP_DAEMON does not appear in AM_CONDITIONAL
> man/Makefile.am:141: WITH_UPDATE_ALTERNATIVES does not appear in AM_CONDITIONAL
> scripts/Makefile.am:132: BUILD_POD_DOC does not appear in AM_CONDITIONAL
> scripts/Makefile.am:156: BUILD_POD_DOC does not appear in AM_CONDITIONAL
> scripts/Makefile.am:121: `%'-style pattern rules are a GNU make extension
> scripts/Makefile.am:126: `%'-style pattern rules are a GNU make extension
> utils/Makefile.am:19: WITH_UPDATE_ALTERNATIVES does not appear in AM_CONDITIONAL
> utils/Makefile.am:33: WITH_START_STOP_DAEMON does not appear in AM_CONDITIONAL
> utils/Makefile.am:44: WITH_INSTALL_INFO does not appear in AM_CONDITIONAL
> utils/Makefile.am:57: WITH_UPDATE_ALTERNATIVES does not appear in AM_CONDITIONAL
> utils/Makefile.am:65: WITH_INSTALL_INFO does not appear in AM_CONDITIONAL
> Makefile.am:3: WITH_DSELECT does not appear in AM_CONDITIONAL
> Makefile.am:84: COVERAGE_ENABLED does not appear in AM_CONDITIONAL
> configure.ac:114: required file `config.h.in' not found
> root@debian:/home/daniel/dpkg# ./configure
> configure: error: cannot find install-sh, install.sh, or shtool in
> build-aux "."/build-aux
> 
> 
> Any guidance?
> 
> 

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: