[MacPorts] #62804: emacs-devel @20210430: error: "Please include config.h first."
MacPorts
noreply at macports.org
Mon Oct 2 00:40:59 UTC 2023
#62804: emacs-devel @20210430: error: "Please include config.h first."
--------------------------+----------------------
Reporter: pagecp | Owner: drkp
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.4
Resolution: | Keywords: bigsur
Port: emacs-devel |
--------------------------+----------------------
Changes (by ryandesign):
* cc: catap (added)
Comment:
Do you still see this issue with the current version? We have successful
builds of this port on recent macOS versions on our automated build
system.
From your log, it looks like it's trying to use local copies of stdlib.h
and unistd.h, which is failing because these expect some config.h to be
included first.
stdlib.h and unistd.h are standard system headers which are already
provided by Xcode or the command line tools and the standard versions do
not require the inclusion of any config.h. Presumably emacs includes these
headers for compatibility with ancient systems that don't have them
however its configure output shows that it has correctly detected that
your system has these headers so I don't know why it is still trying to
use its own versions.
--
Ticket URL: <https://trac.macports.org/ticket/62804#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list