[jira] [Created] (QPID-5135) System stalling

2013-09-12 Thread Jimmy Jones (JIRA)
Jimmy Jones created QPID-5135:
-

 Summary: System stalling
 Key: QPID-5135
 URL: https://issues.apache.org/jira/browse/QPID-5135
 Project: Qpid
  Issue Type: Bug
  Components: C++ Broker
Affects Versions: 0.22
 Environment: RHEL5
Reporter: Jimmy Jones


See threads on qpid-user: 
http://qpid.2158936.n2.nabble.com/System-stalling-tp7597317.html and 
http://qpid.2158936.n2.nabble.com/Re-System-stalling-td7597940.html

See attached scripts which reproduce the issue. Running rx-test.pl followed by 
tx-test.pl results in a system where the receiver can keep up with the producer 
(gets a message every 1s) (tx-test 118% CPU, qpidd 97% CPU, rx-test 60% CPU). 
However, if you stop rx-test and restart it (even after only a second or so), 
it starts to take 2s+ to receive messages, going up to about 6s on my system, 
so the ring quickly fills and overflows. Even if the producer is then stopped, 
messages are still only received every 3s - with qpidd on 100% CPU and the 
receiver on 5%. Also the resident size of qpidd reaches 5GB, yet the queue is 
only 2GB.

--
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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Updated] (QPID-5135) System stalling

2013-09-12 Thread Jimmy Jones (JIRA)

 [ 
https://issues.apache.org/jira/browse/QPID-5135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jimmy Jones updated QPID-5135:
--

Attachment: tx-test.pl
rx-test.pl

 System stalling
 ---

 Key: QPID-5135
 URL: https://issues.apache.org/jira/browse/QPID-5135
 Project: Qpid
  Issue Type: Bug
  Components: C++ Broker
Affects Versions: 0.22
 Environment: RHEL5
Reporter: Jimmy Jones
 Attachments: rx-test.pl, tx-test.pl


 See threads on qpid-user: 
 http://qpid.2158936.n2.nabble.com/System-stalling-tp7597317.html and 
 http://qpid.2158936.n2.nabble.com/Re-System-stalling-td7597940.html
 See attached scripts which reproduce the issue. Running rx-test.pl followed 
 by tx-test.pl results in a system where the receiver can keep up with the 
 producer (gets a message every 1s) (tx-test 118% CPU, qpidd 97% CPU, rx-test 
 60% CPU). However, if you stop rx-test and restart it (even after only a 
 second or so), it starts to take 2s+ to receive messages, going up to about 
 6s on my system, so the ring quickly fills and overflows. Even if the 
 producer is then stopped, messages are still only received every 3s - with 
 qpidd on 100% CPU and the receiver on 5%. Also the resident size of qpidd 
 reaches 5GB, yet the queue is only 2GB.

--
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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (QPID-4867) Failed cmake build on RHEL5 0.22 RC4

2013-07-05 Thread Jimmy Jones (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-4867?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13701109#comment-13701109
 ] 

Jimmy Jones commented on QPID-4867:
---

Still an issue in 0.24 alpha

 Failed cmake build on RHEL5 0.22 RC4
 

 Key: QPID-4867
 URL: https://issues.apache.org/jira/browse/QPID-4867
 Project: Qpid
  Issue Type: Bug
Affects Versions: 0.22
 Environment: RHEL 5.8
Reporter: Jimmy Jones

 Fresh RHEL 5.8 VM:
 sudo yum install cmake boost-devel e2fsprogs-devel pkgconfig gcc-c++ make 
 ruby doxygen graphviz
 tar xvzf qpid-cpp-0.22.tar.gz
 cd qpidc-0.22
 mkdir BLD
 cd BLD
 cmake ..
 make
 Scanning dependencies of target docs-user-api
 Invalid value for DOT_IMAGE_FORMAT: `PNG'. Using the default.
 Error: tag INPUT: input source 
 `/home/jimmy/qpidc-0.22/docs/api/doxygen_mainpage.h' does not exist
 make[2]: *** [docs/api/CMakeFiles/docs-user-api] Error 1
 make[1]: *** [docs/api/CMakeFiles/docs-user-api.dir/all] Error 2
 make: *** [all] Error 2

--
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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (QPID-4826) Fix memory leak in Perl bindings when building with Swig 1.3.32

2013-07-05 Thread Jimmy Jones (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-4826?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13701110#comment-13701110
 ] 

Jimmy Jones commented on QPID-4826:
---

I can confirm a regression of QPID-4417 in 0.24 alpha 

 Fix memory leak in Perl bindings when building with Swig  1.3.32
 -

 Key: QPID-4826
 URL: https://issues.apache.org/jira/browse/QPID-4826
 Project: Qpid
  Issue Type: Bug
  Components: Perl Client
Affects Versions: 0.18
Reporter: Darryl L. Pierce
Assignee: Darryl L. Pierce
 Fix For: Future


 There is a memory leak that occurs when building the Perl language bindings 
 generated with version of Swig earlier than 1.3.32.

--
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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Resolved] (QPID-4719) Problem building perl bindings from qpid 0.22 RC1 tarball

2013-05-23 Thread Jimmy Jones (JIRA)

 [ 
https://issues.apache.org/jira/browse/QPID-4719?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jimmy Jones resolved QPID-4719.
---

Resolution: Fixed

 Problem building perl bindings from qpid 0.22 RC1 tarball
 -

 Key: QPID-4719
 URL: https://issues.apache.org/jira/browse/QPID-4719
 Project: Qpid
  Issue Type: Bug
  Components: Perl Client
Affects Versions: 0.22
Reporter: Jimmy Jones
Assignee: Darryl L. Pierce
 Fix For: 0.22


 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

--
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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Created] (QPID-4867) Failed cmake build on RHEL5 0.22 RC4

2013-05-19 Thread Jimmy Jones (JIRA)
Jimmy Jones created QPID-4867:
-

 Summary: Failed cmake build on RHEL5 0.22 RC4
 Key: QPID-4867
 URL: https://issues.apache.org/jira/browse/QPID-4867
 Project: Qpid
  Issue Type: Bug
Affects Versions: 0.22
 Environment: RHEL 5.8
Reporter: Jimmy Jones


Fresh RHEL 5.8 VM:

sudo yum install cmake boost-devel e2fsprogs-devel pkgconfig gcc-c++ make ruby 
doxygen graphviz
tar xvzf qpid-cpp-0.22.tar.gz
cd qpidc-0.22
mkdir BLD
cd BLD
cmake ..
make

Scanning dependencies of target docs-user-api
Invalid value for DOT_IMAGE_FORMAT: `PNG'. Using the default.
Error: tag INPUT: input source 
`/home/jimmy/qpidc-0.22/docs/api/doxygen_mainpage.h' does not exist
make[2]: *** [docs/api/CMakeFiles/docs-user-api] Error 1
make[1]: *** [docs/api/CMakeFiles/docs-user-api.dir/all] Error 2
make: *** [all] Error 2

--
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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (QPID-4867) Failed cmake build on RHEL5 0.22 RC4

2013-05-19 Thread Jimmy Jones (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-4867?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13661598#comment-13661598
 ] 

Jimmy Jones commented on QPID-4867:
---

With the full tarball (qpid-0.22.tar.gz), cmake build works.

 Failed cmake build on RHEL5 0.22 RC4
 

 Key: QPID-4867
 URL: https://issues.apache.org/jira/browse/QPID-4867
 Project: Qpid
  Issue Type: Bug
Affects Versions: 0.22
 Environment: RHEL 5.8
Reporter: Jimmy Jones

 Fresh RHEL 5.8 VM:
 sudo yum install cmake boost-devel e2fsprogs-devel pkgconfig gcc-c++ make 
 ruby doxygen graphviz
 tar xvzf qpid-cpp-0.22.tar.gz
 cd qpidc-0.22
 mkdir BLD
 cd BLD
 cmake ..
 make
 Scanning dependencies of target docs-user-api
 Invalid value for DOT_IMAGE_FORMAT: `PNG'. Using the default.
 Error: tag INPUT: input source 
 `/home/jimmy/qpidc-0.22/docs/api/doxygen_mainpage.h' does not exist
 make[2]: *** [docs/api/CMakeFiles/docs-user-api] Error 1
 make[1]: *** [docs/api/CMakeFiles/docs-user-api.dir/all] Error 2
 make: *** [all] Error 2

--
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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (QPID-4770) Perl bindings don't build from qpid-0.22-rc2.tar.gz

2013-05-10 Thread Jimmy Jones (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-4770?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13654406#comment-13654406
 ] 

Jimmy Jones commented on QPID-4770:
---

Issue still present in RC3

 Perl bindings don't build from qpid-0.22-rc2.tar.gz
 ---

 Key: QPID-4770
 URL: https://issues.apache.org/jira/browse/QPID-4770
 Project: Qpid
  Issue Type: Bug
  Components: Perl Client
Affects Versions: 0.22
 Environment: RHEL6
Reporter: Jimmy Jones

 Fresh RHEL6 VM:
 ./configure --prefix=/usr
 ...
 gcc -c   -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe 
 -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE 
 -D_FILE_OFFSET_BITS=64 -g -O2   -DVERSION=\\ -DXS_VERSION=\\ -fPIC 
 -I/usr/lib64/perl5/CORE   cqpid_perl.cpp
 cqpid_perl.cpp:1577:39: error: qpid/messaging/exceptions.h: No such file or 
 directory
 cqpid_perl.cpp:1578:36: error: qpid/messaging/Address.h: No such file or 
 directory
 cqpid_perl.cpp:1579:39: error: qpid/messaging/Connection.h: No such file or 
 directory
 cqpid_perl.cpp:1580:36: error: qpid/messaging/Session.h: No such file or 
 directory
 cqpid_perl.cpp:1581:37: error: qpid/messaging/Receiver.h: No such file or 
 directory
 cqpid_perl.cpp:1582:35: error: qpid/messaging/Sender.h: No such file or 
 directory
 cqpid_perl.cpp:1583:36: error: qpid/messaging/Message.h: No such file or 
 directory
 cqpid_perl.cpp:1584:37: error: qpid/messaging/Duration.h: No such file or 
 directory
 cqpid_perl.cpp:1585:44: error: qpid/messaging/FailoverUpdates.h: No such file 
 or directory
 cqpid_perl.cpp:1591: error: ‘qpid’ has not been declared
 cqpid_perl.cpp:1591: error: expected constructor, destructor, or type 
 conversion before ‘’ token
 cqpid_perl.cpp:1598: error: ‘qpid’ has not been declared
 cqpid_perl.cpp:1598: error: expected constructor, destructor, or type 
 conversion before ‘’ token
 cqpid_perl.cpp:1714: error: ‘qpid’ has not been declared
 cqpid_perl.cpp:1714: error: expected initializer before 
 ‘qpid_messaging_Duration___mul__’
 cqpid_perl.cpp:1856: error: ‘qpid’ has not been declared
 cqpid_perl.cpp:1856: error: ‘self’ was not declared in this scope
 cqpid_perl.cpp:1856: error: expected ‘,’ or ‘;’ before ‘{’ token
 cqpid_perl.cpp: In function ‘int _wrap_Duration_FOREVER_get(PerlInterpreter*, 
 SV*, MAGIC*)’:
 cqpid_perl.cpp:1883: error: ‘qpid’ has not been declared
 cqpid_perl.cpp: In function ‘int 
 _wrap_Duration_IMMEDIATE_get(PerlInterpreter*, SV*, MAGIC*)’:
 cqpid_perl.cpp:1890: error: ‘qpid’ has not been declared
 cqpid_perl.cpp: In function ‘int _wrap_Duration_SECOND_get(PerlInterpreter*, 
 SV*, MAGIC*)’:
 cqpid_perl.cpp:1897: error: ‘qpid’ has not been declared
 cqpid_perl.cpp: In function ‘int _wrap_Duration_MINUTE_get(PerlInterpreter*, 
 SV*, MAGIC*)’:
 cqpid_perl.cpp:1904: error: ‘qpid’ has not been declared
 cqpid_perl.cpp: At global scope:
 cqpid_perl.cpp:1926: error: ISO C++ forbids declaration of ‘qpid’ with no type
 cqpid_perl.cpp:1926: error: expected ‘,’ or ‘...’ before ‘::’ token
 cqpid_perl.cpp:1927: error: ISO C++ forbids declaration of ‘qpid’ with no type
 cqpid_perl.cpp:1927: error: expected ‘,’ or ‘...’ before ‘::’ token
 cqpid_perl.cpp:1928: error: ‘qpid’ has not been declared
 cqpid_perl.cpp:1928: error: expected ‘,’ or ‘...’ before ‘*’ token
 cqpid_perl.cpp:1929: error: ‘qpid’ has not been declared
 cqpid_perl.cpp:1929: error: expected ‘,’ or ‘...’ before ‘*’ token
 cqpid_perl.cpp:1931: error: ‘qpid’ has not been declared
 cqpid_perl.cpp:1931: error: expected constructor, destructor, or type 
 conversion before ‘PerlToVariant’
 cqpid_perl.cpp:11608: error: expected ‘}’ at end of input
 make[4]: *** [cqpid_perl.o] Error 1

--
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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Reopened] (QPID-4781) cmake build of perl bindings fails in RC2

2013-05-10 Thread Jimmy Jones (JIRA)

 [ 
https://issues.apache.org/jira/browse/QPID-4781?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jimmy Jones reopened QPID-4781:
---


Still an issue in RC3

 cmake build of perl bindings fails in RC2
 -

 Key: QPID-4781
 URL: https://issues.apache.org/jira/browse/QPID-4781
 Project: Qpid
  Issue Type: Bug
  Components: Perl Client
Affects Versions: 0.22
 Environment: RHEL5
Reporter: Jimmy Jones

 Running cmake ..  make  make install
 -- Installing: /usr/local/etc/qpid/qpidd.conf
 CMake Error at bindings/qpid/perl/cmake_install.cmake:36 (FILE):
   file INSTALL cannot find file
   /home/test/qpid-0.22-rc2/cpp/bld/bindings/qpid/perl/libcqpid_perl.so to
   install.
 Call Stack (most recent call first):
   bindings/cmake_install.cmake:37 (INCLUDE)
   cmake_install.cmake:63 (INCLUDE)
 make: *** [install] Error 1
 The library in that directory is cqpid_perl.so, not libcqpid_perl.so

--
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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Created] (QPID-4828) qpid-cpp-0.22-rc3 RHEL5 cmake issues

2013-05-10 Thread Jimmy Jones (JIRA)
Jimmy Jones created QPID-4828:
-

 Summary: qpid-cpp-0.22-rc3 RHEL5 cmake issues
 Key: QPID-4828
 URL: https://issues.apache.org/jira/browse/QPID-4828
 Project: Qpid
  Issue Type: Bug
  Components: Perl Client
Affects Versions: 0.22
 Environment: RHEL5
Reporter: Jimmy Jones


As per QPID-4724, but issue not fixed in RHEL5, require PERL_LIBRARY and 
PERL_INCLUDE_PATH to be specified manually:

cmake .. 
-DPERL_LIBRARY=/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/libperl.so 
-DPERL_INCLUDE_PATH=/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE

--
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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (QPID-4781) cmake build of perl bindings fails in RC2

2013-04-29 Thread Jimmy Jones (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-4781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13644624#comment-13644624
 ] 

Jimmy Jones commented on QPID-4781:
---

The commit can be found at:

https://svn.apache.org/viewvc?view=revisionrevision=1477150

 cmake build of perl bindings fails in RC2
 -

 Key: QPID-4781
 URL: https://issues.apache.org/jira/browse/QPID-4781
 Project: Qpid
  Issue Type: Bug
  Components: Perl Client
Affects Versions: 0.22
 Environment: RHEL5
Reporter: Jimmy Jones

 Running cmake ..  make  make install
 -- Installing: /usr/local/etc/qpid/qpidd.conf
 CMake Error at bindings/qpid/perl/cmake_install.cmake:36 (FILE):
   file INSTALL cannot find file
   /home/test/qpid-0.22-rc2/cpp/bld/bindings/qpid/perl/libcqpid_perl.so to
   install.
 Call Stack (most recent call first):
   bindings/cmake_install.cmake:37 (INCLUDE)
   cmake_install.cmake:63 (INCLUDE)
 make: *** [install] Error 1
 The library in that directory is cqpid_perl.so, not libcqpid_perl.so

--
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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Resolved] (QPID-4781) cmake build of perl bindings fails in RC2

2013-04-29 Thread Jimmy Jones (JIRA)

 [ 
https://issues.apache.org/jira/browse/QPID-4781?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jimmy Jones resolved QPID-4781.
---

Resolution: Fixed

 cmake build of perl bindings fails in RC2
 -

 Key: QPID-4781
 URL: https://issues.apache.org/jira/browse/QPID-4781
 Project: Qpid
  Issue Type: Bug
  Components: Perl Client
Affects Versions: 0.22
 Environment: RHEL5
Reporter: Jimmy Jones

 Running cmake ..  make  make install
 -- Installing: /usr/local/etc/qpid/qpidd.conf
 CMake Error at bindings/qpid/perl/cmake_install.cmake:36 (FILE):
   file INSTALL cannot find file
   /home/test/qpid-0.22-rc2/cpp/bld/bindings/qpid/perl/libcqpid_perl.so to
   install.
 Call Stack (most recent call first):
   bindings/cmake_install.cmake:37 (INCLUDE)
   cmake_install.cmake:63 (INCLUDE)
 make: *** [install] Error 1
 The library in that directory is cqpid_perl.so, not libcqpid_perl.so

--
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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (QPID-4770) Perl bindings don't build from qpid-0.22-rc2.tar.gz

2013-04-26 Thread Jimmy Jones (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-4770?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13643156#comment-13643156
 ] 

Jimmy Jones commented on QPID-4770:
---

Successfully built and correctly linked now cmake is fixed (QPID-4724), so this 
must be automake specific.

 Perl bindings don't build from qpid-0.22-rc2.tar.gz
 ---

 Key: QPID-4770
 URL: https://issues.apache.org/jira/browse/QPID-4770
 Project: Qpid
  Issue Type: Bug
  Components: Perl Client
Affects Versions: 0.22
 Environment: RHEL6
Reporter: Jimmy Jones

 Fresh RHEL6 VM:
 gcc -c   -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe 
 -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE 
 -D_FILE_OFFSET_BITS=64 -g -O2   -DVERSION=\\ -DXS_VERSION=\\ -fPIC 
 -I/usr/lib64/perl5/CORE   cqpid_perl.cpp
 cqpid_perl.cpp:1577:39: error: qpid/messaging/exceptions.h: No such file or 
 directory
 cqpid_perl.cpp:1578:36: error: qpid/messaging/Address.h: No such file or 
 directory
 cqpid_perl.cpp:1579:39: error: qpid/messaging/Connection.h: No such file or 
 directory
 cqpid_perl.cpp:1580:36: error: qpid/messaging/Session.h: No such file or 
 directory
 cqpid_perl.cpp:1581:37: error: qpid/messaging/Receiver.h: No such file or 
 directory
 cqpid_perl.cpp:1582:35: error: qpid/messaging/Sender.h: No such file or 
 directory
 cqpid_perl.cpp:1583:36: error: qpid/messaging/Message.h: No such file or 
 directory
 cqpid_perl.cpp:1584:37: error: qpid/messaging/Duration.h: No such file or 
 directory
 cqpid_perl.cpp:1585:44: error: qpid/messaging/FailoverUpdates.h: No such file 
 or directory
 cqpid_perl.cpp:1591: error: ‘qpid’ has not been declared
 cqpid_perl.cpp:1591: error: expected constructor, destructor, or type 
 conversion before ‘’ token
 cqpid_perl.cpp:1598: error: ‘qpid’ has not been declared
 cqpid_perl.cpp:1598: error: expected constructor, destructor, or type 
 conversion before ‘’ token
 cqpid_perl.cpp:1714: error: ‘qpid’ has not been declared
 cqpid_perl.cpp:1714: error: expected initializer before 
 ‘qpid_messaging_Duration___mul__’
 cqpid_perl.cpp:1856: error: ‘qpid’ has not been declared
 cqpid_perl.cpp:1856: error: ‘self’ was not declared in this scope
 cqpid_perl.cpp:1856: error: expected ‘,’ or ‘;’ before ‘{’ token
 cqpid_perl.cpp: In function ‘int _wrap_Duration_FOREVER_get(PerlInterpreter*, 
 SV*, MAGIC*)’:
 cqpid_perl.cpp:1883: error: ‘qpid’ has not been declared
 cqpid_perl.cpp: In function ‘int 
 _wrap_Duration_IMMEDIATE_get(PerlInterpreter*, SV*, MAGIC*)’:
 cqpid_perl.cpp:1890: error: ‘qpid’ has not been declared
 cqpid_perl.cpp: In function ‘int _wrap_Duration_SECOND_get(PerlInterpreter*, 
 SV*, MAGIC*)’:
 cqpid_perl.cpp:1897: error: ‘qpid’ has not been declared
 cqpid_perl.cpp: In function ‘int _wrap_Duration_MINUTE_get(PerlInterpreter*, 
 SV*, MAGIC*)’:
 cqpid_perl.cpp:1904: error: ‘qpid’ has not been declared
 cqpid_perl.cpp: At global scope:
 cqpid_perl.cpp:1926: error: ISO C++ forbids declaration of ‘qpid’ with no type
 cqpid_perl.cpp:1926: error: expected ‘,’ or ‘...’ before ‘::’ token
 cqpid_perl.cpp:1927: error: ISO C++ forbids declaration of ‘qpid’ with no type
 cqpid_perl.cpp:1927: error: expected ‘,’ or ‘...’ before ‘::’ token
 cqpid_perl.cpp:1928: error: ‘qpid’ has not been declared
 cqpid_perl.cpp:1928: error: expected ‘,’ or ‘...’ before ‘*’ token
 cqpid_perl.cpp:1929: error: ‘qpid’ has not been declared
 cqpid_perl.cpp:1929: error: expected ‘,’ or ‘...’ before ‘*’ token
 cqpid_perl.cpp:1931: error: ‘qpid’ has not been declared
 cqpid_perl.cpp:1931: error: expected constructor, destructor, or type 
 conversion before ‘PerlToVariant’
 cqpid_perl.cpp:11608: error: expected ‘}’ at end of input
 make[4]: *** [cqpid_perl.o] Error 1

--
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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Comment Edited] (QPID-4770) Perl bindings don't build from qpid-0.22-rc2.tar.gz

2013-04-26 Thread Jimmy Jones (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-4770?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13639469#comment-13639469
 ] 

Jimmy Jones edited comment on QPID-4770 at 4/26/13 7:23 PM:


Running sudo make install does cause them to be built (as root), but then 
cqpid_perl.so isn't linked correctly:

[jimmy@localhost perl]$ ldd /usr/lib64/perl5/auto/cqpid_perl/cqpid_perl.so 
linux-vdso.so.1 = (0x7fffecf95000)
libgcc_s.so.1 = /lib64/libgcc_s.so.1 (0x7f5e4b10a000)
libc.so.6 = /lib64/libc.so.6 (0x7f5e4ad78000)
/lib64/ld-linux-x86-64.so.2 (0x003a05c0)

  was (Author: jimmyjones2):
Running sudo make install does cause them to be built (as root), but then 
cqpid_perl.so isn't linked correctly (QPID-4719)
  
 Perl bindings don't build from qpid-0.22-rc2.tar.gz
 ---

 Key: QPID-4770
 URL: https://issues.apache.org/jira/browse/QPID-4770
 Project: Qpid
  Issue Type: Bug
  Components: Perl Client
Affects Versions: 0.22
 Environment: RHEL6
Reporter: Jimmy Jones

 Fresh RHEL6 VM:
 gcc -c   -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe 
 -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE 
 -D_FILE_OFFSET_BITS=64 -g -O2   -DVERSION=\\ -DXS_VERSION=\\ -fPIC 
 -I/usr/lib64/perl5/CORE   cqpid_perl.cpp
 cqpid_perl.cpp:1577:39: error: qpid/messaging/exceptions.h: No such file or 
 directory
 cqpid_perl.cpp:1578:36: error: qpid/messaging/Address.h: No such file or 
 directory
 cqpid_perl.cpp:1579:39: error: qpid/messaging/Connection.h: No such file or 
 directory
 cqpid_perl.cpp:1580:36: error: qpid/messaging/Session.h: No such file or 
 directory
 cqpid_perl.cpp:1581:37: error: qpid/messaging/Receiver.h: No such file or 
 directory
 cqpid_perl.cpp:1582:35: error: qpid/messaging/Sender.h: No such file or 
 directory
 cqpid_perl.cpp:1583:36: error: qpid/messaging/Message.h: No such file or 
 directory
 cqpid_perl.cpp:1584:37: error: qpid/messaging/Duration.h: No such file or 
 directory
 cqpid_perl.cpp:1585:44: error: qpid/messaging/FailoverUpdates.h: No such file 
 or directory
 cqpid_perl.cpp:1591: error: ‘qpid’ has not been declared
 cqpid_perl.cpp:1591: error: expected constructor, destructor, or type 
 conversion before ‘’ token
 cqpid_perl.cpp:1598: error: ‘qpid’ has not been declared
 cqpid_perl.cpp:1598: error: expected constructor, destructor, or type 
 conversion before ‘’ token
 cqpid_perl.cpp:1714: error: ‘qpid’ has not been declared
 cqpid_perl.cpp:1714: error: expected initializer before 
 ‘qpid_messaging_Duration___mul__’
 cqpid_perl.cpp:1856: error: ‘qpid’ has not been declared
 cqpid_perl.cpp:1856: error: ‘self’ was not declared in this scope
 cqpid_perl.cpp:1856: error: expected ‘,’ or ‘;’ before ‘{’ token
 cqpid_perl.cpp: In function ‘int _wrap_Duration_FOREVER_get(PerlInterpreter*, 
 SV*, MAGIC*)’:
 cqpid_perl.cpp:1883: error: ‘qpid’ has not been declared
 cqpid_perl.cpp: In function ‘int 
 _wrap_Duration_IMMEDIATE_get(PerlInterpreter*, SV*, MAGIC*)’:
 cqpid_perl.cpp:1890: error: ‘qpid’ has not been declared
 cqpid_perl.cpp: In function ‘int _wrap_Duration_SECOND_get(PerlInterpreter*, 
 SV*, MAGIC*)’:
 cqpid_perl.cpp:1897: error: ‘qpid’ has not been declared
 cqpid_perl.cpp: In function ‘int _wrap_Duration_MINUTE_get(PerlInterpreter*, 
 SV*, MAGIC*)’:
 cqpid_perl.cpp:1904: error: ‘qpid’ has not been declared
 cqpid_perl.cpp: At global scope:
 cqpid_perl.cpp:1926: error: ISO C++ forbids declaration of ‘qpid’ with no type
 cqpid_perl.cpp:1926: error: expected ‘,’ or ‘...’ before ‘::’ token
 cqpid_perl.cpp:1927: error: ISO C++ forbids declaration of ‘qpid’ with no type
 cqpid_perl.cpp:1927: error: expected ‘,’ or ‘...’ before ‘::’ token
 cqpid_perl.cpp:1928: error: ‘qpid’ has not been declared
 cqpid_perl.cpp:1928: error: expected ‘,’ or ‘...’ before ‘*’ token
 cqpid_perl.cpp:1929: error: ‘qpid’ has not been declared
 cqpid_perl.cpp:1929: error: expected ‘,’ or ‘...’ before ‘*’ token
 cqpid_perl.cpp:1931: error: ‘qpid’ has not been declared
 cqpid_perl.cpp:1931: error: expected constructor, destructor, or type 
 conversion before ‘PerlToVariant’
 cqpid_perl.cpp:11608: error: expected ‘}’ at end of input
 make[4]: *** [cqpid_perl.o] Error 1

--
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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Comment Edited] (QPID-4770) Perl bindings don't build from qpid-0.22-rc2.tar.gz

2013-04-26 Thread Jimmy Jones (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-4770?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13639464#comment-13639464
 ] 

Jimmy Jones edited comment on QPID-4770 at 4/26/13 7:23 PM:


Was using ./configure --prefix=/usr

  was (Author: jimmyjones2):
Was using ./configure --prefix=/usr, not cmake (see QPID-4724 for why)
  
 Perl bindings don't build from qpid-0.22-rc2.tar.gz
 ---

 Key: QPID-4770
 URL: https://issues.apache.org/jira/browse/QPID-4770
 Project: Qpid
  Issue Type: Bug
  Components: Perl Client
Affects Versions: 0.22
 Environment: RHEL6
Reporter: Jimmy Jones

 Fresh RHEL6 VM:
 gcc -c   -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe 
 -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE 
 -D_FILE_OFFSET_BITS=64 -g -O2   -DVERSION=\\ -DXS_VERSION=\\ -fPIC 
 -I/usr/lib64/perl5/CORE   cqpid_perl.cpp
 cqpid_perl.cpp:1577:39: error: qpid/messaging/exceptions.h: No such file or 
 directory
 cqpid_perl.cpp:1578:36: error: qpid/messaging/Address.h: No such file or 
 directory
 cqpid_perl.cpp:1579:39: error: qpid/messaging/Connection.h: No such file or 
 directory
 cqpid_perl.cpp:1580:36: error: qpid/messaging/Session.h: No such file or 
 directory
 cqpid_perl.cpp:1581:37: error: qpid/messaging/Receiver.h: No such file or 
 directory
 cqpid_perl.cpp:1582:35: error: qpid/messaging/Sender.h: No such file or 
 directory
 cqpid_perl.cpp:1583:36: error: qpid/messaging/Message.h: No such file or 
 directory
 cqpid_perl.cpp:1584:37: error: qpid/messaging/Duration.h: No such file or 
 directory
 cqpid_perl.cpp:1585:44: error: qpid/messaging/FailoverUpdates.h: No such file 
 or directory
 cqpid_perl.cpp:1591: error: ‘qpid’ has not been declared
 cqpid_perl.cpp:1591: error: expected constructor, destructor, or type 
 conversion before ‘’ token
 cqpid_perl.cpp:1598: error: ‘qpid’ has not been declared
 cqpid_perl.cpp:1598: error: expected constructor, destructor, or type 
 conversion before ‘’ token
 cqpid_perl.cpp:1714: error: ‘qpid’ has not been declared
 cqpid_perl.cpp:1714: error: expected initializer before 
 ‘qpid_messaging_Duration___mul__’
 cqpid_perl.cpp:1856: error: ‘qpid’ has not been declared
 cqpid_perl.cpp:1856: error: ‘self’ was not declared in this scope
 cqpid_perl.cpp:1856: error: expected ‘,’ or ‘;’ before ‘{’ token
 cqpid_perl.cpp: In function ‘int _wrap_Duration_FOREVER_get(PerlInterpreter*, 
 SV*, MAGIC*)’:
 cqpid_perl.cpp:1883: error: ‘qpid’ has not been declared
 cqpid_perl.cpp: In function ‘int 
 _wrap_Duration_IMMEDIATE_get(PerlInterpreter*, SV*, MAGIC*)’:
 cqpid_perl.cpp:1890: error: ‘qpid’ has not been declared
 cqpid_perl.cpp: In function ‘int _wrap_Duration_SECOND_get(PerlInterpreter*, 
 SV*, MAGIC*)’:
 cqpid_perl.cpp:1897: error: ‘qpid’ has not been declared
 cqpid_perl.cpp: In function ‘int _wrap_Duration_MINUTE_get(PerlInterpreter*, 
 SV*, MAGIC*)’:
 cqpid_perl.cpp:1904: error: ‘qpid’ has not been declared
 cqpid_perl.cpp: At global scope:
 cqpid_perl.cpp:1926: error: ISO C++ forbids declaration of ‘qpid’ with no type
 cqpid_perl.cpp:1926: error: expected ‘,’ or ‘...’ before ‘::’ token
 cqpid_perl.cpp:1927: error: ISO C++ forbids declaration of ‘qpid’ with no type
 cqpid_perl.cpp:1927: error: expected ‘,’ or ‘...’ before ‘::’ token
 cqpid_perl.cpp:1928: error: ‘qpid’ has not been declared
 cqpid_perl.cpp:1928: error: expected ‘,’ or ‘...’ before ‘*’ token
 cqpid_perl.cpp:1929: error: ‘qpid’ has not been declared
 cqpid_perl.cpp:1929: error: expected ‘,’ or ‘...’ before ‘*’ token
 cqpid_perl.cpp:1931: error: ‘qpid’ has not been declared
 cqpid_perl.cpp:1931: error: expected constructor, destructor, or type 
 conversion before ‘PerlToVariant’
 cqpid_perl.cpp:11608: error: expected ‘}’ at end of input
 make[4]: *** [cqpid_perl.o] Error 1

--
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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Issue Comment Deleted] (QPID-4770) Perl bindings don't build from qpid-0.22-rc2.tar.gz

2013-04-26 Thread Jimmy Jones (JIRA)

 [ 
https://issues.apache.org/jira/browse/QPID-4770?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jimmy Jones updated QPID-4770:
--

Comment: was deleted

(was: Was using ./configure --prefix=/usr)

 Perl bindings don't build from qpid-0.22-rc2.tar.gz
 ---

 Key: QPID-4770
 URL: https://issues.apache.org/jira/browse/QPID-4770
 Project: Qpid
  Issue Type: Bug
  Components: Perl Client
Affects Versions: 0.22
 Environment: RHEL6
Reporter: Jimmy Jones

 Fresh RHEL6 VM:
 ./configure --prefix=/usr
 ...
 gcc -c   -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe 
 -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE 
 -D_FILE_OFFSET_BITS=64 -g -O2   -DVERSION=\\ -DXS_VERSION=\\ -fPIC 
 -I/usr/lib64/perl5/CORE   cqpid_perl.cpp
 cqpid_perl.cpp:1577:39: error: qpid/messaging/exceptions.h: No such file or 
 directory
 cqpid_perl.cpp:1578:36: error: qpid/messaging/Address.h: No such file or 
 directory
 cqpid_perl.cpp:1579:39: error: qpid/messaging/Connection.h: No such file or 
 directory
 cqpid_perl.cpp:1580:36: error: qpid/messaging/Session.h: No such file or 
 directory
 cqpid_perl.cpp:1581:37: error: qpid/messaging/Receiver.h: No such file or 
 directory
 cqpid_perl.cpp:1582:35: error: qpid/messaging/Sender.h: No such file or 
 directory
 cqpid_perl.cpp:1583:36: error: qpid/messaging/Message.h: No such file or 
 directory
 cqpid_perl.cpp:1584:37: error: qpid/messaging/Duration.h: No such file or 
 directory
 cqpid_perl.cpp:1585:44: error: qpid/messaging/FailoverUpdates.h: No such file 
 or directory
 cqpid_perl.cpp:1591: error: ‘qpid’ has not been declared
 cqpid_perl.cpp:1591: error: expected constructor, destructor, or type 
 conversion before ‘’ token
 cqpid_perl.cpp:1598: error: ‘qpid’ has not been declared
 cqpid_perl.cpp:1598: error: expected constructor, destructor, or type 
 conversion before ‘’ token
 cqpid_perl.cpp:1714: error: ‘qpid’ has not been declared
 cqpid_perl.cpp:1714: error: expected initializer before 
 ‘qpid_messaging_Duration___mul__’
 cqpid_perl.cpp:1856: error: ‘qpid’ has not been declared
 cqpid_perl.cpp:1856: error: ‘self’ was not declared in this scope
 cqpid_perl.cpp:1856: error: expected ‘,’ or ‘;’ before ‘{’ token
 cqpid_perl.cpp: In function ‘int _wrap_Duration_FOREVER_get(PerlInterpreter*, 
 SV*, MAGIC*)’:
 cqpid_perl.cpp:1883: error: ‘qpid’ has not been declared
 cqpid_perl.cpp: In function ‘int 
 _wrap_Duration_IMMEDIATE_get(PerlInterpreter*, SV*, MAGIC*)’:
 cqpid_perl.cpp:1890: error: ‘qpid’ has not been declared
 cqpid_perl.cpp: In function ‘int _wrap_Duration_SECOND_get(PerlInterpreter*, 
 SV*, MAGIC*)’:
 cqpid_perl.cpp:1897: error: ‘qpid’ has not been declared
 cqpid_perl.cpp: In function ‘int _wrap_Duration_MINUTE_get(PerlInterpreter*, 
 SV*, MAGIC*)’:
 cqpid_perl.cpp:1904: error: ‘qpid’ has not been declared
 cqpid_perl.cpp: At global scope:
 cqpid_perl.cpp:1926: error: ISO C++ forbids declaration of ‘qpid’ with no type
 cqpid_perl.cpp:1926: error: expected ‘,’ or ‘...’ before ‘::’ token
 cqpid_perl.cpp:1927: error: ISO C++ forbids declaration of ‘qpid’ with no type
 cqpid_perl.cpp:1927: error: expected ‘,’ or ‘...’ before ‘::’ token
 cqpid_perl.cpp:1928: error: ‘qpid’ has not been declared
 cqpid_perl.cpp:1928: error: expected ‘,’ or ‘...’ before ‘*’ token
 cqpid_perl.cpp:1929: error: ‘qpid’ has not been declared
 cqpid_perl.cpp:1929: error: expected ‘,’ or ‘...’ before ‘*’ token
 cqpid_perl.cpp:1931: error: ‘qpid’ has not been declared
 cqpid_perl.cpp:1931: error: expected constructor, destructor, or type 
 conversion before ‘PerlToVariant’
 cqpid_perl.cpp:11608: error: expected ‘}’ at end of input
 make[4]: *** [cqpid_perl.o] Error 1

--
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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Updated] (QPID-4770) Perl bindings don't build from qpid-0.22-rc2.tar.gz

2013-04-26 Thread Jimmy Jones (JIRA)

 [ 
https://issues.apache.org/jira/browse/QPID-4770?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jimmy Jones updated QPID-4770:
--

Description: 
Fresh RHEL6 VM:

./configure --prefix=/usr

...

gcc -c   -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe 
-fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -g -O2   -DVERSION=\\ -DXS_VERSION=\\ -fPIC 
-I/usr/lib64/perl5/CORE   cqpid_perl.cpp
cqpid_perl.cpp:1577:39: error: qpid/messaging/exceptions.h: No such file or 
directory
cqpid_perl.cpp:1578:36: error: qpid/messaging/Address.h: No such file or 
directory
cqpid_perl.cpp:1579:39: error: qpid/messaging/Connection.h: No such file or 
directory
cqpid_perl.cpp:1580:36: error: qpid/messaging/Session.h: No such file or 
directory
cqpid_perl.cpp:1581:37: error: qpid/messaging/Receiver.h: No such file or 
directory
cqpid_perl.cpp:1582:35: error: qpid/messaging/Sender.h: No such file or 
directory
cqpid_perl.cpp:1583:36: error: qpid/messaging/Message.h: No such file or 
directory
cqpid_perl.cpp:1584:37: error: qpid/messaging/Duration.h: No such file or 
directory
cqpid_perl.cpp:1585:44: error: qpid/messaging/FailoverUpdates.h: No such file 
or directory
cqpid_perl.cpp:1591: error: ‘qpid’ has not been declared
cqpid_perl.cpp:1591: error: expected constructor, destructor, or type 
conversion before ‘’ token
cqpid_perl.cpp:1598: error: ‘qpid’ has not been declared
cqpid_perl.cpp:1598: error: expected constructor, destructor, or type 
conversion before ‘’ token
cqpid_perl.cpp:1714: error: ‘qpid’ has not been declared
cqpid_perl.cpp:1714: error: expected initializer before 
‘qpid_messaging_Duration___mul__’
cqpid_perl.cpp:1856: error: ‘qpid’ has not been declared
cqpid_perl.cpp:1856: error: ‘self’ was not declared in this scope
cqpid_perl.cpp:1856: error: expected ‘,’ or ‘;’ before ‘{’ token
cqpid_perl.cpp: In function ‘int _wrap_Duration_FOREVER_get(PerlInterpreter*, 
SV*, MAGIC*)’:
cqpid_perl.cpp:1883: error: ‘qpid’ has not been declared
cqpid_perl.cpp: In function ‘int _wrap_Duration_IMMEDIATE_get(PerlInterpreter*, 
SV*, MAGIC*)’:
cqpid_perl.cpp:1890: error: ‘qpid’ has not been declared
cqpid_perl.cpp: In function ‘int _wrap_Duration_SECOND_get(PerlInterpreter*, 
SV*, MAGIC*)’:
cqpid_perl.cpp:1897: error: ‘qpid’ has not been declared
cqpid_perl.cpp: In function ‘int _wrap_Duration_MINUTE_get(PerlInterpreter*, 
SV*, MAGIC*)’:
cqpid_perl.cpp:1904: error: ‘qpid’ has not been declared
cqpid_perl.cpp: At global scope:
cqpid_perl.cpp:1926: error: ISO C++ forbids declaration of ‘qpid’ with no type
cqpid_perl.cpp:1926: error: expected ‘,’ or ‘...’ before ‘::’ token
cqpid_perl.cpp:1927: error: ISO C++ forbids declaration of ‘qpid’ with no type
cqpid_perl.cpp:1927: error: expected ‘,’ or ‘...’ before ‘::’ token
cqpid_perl.cpp:1928: error: ‘qpid’ has not been declared
cqpid_perl.cpp:1928: error: expected ‘,’ or ‘...’ before ‘*’ token
cqpid_perl.cpp:1929: error: ‘qpid’ has not been declared
cqpid_perl.cpp:1929: error: expected ‘,’ or ‘...’ before ‘*’ token
cqpid_perl.cpp:1931: error: ‘qpid’ has not been declared
cqpid_perl.cpp:1931: error: expected constructor, destructor, or type 
conversion before ‘PerlToVariant’
cqpid_perl.cpp:11608: error: expected ‘}’ at end of input
make[4]: *** [cqpid_perl.o] Error 1


  was:
Fresh RHEL6 VM:

gcc -c   -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe 
-fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -g -O2   -DVERSION=\\ -DXS_VERSION=\\ -fPIC 
-I/usr/lib64/perl5/CORE   cqpid_perl.cpp
cqpid_perl.cpp:1577:39: error: qpid/messaging/exceptions.h: No such file or 
directory
cqpid_perl.cpp:1578:36: error: qpid/messaging/Address.h: No such file or 
directory
cqpid_perl.cpp:1579:39: error: qpid/messaging/Connection.h: No such file or 
directory
cqpid_perl.cpp:1580:36: error: qpid/messaging/Session.h: No such file or 
directory
cqpid_perl.cpp:1581:37: error: qpid/messaging/Receiver.h: No such file or 
directory
cqpid_perl.cpp:1582:35: error: qpid/messaging/Sender.h: No such file or 
directory
cqpid_perl.cpp:1583:36: error: qpid/messaging/Message.h: No such file or 
directory
cqpid_perl.cpp:1584:37: error: qpid/messaging/Duration.h: No such file or 
directory
cqpid_perl.cpp:1585:44: error: qpid/messaging/FailoverUpdates.h: No such file 
or directory
cqpid_perl.cpp:1591: error: ‘qpid’ has not been declared
cqpid_perl.cpp:1591: error: expected constructor, destructor, or type 
conversion before ‘’ token
cqpid_perl.cpp:1598: error: ‘qpid’ has not been declared
cqpid_perl.cpp:1598: error: expected constructor, destructor, or type 
conversion before ‘’ token
cqpid_perl.cpp:1714: error: ‘qpid’ has not been declared
cqpid_perl.cpp:1714: error: expected initializer before 
‘qpid_messaging_Duration___mul__’
cqpid_perl.cpp:1856: error: ‘qpid’ has not been declared
cqpid_perl.cpp:1856: error: ‘self’ was not declared in this scope
cqpid_perl.cpp:1856: error: expected ‘,’ or 

[jira] [Updated] (QPID-4719) Problem building perl bindings from qpid 0.22 RC1 tarball

2013-04-26 Thread Jimmy Jones (JIRA)

 [ 
https://issues.apache.org/jira/browse/QPID-4719?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jimmy Jones updated QPID-4719:
--

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:



  was:
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

Now realised there is a separate tarball for perl bindings, but still have 
problems, see later comments...


 Problem building perl bindings from qpid 0.22 RC1 tarball
 -

 Key: QPID-4719
 URL: https://issues.apache.org/jira/browse/QPID-4719
 Project: Qpid
  Issue Type: Bug
  Components: Perl Client
Affects Versions: 0.22
Reporter: Jimmy Jones
Assignee: Darryl L. Pierce

 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:

--
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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Updated] (QPID-4719) Problem building perl bindings from qpid 0.22 RC1 tarball

2013-04-26 Thread Jimmy Jones (JIRA)

 [ 
https://issues.apache.org/jira/browse/QPID-4719?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jimmy Jones updated QPID-4719:
--

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

  was:
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:




 Problem building perl bindings from qpid 0.22 RC1 tarball
 -

 Key: QPID-4719
 URL: https://issues.apache.org/jira/browse/QPID-4719
 Project: Qpid
  Issue Type: Bug
  Components: Perl Client
Affects Versions: 0.22
Reporter: Jimmy Jones
Assignee: Darryl L. Pierce

 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

--
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: 

[jira] [Issue Comment Deleted] (QPID-4719) Problem building perl bindings from qpid 0.22 RC1 tarball

2013-04-26 Thread Jimmy Jones (JIRA)

 [ 
https://issues.apache.org/jira/browse/QPID-4719?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jimmy Jones updated QPID-4719:
--

Comment: was deleted

(was: 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
)

 Problem building perl bindings from qpid 0.22 RC1 tarball
 -

 Key: QPID-4719
 URL: https://issues.apache.org/jira/browse/QPID-4719
 Project: Qpid
  Issue Type: Bug
  Components: Perl Client
Affects Versions: 0.22
Reporter: Jimmy Jones
Assignee: Darryl L. Pierce

 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

--
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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Issue Comment Deleted] (QPID-4719) Problem building perl bindings from qpid 0.22 RC1 tarball

2013-04-26 Thread Jimmy Jones (JIRA)

 [ 
https://issues.apache.org/jira/browse/QPID-4719?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jimmy Jones updated QPID-4719:
--

Comment: was deleted

(was: bin/release.sh controls what files go in, looks as if the perl bindings 
now go into perl-qpid-0.22-rc1.tar.gz, however haven't got that working yet, 
will try on a fresh RHEL6 VM...)

 Problem building perl bindings from qpid 0.22 RC1 tarball
 -

 Key: QPID-4719
 URL: https://issues.apache.org/jira/browse/QPID-4719
 Project: Qpid
  Issue Type: Bug
  Components: Perl Client
Affects Versions: 0.22
Reporter: Jimmy Jones
Assignee: Darryl L. Pierce

 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

--
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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Issue Comment Deleted] (QPID-4719) Problem building perl bindings from qpid 0.22 RC1 tarball

2013-04-26 Thread Jimmy Jones (JIRA)

 [ 
https://issues.apache.org/jira/browse/QPID-4719?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jimmy Jones updated QPID-4719:
--

Comment: was deleted

(was: This might be a separate issue, but if I take the full 
qpid-0.22-rc1.tar.gz, run bootstrap, configure, make, make install in cpp, the 
perl examples don't work:

[jimmy@localhost perl]$ ./hello_world.pl 
Can't load '/usr/lib64/perl5/auto/cqpid_perl/cqpid_perl.so' for module 
cqpid_perl: /usr/lib64/perl5/auto/cqpid_perl/cqpid_perl.so: undefined symbol: 
_ZN4qpid9messaging8Duration6SECONDE at /usr/lib64/perl5/DynaLoader.pm line 200.
 at /usr/lib64/perl5/cqpid_perl.pm line 11
Compilation failed in require at /usr/lib64/perl5/qpid_messaging.pm line 22.
BEGIN failed--compilation aborted at /usr/lib64/perl5/qpid_messaging.pm line 22.
Compilation failed in require at /usr/lib64/perl5/qpid.pm line 20.
BEGIN failed--compilation aborted at /usr/lib64/perl5/qpid.pm line 20.
Compilation failed in require at ./hello_world.pl line 24.
BEGIN failed--compilation aborted at ./hello_world.pl line 24.

Looks like cqpid_perl.so has not been linked against the qpid libraries:

[jimmy@localhost perl]$ ldd /usr/lib64/perl5/auto/cqpid_perl/cqpid_perl.so 
linux-vdso.so.1 =  (0x7fffecf95000)
libgcc_s.so.1 = /lib64/libgcc_s.so.1 (0x7f5e4b10a000)
libc.so.6 = /lib64/libc.so.6 (0x7f5e4ad78000)
/lib64/ld-linux-x86-64.so.2 (0x003a05c0)
)

 Problem building perl bindings from qpid 0.22 RC1 tarball
 -

 Key: QPID-4719
 URL: https://issues.apache.org/jira/browse/QPID-4719
 Project: Qpid
  Issue Type: Bug
  Components: Perl Client
Affects Versions: 0.22
Reporter: Jimmy Jones
Assignee: Darryl L. Pierce

 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

--
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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Comment Edited] (QPID-4719) Problem building perl bindings from qpid 0.22 RC1 tarball

2013-04-26 Thread Jimmy Jones (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-4719?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13633184#comment-13633184
 ] 

Jimmy Jones edited comment on QPID-4719 at 4/26/13 7:36 PM:


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)

  was (Author: jimmyjones2):
Sorry, I should have been clearer, my initial problem with missing files 
was a red herring this has boiled down into two issues:

(1) 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)
(2) Using the full qpid-0.22-rc1.tar.gz, cqpid_perl.so doesn't seem to be 
getting linked against qpidmessaging  qpidtypes
  
 Problem building perl bindings from qpid 0.22 RC1 tarball
 -

 Key: QPID-4719
 URL: https://issues.apache.org/jira/browse/QPID-4719
 Project: Qpid
  Issue Type: Bug
  Components: Perl Client
