[
https://issues.apache.org/jira/browse/PROTON-465?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13832604#comment-13832604
]
Darryl L. Pierce commented on PROTON-465:
-----------------------------------------
When CMake is running, do you see anything about doing an "alternative search
for Perl" in the output? On my Ubuntu (13.10) development VM I see the
following while CMake is running:
-- Found Perl: /usr/bin/perl (found version "5.14.2")
-- Trying alternative search for Perl
-- Found PerlLibs: /usr/lib/libperl.so.5.14.2
The "alternative" part comes into play if the FindPerlLibs that ships with
CMake fails to show the library. I filed a bug with Ubuntu [1] about that
particular problem a few weeks ago. But, at any rate, the alternative should
find it anyway.
Can you paste the output from CMake for when it's searching specifically for
Perl? Thanks.
[1] https://bugs.launchpad.net/ubuntu/+source/perl/+bug/1236871
> FindPerlLibs.cmake module in Proton behaves differently to Qpid's Perl
> detection
> --------------------------------------------------------------------------------
>
> Key: PROTON-465
> URL: https://issues.apache.org/jira/browse/PROTON-465
> Project: Qpid Proton
> Issue Type: Improvement
> Components: proton-c
> Affects Versions: 0.5
> Environment: Ubuntu 11.10 (at least)
> Reporter: Fraser Adams
> Assignee: Darryl L. Pierce
> Priority: Minor
>
> With Proton when I do cmake .. it barfs with
> -- Trying alternative search for Perl
> -- PerlLibs Not Found
> Though I can get it to play nicely by doing
> cmake .. -DPERL_LIBRARY=`locate -n 1 libperl.so`
> This might not be so unreasonable as I'm using a fairly old version of Ubuntu
> that needs upgrading, however the Perl detection on Qpid works perfectly well
> for me (and I'd assume for others too) which suggests that it's possibly more
> thorough.
> At the very least it would seem sensible to maintain consistency with the
> cmake modules across various Qpid components.
--
This message was sent by Atlassian JIRA
(v6.1#6144)