Code Monkey home page Code Monkey logo

parser-graphql-xs's People

Contributors

gonzus avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

hugmeir

parser-graphql-xs's Issues

Fatal error on Ubuntu 18.04 when installing from cpan

On the following system:

  • Ubuntu 18.04.1 LTS
  • Perl v5.26.1
  • x86_64-linux-gnu-gcc (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0
  • libgraphqlparser installed from github source

When installing this module from cpan, I get the following:

cpanm (App::cpanminus) 1.7043 on perl 5.026001 built for x86_64-linux-gnu-thread-multi
Work directory is /home/tshone/.cpanm/work/1546238833.4866
You have make /usr/bin/make
You have LWP 6.31
You have /bin/tar: tar (GNU tar) 1.29
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by John Gilmore and Jay Fenlason.
You have /usr/bin/unzip
Searching Parser::GraphQL::XS () on cpanmetadb ...
--> Working on Parser::GraphQL::XS
Fetching http://www.cpan.org/authors/id/G/GO/GONZUS/Parser-GraphQL-XS-0.000003.tar.gz
-> OK
Unpacking Parser-GraphQL-XS-0.000003.tar.gz
Entering Parser-GraphQL-XS-0.000003
Checking configure dependencies from META.json
Checking if you have ExtUtils::MakeMaker 6.58 ... Yes (7.24)
Configuring Parser-GraphQL-XS-0.000003
Running Makefile.PL
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Parser::GraphQL::XS
Writing MYMETA.yml and MYMETA.json
-> OK
Checking dependencies from MYMETA.json ...
Checking if you have ExtUtils::MakeMaker 0 ... Yes (7.24)
Checking if you have Data::Dumper 0 ... Yes (2.172)
Checking if you have XSLoader 0 ... Yes (0.27)
Checking if you have JSON::XS 0 ... Yes (3.04)
Checking if you have Test::More 0 ... Yes (1.302140)
Checking if you have Path::Tiny 0 ... Yes (0.104)
Building and testing Parser-GraphQL-XS-0.000003
cp lib/Parser/GraphQL/XS.pm blib/lib/Parser/GraphQL/XS.pm
Running Mkbootstrap for XS ()
chmod 644 "XS.bs"
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- XS.bs blib/arch/auto/Parser/GraphQL/XS/XS.bs 644
"/usr/bin/perl" "/usr/share/perl/5.26/ExtUtils/xsubpp"  -typemap '/usr/share/perl/5.26/ExtUtils/typemap' -typemap '/home/tshone/.cpanm/work/1546238833.4866/Parser-GraphQL-XS-0.000003/typemap'  graphql.xs > graphql.xsc
mv graphql.xsc graphql.c
x86_64-linux-gnu-gcc -c   -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wextra -Wdeclaration-after-statement -Wcomment -O2 -g   -DVERSION=\"0.000003\" -DXS_VERSION=\"0.000003\" -fPIC "-I/usr/lib/x86_64-linux-gnu/perl/5.26/CORE"   graphql.c
In file included from graphql.xs:3:0:
graphql.xs: In function ‘graphql_parse’:
/usr/lib/x86_64-linux-gnu/perl/5.26/CORE/perl.h:176:16: error: ‘my_perl’ undeclared (first use in this function); did you mean ‘my_fork’?
 #  define aTHX my_perl
                ^
/usr/lib/x86_64-linux-gnu/perl/5.26/CORE/perl.h:189:18: note: in expansion of macro ‘aTHX’
 #  define aTHX_  aTHX,
                  ^~~~
/usr/lib/x86_64-linux-gnu/perl/5.26/CORE/embed.h:415:36: note: in expansion of macro ‘aTHX_’
 #define newSVpv(a,b)  Perl_newSVpv(aTHX_ a,b)
                                    ^~~~~
graphql.xs:63:16: note: in expansion of macro ‘newSVpv’
         pstr = newSVpv(json, 0);
                ^~~~~~~
/usr/lib/x86_64-linux-gnu/perl/5.26/CORE/perl.h:176:16: note: each undeclared identifier is reported only once for each function it appears in
 #  define aTHX my_perl
                ^
/usr/lib/x86_64-linux-gnu/perl/5.26/CORE/perl.h:189:18: note: in expansion of macro ‘aTHX’
 #  define aTHX_  aTHX,
                  ^~~~
/usr/lib/x86_64-linux-gnu/perl/5.26/CORE/embed.h:415:36: note: in expansion of macro ‘aTHX_’
 #define newSVpv(a,b)  Perl_newSVpv(aTHX_ a,b)
                                    ^~~~~
graphql.xs:63:16: note: in expansion of macro ‘newSVpv’
         pstr = newSVpv(json, 0);
                ^~~~~~~
graphql.xs: In function ‘session_dtor’:
graphql.xs:100:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
     GraphQL* graphql = (GraphQL*) mg->mg_ptr;
     ^~~~~~~
graphql.c: In function ‘XS_Parser__GraphQL__XS_new’:
graphql.c:272:6: warning: variable ‘opt’ set but not used [-Wunused-but-set-variable]
  HV* opt;
      ^~~
graphql.c: In function ‘XS_Parser__GraphQL__XS_parse_string’:
graphql.c:314:11: warning: variable ‘graphql’ set but not used [-Wunused-but-set-variable]
  GraphQL* graphql;
           ^~~~~~~
graphql.c: In function ‘XS_Parser__GraphQL__XS_parse_file’:
graphql.c:355:11: warning: variable ‘graphql’ set but not used [-Wunused-but-set-variable]
  GraphQL* graphql;
           ^~~~~~~
Makefile:338: recipe for target 'graphql.o' failed
make: *** [graphql.o] Error 1
-> FAIL Installing Parser::GraphQL::XS failed. See /home/tshone/.cpanm/work/1546238833.4866/build.log for details. Retry with --force to force install it.

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.