[MacPorts] #65889: emacs @28.2 configuration error: libgccjit failed to compile and run a test program

MacPorts noreply at macports.org
Sun Oct 9 18:02:03 UTC 2022


#65889: emacs @28.2 configuration error: libgccjit failed to compile and run a test
program
------------------------+----------------------
  Reporter:  amannucci  |      Owner:  drkp
      Type:  defect     |     Status:  assigned
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:
Resolution:             |   Keywords:
      Port:  emacs      |
------------------------+----------------------

Comment (by amannucci):

 I might add the following bit of information. I successfully built the
 non-X11 version of emacs from source (not something I typically do, but it
 worked). The MacOS version was created, not the X version. When I tried to
 build the X version using --with-x- etc. as an option for the configure
 script, I saw this error in the config.log file:


 {{{
 PATH: /opt/X11/bin
 conftest.c:72:10: fatal error: 'X11/Xlib.h' file not found
 #include <X11/Xlib.h>
 | #include <X11/Xlib.h>
 configure:10862: /usr/bin/gcc -o conftest -g3 -O2     conftest.c -lX11
 >&5
 conftest.c:72:10: fatal error: 'X11/Xlib.h' file not found

 }}}

 Xlib.h is here:
 /opt/X11/include/X11/Xlib.h

 but configure cannot seem to find it. This might be related to not being
 able to build the X11 version.

-- 
Ticket URL: <https://trac.macports.org/ticket/65889#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list