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

Bug#677312: apt 0.9.6: cannot compile



On Wed, Jun 13, 2012 at 8:51 AM, Andrey Ponomarenko
<aponomarenko@rosalab.ru> wrote:
> I cannot compile apt 0.9.6 due to the configure error:
>
> $ cd apt-0.9.6/
> $ ./configure
>
> configure: error: cannot run /bin/sh buildlib/config.sub
>
> Indeed, the file buildlib/config.sub inside a package is a broken symbolic
> link:
>
> $ file buildlib/config.sub
> buildlib/config.sub: broken symbolic link to `/usr/share/misc/config.sub'

Debian has a autotools-dev package which ships these files so
buildlib/configure.mak just symlinks to these locations (since 0.7.25)
instead of shipping these files in the source tarball directly as they are
prune to be out-of-date and therefore hindering new ports.

I agree that we could add a nicer message through.

Has Mandriva a similar location we could look or these files?

(Either way, as a quick fix just get config.sub and config.guess,
 drop it into buildlib/ and the buildsystem should use it)

In the longrun we might be better of using tools like 'autoreconf',
but the buildsystem is a bit "special"...


Best regards

David Kalnischkies



Reply to: