Giter VIP home page Giter VIP logo

perl6-imlib2's Introduction

Making Every User's Life Optimized ☕

My GitHub Stats For Public Repositories

perl6-imlib2's People

Contributors

mrhdias avatar retupmoca avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

perl6-imlib2's Issues

Does not compile under macOS

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 doesn't compile under Linux

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.