[Debian-med-packaging] perl path issue with MEME package?

Faheem Mitha faheem at faheem.info
Wed Jan 16 08:43:20 UTC 2013


On Wed, 16 Jan 2013, Faheem Mitha wrote:

>
> On Wed, 16 Jan 2013, Faheem Mitha wrote:
>
>> 
>> I'm seeing the following problem
>> 
>> $ iupac2meme
>> Can't locate MotifUtils.pm in @INC (@INC contains: /usr/lib/perl/5.10.1 
>> /usr/lib/perl /etc/perl /usr/local/lib/perl/5.10.1 
>> /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 
>> /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at 
>> /usr/bin/iupac2meme line 16.
>> BEGIN failed--compilation aborted at /usr/bin/iupac2meme line 16.
>
> I see the patch perl-include.patch makes changes like
>
> use lib qw(@PERLLIBDIR@);
> +use lib qw(/usr/share/perl5/Meme);
>
> I think that many other perl scripts require the same treatment. See the 
> following, for example. Perhaps they all need to be patched?

On second thoughts, why not just arrange to replace @PERLLIBDIR@ with 
something more suitable, so a whole bunch of scripts don't need to be 
patched? I'm not sure what the build system is doing here, but a quick 
grep shows that etc/Makefile.in has this, for example.

        -e 's%@PERLLIBDIR@%$(libdir)/perl%' \

                                                        Regards, Faheem



More information about the Debian-med-packaging mailing list