Qpid
  1. Qpid
  2. QPID-4719

Problem building perl bindings from qpid 0.22 RC1 tarball

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.22
    • Fix Version/s: 0.22
    • Component/s: Perl Client
    • Labels:
      None

      Description

      Tarball http://people.apache.org/~jross/qpid-0.22-rc1/qpid-cpp-0.22-rc1.tar.gz is missing:

      bindings/qpid/perl/Makefile.PL
      bindings/qpid/perl/Makefile.PL.in
      bindings/qpid/perl/qpid.pm
      bindings/qpid/perl/lib

      which prevents the perl bindings from being built from this tarball. I presume perl-qpid-0.22-rc1.tar.gz is the new home for the perl bindings, but this doesn't build either:

      Running perl Makefile.PL from perl-qpid-0.22-rc1.tar.gz, after installing qpid-cpp-0.22-rc1.tar.gz (with automake):
      Note (probably harmless): No library found for -lqpidmessaging
      Note (probably harmless): No library found for -lqpidtypes
      Writing Makefile for cqpid_perl
      Weird... libqpidmessaging/types seems to be in /usr/lib rather than lib64 on my 64-bit system, and its linked against other libs in lib64.
      Anyway, if then run make:
      cp lib/qpid/messaging/Address.pm blib/lib/qpid/messaging/Address.pm
      cp lib/qpid/messaging/Duration.pm blib/lib/qpid/messaging/Duration.pm
      cp qpid.pm blib/lib/qpid.pm
      cp lib/qpid/messaging/codec.pm blib/lib/qpid/messaging/codec.pm
      cp lib/qpid/messaging/Message.pm blib/lib/qpid/messaging/Message.pm
      cp lib/qpid/messaging/Connection.pm blib/lib/qpid/messaging/Connection.pm
      cp lib/qpid/messaging/Sender.pm blib/lib/qpid/messaging/Sender.pm
      cp lib/qpid_messaging.pm blib/lib/qpid_messaging.pm
      cp lib/qpid/messaging/Receiver.pm blib/lib/qpid/messaging/Receiver.pm
      cp lib/qpid/messaging/Session.pm blib/lib/qpid/messaging/Session.pm
      Running Mkbootstrap for cqpid_perl ()
      chmod 644 cqpid_perl.bs
      rm -f blib/arch/auto/cqpid_perl/cqpid_perl.so
      gcc -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic cqpid_perl.o -o blib/arch/auto/cqpid_perl/cqpid_perl.so \
      \
      gcc: cqpid_perl.o: No such file or directory
      gcc: no input files
      make: *** [blib/arch/auto/cqpid_perl/cqpid_perl.so] Error 1

        Activity

        Hide
        Justin Ross added a comment -

        Reviewed by me. Approved for 0.22.

        Show
        Justin Ross added a comment - Reviewed by me. Approved for 0.22.
        Hide
        Darryl L. Pierce added a comment -
        Show
        Darryl L. Pierce added a comment - This commit can be found: http://svn.apache.org/viewvc?view=revision&revision=1477096
        Hide
        Darryl L. Pierce added a comment -

        This should be fixed now.

        NOTE: Makefile.PL.in is deprecated and should not be used.

        Show
        Darryl L. Pierce added a comment - This should be fixed now. NOTE: Makefile.PL.in is deprecated and should not be used.
        Hide
        Darryl L. Pierce added a comment -

        Okay, I see where my confusion is. I'm looking solely at the larger qpid-0.22 tarball and not the qpid-cpp-0.22 tarball. In the former all files are present and accounted for, in the latter they're not.

        Show
        Darryl L. Pierce added a comment - Okay, I see where my confusion is. I'm looking solely at the larger qpid-0.22 tarball and not the qpid-cpp-0.22 tarball. In the former all files are present and accounted for, in the latter they're not.
        Hide
        Jimmy Jones added a comment - - edited

        Sorry, I should have been clearer, my initial problem with missing files was a red herring.... the issue is:

        • Using qpid-cpp-0.22-rc1.tar.gz & perl-qpid-0.22-rc1.tar.gz I can't build the perl bindings (qpid-0.22-rc1.tar.gz is fine)
        Show
        Jimmy Jones added a comment - - edited Sorry, I should have been clearer, my initial problem with missing files was a red herring.... the issue is: Using qpid-cpp-0.22-rc1.tar.gz & perl-qpid-0.22-rc1.tar.gz I can't build the perl bindings (qpid-0.22-rc1.tar.gz is fine)
        Hide
        Darryl L. Pierce added a comment -

        Can you verify this is the case using "tar ztvf qpid-0.22-rc1.tar.gz | less" and search for the files in question? I'm looking at the file downloaded from here [1] I see the following files and directory:

        drwxrwxr-x jross/jross 0 2013-04-05 08:35 qpid-0.22-rc1/cpp/bindings/qpid/perl/lib/
        rw-rw-r- jross/jross 260 2012-11-27 13:08 qpid-0.22-rc1/cpp/bindings/qpid/perl/Makefile.PL
        rw-rw-r- jross/jross 613 2011-11-09 14:38 qpid-0.22-rc1/cpp/bindings/qpid/perl/Makefile.PL.in
        rw-rw-r- jross/jross 814 2013-02-01 08:52 qpid-0.22-rc1/cpp/bindings/qpid/perl/qpid.pm

        Though Makefile.PL.in should no longer be included: it's been replaced by Makefile.PL since it no longer needs to be generated.

        [1] http://people.apache.org/~jross/qpid-0.22-rc1/

        Show
        Darryl L. Pierce added a comment - Can you verify this is the case using "tar ztvf qpid-0.22-rc1.tar.gz | less" and search for the files in question? I'm looking at the file downloaded from here [1] I see the following files and directory: drwxrwxr-x jross/jross 0 2013-04-05 08:35 qpid-0.22-rc1/cpp/bindings/qpid/perl/lib/ rw-rw-r - jross/jross 260 2012-11-27 13:08 qpid-0.22-rc1/cpp/bindings/qpid/perl/Makefile.PL rw-rw-r - jross/jross 613 2011-11-09 14:38 qpid-0.22-rc1/cpp/bindings/qpid/perl/Makefile.PL.in rw-rw-r - jross/jross 814 2013-02-01 08:52 qpid-0.22-rc1/cpp/bindings/qpid/perl/qpid.pm Though Makefile.PL.in should no longer be included: it's been replaced by Makefile.PL since it no longer needs to be generated. [1] http://people.apache.org/~jross/qpid-0.22-rc1/
        Hide
        Fraser Adams added a comment -

        I've just looked in qpid-0.22/qpid/cpp/bindings/qpid/perl that I got by pulling from subversion via

        svn co https://svn.apache.org/repos/asf/qpid/branches/0.22/ qpid-0.22

        And those files are present there - I've literally just done svn update to check again and they are still there as I type.

        I'm guessing just a glitch in the tarball??

        Show
        Fraser Adams added a comment - I've just looked in qpid-0.22/qpid/cpp/bindings/qpid/perl that I got by pulling from subversion via svn co https://svn.apache.org/repos/asf/qpid/branches/0.22/ qpid-0.22 And those files are present there - I've literally just done svn update to check again and they are still there as I type. I'm guessing just a glitch in the tarball??

          People

          • Assignee:
            Darryl L. Pierce
            Reporter:
            Jimmy Jones
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development