[MacPorts] #70504: links @2.30+x11: configure: error: No graphics drivers found. (was: links @2.30 does not build on macOS Sonoma 14.5 because of configure: error: No graphics drivers found.)
MacPorts
noreply at macports.org
Thu Nov 14 19:08:54 UTC 2024
#70504: links @2.30+x11: configure: error: No graphics drivers found.
------------------------+--------------------
Reporter: ballapete | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.9.3
Resolution: | Keywords:
Port: links |
------------------------+--------------------
Changes (by ryandesign):
* keywords: sonoma intel =>
Comment:
As far as I can tell the problem only happens when using the +x11 variant
and is not specific to OS version or architecture.
Replying to [comment:1 ballapete]:
> `$drivers` is empty. Shouldn't it be at least `X`?
No, because main.log says X could not be found:
{{{
:info:configure checking for X... no
}}}
config.log says the reason is:
{{{
configure:8947:14: error: expected parameter declarator
int XtMalloc(0)
^
configure:8947:14: error: expected ')'
configure:8947:13: note: to match this '('
int XtMalloc(0)
^
configure:8947:5: warning: a function declaration without a prototype is
deprecated in all versions of C and is treated as a zero-parameter
prototype in C2x, conflicting with a previous declaration [-Wdeprecated-
non-prototype]
int XtMalloc(0)
^
/opt/local/include/X11/Intrinsic.h:1853:14: note: conflicting prototype is
here
extern char *XtMalloc(
^
configure:8947:5: error: conflicting types for 'XtMalloc'
int XtMalloc(0)
^
/opt/local/include/X11/Intrinsic.h:1853:14: note: previous declaration is
here
extern char *XtMalloc(
^
1 warning and 3 errors generated.
configure: failed program was:
#line 8943 "configure"
#include "confdefs.h"
#include <X11/Intrinsic.h>
int main() {
int XtMalloc(0)
; return 0; }
}}}
--
Ticket URL: <https://trac.macports.org/ticket/70504#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list