Jody Clements via RT
2012-10-05 15:23:15 UTC
Fri Oct 05 11:23:15 2012: Request 80026 was acted upon.
Transaction: Ticket created by JCLEMENTS
Queue: Inline
Subject: LIB is being in correctly quoted when using more than one lib path
Broken in: 0.48, 0.48_01, 0.48_02, 0.49, 0.49_01, 0.49_02, 0.50, 0.50_01, 0.50_02
Severity: Important
Owner: Nobody
Requestors: JCLEMENTS-***@public.gmane.org
Status: new
Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=80026 >
I have been having a problem getting Inline to compile my code after a
move from version 0.47 to version 0.50. I have the following set up in
my source:
use Inline
C => "$src_file",
VERSION => '0.01',
ENABLE => 'AUTOWRAP',
INC => "-I$src_dir/src -I$src_dir/easel",
LIBS => "-L$src_dir/easel -L$src_dir/src -lhmmer -leasel",
TYPEMAPS => [$typemaps],
NAME => 'Bio::HMM::Logo';
When I run make using version 0.47 everything compiles and the cc line
looks like this:
cc -c -I/opt/src/Bio-HMM-Logo-0.01 -I/opt/src/Bio-HMM-Logo-0.01/src/src
-I/opt/src/Bio-HMM-Logo-0.01/src/easel -fno-strict-aliasing -pipe
-fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64
-O2 -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" -fPIC
"-I/opt/lib/perl5/5.12.2/x86_64-linux/CORE" Logo.c
When I run it using version 0.50 it fails and I get a slightly different
cc line:
cc -c -I"/opt/src/Bio-HMM-Logo-0.01"
"-I/opt/src/Bio-HMM-Logo-0.01/src/src
-I/opt/src/Bio-HMM-Logo-0.01/src/easel" -fno-strict-aliasing -pipe
-fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS
=64 -O2 -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" -fPIC
"-I/opt/lib/perl5/5.12.3/x86_64-linux/CORE" Logo.c
I looked into the source and it looks like the quote_space subroutine
(C.pm line 84) is quoting the entire INC
line("-I/opt/src/Bio-HMM-Logo-0.01/src/src
-I/opt/src/Bio-HMM-Logo-0.01/src/easel") if I have more than one path.
Any help fixing this in future versions would be greatly appreciated.
Thanks,
Jody
Transaction: Ticket created by JCLEMENTS
Queue: Inline
Subject: LIB is being in correctly quoted when using more than one lib path
Broken in: 0.48, 0.48_01, 0.48_02, 0.49, 0.49_01, 0.49_02, 0.50, 0.50_01, 0.50_02
Severity: Important
Owner: Nobody
Requestors: JCLEMENTS-***@public.gmane.org
Status: new
Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=80026 >
I have been having a problem getting Inline to compile my code after a
move from version 0.47 to version 0.50. I have the following set up in
my source:
use Inline
C => "$src_file",
VERSION => '0.01',
ENABLE => 'AUTOWRAP',
INC => "-I$src_dir/src -I$src_dir/easel",
LIBS => "-L$src_dir/easel -L$src_dir/src -lhmmer -leasel",
TYPEMAPS => [$typemaps],
NAME => 'Bio::HMM::Logo';
When I run make using version 0.47 everything compiles and the cc line
looks like this:
cc -c -I/opt/src/Bio-HMM-Logo-0.01 -I/opt/src/Bio-HMM-Logo-0.01/src/src
-I/opt/src/Bio-HMM-Logo-0.01/src/easel -fno-strict-aliasing -pipe
-fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64
-O2 -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" -fPIC
"-I/opt/lib/perl5/5.12.2/x86_64-linux/CORE" Logo.c
When I run it using version 0.50 it fails and I get a slightly different
cc line:
cc -c -I"/opt/src/Bio-HMM-Logo-0.01"
"-I/opt/src/Bio-HMM-Logo-0.01/src/src
-I/opt/src/Bio-HMM-Logo-0.01/src/easel" -fno-strict-aliasing -pipe
-fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS
=64 -O2 -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" -fPIC
"-I/opt/lib/perl5/5.12.3/x86_64-linux/CORE" Logo.c
I looked into the source and it looks like the quote_space subroutine
(C.pm line 84) is quoting the entire INC
line("-I/opt/src/Bio-HMM-Logo-0.01/src/src
-I/opt/src/Bio-HMM-Logo-0.01/src/easel") if I have more than one path.
Any help fixing this in future versions would be greatly appreciated.
Thanks,
Jody