Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not compile under macOS #8

Open
bbkr opened this issue Nov 1, 2016 · 0 comments
Open

Does not compile under macOS #8

bbkr opened this issue Nov 1, 2016 · 0 comments

Comments

@bbkr
Copy link

bbkr commented Nov 1, 2016

Hi

While trying to install under macOS 10.10.5 I get following error:

$ panda install Imlib2
==> Fetching Imlib2
==> Building Imlib2
clang -c  -fno-omit-frame-pointer -fno-optimize-sibling-calls -O3 -DNDEBUG -Wno-logical-op-parentheses -D_DARWIN_USE_64_BIT_INODE=1  -o Imlib2.o Imlib2.c
In file included from Imlib2.c:12:
/usr/local/include/Imlib2.h:26:10: fatal error: 'X11/Xlib.h' file not found
#include <X11/Xlib.h>
         ^
1 error generated.
make: *** [Imlib2.o] Error 1

Is it possible to remove custom lib compilation and rely on what system package installers provides?
I tried to simply use imlib2 from mac brew (which is 1.4.7) and it worked perfectly fine.
I assume same applies to Linux.

BTW: also there is no need to use LibraryMake to detect shared library extension. NativeCall now handles this without issues. Simple
sub imlib_image_set_format( Str ) is native( 'Imlib2', v1) is export { * } is enough.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant