Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Inline CPAN distribution.

Report information
The Basics
Id: 35517
Status: resolved
Priority: 0/
Queue: Inline

People
Owner: Nobody in particular
Requestors: DEREKB [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: install Inline has a hard limitation to C and CPP
The install command as such: /usr/bin/perl -Mblib -MInline=NOISY,_INSTALL_ -MMy::Mod:With::INLINE Fails because I am working with Inline::Python and Inline::install limits the installer to C or CPP. I found that it all works out well if I comment out the croak statement at the head of sub install. Hard limiting install to C or CPP modules only, is a bit draconian. Here: sub install { my ($module, $DIRECTORY); my $o = shift; # -----------> please cut here croak M64_install_not_c($o->{API}{language_id}) unless uc($o->{API}{language_id}) =~ /^(C|CPP)$/ ; # -----> ^^ }
This has, I believe, been addressed in Inline-0.45, though it's untested by the test suite. I was a little concerned that the test you suggested removing might provide something useful. So, instead of removing it, I simply added "Python" (and a few others) to the regex. If there's a problem with the way this has been dealt with, please feel free to re-open the ticket (or submit a new report). To further discuss the issue (but without re-opening the ticket), consider posting to the Inline mailing list, or send a private email to sisyphus at cpan dot org. Thanks for the report !! Cheers, Rob