Affects Versions: 0.22
Reporter: Jimmy Jones
Assignee: Darryl L. Pierce

 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

--
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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Created] (QPID-4781) cmake build of perl bindings fails in RC2

2013-04-26 Thread Jimmy Jones (JIRA)
Jimmy Jones created QPID-4781:
-

 Summary: cmake build of perl bindings fails in RC2
 Key: QPID-4781
 URL: https://issues.apache.org/jira/browse/QPID-4781
 Project: Qpid
  Issue Type: Bug
  Components: Perl Client
Affects Versions: 0.22
 Environment: RHEL5
Reporter: Jimmy Jones


Running cmake ..  make  make install

-- Installing: /usr/local/etc/qpid/qpidd.conf
CMake Error at bindings/qpid/perl/cmake_install.cmake:36 (FILE):
  file INSTALL cannot find file
  /home/test/qpid-0.22-rc2/cpp/bld/bindings/qpid/perl/libcqpid_perl.so to
  install.
Call Stack (most recent call first):
  bindings/cmake_install.cmake:37 (INCLUDE)
  cmake_install.cmake:63 (INCLUDE)


make: *** [install] Error 1

The library in that directory is cqpid_perl.so, not libcqpid_perl.so

--
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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (QPID-4724) qpid-cpp-0.22-rc1 RHEL6 cmake issues

2013-04-23 Thread Jimmy Jones (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-4724?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13639428#comment-13639428
 ] 

Jimmy Jones commented on QPID-4724:
---

Same in RC2

 qpid-cpp-0.22-rc1 RHEL6 cmake issues
 

 Key: QPID-4724
 URL: https://issues.apache.org/jira/browse/QPID-4724
 Project: Qpid
  Issue Type: Bug
  Components: Perl Client
Affects Versions: 0.22
 Environment: RHEL6
Reporter: Jimmy Jones

 Running mkdir BLD; cd BLD; cmake ..
 -- Could NOT find PerlLibs  (missing:  PERL_LIBRARY PERL_INCLUDE_PATH)
 -- Configuring incomplete, errors occurred!
 should it autodetect this (automake does)? If then run:
 cmake .. -DPERL_LIBRARY=/usr/lib64/perl5/CORE/libperl.so 
 -DPERL_INCLUDE_PATH=/usr/lib64/perl5
 errors with:
 -- Found Perl: /usr/bin/perl
 -- Found PerlLibs: /usr/lib64/perl5/CORE/libperl.so
 CMake Error at bindings/CMakeLists.txt:62 (string):
   string sub-command REPLACE requires four arguments.
 CMake Error at bindings/qpid/perl/CMakeLists.txt:38 (install):
   install FILES given no DESTINATION!
 -- Configuring incomplete, errors occurred!

--
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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Created] (QPID-4770) Perl bindings don't build from qpid-0.22-rc2.tar.gz

2013-04-23 Thread Jimmy Jones (JIRA)
Jimmy Jones created QPID-4770:
-

 Summary: Perl bindings don't build from qpid-0.22-rc2.tar.gz
 Key: QPID-4770
 URL: https://issues.apache.org/jira/browse/QPID-4770
 Project: Qpid
  Issue Type: Bug
  Components: Perl Client
Affects Versions: 0.22
 Environment: RHEL6
Reporter: Jimmy Jones


Fresh RHEL6 VM:

gcc -c   -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe 
-fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -g -O2   -DVERSION=\\ -DXS_VERSION=\\ -fPIC 
-I/usr/lib64/perl5/CORE   cqpid_perl.cpp
cqpid_perl.cpp:1577:39: error: qpid/messaging/exceptions.h: No such file or 
directory
cqpid_perl.cpp:1578:36: error: qpid/messaging/Address.h: No such file or 
directory
cqpid_perl.cpp:1579:39: error: qpid/messaging/Connection.h: No such file or 
directory
cqpid_perl.cpp:1580:36: error: qpid/messaging/Session.h: No such file or 
directory
cqpid_perl.cpp:1581:37: error: qpid/messaging/Receiver.h: No such file or 
directory
cqpid_perl.cpp:1582:35: error: qpid/messaging/Sender.h: No such file or 
directory
cqpid_perl.cpp:1583:36: error: qpid/messaging/Message.h: No such file or 
directory
cqpid_perl.cpp:1584:37: error: qpid/messaging/Duration.h: No such file or 
directory
cqpid_perl.cpp:1585:44: error: qpid/messaging/FailoverUpdates.h: No such file 
or directory
cqpid_perl.cpp:1591: error: ‘qpid’ has not been declared
cqpid_perl.cpp:1591: error: expected constructor, destructor, or type 
conversion before ‘’ token
cqpid_perl.cpp:1598: error: ‘qpid’ has not been declared
cqpid_perl.cpp:1598: error: expected constructor, destructor, or type 
conversion before ‘’ token
cqpid_perl.cpp:1714: error: ‘qpid’ has not been declared
cqpid_perl.cpp:1714: error: expected initializer before 
‘qpid_messaging_Duration___mul__’
cqpid_perl.cpp:1856: error: ‘qpid’ has not been declared
cqpid_perl.cpp:1856: error: ‘self’ was not declared in this scope
cqpid_perl.cpp:1856: error: expected ‘,’ or ‘;’ before ‘{’ token
cqpid_perl.cpp: In function ‘int _wrap_Duration_FOREVER_get(PerlInterpreter*, 
SV*, MAGIC*)’:
cqpid_perl.cpp:1883: error: ‘qpid’ has not been declared
cqpid_perl.cpp: In function ‘int _wrap_Duration_IMMEDIATE_get(PerlInterpreter*, 
SV*, MAGIC*)’:
cqpid_perl.cpp:1890: error: ‘qpid’ has not been declared
cqpid_perl.cpp: In function ‘int _wrap_Duration_SECOND_get(PerlInterpreter*, 
SV*, MAGIC*)’:
cqpid_perl.cpp:1897: error: ‘qpid’ has not been declared
cqpid_perl.cpp: In function ‘int _wrap_Duration_MINUTE_get(PerlInterpreter*, 
SV*, MAGIC*)’:
cqpid_perl.cpp:1904: error: ‘qpid’ has not been declared
cqpid_perl.cpp: At global scope:
cqpid_perl.cpp:1926: error: ISO C++ forbids declaration of ‘qpid’ with no type
cqpid_perl.cpp:1926: error: expected ‘,’ or ‘...’ before ‘::’ token
cqpid_perl.cpp:1927: error: ISO C++ forbids declaration of ‘qpid’ with no type
cqpid_perl.cpp:1927: error: expected ‘,’ or ‘...’ before ‘::’ token
cqpid_perl.cpp:1928: error: ‘qpid’ has not been declared
cqpid_perl.cpp:1928: error: expected ‘,’ or ‘...’ before ‘*’ token
cqpid_perl.cpp:1929: error: ‘qpid’ has not been declared
cqpid_perl.cpp:1929: error: expected ‘,’ or ‘...’ before ‘*’ token
cqpid_perl.cpp:1931: error: ‘qpid’ has not been declared
cqpid_perl.cpp:1931: error: expected constructor, destructor, or type 
conversion before ‘PerlToVariant’
cqpid_perl.cpp:11608: error: expected ‘}’ at end of input
make[4]: *** [cqpid_perl.o] Error 1


--
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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Comment Edited] (QPID-4770) Perl bindings don't build from qpid-0.22-rc2.tar.gz

2013-04-23 Thread Jimmy Jones (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-4770?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13639464#comment-13639464
 ] 

Jimmy Jones edited comment on QPID-4770 at 4/23/13 7:31 PM:


Was using ./configure --prefix=/usr, not cmake (see QPID-4724 for why)

  was (Author: jimmyjones2):
Was using configure, not cmake (see QPID-4724 for why)
  
 Perl bindings don't build from qpid-0.22-rc2.tar.gz
 ---

 Key: QPID-4770
 URL: https://issues.apache.org/jira/browse/QPID-4770
 Project: Qpid
  Issue Type: Bug
  Components: Perl Client
Affects Versions: 0.22
 Environment: RHEL6
Reporter: Jimmy Jones

 Fresh RHEL6 VM:
 gcc -c   -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe 
 -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE 
 -D_FILE_OFFSET_BITS=64 -g -O2   -DVERSION=\\ -DXS_VERSION=\\ -fPIC 
 -I/usr/lib64/perl5/CORE   cqpid_perl.cpp
 cqpid_perl.cpp:1577:39: error: qpid/messaging/exceptions.h: No such file or 
 directory
 cqpid_perl.cpp:1578:36: error: qpid/messaging/Address.h: No such file or 
 directory
 cqpid_perl.cpp:1579:39: error: qpid/messaging/Connection.h: No such file or 
 directory
 cqpid_perl.cpp:1580:36: error: qpid/messaging/Session.h: No such file or 
 directory
 cqpid_perl.cpp:1581:37: error: qpid/messaging/Receiver.h: No such file or 
 directory
 cqpid_perl.cpp:1582:35: error: qpid/messaging/Sender.h: No such file or 
 directory
 cqpid_perl.cpp:1583:36: error: qpid/messaging/Message.h: No such file or 
 directory
 cqpid_perl.cpp:1584:37: error: qpid/messaging/Duration.h: No such file or 
 directory
 cqpid_perl.cpp:1585:44: error: qpid/messaging/FailoverUpdates.h: No such file 
 or directory
 cqpid_perl.cpp:1591: error: ‘qpid’ has not been declared
 cqpid_perl.cpp:1591: error: expected constructor, destructor, or type 
 conversion before ‘’ token
 cqpid_perl.cpp:1598: error: ‘qpid’ has not been declared
 cqpid_perl.cpp:1598: error: expected constructor, destructor, or type 
 conversion before ‘’ token
 cqpid_perl.cpp:1714: error: ‘qpid’ has not been declared
 cqpid_perl.cpp:1714: error: expected initializer before 
 ‘qpid_messaging_Duration___mul__’
 cqpid_perl.cpp:1856: error: ‘qpid’ has not been declared
 cqpid_perl.cpp:1856: error: ‘self’ was not declared in this scope
 cqpid_perl.cpp:1856: error: expected ‘,’ or ‘;’ before ‘{’ token
 cqpid_perl.cpp: In function ‘int _wrap_Duration_FOREVER_get(PerlInterpreter*, 
 SV*, MAGIC*)’:
 cqpid_perl.cpp:1883: error: ‘qpid’ has not been declared
 cqpid_perl.cpp: In function ‘int 
 _wrap_Duration_IMMEDIATE_get(PerlInterpreter*, SV*, MAGIC*)’:
 cqpid_perl.cpp:1890: error: ‘qpid’ has not been declared
 cqpid_perl.cpp: In function ‘int _wrap_Duration_SECOND_get(PerlInterpreter*, 
 SV*, MAGIC*)’:
 cqpid_perl.cpp:1897: error: ‘qpid’ has not been declared
 cqpid_perl.cpp: In function ‘int _wrap_Duration_MINUTE_get(PerlInterpreter*, 
 SV*, MAGIC*)’:
 cqpid_perl.cpp:1904: error: ‘qpid’ has not been declared
 cqpid_perl.cpp: At global scope:
 cqpid_perl.cpp:1926: error: ISO C++ forbids declaration of ‘qpid’ with no type
 cqpid_perl.cpp:1926: error: expected ‘,’ or ‘...’ before ‘::’ token
 cqpid_perl.cpp:1927: error: ISO C++ forbids declaration of ‘qpid’ with no type
 cqpid_perl.cpp:1927: error: expected ‘,’ or ‘...’ before ‘::’ token
 cqpid_perl.cpp:1928: error: ‘qpid’ has not been declared
 cqpid_perl.cpp:1928: error: expected ‘,’ or ‘...’ before ‘*’ token
 cqpid_perl.cpp:1929: error: ‘qpid’ has not been declared
 cqpid_perl.cpp:1929: error: expected ‘,’ or ‘...’ before ‘*’ token
 cqpid_perl.cpp:1931: error: ‘qpid’ has not been declared
 cqpid_perl.cpp:1931: error: expected constructor, destructor, or type 
 conversion before ‘PerlToVariant’
 cqpid_perl.cpp:11608: error: expected ‘}’ at end of input
 make[4]: *** [cqpid_perl.o] Error 1

--
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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (QPID-4770) Perl bindings don't build from qpid-0.22-rc2.tar.gz

2013-04-23 Thread Jimmy Jones (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-4770?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13639469#comment-13639469
 ] 

Jimmy Jones commented on QPID-4770:
---

Running sudo make install does cause them to be built (as root), but then 
cqpid_perl.so isn't linked correctly (QPID-4719)

 Perl bindings don't build from qpid-0.22-rc2.tar.gz
 ---

 Key: QPID-4770
 URL: https://issues.apache.org/jira/browse/QPID-4770
 Project: Qpid
  Issue Type: Bug
  Components: Perl Client
Affects Versions: 0.22
 Environment: RHEL6
Reporter: Jimmy Jones

 Fresh RHEL6 VM:
 gcc -c   -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe 
 -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE 
 -D_FILE_OFFSET_BITS=64 -g -O2   -DVERSION=\\ -DXS_VERSION=\\ -fPIC 
 -I/usr/lib64/perl5/CORE   cqpid_perl.cpp
 cqpid_perl.cpp:1577:39: error: qpid/messaging/exceptions.h: No such file or 
 directory
 cqpid_perl.cpp:1578:36: error: qpid/messaging/Address.h: No such file or 
 directory
 cqpid_perl.cpp:1579:39: error: qpid/messaging/Connection.h: No such file or 
 directory
 cqpid_perl.cpp:1580:36: error: qpid/messaging/Session.h: No such file or 
 directory
 cqpid_perl.cpp:1581:37: error: qpid/messaging/Receiver.h: No such file or 
 directory
 cqpid_perl.cpp:1582:35: error: qpid/messaging/Sender.h: No such file or 
 directory
 cqpid_perl.cpp:1583:36: error: qpid/messaging/Message.h: No such file or 
 directory
 cqpid_perl.cpp:1584:37: error: qpid/messaging/Duration.h: No such file or 
 directory
 cqpid_perl.cpp:1585:44: error: qpid/messaging/FailoverUpdates.h: No such file 
 or directory
 cqpid_perl.cpp:1591: error: ‘qpid’ has not been declared
 cqpid_perl.cpp:1591: error: expected constructor, destructor, or type 
 conversion before ‘’ token
 cqpid_perl.cpp:1598: error: ‘qpid’ has not been declared
 cqpid_perl.cpp:1598: error: expected constructor, destructor, or type 
 conversion before ‘’ token
 cqpid_perl.cpp:1714: error: ‘qpid’ has not been declared
 cqpid_perl.cpp:1714: error: expected initializer before 
 ‘qpid_messaging_Duration___mul__’
 cqpid_perl.cpp:1856: error: ‘qpid’ has not been declared
 cqpid_perl.cpp:1856: error: ‘self’ was not declared in this scope
 cqpid_perl.cpp:1856: error: expected ‘,’ or ‘;’ before ‘{’ token
 cqpid_perl.cpp: In function ‘int _wrap_Duration_FOREVER_get(PerlInterpreter*, 
 SV*, MAGIC*)’:
 cqpid_perl.cpp:1883: error: ‘qpid’ has not been declared
 cqpid_perl.cpp: In function ‘int 
 _wrap_Duration_IMMEDIATE_get(PerlInterpreter*, SV*, MAGIC*)’:
 cqpid_perl.cpp:1890: error: ‘qpid’ has not been declared
 cqpid_perl.cpp: In function ‘int _wrap_Duration_SECOND_get(PerlInterpreter*, 
 SV*, MAGIC*)’:
 cqpid_perl.cpp:1897: error: ‘qpid’ has not been declared
 cqpid_perl.cpp: In function ‘int _wrap_Duration_MINUTE_get(PerlInterpreter*, 
 SV*, MAGIC*)’:
 cqpid_perl.cpp:1904: error: ‘qpid’ has not been declared
 cqpid_perl.cpp: At global scope:
 cqpid_perl.cpp:1926: error: ISO C++ forbids declaration of ‘qpid’ with no type
 cqpid_perl.cpp:1926: error: expected ‘,’ or ‘...’ before ‘::’ token
 cqpid_perl.cpp:1927: error: ISO C++ forbids declaration of ‘qpid’ with no type
 cqpid_perl.cpp:1927: error: expected ‘,’ or ‘...’ before ‘::’ token
 cqpid_perl.cpp:1928: error: ‘qpid’ has not been declared
 cqpid_perl.cpp:1928: error: expected ‘,’ or ‘...’ before ‘*’ token
 cqpid_perl.cpp:1929: error: ‘qpid’ has not been declared
 cqpid_perl.cpp:1929: error: expected ‘,’ or ‘...’ before ‘*’ token
 cqpid_perl.cpp:1931: error: ‘qpid’ has not been declared
 cqpid_perl.cpp:1931: error: expected constructor, destructor, or type 
 conversion before ‘PerlToVariant’
 cqpid_perl.cpp:11608: error: expected ‘}’ at end of input
 make[4]: *** [cqpid_perl.o] Error 1

