Thanks Gordon,
I committed a fix that includes your patch and adds one more condition
to the HAVE_PERL_DEVEL variable.
Please try it on your system. Without setting PERL_INC, it should work
but not attempt to build the Perl bindings.
-Ted
On 01/28/2011 01:12 PM, Gordon Sim wrote:
On 01/27/2011 05:04 PM, [email protected] wrote:
Author: tross
Date: Thu Jan 27 17:04:40 2011
New Revision: 1064199
URL: http://svn.apache.org/viewvc?rev=1064199&view=rev
Log:
QPID-3009 - Perl binding to Qpid messaging
Applied patch contributed by Hao Chang Yu
This break the build for me; perhaps it is due to the various perl
integration headers being in an unusual/unexpected location.
The configure script has:
+# Perl bindings:
+
+AC_CHECK_PROG([H2XS], [h2xs], [h2xs])
+if test -n "$H2XS" ; then
+ AC_CHECK_FILE("$libdir/perl5/CORE/perl.h", [AC_SUBST([PERL_INC],
"-I$libdir/perl5/CORE")])
+fi
+AM_CONDITIONAL([HAVE_PERL_DEVEL], [test -n "$H2XS"&& test -n "$SWIG"])
But on my system the necessary headers are in
/usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE/. Any suggestions
on a neat modification to the configure script that would fix this?
If I set PERL_INC explicitly I can build but only if I also modify the
makefile as per attached diff. I assume that it was intended for
PERL_INC to be used like this?
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]