Bjo"rn Eriksson wrote: > Executive summary: > > 1] gettext 0.10.40 works on my machine so why do autogen.sh require > 0.10.3[89]?
There was not 0.10.40 in that time. I tried to fix this in CVS, but thers is no space left on device on cvs.gnome.org... > 2] vfs/samba/configure.in could use a AC_PREREQ(2.50) or a rename. > > Details: > > Compile errors on my Debian/sid machine. I have autoconf (GNU Autoconf) > 2.53, automake (GNU automake) 1.5, gettext (GNU gettext) 0.10.40 > > bjorn(4)@bjorndell:~/src/mc$ grep -C gettext_ver autogen.sh > > # Ensure that gettext is reasonably new. > gettext_ver=`$GETTEXTIZE --version | sed -n '1s/^.* //p'` > > case $gettext_ver in > 0.10.[34][089]) ;; > *) echo "Don't use gettext other than versions 0.10.38 and 0.10.39" So you allow 0.10.30 what is not right. I use 0.10.3[89]|0.10.4? construction and fix error message. BTW there is gettext 0.11.x released. Can somebody test it for mc? > > bjorn(4)@bjorndell:~/src/mc$ cat .cvsignore | xargs rm > > bjorn(4)@bjorndell:~/src/mc$ ./autogen.sh > configure.in:11: warning: do not use m4_patsubst: use patsubst or m4_bpatsubst > configure.in:816: warning: do not use m4_regexp: use regexp or m4_bregexp > autoheader2.50: `config.h.in' is created > configure.in:71: warning: AC_TRY_RUN called without default to allow cross compiling > configure.in:72: warning: AC_TRY_RUN called without default to allow cross compiling > /usr/bin/autoheader2.13: Symbol `HAVE_CONNECT' is not covered by >/usr/share/autoconf2.13/acconfig.h ./acconfig.h > /usr/bin/autoheader2.13: Symbol `HAVE_MEMSET' is not covered by >/usr/share/autoconf2.13/acconfig.h ./acconfig.h > /usr/bin/autoheader2.13: Symbol `HAVE_STRCASECMP' is not covered by >/usr/share/autoconf2.13/acconfig.h ./acconfig.h > /usr/bin/autoheader2.13: Symbol `ino_t' is not covered by >/usr/share/autoconf2.13/acconfig.h ./acconfig.h > /usr/bin/autoheader2.13: Symbol `loff_t' is not covered by >/usr/share/autoconf2.13/acconfig.h ./acconfig.h > /usr/bin/autoheader2.13: Symbol `offset_t' is not covered by >/usr/share/autoconf2.13/acconfig.h ./acconfig.h > /usr/bin/autoheader2.13: Symbol `ssize_t' is not covered by >/usr/share/autoconf2.13/acconfig.h ./acconfig.h > > > Upon further inspection I see the debian maintainer for autoconf has > implemented a system of wrappers for autoconf and autoconf2.13 to > support old code. From /usr/share/doc/autoconf2.13/Debian.readme.gz: > > <... snip ...> > It is troublesome to determine which programs need this compatibility > package and adapt them for it. As a result, this package has wrappers > for autoconf, autoheader, and autoreconf. Each of these attempts to > detect which Autoconf is needed and run the correct version of the > tool. > <... snip ...> > To force Autoconf 2.13 to be used, name the Autoconf input file > `configure.in' and omit the use of AC_PREREQ() or specify a minimum > version of 2.13 or earlier. To force Autoconf 2.50 to be used, name > the input file `configure.ac' or use AC_PREREQ(2.50). > <... snip ...> > > We have a AC_PREREQ(2.52) in mc/configure.in but not in > mc/vfs/samba/configure.in so I did a rename: > Well, I use autoconf 2.52 and have not any problem with vfs/samba/configure.in > bjorn(4)@bjorndell:~/src/mc$ mv vfs/samba/configure.in vfs/samba/configure.ac > > and reran 'xargs rm' && ./autogen.sh > > bjorn(4)@bjorndell:~/src/mc$ ./autogen.sh > configure.ac:11: warning: do not use m4_patsubst: use patsubst or > m4_bpatsubst > configure.ac:816: warning: do not use m4_regexp: use regexp or > m4_bregexp > autoheader2.50: `config.h.in' is unchanged > WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot' > WARNING: and `config.h.top', to define templates for `config.h.in' > WARNING: is deprecated and discouraged. > > WARNING: Using the third argument of `AC_DEFINE' and > WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without > WARNING: `acconfig.h': > > WARNING: AC_DEFINE([NEED_MAIN], 1, > WARNING: [Define if a function `main' is needed.]) > > WARNING: More sophisticated templates can also be produced, see the > WARNING: documentation. > autoheader2.50: `include/config.h.in' is created > configure: creating cache config.cache > > <...snip...> > > Configuration: > > Source code location: . > Compiler: gcc > Compiler flags: -g -O2 -Wall > File system: Midnight Commander Virtual File System > tarfs, mcfs, ftpfs, fish > Screen manager: SLang with terminfo > Install console saver: yes > Mouse support: GPM and xterm > X11 events support: no > Debugger code: none > With subshell support: yes > Internal editor: yes > Install path: /usr/local/bin, /usr/local/lib/mc > > Works. Phew. Five minutes later my make has finished without errors so > I wonder why the requirment for gettext-0.10.3[89] stands? > Regards, Andrew V. Samoilov. _______________________________________________ Mc-devel mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/mc-devel
