--- 
author: 
  email: rafl@fsfe.org
  keyid: 742f2a428e635a5e
  name: Florian Ragwitz
categories: 
  - Perl
comments: []

date: 2006-09-04T17:57:15Z
guid: 2f0de8a9-0e57-4261-8462-a5f91dfb8c75
modified: 2006-09-04T17:57:15Z
raw: "-----BEGIN PGP SIGNED MESSAGE-----\nHash: SHA1\n\n=pod\n\nI recently wrote two two new Perl modules. The first is called\nL<Linux::Sysfs|http://search.cpan.org/~flora/Linux-Sysfs/> and is a library\nbinding for L<libsysfs|http://linux-diag.sourceforge.net/Sysfsutils.html>. It\noffers a convenient interface to sysfs (/sys). After releasing the first\nversion of it for peer review and, later on, to CPAN, I received a lot of\nreports about test failures because of a missing or outdated libsysfs.\n\nTherefor I wished to have something like GNU autoconf for Perl modules. It\nwould be possible to write something similar in pure Perl (someone actually\ntried it: L<Config::Autoconf|http://search.cpan.org/~ambs/Config-AutoConf/>),\nbut compiling C programs from Perl in a portable way isn't much fun.\n\nTherefor I decided to write some Perl glue around autoconf and autoheader so\nthose tools are easy to use from Makefile.PLs and such. I did so and the result\nis L<ExtUtils::Autoconf|http://search.cpan.org/~flora/ExtUtils-Autoconf/>.\nIt'll be on CPAN within the next few hours. Until then the current version is\navailable from L<here|http://files.perldition.org/ExtUtils-Autoconf-0.01.tar.gz>.\n\nIt currently has some documentation about using it from an\nL<ExtUtils::MakeMaker|http://search.cpan.org/~mschwern/ExtUtils-MakeMaker/>-based\nMakefile.PL. Instructions about how to use it with\nL<Module::Build|http://search.cpan.org/~kwilliams/Module-Build/> and\nL<Module::Install|http://search.cpan.org/~audreyt/Module-Install/> are still\nmissing.\n\nThe Module::Install part will be done by an extension called\nModule::Install::Autoconf, which I'm currently about to write. For the\nModule::Build part I don't really have an Idea on how to do that, so any help\nfrom some Module::Build people would be very appreciated.\n\n=cut\n-----BEGIN PGP SIGNATURE-----\nVersion: GnuPG v1.4.6 (GNU/Linux)\n\niD8DBQFGCP+kdC8qQo5jWl4RAvaXAJwMlezfrKX5ia7mNAi7eyNjs8LvxwCeJqJx\nd1ICccCwN5VUWmkFP+6Kmco=\n=+I16\n-----END PGP SIGNATURE-----\n"
signed: 1
summary: " I recently wrote two two new Perl modules. The …"
tags: []

text: "    I recently wrote two two new Perl modules. The first is called\n    Linux::Sysfs and is a library binding for libsysfs. It offers a\n    convenient interface to sysfs (/sys). After releasing the first\n    version of it for peer review and, later on, to CPAN, I received a\n    lot of reports about test failures because of a missing or outdat-\n    ed libsysfs.\n\n    Therefor I wished to have something like GNU autoconf for Perl mod-\n    ules. It would be possible to write something similar in pure Perl\n    (someone actually tried it: Config::Autoconf), but compiling C pro-\n    grams from Perl in a portable way isn't much fun.\n\n    Therefor I decided to write some Perl glue around autoconf and au-\n    toheader so those tools are easy to use from Makefile.PLs and such.\n    I did so and the result is ExtUtils::Autoconf. It'll be on CPAN\n    within the next few hours. Until then the current version is avail-\n    able from here.\n\n    It currently has some documentation about using it from an ExtUtil-\n    s::MakeMaker-based Makefile.PL. Instructions about how to use it\n    with Module::Build and Module::Install are still missing.\n\n    The Module::Install part will be done by an extension called Mod-\n    ule::Install::Autoconf, which I'm currently about to write. For the\n    Module::Build part I don't really have an Idea on how to do that, so\n    any help from some Module::Build people would be very appreciated.\n"
title: Linux::Sysfs and ExtUtils::Autoconf
type: pod
uri: http://perldition.org/articles/Linux%3A%3ASysfs%20and%20ExtUtils%3A%3AAutoconf.pod
xhtml: "<div class=\"pod\">\n<p>I recently wrote two two new Perl modules. The first is called\n<a href=\"http://search.cpan.org/~flora/Linux-Sysfs/\">Linux::Sysfs</a> and is a library\nbinding for <a href=\"http://linux-diag.sourceforge.net/Sysfsutils.html\">libsysfs</a>. It\noffers a convenient interface to sysfs (/sys). After releasing the first\nversion of it for peer review and, later on, to CPAN, I received a lot of\nreports about test failures because of a missing or outdated libsysfs.</p>\n<p>Therefor I wished to have something like GNU autoconf for Perl modules. It\nwould be possible to write something similar in pure Perl (someone actually\ntried it: <a href=\"http://search.cpan.org/~ambs/Config-AutoConf/\">Config::Autoconf</a>),\nbut compiling C programs from Perl in a portable way isn't much fun.</p>\n<p>Therefor I decided to write some Perl glue around autoconf and autoheader so\nthose tools are easy to use from Makefile.PLs and such. I did so and the result\nis <a href=\"http://search.cpan.org/~flora/ExtUtils-Autoconf/\">ExtUtils::Autoconf</a>.\nIt'll be on CPAN within the next few hours. Until then the current version is\navailable from <a href=\"http://files.perldition.org/ExtUtils-Autoconf-0.01.tar.gz\">here</a>.</p>\n<p>It currently has some documentation about using it from an\n<a href=\"http://search.cpan.org/~mschwern/ExtUtils-MakeMaker/\">ExtUtils::MakeMaker</a>-based\nMakefile.PL. Instructions about how to use it with\n<a href=\"http://search.cpan.org/~kwilliams/Module-Build/\">Module::Build</a> and\n<a href=\"http://search.cpan.org/~audreyt/Module-Install/\">Module::Install</a> are still\nmissing.</p>\n<p>The Module::Install part will be done by an extension called\nModule::Install::Autoconf, which I'm currently about to write. For the\nModule::Build part I don't really have an Idea on how to do that, so any help\nfrom some Module::Build people would be very appreciated.</p>\n\n\n</div>"
