You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Darryl L. Pierce (JIRA)" <ji...@apache.org> on 2012/11/05 15:41:11 UTC

[jira] [Comment Edited] (QPID-4415) perl bindings installed in wrong place

    [ https://issues.apache.org/jira/browse/QPID-4415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13490662#comment-13490662 ] 

Darryl L. Pierce edited comment on QPID-4415 at 11/5/12 2:40 PM:
-----------------------------------------------------------------

Testing this on Fedora 17, what I've found is similar. If I configure using "--prefix=/usr", build out of tree and then do "make install DESTDIR=$PWD/temp", I see the Perl bindings being installed to /usr/local/usr/lib64/perl5/... similar to what's reported here.

I modified the bindings/qpid/Makefile.am as follows:

 @@ -54,7 +54,7 @@ all-local: perl/Makefile
  
  install-exec-local:
         cd perl ; \
 -               $(MAKE) pure_install DESTDIR=$(prefix) ; \
 +               $(MAKE) pure_install ; \

and redid the whole install. Now I see the files that were previously being installed to /usr/local/usr/lib64 properly being installed into the same tree as the rest of Qpid.

Please test the attached patch and, if it works for you, I'll push it.
                
      was (Author: mcpierce):
    Testing this on Fedora 17, what I've found is similar. If I configure using "--prefix=/usr", build out of tree and then do "make install DESTDIR=$PWD/temp", I see the Perl bindings being installed to /usr/local/usr/lib64/perl5/... similar to what's reported here.

I modified the bindings/qpid/Makefile.am as follows:

@@ -54,7 +54,7 @@ all-local: perl/Makefile
 
 install-exec-local:
        cd perl ; \
-               $(MAKE) pure_install DESTDIR=$(prefix) ; \
+               $(MAKE) pure_install ; \

and redid the whole install. Now I see the files that were previously being installed to /usr/local/usr/lib64 properly being installed into the same tree as the rest of Qpid.
                  
> perl bindings installed in wrong place
> --------------------------------------
>
>                 Key: QPID-4415
>                 URL: https://issues.apache.org/jira/browse/QPID-4415
>             Project: Qpid
>          Issue Type: Bug
>    Affects Versions: 0.18
>            Reporter: Jimmy Jones
>            Assignee: Darryl L. Pierce
>
> On Ubuntu 12.04, if I run configure --prefix=/usr the bindings get installed into /usr/usr/lib/perl5...
> However if I run make install from bindings/qpid/perl they get correctly installed.
> On RHEL5 the same issues occurs, but additionally the architecture string is incorrectly put twice into the path /usr/lib/perl/5.14/x86_64-linux-gnu-thread-multi/x86_64-linux-gnu-thread-multi

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org