Re: Distributing C code

2008-03-18 Thread Alberto Simões
Hi Guy Hulbert wrote: On Mon, 2008-17-03 at 17:23 +, Alberto Simões wrote: What I would like was to rewrite this configure system and base it in Perl. I want to make all the package installable from CPAN as all users of the C package uses the Perl module interface. My question is: what

Re: Distributing C code

2008-03-18 Thread Tim Bunce
You might find Memcached::libmemcached interesting. http://search.cpan.org/dist/Memcached-libmemcached/ It ships with a bundled copy of the libmemcached source. Makefile.PL not only runs the libmemcached configure script, but also make and make install. (The install directory is actually a temp

Distributing C code

2008-03-17 Thread Alberto Simões
Hi I have a C package that has a Perl Module associated. At the moment it follows the following file system structure: [/] | |- configure.ac |- Makefile.am |- *.c |- perl |- file.pm |- Makefile.PL |- MANIFEST | ... At the moment the approach is to run

Re: Distributing C code

2008-03-17 Thread Guy Hulbert
On Mon, 2008-17-03 at 17:23 +, Alberto Simões wrote: What I would like was to rewrite this configure system and base it in Perl. I want to make all the package installable from CPAN as all users of the C package uses the Perl module interface. My question is: what is the best and

Re: Distributing C code

2008-03-17 Thread Eric Wilhelm
# from Alberto Simões # on Monday 17 March 2008 10:23: What I would like was to rewrite this configure system and base it in Perl. I want to make all the package installable from CPAN as all users of the C package uses the Perl module interface. Is there anything in the 'configure' that can't

Re: Distributing C code

2008-03-17 Thread David Nicol
On Mon, Mar 17, 2008 at 12:45 PM, Guy Hulbert [EMAIL PROTECTED] wrote: Inline::C may be easier but I don't know how much it is used. It's used less than it used to, thanks to this guy: InlineX::CPP2XS Convert from Inline C++ code to XS. InlineX-CPP2XS-0.12 - 19 Sep 2007 - Sisyphus