--
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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (QPID-4719) Problem building perl bindings from qpid 0.22 RC1 tarball

2013-04-16 Thread Jimmy Jones (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-4719?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13633184#comment-13633184
 ] 

Jimmy Jones commented on QPID-4719:
---

Sorry, I should have been clearer, my initial problem with missing files was a 
red herring this has boiled down into two issues:

(1) 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)
(2) Using the full qpid-0.22-rc1.tar.gz, cqpid_perl.so doesn't seem to be 
getting linked against qpidmessaging  qpidtypes

 Problem building perl bindings from qpid 0.22 RC1 tarball
 -

 Key: QPID-4719
 URL: https://issues.apache.org/jira/browse/QPID-4719
 Project: Qpid
  Issue Type: Bug
  Components: Perl Client
Affects Versions: 0.22
Reporter: Jimmy Jones
Assignee: Darryl L. Pierce

 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
 Now realised there is a separate tarball for perl bindings, but still have 
 problems, see later comments...

--
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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Resolved] (QPID-4722) qpid-cpp-0.22-rc1 doesnt compile on RHEL6

2013-04-10 Thread Jimmy Jones (JIRA)

 [ 
https://issues.apache.org/jira/browse/QPID-4722?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jimmy Jones resolved QPID-4722.
---

   Resolution: Fixed
Fix Version/s: 0.22

 qpid-cpp-0.22-rc1 doesnt compile on RHEL6
 -

 Key: QPID-4722
 URL: https://issues.apache.org/jira/browse/QPID-4722
 Project: Qpid
  Issue Type: Bug
  Components: C++ Broker
Affects Versions: 0.22
 Environment: RHEL6
Reporter: Jimmy Jones
 Fix For: 0.22


 Freshly installed RHEL6.3 VM
 Compile (with automake) of 
 http://people.apache.org/~jross/qpid-0.22-rc1/qpid-cpp-0.22-rc1.tar.gz fails 
 unless -Werror is removed:
 make[3]: Entering directory `/home/jimmy/Downloads/qpidc-0.22/src'
 /bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. 
 -I../include -I../include -I. -I=.   -Werror -pedantic -Wall -Wextra 
 -Wno-shadow -Wpointer-arith -Wcast-qual -Wcast-align -Wno-long-long 
 -Wvolatile-register-var -Winvalid-pch -Wno-system-headers 
 -Woverloaded-virtual -D_IN_QPID_BROKER -g -O2 -MT 
 qpid/sys/libqpidbroker_la-SocketTransport.lo -MD -MP -MF 
 qpid/sys/.deps/libqpidbroker_la-SocketTransport.Tpo -c -o 
 qpid/sys/libqpidbroker_la-SocketTransport.lo `test -f 
 'qpid/sys/SocketTransport.cpp' || echo './'`qpid/sys/SocketTransport.cpp
 libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../include -I../include -I. -I=. 
 -Werror -pedantic -Wall -Wextra -Wno-shadow -Wpointer-arith -Wcast-qual 
 -Wcast-align -Wno-long-long -Wvolatile-register-var -Winvalid-pch 
 -Wno-system-headers -Woverloaded-virtual -D_IN_QPID_BROKER -g -O2 -MT 
 qpid/sys/libqpidbroker_la-SocketTransport.lo -MD -MP -MF 
 qpid/sys/.deps/libqpidbroker_la-SocketTransport.Tpo -c 
 qpid/sys/SocketTransport.cpp  -fPIC -DPIC -o 
 qpid/sys/.libs/libqpidbroker_la-SocketTransport.o
 cc1plus: warnings being treated as errors
 qpid/sys/SocketTransport.cpp: In constructor 
 'qpid::sys::SocketAcceptor::SocketAcceptor(bool, bool, uint32_t, 
 qpid::sys::Timer)':
 qpid/sys/SocketTransport.cpp:209: error: 'a2' is used uninitialized in this 
 function
 /usr/include/boost/bind/bind_cc.hpp:72: note: 'a2' was declared here
 qpid/sys/SocketTransport.cpp:209: error: 'a2' is used uninitialized in this 
 function
 /usr/include/boost/bind/bind.hpp:482: note: 'a2' was declared here
 qpid/sys/SocketTransport.cpp:209: error: 'a2' is used uninitialized in this 
 function
 /usr/include/boost/bind/storage.hpp:244: note: 'a2' was declared here
 qpid/sys/SocketTransport.cpp:209: error: 'a2' is used uninitialized in this 
 function
 /usr/include/boost/bind/storage.hpp:195: note: 'a2' was declared here
 qpid/sys/SocketTransport.cpp:209: error: 'a2' is used uninitialized in this 
 function
 /usr/include/boost/bind/storage.hpp:129: note: 'a2' was declared here
 qpid/sys/SocketTransport.cpp:209: error: 'f' is used uninitialized in this 
 function
 qpid/sys/SocketTransport.cpp:114: note: 'f' was declared here
 qpid/sys/SocketTransport.cpp:209: error: 'f' is used uninitialized in this 
 function
 /usr/include/boost/function/function_template.hpp:722: note: 'f' was declared 
 here
 qpid/sys/SocketTransport.cpp:209: error: 'f' is used uninitialized in this 
 function
 /usr/include/boost/function/function_template.hpp:915: note: 'f' was declared 
 here
 qpid/sys/SocketTransport.cpp:209: error: 'f' may be used uninitialized in 
 this function
 /usr/include/boost/function/function_template.hpp:602: note: 'f' was declared 
 here
 In file included from /usr/include/boost/bind/bind.hpp:1538,
  from /usr/include/boost/bind.hpp:22,
  from qpid/sys/SocketTransport.cpp:32:
 qpid/sys/SocketTransport.cpp: In function 'boost::_bi::bind_tR, R (*)(B1, 
 B2, B3, B4, B5, B6), typename boost::_bi::list_av_6A1, A2, A3, A4, A5, 
 A6::type boost::bind(R (*)(B1, B2, B3, B4, B5, B6), A1, A2, A3, A4, A5, A6) 
 [with R = void, B1 = boost::shared_ptrqpid::sys::Poller, B2 = const 
 qpid::sys::SocketTransportOptions, B3 = qpid::sys::Timer*, B4 = const 
 qpid::sys::Socket, B5 = qpid::sys::ConnectionCodec::Factory*, B6 = const 
 std::string, A1 = boost::shared_ptrqpid::sys::Poller, A2 = 
 qpid::sys::SocketTransportOptions, A3 = qpid::sys::Timer*, A4 = 
 boost::arg1, A5 = qpid::sys::ConnectionCodec::Factory*, A6 = 
 std::basic_stringchar, std::char_traitschar, std::allocatorchar ]':
 qpid/sys/SocketTransport.cpp:209: error: 'a2' is used uninitialized in this 
 function
 /usr/include/boost/bind/bind_cc.hpp:83: note: 'a2' was declared here
 qpid/sys/SocketTransport.cpp:209: error: 'a2' may be used uninitialized in 
 this function
 /usr/include/boost/bind/bind.hpp:551: note: 'a2' was declared here
 qpid/sys/SocketTransport.cpp:209: error: 'a2' may be used uninitialized in 
 this function
 /usr/include/boost/bind/storage.hpp:276: note: 'a2' was declared here
 qpid/sys/SocketTransport.cpp:209: error: 

[jira] [Created] (QPID-4722) qpid-cpp-0.22-rc1 doesnt compile on RHEL6

2013-04-06 Thread Jimmy Jones (JIRA)
Jimmy Jones created QPID-4722:
-

 Summary: qpid-cpp-0.22-rc1 doesnt compile on RHEL6
 Key: QPID-4722
 URL: https://issues.apache.org/jira/browse/QPID-4722
 Project: Qpid
  Issue Type: Bug
Affects Versions: 0.22
 Environment: RHEL6
Reporter: Jimmy Jones


Freshly installed RHEL6.3 VM

Compile (with automake) of 
http://people.apache.org/~jross/qpid-0.22-rc1/qpid-cpp-0.22-rc1.tar.gz fails 
unless -Werror is removed:

make[3]: Entering directory `/home/jimmy/Downloads/qpidc-0.22/src'
/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. 
-I../include -I../include -I. -I=.   -Werror -pedantic -Wall -Wextra 
-Wno-shadow -Wpointer-arith -Wcast-qual -Wcast-align -Wno-long-long 
-Wvolatile-register-var -Winvalid-pch -Wno-system-headers -Woverloaded-virtual 
-D_IN_QPID_BROKER -g -O2 -MT qpid/sys/libqpidbroker_la-SocketTransport.lo -MD 
-MP -MF qpid/sys/.deps/libqpidbroker_la-SocketTransport.Tpo -c -o 
qpid/sys/libqpidbroker_la-SocketTransport.lo `test -f 
'qpid/sys/SocketTransport.cpp' || echo './'`qpid/sys/SocketTransport.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../include -I../include -I. -I=. 
-Werror -pedantic -Wall -Wextra -Wno-shadow -Wpointer-arith -Wcast-qual 
-Wcast-align -Wno-long-long -Wvolatile-register-var -Winvalid-pch 
-Wno-system-headers -Woverloaded-virtual -D_IN_QPID_BROKER -g -O2 -MT 
qpid/sys/libqpidbroker_la-SocketTransport.lo -MD -MP -MF 
qpid/sys/.deps/libqpidbroker_la-SocketTransport.Tpo -c 
qpid/sys/SocketTransport.cpp  -fPIC -DPIC -o 
qpid/sys/.libs/libqpidbroker_la-SocketTransport.o
cc1plus: warnings being treated as errors
qpid/sys/SocketTransport.cpp: In constructor 
'qpid::sys::SocketAcceptor::SocketAcceptor(bool, bool, uint32_t, 
qpid::sys::Timer)':
qpid/sys/SocketTransport.cpp:209: error: 'a2' is used uninitialized in this 
function
/usr/include/boost/bind/bind_cc.hpp:72: note: 'a2' was declared here
qpid/sys/SocketTransport.cpp:209: error: 'a2' is used uninitialized in this 
function
/usr/include/boost/bind/bind.hpp:482: note: 'a2' was declared here
qpid/sys/SocketTransport.cpp:209: error: 'a2' is used uninitialized in this 
function
/usr/include/boost/bind/storage.hpp:244: note: 'a2' was declared here
qpid/sys/SocketTransport.cpp:209: error: 'a2' is used uninitialized in this 
function
/usr/include/boost/bind/storage.hpp:195: note: 'a2' was declared here
qpid/sys/SocketTransport.cpp:209: error: 'a2' is used uninitialized in this 
function
/usr/include/boost/bind/storage.hpp:129: note: 'a2' was declared here
qpid/sys/SocketTransport.cpp:209: error: 'f' is used uninitialized in this 
function
qpid/sys/SocketTransport.cpp:114: note: 'f' was declared here
qpid/sys/SocketTransport.cpp:209: error: 'f' is used uninitialized in this 
function
/usr/include/boost/function/function_template.hpp:722: note: 'f' was declared 
here
qpid/sys/SocketTransport.cpp:209: error: 'f' is used uninitialized in this 
function
/usr/include/boost/function/function_template.hpp:915: note: 'f' was declared 
here
qpid/sys/SocketTransport.cpp:209: error: 'f' may be used uninitialized in this 
function
/usr/include/boost/function/function_template.hpp:602: note: 'f' was declared 
here
In file included from /usr/include/boost/bind/bind.hpp:1538,
 from /usr/include/boost/bind.hpp:22,
 from qpid/sys/SocketTransport.cpp:32:
qpid/sys/SocketTransport.cpp: In function 'boost::_bi::bind_tR, R (*)(B1, B2, 
B3, B4, B5, B6), typename boost::_bi::list_av_6A1, A2, A3, A4, A5, A6::type 
boost::bind(R (*)(B1, B2, B3, B4, B5, B6), A1, A2, A3, A4, A5, A6) [with R = 
void, B1 = boost::shared_ptrqpid::sys::Poller, B2 = const 
qpid::sys::SocketTransportOptions, B3 = qpid::sys::Timer*, B4 = const 
qpid::sys::Socket, B5 = qpid::sys::ConnectionCodec::Factory*, B6 = const 
std::string, A1 = boost::shared_ptrqpid::sys::Poller, A2 = 
qpid::sys::SocketTransportOptions, A3 = qpid::sys::Timer*, A4 = boost::arg1, 
A5 = qpid::sys::ConnectionCodec::Factory*, A6 = std::basic_stringchar, 
std::char_traitschar, std::allocatorchar ]':
qpid/sys/SocketTransport.cpp:209: error: 'a2' is used uninitialized in this 
function
/usr/include/boost/bind/bind_cc.hpp:83: note: 'a2' was declared here
qpid/sys/SocketTransport.cpp:209: error: 'a2' may be used uninitialized in this 
function
/usr/include/boost/bind/bind.hpp:551: note: 'a2' was declared here
qpid/sys/SocketTransport.cpp:209: error: 'a2' may be used uninitialized in this 
function
/usr/include/boost/bind/storage.hpp:276: note: 'a2' was declared here
qpid/sys/SocketTransport.cpp:209: error: 'a2' may be used uninitialized in this 
function
/usr/include/boost/bind/storage.hpp:227: note: 'a2' was declared here
qpid/sys/SocketTransport.cpp:209: error: 'a2' may be used uninitialized in this 
function
/usr/include/boost/bind/storage.hpp:195: note: 'a2' was declared here
qpid/sys/SocketTransport.cpp:209: error: 'a2' may be used 

[jira] [Updated] (QPID-4722) qpid-cpp-0.22-rc1 doesnt compile on RHEL6

