Giter Site home page Giter Site logo

alien-bison's Introduction

Alien::bison static linux macos windows

Find or build bison, the parser generator

SYNOPSIS

From a Perl script

use Alien::bison;
use Env qw( @PATH );
unshift @PATH, Alien::bison->bin_dir;
system 'bison', ...;

From alienfile:

use alienfile;

share {
  ..
  requires 'Alien::bison' => 0;
  build [ '%{bison} ...' ];
  ...
};

From Build.PL for Alien::Base::ModuleBuild:

use Alien:Base::ModuleBuild;
my $builder = Module::Build->new(
  ...
  alien_bin_requires => [ 'Alien::bison' ],
  ...
);
$builder->create_build_script;

DESCRIPTION

This package can be used by other CPAN modules that require bison, the GNU Parser generator based on YACC.

HELPERS

bison

%{bison}

Returns the name of the bison command. Usually just bison.

SEE ALSO

AUTHOR

Graham Ollis [email protected]

COPYRIGHT AND LICENSE

This software is copyright (c) 2017 by Graham Ollis.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

alien-bison's People

Contributors

plicease avatar

Watchers

 avatar James Cloos avatar

alien-bison's Issues

windows source build fails looking for help2man

/n/home/ollisg/dev/Alien-bison/Alien-bison-0.17/_alien/build_cXYZ/bison-3.0.4/build-aux/missing: line 81: help2man: command not found
WARNING: 'help2man' is missing on your system.
         You should only need it if you modified a dependency of a man page.
         You may want to install the GNU Help2man package:
         <http://www.gnu.org/software/help2man/>
make[2]: *** [doc/bison.1] Error 127
make[2]: Leaving directory `/n/home/ollisg/dev/Alien-bison/Alien-bison-0.17/_alien/build_cXYZ/bison-3.0.4'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/n/home/ollisg/dev/Alien-bison/Alien-bison-0.17/_alien/build_cXYZ/bison-3.0.4'
make: *** [all] Error 2
external command failed at N:/home/ollisg/perl5/strawberry/x86/5.22.1/lib/perl5/Alien/Build/CommandSequence.pm line 49.
dmake:  Error code 130, while making '_alien\mm\build'

Can fail on makeinfo

if info is installed but not makeinfo looks like it fails. the fedora CI works around this by pre-installing makeinfo.

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.