mrhdias / perl6-imlib2 Goto Github PK
View Code? Open in Web Editor NEWPerl 6 interface to the Imlib2 image library.
License: Artistic License 2.0
Perl 6 interface to the Imlib2 image library.
License: Artistic License 2.0
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.
Imlib2 still depends on Panda:
$ zef install imlib2
===> Searching for: imlib2
===> Updated cpan mirror: https://raw.githubusercontent.com/ugexe/Perl6-ecosystems/master/cpan.json
===> Updated p6c mirror: http://ecosystem-api.p6c.org/projects.json
===> Extraction: Failed to find a META6.json file for Imlib2:ver<0.0.1>:auth -- failure is likely
===> Building: Imlib2:ver<0.0.1>:auth
===SORRY!===
Could not find Panda::Common at line 1 in:
/home/nando/.zef/store/perl6-Imlib2.git/07c0af9e7bb7dd95dcc1cc2183fa9f210bcd2ff6/lib
/home/nando/.perl6
/opt/rakudo-pkg/share/perl6/site
/opt/rakudo-pkg/share/perl6/vendor
/opt/rakudo-pkg/share/perl6
CompUnit::Repository::AbsolutePath<94652024351552>
CompUnit::Repository::NQP<94651999033208>
CompUnit::Repository::Perl5<94651999033248>
===> Building [OK] for Imlib2:ver<0.0.1>:auth
===> Testing: Imlib2:ver<0.0.1>:auth
===SORRY!=== Error while compiling /home/nando/.zef/store/perl6-Imlib2.git/07c0af9e7bb7dd95dcc1cc2183fa9f210bcd2ff6/lib/Imlib2.pm (Imlib2)
Invalid typename 'Parcel' in parameter declaration.
at /home/nando/.zef/store/perl6-Imlib2.git/07c0af9e7bb7dd95dcc1cc2183fa9f210bcd2ff6/lib/Imlib2.pm (Imlib2):1181
------> Parcel⏏ :$location(Int $x where { $x >= 0 }, In
(using perl6 v. 2018.03)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.