Skip to content

ubuntu 24.04 execute ./autogen.sh and find AM_PATH_PYTHON3 macro undefine #1543

@nanfengnan1

Description

@nanfengnan1

root@alexan-PowerEdge-R740:/opt/swss/deps/sonic-sairedis# ./autogen.sh
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'config'.
libtoolize: copying file 'config/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, '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/ltobsolete.m4'
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'config'.
libtoolize: copying file 'config/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, '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'
configure.ac:5: warning: 'AM_CONFIG_HEADER': this macro is obsolete.
configure.ac:5: You should use the 'AC_CONFIG_HEADERS' macro instead.
./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from...
aclocal.m4:782: AM_CONFIG_HEADER is expanded from...
configure.ac:5: the top level
configure.ac:7: warning: The macro AC_LANG_C' is obsolete. configure.ac:7: You should run autoupdate. ./lib/autoconf/c.m4:72: AC_LANG_C is expanded from... configure.ac:7: the top level configure.ac:11: warning: The macro AC_PROG_LIBTOOL' is obsolete.
configure.ac:11: You should run autoupdate.
m4/libtool.m4:99: AC_PROG_LIBTOOL is expanded from...
configure.ac:11: the top level
configure.ac:12: warning: The macro AC_HEADER_STDC' is obsolete. configure.ac:12: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.ac:12: the top level configure.ac:238: warning: The macro AC_TRY_RUN' is obsolete.
configure.ac:238: You should run autoupdate.
./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/functions.m4:66: AC_CHECK_FUNC is expanded from...
lib/m4sugar/m4sh.m4:651: AS_FOR is expanded from...
./lib/autoconf/functions.m4:117: AC_CHECK_FUNCS is expanded from...
aclocal.m4:133: AM_COND_IF is expanded from...
aclocal.m4:133: AM_COND_IF is expanded from...
configure.ac:238: the top level
configure.ac:296: warning: AC_OUTPUT should be used without arguments.
configure.ac:296: You should run autoupdate.
configure.ac:13: error: possibly undefined macro: AM_PATH_PYTHON3
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions