tmp_sc Posted July 4, 2022 Report Share Posted July 4, 2022 Hi, I tried to clone official SystemC repo from Accelera website and follow installation steps. After cloning and running autoconf I get the following error: configure.ac:58: warning: The macro `AC_CANONICAL_SYSTEM' is obsolete. configure.ac:58: You should run autoupdate. ./lib/autoconf/general.m4:2081: AC_CANONICAL_SYSTEM is expanded from... configure.ac:58: the top level configure.ac:565: warning: AC_OUTPUT should be used without arguments. configure.ac:565: You should run autoupdate. configure.ac:59: error: possibly undefined macro: AM_INIT_AUTOMAKE If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. configure.ac:117: error: possibly undefined macro: AM_PROG_AS configure.ac:270: error: possibly undefined macro: AC_PROG_LIBTOOL configure.ac:336: error: possibly undefined macro: AM_CONDITIONAL configure.ac:529: error: possibly undefined macro: AC_CHECK_DEFINE After running autoupdate (which finished w/o any message), I cannot configure, I get the error ../configure configure: error: cannot find required auxiliary files: install-sh And if I try to run autoconfig after autoupdate I get the similar error like before: If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. configure.ac:112: error: possibly undefined macro: AM_PROG_AS configure.ac:265: error: possibly undefined macro: AC_PROG_LIBTOOL configure.ac:331: error: possibly undefined macro: AM_CONDITIONAL configure.ac:524: error: possibly undefined macro: AC_CHECK_DEFINE Any hints on how can I fix this? Regards Quote Link to comment Share on other sites More sharing options...
David Black Posted July 4, 2022 Report Share Posted July 4, 2022 Did you run 'autoreconf -i' before configuring? You may also need to run 'autoupdate'. Easier: use the cmake flow. Cmake recognizes more architectures and requires less fiddling. Quote Link to comment Share on other sites More sharing options...
tmp_sc Posted July 4, 2022 Author Report Share Posted July 4, 2022 Hi David, Thanks a lot! 'autoreconf -i' followed by 'autoupdate' fixed the issue. Maybe this can be written in "INSTALL.md"? Out of this topic: Latest branch on Github is SystemC 2.3.4, right? Any big differences w.r.t. 2.3.3? Didn't find anything big mentioned in release notes Regards Quote Link to comment Share on other sites More sharing options...
electronicsguy Posted Thursday at 05:18 PM Report Share Posted Thursday at 05:18 PM @David Black Thanks! that autoreconf trick works. But this really should be the standard and documented well. simple autoconf doesn't work. (system: debian-linux). How do I use the cmake flow? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.