2013-04-06 Thread Jimmy Jones (JIRA)

 [ 
https://issues.apache.org/jira/browse/QPID-4722?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jimmy Jones updated QPID-4722:
--

Component/s: C++ Broker

 qpid-cpp-0.22-rc1 doesnt compile on RHEL6
 -

 Key: QPID-4722
 URL: https://issues.apache.org/jira/browse/QPID-4722
 Project: Qpid
  Issue Type: Bug
  Components: C++ Broker
Affects Versions: 0.22
 Environment: RHEL6
Reporter: Jimmy Jones

 Freshly installed RHEL6.3 VM
 Compile (with automake) of 
 http://people.apache.org/~jross/qpid-0.22-rc1/qpid-cpp-0.22-rc1.tar.gz fails 
 unless -Werror is removed:
 make[3]: Entering directory `/home/jimmy/Downloads/qpidc-0.22/src'
 /bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. 
 -I../include -I../include -I. -I=.   -Werror -pedantic -Wall -Wextra 
 -Wno-shadow -Wpointer-arith -Wcast-qual -Wcast-align -Wno-long-long 
 -Wvolatile-register-var -Winvalid-pch -Wno-system-headers 
 -Woverloaded-virtual -D_IN_QPID_BROKER -g -O2 -MT 
 qpid/sys/libqpidbroker_la-SocketTransport.lo -MD -MP -MF 
 qpid/sys/.deps/libqpidbroker_la-SocketTransport.Tpo -c -o 
 qpid/sys/libqpidbroker_la-SocketTransport.lo `test -f 
 'qpid/sys/SocketTransport.cpp' || echo './'`qpid/sys/SocketTransport.cpp
 libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../include -I../include -I. -I=. 
 -Werror -pedantic -Wall -Wextra -Wno-shadow -Wpointer-arith -Wcast-qual 
 -Wcast-align -Wno-long-long -Wvolatile-register-var -Winvalid-pch 
 -Wno-system-headers -Woverloaded-virtual -D_IN_QPID_BROKER -g -O2 -MT 
 qpid/sys/libqpidbroker_la-SocketTransport.lo -MD -MP -MF 
 qpid/sys/.deps/libqpidbroker_la-SocketTransport.Tpo -c 
 qpid/sys/SocketTransport.cpp  -fPIC -DPIC -o 
 qpid/sys/.libs/libqpidbroker_la-SocketTransport.o
 cc1plus: warnings being treated as errors
 qpid/sys/SocketTransport.cpp: In constructor 
 'qpid::sys::SocketAcceptor::SocketAcceptor(bool, bool, uint32_t, 
 qpid::sys::Timer)':
 qpid/sys/SocketTransport.cpp:209: error: 'a2' is used uninitialized in this 
 function
 /usr/include/boost/bind/bind_cc.hpp:72: note: 'a2' was declared here
 qpid/sys/SocketTransport.cpp:209: error: 'a2' is used uninitialized in this 
 function
 /usr/include/boost/bind/bind.hpp:482: note: 'a2' was declared here
 qpid/sys/SocketTransport.cpp:209: error: 'a2' is used uninitialized in this 
 function
 /usr/include/boost/bind/storage.hpp:244: note: 'a2' was declared here
 qpid/sys/SocketTransport.cpp:209: error: 'a2' is used uninitialized in this 
 function
 /usr/include/boost/bind/storage.hpp:195: note: 'a2' was declared here
 qpid/sys/SocketTransport.cpp:209: error: 'a2' is used uninitialized in this 
 function
 /usr/include/boost/bind/storage.hpp:129: note: 'a2' was declared here
 qpid/sys/SocketTransport.cpp:209: error: 'f' is used uninitialized in this 
 function
 qpid/sys/SocketTransport.cpp:114: note: 'f' was declared here
 qpid/sys/SocketTransport.cpp:209: error: 'f' is used uninitialized in this 
 function
 /usr/include/boost/function/function_template.hpp:722: note: 'f' was declared 
 here
 qpid/sys/SocketTransport.cpp:209: error: 'f' is used uninitialized in this 
 function
 /usr/include/boost/function/function_template.hpp:915: note: 'f' was declared 
 here
 qpid/sys/SocketTransport.cpp:209: error: 'f' may be used uninitialized in 
 this function
 /usr/include/boost/function/function_template.hpp:602: note: 'f' was declared 
 here
 In file included from /usr/include/boost/bind/bind.hpp:1538,
  from /usr/include/boost/bind.hpp:22,
  from qpid/sys/SocketTransport.cpp:32:
 qpid/sys/SocketTransport.cpp: In function 'boost::_bi::bind_tR, R (*)(B1, 
 B2, B3, B4, B5, B6), typename boost::_bi::list_av_6A1, A2, A3, A4, A5, 
 A6::type boost::bind(R (*)(B1, B2, B3, B4, B5, B6), A1, A2, A3, A4, A5, A6) 
 [with R = void, B1 = boost::shared_ptrqpid::sys::Poller, B2 = const 
 qpid::sys::SocketTransportOptions, B3 = qpid::sys::Timer*, B4 = const 
 qpid::sys::Socket, B5 = qpid::sys::ConnectionCodec::Factory*, B6 = const 
 std::string, A1 = boost::shared_ptrqpid::sys::Poller, A2 = 
 qpid::sys::SocketTransportOptions, A3 = qpid::sys::Timer*, A4 = 
 boost::arg1, A5 = qpid::sys::ConnectionCodec::Factory*, A6 = 
 std::basic_stringchar, std::char_traitschar, std::allocatorchar ]':
 qpid/sys/SocketTransport.cpp:209: error: 'a2' is used uninitialized in this 
 function
 /usr/include/boost/bind/bind_cc.hpp:83: note: 'a2' was declared here
 qpid/sys/SocketTransport.cpp:209: error: 'a2' may be used uninitialized in 
 this function
 /usr/include/boost/bind/bind.hpp:551: note: 'a2' was declared here
 qpid/sys/SocketTransport.cpp:209: error: 'a2' may be used uninitialized in 
 this function
 /usr/include/boost/bind/storage.hpp:276: note: 'a2' was declared here
 qpid/sys/SocketTransport.cpp:209: error: 'a2' may be used uninitialized in 
 this function
 

[jira] [Created] (QPID-4724) qpid-cpp-0.22-rc1 RHEL6 cmake issues

2013-04-06 Thread Jimmy Jones (JIRA)
Jimmy Jones created QPID-4724:
-

 Summary: qpid-cpp-0.22-rc1 RHEL6 cmake issues
 Key: QPID-4724
 URL: https://issues.apache.org/jira/browse/QPID-4724
 Project: Qpid
  Issue Type: Bug
  Components: Perl Client
Affects Versions: 0.22
 Environment: RHEL6
Reporter: Jimmy Jones


Running mkdir BLD; cd BLD; cmake ..

-- Could NOT find PerlLibs  (missing:  PERL_LIBRARY PERL_INCLUDE_PATH)
-- Configuring incomplete, errors occurred!

should it autodetect this (automake does)? If then run:

cmake .. -DPERL_LIBRARY=/usr/lib64/perl5/CORE/libperl.so 
-DPERL_INCLUDE_PATH=/usr/lib64/perl5

errors with:

-- Found Perl: /usr/bin/perl
-- Found PerlLibs: /usr/lib64/perl5/CORE/libperl.so
CMake Error at bindings/CMakeLists.txt:62 (string):
  string sub-command REPLACE requires four arguments.


CMake Error at bindings/qpid/perl/CMakeLists.txt:38 (install):
  install FILES given no DESTINATION!


-- Configuring incomplete, errors occurred!

--
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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Updated] (QPID-4719) Problem building perl bindings from qpid 0.22 RC1 tarball

2013-04-06 Thread Jimmy Jones (JIRA)

 [ 
https://issues.apache.org/jira/browse/QPID-4719?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jimmy Jones updated QPID-4719:
--

Summary: Problem building perl bindings from qpid 0.22 RC1 tarball  (was: 
Missing files from qpid 0.22 RC1 tarball)

 Problem building perl bindings from qpid 0.22 RC1 tarball
 -

 Key: QPID-4719
 URL: https://issues.apache.org/jira/browse/QPID-4719
 Project: Qpid
  Issue Type: Bug
  Components: Perl Client
Affects Versions: 0.22
Reporter: Jimmy Jones

 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

--
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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Updated] (QPID-4719) Problem building perl bindings from qpid 0.22 RC1 tarball

2013-04-06 Thread Jimmy Jones (JIRA)

 [ 
https://issues.apache.org/jira/browse/QPID-4719?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jimmy Jones updated QPID-4719:
--

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

Now realised there is a separate tarball for perl bindings, but still have 
problems, see later comments...

  was:
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


 Problem building perl bindings from qpid 0.22 RC1 tarball
 -

 Key: QPID-4719
 URL: https://issues.apache.org/jira/browse/QPID-4719
 Project: Qpid
  Issue Type: Bug
  Components: Perl Client
Affects Versions: 0.22
Reporter: Jimmy Jones

 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
 Now realised there is a separate tarball for perl bindings, but still have 
 problems, see later comments...

--
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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (QPID-4719) Problem building perl bindings from qpid 0.22 RC1 tarball

2013-04-06 Thread Jimmy Jones (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-4719?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13624464#comment-13624464
 ] 

Jimmy Jones commented on QPID-4719:
---

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


 Problem building perl bindings from qpid 0.22 RC1 tarball
 -

 Key: QPID-4719
 URL: https://issues.apache.org/jira/browse/QPID-4719
 Project: Qpid
  Issue Type: Bug
  Components: Perl Client
Affects Versions: 0.22
Reporter: Jimmy Jones

 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
 Now realised there is a separate tarball for perl bindings, but still have 
 problems, see later comments...

--
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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (QPID-4719) Problem building perl bindings from qpid 0.22 RC1 tarball

2013-04-06 Thread Jimmy Jones (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-4719?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13624469#comment-13624469
 ] 

Jimmy Jones commented on QPID-4719:
---

This might be a separate issue, but if I take the full qpid-0.22-rc1.tar.gz, 
run bootstrap, configure, make, make install in cpp, the perl examples don't 
work:

[jimmy@localhost perl]$ ./hello_world.pl 
Can't load '/usr/lib64/perl5/auto/cqpid_perl/cqpid_perl.so' for module 
cqpid_perl: /usr/lib64/perl5/auto/cqpid_perl/cqpid_perl.so: undefined symbol: 
_ZN4qpid9messaging8Duration6SECONDE at /usr/lib64/perl5/DynaLoader.pm line 200.
 at /usr/lib64/perl5/cqpid_perl.pm line 11
Compilation failed in require at /usr/lib64/perl5/qpid_messaging.pm line 22.
BEGIN failed--compilation aborted at /usr/lib64/perl5/qpid_messaging.pm line 22.
Compilation failed in require at /usr/lib64/perl5/qpid.pm line 20.
BEGIN failed--compilation aborted at /usr/lib64/perl5/qpid.pm line 20.
Compilation failed in require at ./hello_world.pl line 24.
BEGIN failed--compilation aborted at ./hello_world.pl line 24.

Looks like cqpid_perl.so has not been linked against the qpid libraries:

[jimmy@localhost perl]$ ldd /usr/lib64/perl5/auto/cqpid_perl/cqpid_perl.so 
linux-vdso.so.1 =  (0x7fffecf95000)
libgcc_s.so.1 = /lib64/libgcc_s.so.1 (0x7f5e4b10a000)
libc.so.6 = /lib64/libc.so.6 (0x7f5e4ad78000)
/lib64/ld-linux-x86-64.so.2 (0x003a05c0)


 Problem building perl bindings from qpid 0.22 RC1 tarball
 -

 Key: QPID-4719
 URL: https://issues.apache.org/jira/browse/QPID-4719
 Project: Qpid
  Issue Type: Bug
  Components: Perl Client
Affects Versions: 0.22
Reporter: Jimmy Jones

 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
 Now realised there is a separate tarball for perl bindings, but still have 
 problems, see later comments...

--
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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (QPID-4722) qpid-cpp-0.22-rc1 doesnt compile on RHEL6

2013-04-06 Thread Jimmy Jones (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-4722?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13624489#comment-13624489
 ] 

Jimmy Jones commented on QPID-4722:
---

Hi Fraser! See QPID-4724 for my failed cmake build :(

 qpid-cpp-0.22-rc1 doesnt compile on RHEL6
 -

 Key: QPID-4722
 URL: https://issues.apache.org/jira/browse/QPID-4722
 Project: Qpid
  Issue Type: Bug
  Components: C++ Broker
Affects Versions: 0.22
 Environment: RHEL6
Reporter: Jimmy Jones

 Freshly installed RHEL6.3 VM
 Compile (with automake) of 
 http://people.apache.org/~jross/qpid-0.22-rc1/qpid-cpp-0.22-rc1.tar.gz fails 
 unless -Werror is removed:
 make[3]: Entering directory `/home/jimmy/Downloads/qpidc-0.22/src'
 /bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. 
 -I../include -I../include -I. -I=.   -Werror -pedantic -Wall -Wextra 
 -Wno-shadow -Wpointer-arith -Wcast-qual -Wcast-align -Wno-long-long 
 -Wvolatile-register-var -Winvalid-pch -Wno-system-headers 
 -Woverloaded-virtual -D_IN_QPID_BROKER -g -O2 -MT 
 qpid/sys/libqpidbroker_la-SocketTransport.lo -MD -MP -MF 
 qpid/sys/.deps/libqpidbroker_la-SocketTransport.Tpo -c -o 
 qpid/sys/libqpidbroker_la-SocketTransport.lo `test -f 
 'qpid/sys/SocketTransport.cpp' || echo './'`qpid/sys/SocketTransport.cpp
 libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../include -I../include -I. -I=. 
 -Werror -pedantic -Wall -Wextra -Wno-shadow -Wpointer-arith -Wcast-qual 
 -Wcast-align -Wno-long-long -Wvolatile-register-var -Winvalid-pch 
 -Wno-system-headers -Woverloaded-virtual -D_IN_QPID_BROKER -g -O2 -MT 
 qpid/sys/libqpidbroker_la-SocketTransport.lo -MD -MP -MF 
 qpid/sys/.deps/libqpidbroker_la-SocketTransport.Tpo -c 
 qpid/sys/SocketTransport.cpp  -fPIC -DPIC -o 
 qpid/sys/.libs/libqpidbroker_la-SocketTransport.o
 cc1plus: warnings being treated as errors
 qpid/sys/SocketTransport.cpp: In constructor 
 'qpid::sys::SocketAcceptor::SocketAcceptor(bool, bool, uint32_t, 
 qpid::sys::Timer)':
 qpid/sys/SocketTransport.cpp:209: error: 'a2' is used uninitialized in this 
 function
 /usr/include/boost/bind/bind_cc.hpp:72: note: 'a2' was declared here
 qpid/sys/SocketTransport.cpp:209: error: 'a2' is used uninitialized in this 
 function
 /usr/include/boost/bind/bind.hpp:482: note: 'a2' was declared here
 qpid/sys/SocketTransport.cpp:209: error: 'a2' is used uninitialized in this 
 function
 /usr/include/boost/bind/storage.hpp:244: note: 'a2' was declared here
 qpid/sys/SocketTransport.cpp:209: error: 'a2' is used uninitialized in this 
 function
 /usr/include/boost/bind/storage.hpp:195: note: 'a2' was declared here
 qpid/sys/SocketTransport.cpp:209: error: 'a2' is used uninitialized in this 
 function
 /usr/include/boost/bind/storage.hpp:129: note: 'a2' was declared here
 qpid/sys/SocketTransport.cpp:209: error: 'f' is used uninitialized in this 
 function
 qpid/sys/SocketTransport.cpp:114: note: 'f' was declared here
 qpid/sys/SocketTransport.cpp:209: error: 'f' is used uninitialized in this 
 function
 /usr/include/boost/function/function_template.hpp:722: note: 'f' was declared 
 here
 qpid/sys/SocketTransport.cpp:209: error: 'f' is used uninitialized in this 
 function
 /usr/include/boost/function/function_template.hpp:915: note: 'f' was declared 
 here
 qpid/sys/SocketTransport.cpp:209: error: 'f' may be used uninitialized in 
 this function
 /usr/include/boost/function/function_template.hpp:602: note: 'f' was declared 
 here
 In file included from /usr/include/boost/bind/bind.hpp:1538,
  from /usr/include/boost/bind.hpp:22,
  from qpid/sys/SocketTransport.cpp:32:
 qpid/sys/SocketTransport.cpp: In function 'boost::_bi::bind_tR, R (*)(B1, 
 B2, B3, B4, B5, B6), typename boost::_bi::list_av_6A1, A2, A3, A4, A5, 
 A6::type boost::bind(R (*)(B1, B2, B3, B4, B5, B6), A1, A2, A3, A4, A5, A6) 
 [with R = void, B1 = boost::shared_ptrqpid::sys::Poller, B2 = const 
 qpid::sys::SocketTransportOptions, B3 = qpid::sys::Timer*, B4 = const 
 qpid::sys::Socket, B5 = qpid::sys::ConnectionCodec::Factory*, B6 = const 
 std::string, A1 = boost::shared_ptrqpid::sys::Poller, A2 = 
 qpid::sys::SocketTransportOptions, A3 = qpid::sys::Timer*, A4 = 
 boost::arg1, A5 = qpid::sys::ConnectionCodec::Factory*, A6 = 
 std::basic_stringchar, std::char_traitschar, std::allocatorchar ]':
 qpid/sys/SocketTransport.cpp:209: error: 'a2' is used uninitialized in this 
 function
 /usr/include/boost/bind/bind_cc.hpp:83: note: 'a2' was declared here
 qpid/sys/SocketTransport.cpp:209: error: 'a2' may be used uninitialized in 
 this function
 /usr/include/boost/bind/bind.hpp:551: note: 'a2' was declared here
 qpid/sys/SocketTransport.cpp:209: error: 'a2' may be used uninitialized in 
 this function
 /usr/include/boost/bind/storage.hpp:276: note: 'a2' was declared here
 

