Opened 11 years ago

Closed 4 years ago

#39025 closed defect (fixed)

mtools @3.9.11 needs a dependency on xorg-libx11

Reported by: cooljeanius (Eric Gallager) Owned by: francois@…
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc:
Port: mtools

Description

Trying to build mtools on another new computer without installing other stuff first led to the following error:

floppyd.c:27:10: fatal error: 'X11/Xlib.h' file not found
#include <X11/Xlib.h>
         ^
1 error generated.
make: *** [floppyd.o] Error 1
make: *** Waiting for unfinished jobs....

So I installed some xorg ports until I had an X11/Xlib.h header, and it turns out it comes from xorg-libx11:

gl00b05048:~ egall$ port provides /opt/local/include/X11/Xlib.h
/opt/local/include/X11/Xlib.h is provided by: xorg-libX11

Now that I had an X11/Xlib.h header, I cleaned and tried again, and this time it built successfully. Unfortunately my main.log got deleted so I can't attach that.

Attachments (1)

mtools-deps.1227202013.diff (319 bytes) - added by cooljeanius (Eric Gallager) 11 years ago.
port-depcheck.sh output for mtools

Download all attachments as: .zip

Change History (3)

Changed 11 years ago by cooljeanius (Eric Gallager)

Attachment: mtools-deps.1227202013.diff added

port-depcheck.sh output for mtools

comment:1 Changed 11 years ago by larryv (Lawrence Velázquez)

Cc: francois@… removed
Owner: changed from macports-tickets@… to francois@…

comment:2 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

In c51d5d09077f3a4115e7c5e7ebd34e6198e6b3fc/macports-ports (master):

mtools: Add x11 variant

Disable opportunistic use of x11 and add x11 variant to enable it.

Closes: #39025

Note: See TracTickets for help on using tickets.