gssapi / gss-ntlmssp

A complete implementation of the MS-NLMP documents as a GSSAPI mechanism
ISC License
30 stars 26 forks source link

Autoconf warnings when building. #89

Open ppaslan opened 1 year ago

ppaslan commented 1 year ago

I'm building gss-ntlmssp from this repo in a docker container using the image python:3.11.2-alpine3.17 as a base but i'm getting some errors while configuring and building the package.

Hosts used to build the docker image: linux/amd64 Rocky Linux 8.6 linux/amd64 Ubuntu 22:04

I am running the following commands.

git clone https://github.com/gssapi/gss-ntlmssp /tmp/gss-ntlmssp 
cd /tmp/gss-ntlmssp 
git reset --hard 646c7fc5b961eade381fb7e4378074d4fd453321 
autoreconf -f -i 
./configure --without-manpages --disable-nls 
make && make install 

The package is building just fine but is it okay to ignore the following errors?

aclocal: warning: couldn't open directory 'm4': No such file or directory
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac,
libtoolize: and rerunning libtoolize and aclocal.
configure.ac:31: warning: The macro `ac_cv_prog_gcc' is obsolete.
configure.ac:31: You should run autoupdate.
./lib/autoconf/c.m4:440: ac_cv_prog_gcc is expanded from...
aclocal.m4:182: AM_CONDITIONAL is expanded from...
configure.ac:31: the top level
configure.ac:34: warning: The macro `AC_CONFIG_HEADER' is obsolete.
configure.ac:34: You should run autoupdate.
./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from...
configure.ac:34: the top level
configure.ac:39: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:39: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
build_macros.m4:1: BUILD_WITH_SHARED_BUILD_DIR is expanded from...
configure.ac:39: the top level
external/platform.m4:1: warning: The macro `AC_HELP_STRING' is obsolete.
external/platform.m4:1: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
external/platform.m4:1: the top level
configure.ac:51: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:51: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
conf_macros.m4:1: WITH_DISTRO_VERSION is expanded from...
configure.ac:51: the top level
configure.ac:52: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:52: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
conf_macros.m4:42: WITH_TEST_DIR is expanded from...
configure.ac:52: the top level
configure.ac:53: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:53: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
conf_macros.m4:12: WITH_MANPAGES is expanded from...
configure.ac:53: the top level
configure.ac:54: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:54: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
conf_macros.m4:28: WITH_XML_CATALOG is expanded from...
configure.ac:54: the top level
configure.ac:55: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:55: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
conf_macros.m4:72: WITH_WBCLIENT is expanded from...
configure.ac:55: the top level
configure.ac:56: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:56: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
conf_macros.m4:89: WITH_WINBIND_TLS_CONTEXT is expanded from...
configure.ac:56: the top level
configure.ac:104: warning: The macro `AC_LANG_C' is obsolete.
configure.ac:104: You should run autoupdate.
./lib/autoconf/c.m4:72: AC_LANG_C is expanded from...
external/ax_check_zlib.m4:68: AX_CHECK_ZLIB is expanded from...
configure.ac:104: the top level
configure.ac:113: warning: The macro `AC_ERROR' is obsolete.
configure.ac:113: You should run autoupdate.
./lib/autoconf/oldnames.m4:34: AC_ERROR is expanded from...
configure.ac:113: the top level
configure.ac:116: warning: The macro `AC_ERROR' is obsolete.
configure.ac:116: You should run autoupdate.
./lib/autoconf/oldnames.m4:34: AC_ERROR is expanded
simo5 commented 1 year ago

Yeah it does not look great but it is just newer version of autoconf getting pickier with older syntaxes. I will update the shipped configure scripts eventually, but there hasn't been a strong need so far.

simo5 commented 1 year ago

I'll keep this issue open to handle at some future point as a cleanup task.