[jira] [Created] (QPID-4719) Missing files from qpid 0.22 RC1 tarball

2013-04-05 Thread Jimmy Jones (JIRA)
Jimmy Jones created QPID-4719:
-

 Summary: Missing files from qpid 0.22 RC1 tarball
 Key: QPID-4719
 URL: https://issues.apache.org/jira/browse/QPID-4719
 Project: Qpid
  Issue Type: Bug
  Components: Perl Client
Affects Versions: 0.22
Reporter: Jimmy Jones


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

--
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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (QPID-4719) Missing files from qpid 0.22 RC1 tarball

2013-04-05 Thread Jimmy Jones (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-4719?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13623993#comment-13623993
 ] 

Jimmy Jones commented on QPID-4719:
---

bin/release.sh controls what files go in, looks as if the perl bindings now go 
into perl-qpid-0.22-rc1.tar.gz, however haven't got that working yet, will try 
on a fresh RHEL6 VM...

 Missing files from qpid 0.22 RC1 tarball
 

 Key: QPID-4719
 URL: https://issues.apache.org/jira/browse/QPID-4719
 Project: Qpid
  Issue Type: Bug
  Components: Perl Client
Affects Versions: 0.22
Reporter: Jimmy Jones

 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

--
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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Reopened] (QPID-4493) Memory leak in perl bindings?

2013-02-24 Thread Jimmy Jones (JIRA)

 [ 
https://issues.apache.org/jira/browse/QPID-4493?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jimmy Jones reopened QPID-4493:
---


Just done some testing with maps inside maps and get lots of internal perl 
errors...

 Memory leak in perl bindings?
 -

 Key: QPID-4493
 URL: https://issues.apache.org/jira/browse/QPID-4493
 Project: Qpid
  Issue Type: Bug
Affects Versions: 0.18, 0.20
 Environment: RHEL5, RHEL6
Reporter: Jimmy Jones
Assignee: Darryl L. Pierce
 Attachments: drain.pl, map-leak.diff, map-leak.pl, map_sender.pl


 I've been having problems with long running code using the perl bindings 
 leaking memory, specifically after calls to getProperties and decodeMap.
 To reproduce - edit drain.pl to call {{$receiver-setCapacity(100)}} and then 
 run {{drain.pl -f amq.match}}. You'll also need to hack map_sender.pl to send 
 to amq.match and loop forever (both attached). The memory usage of drain.pl 
 will now start growing...

--
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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (QPID-4493) Memory leak in perl bindings?

2013-02-24 Thread Jimmy Jones (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-4493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13585338#comment-13585338
 ] 

Jimmy Jones commented on QPID-4493:
---

NB. testcases seem to the failing, also they no longer exercise decoding as 
set_context caches the content, so get_content doesn't need to decode.

 Memory leak in perl bindings?
 -

 Key: QPID-4493
 URL: https://issues.apache.org/jira/browse/QPID-4493
 Project: Qpid
  Issue Type: Bug
Affects Versions: 0.18, 0.20
 Environment: RHEL5, RHEL6
Reporter: Jimmy Jones
Assignee: Darryl L. Pierce
 Attachments: drain.pl, map-leak.diff, map-leak.pl, map_sender.pl, 
 qpid-perl-memory.diff


 I've been having problems with long running code using the perl bindings 
 leaking memory, specifically after calls to getProperties and decodeMap.
 To reproduce - edit drain.pl to call {{$receiver-setCapacity(100)}} and then 
 run {{drain.pl -f amq.match}}. You'll also need to hack map_sender.pl to send 
 to amq.match and loop forever (both attached). The memory usage of drain.pl 
 will now start growing...

--
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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Updated] (QPID-4493) Memory leak in perl bindings?

2013-02-24 Thread Jimmy Jones (JIRA)

 [ 
https://issues.apache.org/jira/browse/QPID-4493?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jimmy Jones updated QPID-4493:
--

Attachment: qpid-perl-memory.diff

New patch with testcase that doesn't leak memory or produce internal perl errors

 Memory leak in perl bindings?
 -

 Key: QPID-4493
 URL: https://issues.apache.org/jira/browse/QPID-4493
 Project: Qpid
  Issue Type: Bug
Affects Versions: 0.18, 0.20
 Environment: RHEL5, RHEL6
Reporter: Jimmy Jones
Assignee: Darryl L. Pierce
 Attachments: drain.pl, map-leak.diff, map-leak.pl, map_sender.pl, 
 qpid-perl-memory.diff


 I've been having problems with long running code using the perl bindings 
 leaking memory, specifically after calls to getProperties and decodeMap.
 To reproduce - edit drain.pl to call {{$receiver-setCapacity(100)}} and then 
 run {{drain.pl -f amq.match}}. You'll also need to hack map_sender.pl to send 
 to amq.match and loop forever (both attached). The memory usage of drain.pl 
 will now start growing...

--
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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (QPID-4591) mechanism to detect when messages are overwritten in ring-type queues

2013-02-22 Thread Jimmy Jones (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-4591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13584608#comment-13584608
 ] 

Jimmy Jones commented on QPID-4591:
---

I think QMF should be able to help you

 mechanism to detect when messages are overwritten in ring-type queues
 -

 Key: QPID-4591
 URL: https://issues.apache.org/jira/browse/QPID-4591
 Project: Qpid
  Issue Type: New Feature
  Components: C++ Broker
Affects Versions: 0.18
Reporter: Ernest Allen
 Fix For: Future


 A way to determine when a ring queue is full and old messages are being 
 deleted. Also need a way to determine when the ring queue is no longer full.

--
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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Updated] (QPID-4493) Memory leak in perl bindings?

2013-01-26 Thread Jimmy Jones (JIRA)

 [ 
https://issues.apache.org/jira/browse/QPID-4493?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jimmy Jones updated QPID-4493:
--

Attachment: map-leak.diff

The attached patch seems to fix the leak. However I don't claim to have any 
understanding of perl object mortality, so probably should be checked by a perl 
pro before applying! Might be a good idea to check the rest of the code too for 
similar problems.

 Memory leak in perl bindings?
 -

 Key: QPID-4493
 URL: https://issues.apache.org/jira/browse/QPID-4493
 Project: Qpid
  Issue Type: Bug
Affects Versions: 0.18, 0.20
 Environment: RHEL5, RHEL6
Reporter: Jimmy Jones
Assignee: Darryl L. Pierce
 Attachments: drain.pl, map-leak.diff, map-leak.pl, map_sender.pl


 I've been having problems with long running code using the perl bindings 
 leaking memory, specifically after calls to getProperties and decodeMap.
 To reproduce - edit drain.pl to call {{$receiver-setCapacity(100)}} and then 
 run {{drain.pl -f amq.match}}. You'll also need to hack map_sender.pl to send 
 to amq.match and loop forever (both attached). The memory usage of drain.pl 
 will now start growing...

--
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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Created] (QPID-4544) Perl bindings: Unicode not represented correctly in amqp/map

2013-01-20 Thread Jimmy Jones (JIRA)
Jimmy Jones created QPID-4544:
-

 Summary: Perl bindings: Unicode not represented correctly in 
amqp/map
 Key: QPID-4544
 URL: https://issues.apache.org/jira/browse/QPID-4544
 Project: Qpid
  Issue Type: Bug
  Components: Perl Client
Affects Versions: 0.18
 Environment: RHEL 6
Reporter: Jimmy Jones


Perl stores a string as bytes, or will upgrade it to utf8 when unicode is used. 
However the perl bindings don't check the utf8 flag before adding/removing 
strings from amqp/map, so treats everything as bytes. This isn't noticeable on 
most terminals (as it'll interpret the bytes as utf8) but regexes and length 
don't work as expected.

--
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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Updated] (QPID-4544) Perl bindings: Unicode not represented correctly in amqp/map

2013-01-20 Thread Jimmy Jones (JIRA)

 [ 
https://issues.apache.org/jira/browse/QPID-4544?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jimmy Jones updated QPID-4544:
--

Attachment: qpid-perl-map-utf8.diff

Attached proposed fix and testcase that exposes the issue.

 Perl bindings: Unicode not represented correctly in amqp/map
 

 Key: QPID-4544
 URL: https://issues.apache.org/jira/browse/QPID-4544
 Project: Qpid
  Issue Type: Bug
  Components: Perl Client
Affects Versions: 0.18
 Environment: RHEL 6
Reporter: Jimmy Jones
 Attachments: qpid-perl-map-utf8.diff


 Perl stores a string as bytes, or will upgrade it to utf8 when unicode is 
 used. However the perl bindings don't check the utf8 flag before 
 adding/removing strings from amqp/map, so treats everything as bytes. This 
 isn't noticeable on most terminals (as it'll interpret the bytes as utf8) but 
 regexes and length don't work as expected.

--
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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Created] (QPID-4493) Memory leak in perl bindings?

2012-12-06 Thread Jimmy Jones (JIRA)
Jimmy Jones created QPID-4493:
-

 Summary: Memory leak in perl bindings?
 Key: QPID-4493
 URL: https://issues.apache.org/jira/browse/QPID-4493
 Project: Qpid
  Issue Type: Bug
Affects Versions: 0.18, 0.20
 Environment: RHEL5, RHEL6
Reporter: Jimmy Jones
 Attachments: drain.pl, map_sender.pl

I've been having problems with long running code using the perl bindings 
leaking memory, specifically after calls to getProperties and decodeMap.

To reproduce - edit drain.pl to call {{$receiver-setCapacity(100)}} and then 
run {{drain.pl -f amq.match}}. You'll also need to hack map_sender.pl to send 
to amq.match and loop forever (both attached). The memory usage of drain.pl 
will now start growing...

--
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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Updated] (QPID-4493) Memory leak in perl bindings?

2012-12-06 Thread Jimmy Jones (JIRA)

 [ 
https://issues.apache.org/jira/browse/QPID-4493?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jimmy Jones updated QPID-4493:
--

Attachment: map_sender.pl
drain.pl

 Memory leak in perl bindings?
 -

 Key: QPID-4493
 URL: https://issues.apache.org/jira/browse/QPID-4493
 Project: Qpid
  Issue Type: Bug
Affects Versions: 0.18, 0.20
 Environment: RHEL5, RHEL6
Reporter: Jimmy Jones
 Attachments: drain.pl, map_sender.pl


 I've been having problems with long running code using the perl bindings 
 leaking memory, specifically after calls to getProperties and decodeMap.
 To reproduce - edit drain.pl to call {{$receiver-setCapacity(100)}} and then 
 run {{drain.pl -f amq.match}}. You'll also need to hack map_sender.pl to send 
 to amq.match and loop forever (both attached). The memory usage of drain.pl 
 will now start growing...

--
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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Updated] (QPID-4480) If amqp/map contains a string containing a null, perl bindings will truncate it when encoding

2012-11-28 Thread Jimmy Jones (JIRA)

 [ 
https://issues.apache.org/jira/browse/QPID-4480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jimmy Jones updated QPID-4480:
--

Attachment: hello_world2.pl

Test case. Well not a proper perl test as i've not written one before, but a 
script that shows the problem.

 If amqp/map contains a string containing a null, perl bindings will truncate 
 it when encoding
 -

 Key: QPID-4480
 URL: https://issues.apache.org/jira/browse/QPID-4480
 Project: Qpid
  Issue Type: Bug
Affects Versions: 0.18
 Environment: RHEL6
Reporter: Jimmy Jones
Assignee: Darryl L. Pierce
 Attachments: hello_world2.pl, null-in-string-inside-map.patch


 The following code doesn't work as expected, the name element is truncated at 
 the null byte.
 my $hash = { id = 1234, name = Blah\x00Blah };
 cqpid_perl::encode($hash, $outmsg);

--
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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Created] (QPID-4480) If amqp/map contains a string containing a null, perl bindings will truncate it

2012-11-27 Thread Jimmy Jones (JIRA)
Jimmy Jones created QPID-4480:
-

 Summary: If amqp/map contains a string containing a null, perl 
bindings will truncate it
 Key: QPID-4480
 URL: https://issues.apache.org/jira/browse/QPID-4480
 Project: Qpid
  Issue Type: Bug
Affects Versions: 0.18
 Environment: RHEL6
Reporter: Jimmy Jones


The following code doesn't work as expected, the name element is truncated at 
the null byte.

my $hash = { id = 1234, name = Blah\x00Blah };
cqpid_perl::encode($hash, $outmsg);

--
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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Updated] (QPID-4480) If amqp/map contains a string containing a null, perl bindings will truncate it when encoding

2012-11-27 Thread Jimmy Jones (JIRA)

 [ 
https://issues.apache.org/jira/browse/QPID-4480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jimmy Jones updated QPID-4480:
--

Summary: If amqp/map contains a string containing a null, perl bindings 
will truncate it when encoding  (was: If amqp/map contains a string containing 
a null, perl bindings will truncate it)

 If amqp/map contains a string containing a null, perl bindings will truncate 
 it when encoding
 -

 Key: QPID-4480
 URL: https://issues.apache.org/jira/browse/QPID-4480
 Project: Qpid
  Issue Type: Bug
Affects Versions: 0.18
 Environment: RHEL6
Reporter: Jimmy Jones
 Attachments: null-in-string-inside-map.patch


 The following code doesn't work as expected, the name element is truncated at 
 the null byte.
 my $hash = { id = 1234, name = Blah\x00Blah };
 cqpid_perl::encode($hash, $outmsg);

--
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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Updated] (QPID-4480) If amqp/map contains a string containing a null, perl bindings will truncate it when encoding

2012-11-27 Thread Jimmy Jones (JIRA)

 [ 
https://issues.apache.org/jira/browse/QPID-4480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jimmy Jones updated QPID-4480:
--

Attachment: null-in-string-inside-map.patch

Attached a fix. Tested on RHEL6.

 If amqp/map contains a string containing a null, perl bindings will truncate 
 it when encoding
 -

 Key: QPID-4480
 URL: https://issues.apache.org/jira/browse/QPID-4480
 Project: Qpid
  Issue Type: Bug
Affects Versions: 0.18
 Environment: RHEL6
Reporter: Jimmy Jones
 Attachments: null-in-string-inside-map.patch


 The following code doesn't work as expected, the name element is truncated at 
 the null byte.
 my $hash = { id = 1234, name = Blah\x00Blah };
 cqpid_perl::encode($hash, $outmsg);

--
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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Comment Edited] (QPID-4480) If amqp/map contains a string containing a null, perl bindings will truncate it when encoding

2012-11-27 Thread Jimmy Jones (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-4480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13504958#comment-13504958
 ] 

Jimmy Jones edited comment on QPID-4480 at 11/27/12 9:25 PM:
-

Attached a fix. Tested on RHEL6. Could this go into 0.20 please?

  was (Author: jimmyjones2):
Attached a fix. Tested on RHEL6.
  
 If amqp/map contains a string containing a null, perl bindings will truncate 
 it when encoding
 -

 Key: QPID-4480
 URL: https://issues.apache.org/jira/browse/QPID-4480
 Project: Qpid
  Issue Type: Bug
Affects Versions: 0.18
 Environment: RHEL6
Reporter: Jimmy Jones
 Attachments: null-in-string-inside-map.patch


 The following code doesn't work as expected, the name element is truncated at 
 the null byte.
 my $hash = { id = 1234, name = Blah\x00Blah };
 cqpid_perl::encode($hash, $outmsg);

--
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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Created] (QPID-4466) Cannot multiply durations in perl bindings

2012-11-24 Thread Jimmy Jones (JIRA)
Jimmy Jones created QPID-4466:
-

 Summary: Cannot multiply durations in perl bindings
 Key: QPID-4466
 URL: https://issues.apache.org/jira/browse/QPID-4466
 Project: Qpid
  Issue Type: Bug
Affects Versions: 0.18
 Environment: RHEL6
Reporter: Jimmy Jones


eg.

{{my $message = $receiver-fetch($cqpid_perl::Duration::SECOND*2);}}

results in the error

{{No matching function for overloaded 'Receiver_fetch' at ./hello_world3.pl 
line 45.}}

This might be because the operator* is not a member function, so SWIG has not 
wrapped it correctly.

--
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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Updated] (QPID-4466) Cannot multiply durations in perl bindings

