Building C/C++ libraries and applications with Module::Build

By Alberto Simões (‎ambs‎) from
Date: Tuesday, 21 August 2012 14:45
Duration: 20 minutes
Target audience: Intermediate
Language: English
Tags: c config::autoconf extutils::cbuilder extutils::libbuilder module::build perl

In this talk I will present the recipe I am using to build Perl Modules that depend on C or C++ libraries (and that ship those C or C++ libraries with the module itself).

The recipe uses a mixture of Module::Build custom building module, ExtUtils::CBuilder for C compiler interface, ExtUtils::LibBuilder to adapt some ExtUtils::CBuilder defaults that make standards library build impossible, and Config::AutoConf for externals libraries and headers detection.

This recipe has been used in a lot of different modules I maintain: Lingua::Identify::CLD, Text::BibTeX, Lingua::Jspell and the recent Lingua::FreeLing2 (still beta) and Lingua::NATools (still not released at the date).

Attended by: Alberto Simões (‎ambs‎), Stéphane Payrard (‎cognominal‎), Karl Gaissmaier (‎Charly‎), Martin Vorländer (‎mvorl‎), Nuno Carvalho (‎smash‎), Anton Berezin (‎Grrrr‎), Markus Pinkert (‎Bedivere‎), Sören Laird Sörries, Olivier Mengué (‎dolmen‎), Martin Becker (‎martin‎), Lars Dɪᴇᴄᴋᴏᴡ 迪拉斯 (‎daxim‎), Michele Beltrame (‎arthas‎), Vladimir Lashko (‎Ostrovok‎), António Martins (‎ammartins‎), Luís Miguel Braga (‎microft‎), Leon Timmermans (‎leont‎), Francisco Lourenço (‎fml‎), Torsten Förtsch, Andreas Vögele, Alex Timoshenko, Patrick Ringl (‎pari‎), Yanick Champoux (‎Yanick‎), Anne Thorniley, Peter Heuchert, Matthias Bloch (‎maettu‎), Thomas Mundt, Farhad Fouladi, david dunnington,
Platin Sponsors Gold Sponsors Silver Sponsors Sponsors

Want to sponsor YAPC::EU? See the sponsor packages