xclip
xclip copied to clipboard
Install on maxOS: missing X11/Xmu
Dear All, -- I am trying to install xclip on a Mac computer. The configure process fails due to
configure: error: *** X11/Xmu/Atoms.h is missing ***
However such header file exists on /opt/X11/include/X11/Xmu
and is not empty. I am issuing
./configure --x-includes=/opt/X11/include/X11/
but I have also tried /opt/X11/include/X11
, /opt/X11/include
and /opt/X11/
; all fail.
I am using the X11 provided by XQuartz (https://www.xquartz.org). I would appreciate any suggestions. Thanks, Temok
I'm missing the same question in linux.Do you have any another solutions?
On Linux, X11/Xmu/Atoms.h is typically in a package called libXmu-devel or similar.
macOS 10.12.5, xclip 0.12. I've just had the same issue, the following has worked out for me:
-
CFLAGS="-I/opt/X11/include" LDFLAGS="-L/opt/X11/lib" ./configure
-
make install
I am still experiencing this issue on CenOS 7.4 with libXmu-devel being installed in the non-standard location $HOME/usr/
. Setting the flags CFLAGS
or --x-includes
do not solve the issue.
Same problem on Msys/mingw64, How about on there, how is the solution ?
I've had the same issue (Linux Mint 19.1 Tessa). But following @astrand 's advice I run sudo apt-get install libxmu-dev
and everything worked fine.
I've appended "-I/path/to/my_custom/include" to the CFLAGS variable in Makefile, then things worked fine for me.