2012-11-24 Thread Jimmy Jones (JIRA)

 [ 
https://issues.apache.org/jira/browse/QPID-4466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jimmy Jones updated QPID-4466:
--

Attachment: perl-duration-multiply.patch

Tested fix on RHEL6

 Cannot multiply durations in perl bindings
 --

 Key: QPID-4466
 URL: https://issues.apache.org/jira/browse/QPID-4466
 Project: Qpid
  Issue Type: Bug
Affects Versions: 0.18
 Environment: RHEL6
Reporter: Jimmy Jones
 Attachments: perl-duration-multiply.patch


 eg.
 {{my $message = $receiver-fetch($cqpid_perl::Duration::SECOND*2);}}
 results in the error
 {{No matching function for overloaded 'Receiver_fetch' at ./hello_world3.pl 
 line 45.}}
 This might be because the operator* is not a member function, so SWIG has not 
 wrapped it correctly.

--
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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



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

2012-11-23 Thread Jimmy Jones (JIRA)

 [ 
https://issues.apache.org/jira/browse/QPID-4415?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jimmy Jones updated QPID-4415:
--

Attachment: perl-bindings-path.patch

Fix for perl module being installed in the wrong perl directory (separate to 
the prefix issue that the existing patch fixes). Tested on RHEL6, Ubuntu 12.04 
and modules now installed in correct directory.

 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
 Attachments: 
 0001-QPID-4415-Fixes-Perl-bindings-install-location.patch, 
 perl-bindings-path.patch


 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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (QPID-3695) In the Perl binding there doesn't appear to be a way to set the encoding of header properties to UTF8.

2012-11-22 Thread Jimmy Jones (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-3695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13502933#comment-13502933
 ] 

Jimmy Jones commented on QPID-3695:
---

Gordon's comment on QPID-4442 confirms the headers exchange now compares the 
bytes regardless of encoding.

 In the Perl binding there doesn't appear to be a way to set the encoding of 
 header properties to UTF8.
 --

 Key: QPID-3695
 URL: https://issues.apache.org/jira/browse/QPID-3695
 Project: Qpid
  Issue Type: Bug
  Components: Interop Testing
Affects Versions: 0.12
 Environment: Perl
Reporter: Fraser Adams
 Attachments: hello_world2.pl


 There have been some interoperability issues reported between Java/C++/Perl 
 whereby there is sometimes a mismatch between C++ qpid::messaging client 
 defaults of binary strings and expected UTF8 Strings - especially noticeable 
 with headers exchange matching.
 One of the most significant issues is with the qpid::messaging AddressParser 
 which is resolved here:
 https://issues.apache.org/jira/browse/QPID-3492
 However with qpid::messaging producers one must also be careful to call 
 setEncoding(utf8) when setting string properties.
 This is OK with C++ qpid::messaging as long as one is aware of the potential 
 issue however there's a more significant issue with the Perl binding, which 
 is a SWIG wrapper around qpid::messaging. This transparently maps Perl 
 strings into binary strings and there doesn't appear to be any way to 
 explicitly set the encoding as the Variant type implementation is abstracted 
 away in Perl.
 The following trivial snippet allows a UTF8 property to be set on a Message:
 /*
 This method properly encodes the value parameter as a UTF8 Variant type 
 then sets the Property 
 on the Message passed in as a parameter.
 */
 void setUtf8Property(Message message, const char* key, const char* value) {
 Variant utf8Value(value);
 utf8Value.setEncoding(utf8);
 message.setProperty(key, utf8Value);
 }
 Obviously to be of any use in the Perl binding it would need to be added to 
 the SWIG interface.
 Perhaps there's another way to set Message properties as UTF8 from the Perl 
 binding?

--
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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Updated] (QPID-3695) In the Perl binding there doesn't appear to be a way to set the encoding of header properties to UTF8.

2012-11-18 Thread Jimmy Jones (JIRA)

 [ 
https://issues.apache.org/jira/browse/QPID-3695?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jimmy Jones updated QPID-3695:
--

Attachment: hello_world2.pl

Script to demonstrate the problem

 In the Perl binding there doesn't appear to be a way to set the encoding of 
 header properties to UTF8.
 --

 Key: QPID-3695
 URL: https://issues.apache.org/jira/browse/QPID-3695
 Project: Qpid
  Issue Type: Bug
  Components: Interop Testing
Affects Versions: 0.12
 Environment: Perl
Reporter: Fraser Adams
 Attachments: hello_world2.pl


 There have been some interoperability issues reported between Java/C++/Perl 
 whereby there is sometimes a mismatch between C++ qpid::messaging client 
 defaults of binary strings and expected UTF8 Strings - especially noticeable 
 with headers exchange matching.
 One of the most significant issues is with the qpid::messaging AddressParser 
 which is resolved here:
 https://issues.apache.org/jira/browse/QPID-3492
 However with qpid::messaging producers one must also be careful to call 
 setEncoding(utf8) when setting string properties.
 This is OK with C++ qpid::messaging as long as one is aware of the potential 
 issue however there's a more significant issue with the Perl binding, which 
 is a SWIG wrapper around qpid::messaging. This transparently maps Perl 
 strings into binary strings and there doesn't appear to be any way to 
 explicitly set the encoding as the Variant type implementation is abstracted 
 away in Perl.
 The following trivial snippet allows a UTF8 property to be set on a Message:
 /*
 This method properly encodes the value parameter as a UTF8 Variant type 
 then sets the Property 
 on the Message passed in as a parameter.
 */
 void setUtf8Property(Message message, const char* key, const char* value) {
 Variant utf8Value(value);
 utf8Value.setEncoding(utf8);
 message.setProperty(key, utf8Value);
 }
 Obviously to be of any use in the Perl binding it would need to be added to 
 the SWIG interface.
 Perhaps there's another way to set Message properties as UTF8 from the Perl 
 binding?

--
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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Updated] (QPID-4416) perl binding for getContentPtr fails on payloads containing NULL

2012-11-16 Thread Jimmy Jones (JIRA)

 [ 
https://issues.apache.org/jira/browse/QPID-4416?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jimmy Jones updated QPID-4416:
--

Attachment: getcontentptr.diff

Proposed fix

 perl binding for getContentPtr fails on payloads containing NULL
 

 Key: QPID-4416
 URL: https://issues.apache.org/jira/browse/QPID-4416
 Project: Qpid
  Issue Type: Bug
Affects Versions: 0.18
Reporter: Jimmy Jones
 Attachments: getcontentptr.diff


 getContentPtr uses SWIG_FromCharPtr, however this uses strlen internally, so 
 assumes the payload doesn't contain NULL - SWIG_FromCharPtrAndSize should be 
 used instead.

--
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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Updated] (QPID-4418) configure gives misleading error if g++ missing

2012-11-12 Thread Jimmy Jones (JIRA)

 [ 
https://issues.apache.org/jira/browse/QPID-4418?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jimmy Jones updated QPID-4418:
--

Attachment: automake.diff

Patch to configure.ac to barf if working C++ compiler not found.

 configure gives misleading error if g++ missing
 ---

 Key: QPID-4418
 URL: https://issues.apache.org/jira/browse/QPID-4418
 Project: Qpid
  Issue Type: Bug
Affects Versions: 0.18
Reporter: Jimmy Jones
 Attachments: automake.diff


 Tried on both RHEL5  6, if g++ isn't installed (but boost-devel is), 
 configure fails with:
 Checking for boost/shared_ptr.hpp... no
 configure: error: Missing required header files.
 which is a bit misleading...

--
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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Created] (QPID-4433) Error in documentation

2012-11-12 Thread Jimmy Jones (JIRA)
Jimmy Jones created QPID-4433:
-

 Summary: Error in documentation
 Key: QPID-4433
 URL: https://issues.apache.org/jira/browse/QPID-4433
 Project: Qpid
  Issue Type: Bug
  Components: Website
Reporter: Jimmy Jones
Priority: Minor


https://cwiki.apache.org/qpid/qpid-extensions-to-amqp.html - description for 
qpid.max_size and qpid.max_count are reversed

--
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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (QPID-4417) swig 1.3.29 generated bad perl bindings

2012-11-05 Thread Jimmy Jones (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-4417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13490868#comment-13490868
 ] 

Jimmy Jones commented on QPID-4417:
---

Issue was fixed in SWIG 1.3.32

 swig 1.3.29 generated bad perl bindings
 ---

 Key: QPID-4417
 URL: https://issues.apache.org/jira/browse/QPID-4417
 Project: Qpid
  Issue Type: Bug
Affects Versions: 0.18
Reporter: Jimmy Jones
Assignee: Darryl L. Pierce

 swig-1.3.29-2.el5.x86_64.rpm (RHEL5) generates bad bindings for getContent, 
 which uses sv_setpv rather than sv_setpvn, and also fiddles with NULL at the 
 end, so fails if the message contains a NULL byte.
 Maybe configure should require a later version?

--
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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Updated] (QPID-4417) swig 1.3.29 generated bad perl bindings

2012-11-05 Thread Jimmy Jones (JIRA)

 [ 
https://issues.apache.org/jira/browse/QPID-4417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jimmy Jones updated QPID-4417:
--

Attachment: swig.diff

Require SWIG 1.3.32

 swig 1.3.29 generated bad perl bindings
 ---

 Key: QPID-4417
 URL: https://issues.apache.org/jira/browse/QPID-4417
 Project: Qpid
  Issue Type: Bug
Affects Versions: 0.18
Reporter: Jimmy Jones
Assignee: Darryl L. Pierce
 Attachments: swig.diff


 swig-1.3.29-2.el5.x86_64.rpm (RHEL5) generates bad bindings for getContent, 
 which uses sv_setpv rather than sv_setpvn, and also fiddles with NULL at the 
 end, so fails if the message contains a NULL byte.
 Maybe configure should require a later version?

--
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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Reopened] (QPID-4417) swig 1.3.29 generated bad perl bindings

2012-11-05 Thread Jimmy Jones (JIRA)

 [ 
https://issues.apache.org/jira/browse/QPID-4417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jimmy Jones reopened QPID-4417:
---


Will you accept the attached patch?

 swig 1.3.29 generated bad perl bindings
 ---

 Key: QPID-4417
 URL: https://issues.apache.org/jira/browse/QPID-4417
 Project: Qpid
  Issue Type: Bug
Affects Versions: 0.18
Reporter: Jimmy Jones
Assignee: Darryl L. Pierce
 Attachments: swig.diff


 swig-1.3.29-2.el5.x86_64.rpm (RHEL5) generates bad bindings for getContent, 
 which uses sv_setpv rather than sv_setpvn, and also fiddles with NULL at the 
 end, so fails if the message contains a NULL byte.
 Maybe configure should require a later version?

--
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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



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

2012-11-05 Thread Jimmy Jones (JIRA)

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

Jimmy Jones commented on QPID-4415:
---

LGTM, thanks.

 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
 Attachments: 0001-QPID-4415-Fixes-Perl-bindings-install-location.patch


 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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (QPID-3695) In the Perl binding there doesn't appear to be a way to set the encoding of header properties to UTF8.

2012-11-03 Thread Jimmy Jones (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-3695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13490086#comment-13490086
 ] 

Jimmy Jones commented on QPID-3695:
---

I'm also having the same problem. As far as I can see, I can't match messages 
sent to a headers exchange from perl, unless I hack the bindings.

 In the Perl binding there doesn't appear to be a way to set the encoding of 
 header properties to UTF8.
 --

 Key: QPID-3695
 URL: https://issues.apache.org/jira/browse/QPID-3695
 Project: Qpid
  Issue Type: Bug
  Components: Interop Testing
Affects Versions: 0.12
 Environment: Perl
Reporter: Fraser Adams

 There have been some interoperability issues reported between Java/C++/Perl 
 whereby there is sometimes a mismatch between C++ qpid::messaging client 
 defaults of binary strings and expected UTF8 Strings - especially noticeable 
 with headers exchange matching.
 One of the most significant issues is with the qpid::messaging AddressParser 
 which is resolved here:
 https://issues.apache.org/jira/browse/QPID-3492
 However with qpid::messaging producers one must also be careful to call 
 setEncoding(utf8) when setting string properties.
 This is OK with C++ qpid::messaging as long as one is aware of the potential 
 issue however there's a more significant issue with the Perl binding, which 
 is a SWIG wrapper around qpid::messaging. This transparently maps Perl 
 strings into binary strings and there doesn't appear to be any way to 
 explicitly set the encoding as the Variant type implementation is abstracted 
 away in Perl.
 The following trivial snippet allows a UTF8 property to be set on a Message:
 /*
 This method properly encodes the value parameter as a UTF8 Variant type 
 then sets the Property 
 on the Message passed in as a parameter.
 */
 void setUtf8Property(Message message, const char* key, const char* value) {
 Variant utf8Value(value);
 utf8Value.setEncoding(utf8);
 message.setProperty(key, utf8Value);
 }
 Obviously to be of any use in the Perl binding it would need to be added to 
 the SWIG interface.
 Perhaps there's another way to set Message properties as UTF8 from the Perl 
 binding?

--
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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



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

2012-11-03 Thread Jimmy Jones (JIRA)
Jimmy Jones created QPID-4415:
-

 Summary: 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


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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Created] (QPID-4416) perl binding for getContentPtr fails on payloads containing NULL

2012-11-03 Thread Jimmy Jones (JIRA)
Jimmy Jones created QPID-4416:
-

 Summary: perl binding for getContentPtr fails on payloads 
containing NULL
 Key: QPID-4416
 URL: https://issues.apache.org/jira/browse/QPID-4416
 Project: Qpid
  Issue Type: Bug
Affects Versions: 0.18
Reporter: Jimmy Jones


getContentPtr uses SWIG_FromCharPtr, however this uses strlen internally, so 
assumes the payload doesn't contain NULL - SWIG_FromCharPtrAndSize should be 
used instead.

--
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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Created] (QPID-4417) swig 1.3.29 generated bad perl bindings

2012-11-03 Thread Jimmy Jones (JIRA)
Jimmy Jones created QPID-4417:
-

 Summary: swig 1.3.29 generated bad perl bindings
 Key: QPID-4417
 URL: https://issues.apache.org/jira/browse/QPID-4417
 Project: Qpid
  Issue Type: Bug
Reporter: Jimmy Jones


swig-1.3.29-2.el5.x86_64.rpm (RHEL5) generates bad bindings for getContent, 
which uses sv_setpv rather than sv_setpvn, and also fiddles with NULL at the 
end, so fails if the message contains a NULL byte.

Maybe configure should require a later version?

--
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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Created] (QPID-4418) configure gives misleading error if g++ missing

2012-11-03 Thread Jimmy Jones (JIRA)
Jimmy Jones created QPID-4418:
-

 Summary: configure gives misleading error if g++ missing
 Key: QPID-4418
 URL: https://issues.apache.org/jira/browse/QPID-4418
 Project: Qpid
  Issue Type: Bug
Reporter: Jimmy Jones


Tried on both RHEL5  6, if g++ isn't installed (but boost-devel is), configure 
fails with:

Checking for boost/shared_ptr.hpp... no
configure: error: Missing required header files.

which is a bit misleading...

--
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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Updated] (QPID-4418) configure gives misleading error if g++ missing

2012-11-03 Thread Jimmy Jones (JIRA)

 [ 
https://issues.apache.org/jira/browse/QPID-4418?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jimmy Jones updated QPID-4418:
--

Affects Version/s: 0.18

 configure gives misleading error if g++ missing
 ---

 Key: QPID-4418
 URL: https://issues.apache.org/jira/browse/QPID-4418
 Project: Qpid
  Issue Type: Bug
Affects Versions: 0.18
Reporter: Jimmy Jones

 Tried on both RHEL5  6, if g++ isn't installed (but boost-devel is), 
 configure fails with:
 Checking for boost/shared_ptr.hpp... no
 configure: error: Missing required header files.
 which is a bit misleading...

--
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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Updated] (QPID-4417) swig 1.3.29 generated bad perl bindings

2012-11-03 Thread Jimmy Jones (JIRA)

 [ 
https://issues.apache.org/jira/browse/QPID-4417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jimmy Jones updated QPID-4417:
--

Affects Version/s: 0.18

 swig 1.3.29 generated bad perl bindings
 ---

 Key: QPID-4417
 URL: https://issues.apache.org/jira/browse/QPID-4417
 Project: Qpid
  Issue Type: Bug
Affects Versions: 0.18
Reporter: Jimmy Jones

 swig-1.3.29-2.el5.x86_64.rpm (RHEL5) generates bad bindings for getContent, 
 which uses sv_setpv rather than sv_setpvn, and also fiddles with NULL at the 
 end, so fails if the message contains a NULL byte.
 Maybe configure should require a later version?

--
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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org