Jump to content

Issue with Autoconf and SystemC installation


Recommended Posts

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
 

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...