Re: Distributing C code
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 is the best and easier approach? The standard way is to use h2xs but there is also swig and I seem to recall reading recently that Incline::C may be easier but I don't know how much it is used. h2xs: http://search.cpan.org/~rgarcia/perl-5.10.0/utils/h2xs.PL Swig: http://www.swig.org/exec.html Inline: http://search.cpan.org/src/INGY/Inline-0.44/README Ok, the question was nor exactly regarding how to buid the Perl module interface. The question was more, what is the correct way to distribute it. I normally use ExtUtils::MakeMaker for Perl Modules, but I am not sure if it has all the nuts I need to detect libraries and so on. What I really want is something to replace autoconf/automake/libtool. Cheers ambs -- Alberto Simões - Departamento de Informática - Universidade do Minho Campus de Gualtar - 4710-057 Braga - Portugal
Re: Distributing C code
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 directory in which the rest of Makefile.PL expects to find the built libs.) Tim. On Mon, Mar 17, 2008 at 05:23:38PM +, Alberto Simões wrote: 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 the configure script that is hacked to produce a Makefile.AM from the output of Makefile.PL. Also, the dist rule is hacked to follow the MANIFEST files. 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 easier approach? Any module I might give a peek to steal some ideas? TIA ambs -- Alberto Simões - Departamento de Informática - Universidade do Minho Campus de Gualtar - 4710-057 Braga - Portugal
Config::IniFiles - Resuming Maintenance
Hi all! It seems that Config::IniFiles has not been maintained for over 4 years now: http://search.cpan.org/dist/Config-IniFiles/ It's the module with the newest release by its maintainer and has 14 open bugs in RT. I'd like to resume its maintenance, and ask someone to give me a co-maintainer status. I have already successfully adopted Error.pm, IO-Socket-INET6 and XML-SemanticDiff. In the meanwhile, I'll start working on the module and fix bugs using a publicly-accessible Subversion repository. Regards, Shlomi Fish -- Shlomi Fish http://www.shlomifish.org/ Electrical Engineering studies. In the Technion. Been there. Done that. Forgot a lot. Remember too much.
Ideas for soc, Looking for mentors
Hiya. First of all thank you for reading me. Im thinking in a module to manage iptables in an object oriented, and dynamic way. So i would like to meet a mentor or mentors interested in system administration and networking. That way I can explain deeper a mor detailed the idea and see if is interesting enough to make a proposal, and waht the mentor thinks. In the mentors list I saw (Urivan Flores (urivansaaib)) as a possible sysadm project mentor, but I don't know if I have his right mail address. Any way, I'm open to any mentor and to any other ideas. My best regards for all P.S. Sorry if my english isn't very good.
Re: Ideas for soc, Looking for mentors
# from Juan Luis Belmonte # on Tuesday 18 March 2008 14:19: Im thinking in a module to manage iptables in an object oriented, and dynamic way. Hi Juan, That sounds like an interesting idea. Have you looked on CPAN, sourceforge, etc for prior art? If you find some prior art, propose an improvement or extension to it (or a replacement for it if your idea/goal is sufficiently different.) Definitely describe what is currently available, what you're solving etc. http://www.perlfoundation.org/perl5/index.cgi?gsoc2008_proposal_template If you don't find *some* prior art, look harder (or ask more specific questions. ) It is important to understand what is already out there. Also, feel free to elaborate on your idea before you hear back from someone. Often the writing helps to clarify the goals and makes it easier for others to see what you have in mind. In the mentors list I saw (Urivan Flores (urivansaaib)) as a possible sysadm project mentor, but I don't know if I have his right mail address. The assignment of mentors will happen after applications are selected. It helps if a potential mentor takes an interest in your project beforehand, but you shouldn't feel like you need to wait for an answer to get started. --Eric -- Everything goes wrong all at once. --Quantized Revision of Murphy's Law --- http://scratchcomputing.com ---
Re: Ideas for soc, Looking for mentors
shorewall-perl might be a place to start; shorewall comes up zero on cpan search, yet is a big perl program; so converting it to an O-O module should be a simple matter of time and coffee :) On Tue, Mar 18, 2008 at 5:20 PM, Eric Wilhelm [EMAIL PROTECTED] wrote: # from Juan Luis Belmonte # on Tuesday 18 March 2008 14:19: Im thinking in a module to manage iptables in an object oriented, and dynamic way. Hi Juan, That sounds like an interesting idea. Have you looked on CPAN, sourceforge, etc for prior art? -- At the bottom of this huge heap of promotional strategies, there's a product trying to chew its way out
Re: Ideas for soc, Looking for mentors
On Tue, 2008-18-03 at 18:28 -0500, David Nicol wrote: shorewall-perl might be a place to start; shorewall comes up zero on cpan search, yet is a big perl program; so converting it to an O-O module should be a Actually it seems already broken into modules: http://www.shorewall.net/Shorewall-perl.html and it would be more polite to check with the author first. simple matter of time and coffee :) On Tue, Mar 18, 2008 at 5:20 PM, Eric Wilhelm [EMAIL PROTECTED] wrote: # from Juan Luis Belmonte # on Tuesday 18 March 2008 14:19: Im thinking in a module to manage iptables in an object oriented, and dynamic way. Hi Juan, That sounds like an interesting idea. Have you looked on CPAN, sourceforge, etc for prior art? -- --gh