[sane-devel] Compiling question (autoreconf)

Chris Bagwell chris at cnpbagwell.com
Fri Aug 23 20:53:56 UTC 2013


On Fri, Aug 23, 2013 at 10:46 AM, Аl Воgnеr <sane-ml at corr.eu.org> wrote:

> I compiled sane from git as mentioned below. Can I ignore the messages
> with autoreconf?
>
>
$ cd /install/linuxins/sane-git/src/
>
> $ git clone git://git.debian.org/sane/sane-backends.git
>
> $ cd /install/linuxins/sane-git/src/sane-backends/
>

Because all the autofoo files are committed to git, after the clone you
should be able to skip all the next steps and jump straight to the
./configure step.  You only need to do these steps with warnings if you
mess with configure.in or Makefile.am's.


>
> $ autoconf
> aclocal.m4:17: warning: this file was generated for autoconf 2.69.
> You have another version of autoconf.  It may work, but is not
> guaranteed to. If you have problems, you may need to regenerate the
> build system entirely. To do so, use the procedure documented by the
> package, typically 'autoreconf'.
>

"autoreconf" is same as running both autoconf and automake so you shouldn't
be doing all three commands.


>
> $ autoreconf
> libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
> backend/Makefile.am:52: `%'-style pattern rules are a GNU make extension
> po/Makefile.am:17: shell if test -r $(srcdir: non-POSIX variable name
> po/Makefile.am:17: (probably a GNU make extension)
> po/Makefile.am:18: shell if test -r $(srcdir: non-POSIX variable name
> po/Makefile.am:18: (probably a GNU make extension)
> po/Makefile.am:20: shell LINGUAS="$(PO_LINGUAS: non-POSIX variable name
> po/Makefile.am:20: (probably a GNU make extension)
> po/Makefile.am:21: shell LINGUAS="$(PO_LINGUAS: non-POSIX variable name
> po/Makefile.am:21: (probably a GNU make extension)
> tools/Makefile.am:62: wildcard ${top_srcdir}/doc/descriptions/*.desc:
> non-POSIX variable name tools/Makefile.am:62: (probably a GNU make
> extension) tools/Makefile.am:62: wildcard
> ${top_srcdir}/doc/descriptions-external/*.desc: non-POSIX variable name
> tools/Makefile.am:62: (probably a GNU make extension)
> tools/Makefile.am:66: wildcard ${top_srcdir}/doc/descriptions/*.desc:
> non-POSIX variable name tools/Makefile.am:66: (probably a GNU make
> extension) tools/Makefile.am:66: wildcard
> ${top_srcdir}/doc/descriptions-external/*.desc: non-POSIX variable name
> tools/Makefile.am:66: (probably a GNU make extension)
> tools/Makefile.am:70: wildcard ${top_srcdir}/doc/descriptions/*.desc:
> non-POSIX variable name tools/Makefile.am:70: (probably a GNU make
> extension) tools/Makefile.am:70: wildcard
> ${top_srcdir}/doc/descriptions-external/*.desc: non-POSIX variable name
> tools/Makefile.am:70: (probably a GNU make extension)
> tools/Makefile.am:74: wildcard ${top_srcdir}/doc/descriptions/*.desc:
> non-POSIX variable name tools/Makefile.am:74: (probably a GNU make
> extension) tools/Makefile.am:74: wildcard
> ${top_srcdir}/doc/descriptions-external/*.desc: non-POSIX variable name
> tools/Makefile.am:74: (probably a GNU make extension)
>

Yes, all these warnings are currently expected upon a successful run of
autoreconf command.  So it looked like this works for you if you do need to
modify autofoo related files.

Chris


>
> $ autoconf
>
> $ automake
>

> # Test
> # $BACKENDS="pixma" ./configure
> # -> The following backends will be built:
> # pixma
>
> $ ./configure
>
> $ make
>
> su -
>
> cd /install/linuxins/sane-git/src/sane-backend
>
> make install
>
> --
> Αl
>
>
> --
> sane-devel mailing list: sane-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
> Unsubscribe: Send mail with subject "unsubscribe your_password"
>              to sane-devel-request at lists.alioth.debian.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20130823/6b538548/attachment.html>


More information about the sane-devel mailing list