Install Perl module without always included "Foo" language (for Biopieces)
0
0
Entering edit mode
5.0 years ago
Beginner ▴ 80

Hi,

I tried to use "Biopieces" and followed the installation guide on the GitHub page. When I try to run it I get an error message that seems to have something to do with the perl module "Inline::C": On Biopieces GitHub page someone reported the same issue and an answer was:

"Inline::C, by default - at least when I installed it, using cpan - comes with "Foo" as the language. And this will not work for Biopieces. Unfortunately I don't remember how I solved it, but I think I uninstalled Inline::C, and installed it again, in such a way that Foo was not installed together as the language. Maybe I have installed it from a different source or using some explicit argument for not installing Foo."

However I could not find a way to install the Inline::C without getting the same error again. Any idea how this user was able to install the Inline::C module without Foo?

By the way the error is:

at /Users/biopieces/src/perl/Maasha/Common.pm line 47.
BEGIN failed--compilation aborted at /Users/biopieces/src/perl/Maasha/Common.pm line 47.
Compilation failed in require at /Users/biopieces/src/perl/Maasha/Match.pm line 35.
BEGIN failed--compilation aborted at /Users/biopieces/src/perl/Maasha/Match.pm line 35.
Compilation failed in require at /Users/biopieces/src/perl/Maasha/Biopieces.pm line 34.
BEGIN failed--compilation aborted at /Users/biopieces/src/perl/Maasha/Biopieces.pm line 34.
Compilation failed in require at /Users/biopieces/bin/grab linInvalid value '/Users///Users//tmp' for config option DIRECTORY

Thank you for your help

Perl Biopieces • 1.1k views
ADD COMMENT
1
Entering edit mode

This Foo business doesn't make sense. Inline::C doesn't come with Foo as a language. Foo is only used in examples in the docs. It would be an issue if the examples were copied and reused literally. From the error message you report, the problem looks like the directory given to Inline for compiling is invalid. It is unlikely that a directory with path /Users///Users//tmp exists. As the message suggests, check the config option DIRECTORY.

ADD REPLY
0
Entering edit mode

Please use the formatting bar (especially the code option) to present your post better. You can use backticks for inline code (`text` becomes text), or select a chunk of text and use the highlighted button to format it as a code block. I've done it for you this time.
code_formatting

ADD REPLY

Login before adding your answer.

Traffic: 2127 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6