Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2022-04-18
17:31 • Closed ticket [b38c726c28]: Compile fails with undefined macro: AC_CHECK_INCLUDE... artifact: 67c93a664b user: jan.nijtmans
2021-05-24
18:21 • Ticket [b38c726c28]: 3 changes artifact: 7f732c287b user: tombert
10:35 • Ticket [b38c726c28]: 3 changes artifact: 67dbe0962d user: jan.nijtmans
2021-05-23
20:30 • Ticket [b38c726c28]: 3 changes artifact: 917e14a8dc user: tombert
2021-05-18
09:12 • Pending ticket [b38c726c28]. artifact: 62e22c94cb user: jan.nijtmans
2021-04-22
07:16 • New ticket [b38c726c28]. artifact: 54dc95aaf4 user: tombert

Compile fails with undefined macro: AC_CHECK_INCLUDES_DEFAULT

Closed / Works For Meb38c726c2833638bed9b3b110f060dfab9f989c6Created 6 years agoUpdated 5 years ago
Descriptionplain2021-04-22 07:16:00
Compiling TK fails with an macro error.
It seems to me that the TCL checkin 7e11bc3733 removed the definition of AC_CHECK_INCLUDES_DEFAULT?

Now the error is:

configure.ac:46: error: possibly undefined macro: AC_CHECK_INCLUDES_DEFAULT
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.


Regards
jan.nijtmanswiki2021-05-18 09:12:48

I cannot reproduce this. Nether can github actions: https://github.com/tcltk/tk/actions?query=workflow%3A%22Windows%22+branch%3Amain

I'm assuming you are compiling Tk 8.7 against Tcl 8.6 on Windows, using mingw-w64. The above github actions build does the same, so it should show the same error.

tombertplain2021-05-23 20:30:46
Hmmm ... sorry for the noise. I did a plain checkout and the error is now different:

make: *** No rule to make target 'minizip', needed by 'libtk8.7a4.zip'.  Stop

Can you help please?

thx
jan.nijtmanswiki2021-05-24 10:35:06

Well, you compiled Tk 8.7 with Tcl 8.6. That is possible, only Tk then cannot use the new zipfs feature. Configure with --disable-zipfs and it should work. Or use Tcl 8.7.

It is B.T.W. recommended to install "zip" then Tcl doesn't need to provide minizip: that's only provided as fallback when zip is not detected.

tombertplain2021-05-24 18:21:38
For TCL I am on core-8-branch.
For TK I am on head.
It is a fresh clean copy of the fossil repository.

And by executing [info patchlevel] it returns 8.7a4.
So I am on the right branch.

I installed zip into my MSYS2 environment and now it compiles.
Thx for the hint!

Regards
jan.nijtmans Closed ticket [b38c726c28]. [History diff]2022-04-18 17:31:51
Log in (anonymous is fine) to add a comment.