[
https://issues.apache.org/jira/browse/THRIFT-850?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Reiss updated THRIFT-850:
-------------------------------
Attachment:
v4-0009-THRIFT-850.-Use-AX_PROG_PERL_MODULES-to-test-for-Bit.patch
> Perl runtime requires Bit::Vector which may not be installed by default, but
> configure does not fail
> ----------------------------------------------------------------------------------------------------
>
> Key: THRIFT-850
> URL: https://issues.apache.org/jira/browse/THRIFT-850
> Project: Thrift
> Issue Type: Bug
> Affects Versions: 0.3
> Environment: Mac OSX 10.6.4
> Reporter: Rush Manbert
> Assignee: Michael Lum
> Fix For: 0.5
>
> Attachments: configure.ac.patch,
> v4-0009-THRIFT-850.-Use-AX_PROG_PERL_MODULES-to-test-for-Bit.patch
>
>
> If I do a vanilla configure, make, make check on Mac OSX 10.6.4 the make
> check fails with these messages:
> Making check in perl
> Making check in test
> make check-local
> ../../../compiler/cpp/thrift --gen perl ../../../test/ThriftTest.thrift
> make -f Makefile-perl.mk
> find blib -name 'Makefile*' -exec rm -f {} \;
> make check-local
> /opt/local/bin/perl -Iblib/lib
> -I/Users/rmanbert/Kits/thrift/thrift-0.4.0/lib/perl -I./test/gen-perl \
> /Users/rmanbert/Kits/thrift/thrift-0.4.0/lib/perl/test.pl
> /Users/rmanbert/Kits/thrift/thrift-0.4.0/lib/perl/test/*.t
> /Users/rmanbert/Kits/thrift/thrift-0.4.0/lib/perl/test/memory_buffer....Can't
> locate Bit/Vector.pm in @INC (@INC contains: blib/lib
> /Users/rmanbert/Kits/thrift/thrift-0.4.0/lib/perl ./test/gen-perl
> /opt/local/lib/perl5/site_perl/5.8.9/darwin-2level
> /opt/local/lib/perl5/site_perl/5.8.9 /opt/local/lib/perl5/site_perl
> /opt/local/lib/perl5/vendor_perl/5.8.9/darwin-2level
> /opt/local/lib/perl5/vendor_perl/5.8.9/darwin-2level
> /opt/local/lib/perl5/vendor_perl/5.8.9
> /opt/local/lib/perl5/vendor_perl/5.8.9/darwin-2level
> /opt/local/lib/perl5/vendor_perl/5.8.9 /opt/local/lib/perl5/vendor_perl
> /opt/local/lib/perl5/5.8.9/darwin-2level
> /opt/local/lib/perl5/5.8.9/darwin-2level /opt/local/lib/perl5/5.8.9 .
> /opt/local/lib/perl5/site_perl/5.8.9/darwin-2level
> /opt/local/lib/perl5/site_perl/5.8.9 /opt/local/lib/perl5/site_perl
> /opt/local/lib/perl5/vendor_perl/5.8.9/darwin-2level
> /opt/local/lib/perl5/vendor_perl/5.8.9 /opt/local/lib/perl5/vendor_perl
> /opt/local/lib/perl5/5.8.9/darwin-2level /opt/local/lib/perl5/5.8.9 .) at
> blib/lib/Thrift/BinaryProtocol.pm line 31.
> BEGIN failed--compilation aborted at blib/lib/Thrift/BinaryProtocol.pm line
> 31.
> Compilation failed in require at
> /Users/rmanbert/Kits/thrift/thrift-0.4.0/lib/perl/test/memory_buffer.t line
> 27.
> BEGIN failed--compilation aborted at
> /Users/rmanbert/Kits/thrift/thrift-0.4.0/lib/perl/test/memory_buffer.t line
> 27.
> # Looks like your test died before it could output anything.
> /Users/rmanbert/Kits/thrift/thrift-0.4.0/lib/perl/test/memory_buffer....dubious
> Test returned status 255 (wstat 65280, 0xff00)
> DIED. FAILED tests 1-6
> Failed 6/6 tests, 0.00% okay
> /Users/rmanbert/Kits/thrift/thrift-0.4.0/lib/perl/test/processor........Can't
> locate Bit/Vector.pm in @INC (@INC contains: blib/lib
> /Users/rmanbert/Kits/thrift/thrift-0.4.0/lib/perl ./test/gen-perl
> /opt/local/lib/perl5/site_perl/5.8.9/darwin-2level
> /opt/local/lib/perl5/site_perl/5.8.9 /opt/local/lib/perl5/site_perl
> /opt/local/lib/perl5/vendor_perl/5.8.9/darwin-2level
> /opt/local/lib/perl5/vendor_perl/5.8.9/darwin-2level
> /opt/local/lib/perl5/vendor_perl/5.8.9
> /opt/local/lib/perl5/vendor_perl/5.8.9/darwin-2level
> /opt/local/lib/perl5/vendor_perl/5.8.9 /opt/local/lib/perl5/vendor_perl
> /opt/local/lib/perl5/5.8.9/darwin-2level
> /opt/local/lib/perl5/5.8.9/darwin-2level /opt/local/lib/perl5/5.8.9 .
> /opt/local/lib/perl5/site_perl/5.8.9/darwin-2level
> /opt/local/lib/perl5/site_perl/5.8.9 /opt/local/lib/perl5/site_perl
> /opt/local/lib/perl5/vendor_perl/5.8.9/darwin-2level
> /opt/local/lib/perl5/vendor_perl/5.8.9 /opt/local/lib/perl5/vendor_perl
> /opt/local/lib/perl5/5.8.9/darwin-2level /opt/local/lib/perl5/5.8.9 .) at
> blib/lib/Thrift/BinaryProtocol.pm line 31.
> BEGIN failed--compilation aborted at blib/lib/Thrift/BinaryProtocol.pm line
> 31.
> Compilation failed in require at
> /Users/rmanbert/Kits/thrift/thrift-0.4.0/lib/perl/test/processor.t line 26.
> BEGIN failed--compilation aborted at
> /Users/rmanbert/Kits/thrift/thrift-0.4.0/lib/perl/test/processor.t line 26.
> # Looks like your test died before it could output anything.
> /Users/rmanbert/Kits/thrift/thrift-0.4.0/lib/perl/test/processor........dubious
> Test returned status 255 (wstat 65280, 0xff00)
> DIED. FAILED tests 1-2
> Failed 2/2 tests, 0.00% okay
> Failed Test Stat Wstat Total Fail List of
> Failed
> -------------------------------------------------------------------------------
> /Users/rmanbert/Kits/thrift/thrift-0.4.0/ 255 65280 6 12 1-6
> /Users/rmanbert/Kits/thrift/thrift-0.4.0/ 255 65280 2 4 1-2
> Failed 2/2 test scripts. 8/8 subtests failed.
> Files=2, Tests=8, 1 wallclock secs ( 0.05 cusr + 0.02 csys = 0.07 CPU)
> Failed 2/2 test programs. 8/8 subtests failed.
> make[4]: *** [check-local] Error 255
> make[3]: *** [check-am] Error 2
> make[2]: *** [check-recursive] Error 1
> make[1]: *** [check-recursive] Error 1
> make: *** [check-recursive] Error 1
> I understand that the problem is that the perl Bit::Vector module is not
> installed. If it is required by the runtime, then I feel the configure should
> check for its presence, and fail if it's not installed. Of course, if I
> specify --with-perl=no on the configure command line then this check should
> not be done.
> I tested against 0.4 RC0.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.