Is this the wrong venue for discussion the C++ persistence plugin? I am attempting to build revision r3372 to work with the 0.5 qpidc release.
There is some problem with autoconf in the persistence module that I don't grok. It's a syntax error in this line: PKG_CHECK_MODULES(APR, apr-1 >= $APR_MINIMUM_VERSION) This is a /bin/sh script. So is this an incorrectly unexpanded m4 macro? The relevant trancript follows: cd build/persistence-module-cpp && ./configure --with-qpid-prefix=/usr --prefix=/usr checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking for gcc option to accept ISO C99... -std=gnu99 checking for gcc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99 checking whether gcc -std=gnu99 and cc understand -c and -o together... yes checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking how to run the C preprocessor... gcc -std=gnu99 -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for AIX... no checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether compiler accepts -Werror... yes checking whether compiler accepts -pedantic... yes checking whether compiler accepts -Wall... yes checking whether compiler accepts -Wextra... yes checking whether compiler accepts -Wno-shadow... yes checking whether compiler accepts -Wpointer-arith... yes checking whether compiler accepts -Wcast-qual... yes checking whether compiler accepts -Wcast-align... yes checking whether compiler accepts -Wno-long-long... yes checking whether compiler accepts -Wvolatile-register-var... yes checking whether compiler accepts -Winvalid-pch... yes checking whether compiler accepts -Wno-system-headers... yes checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for a sed that does not truncate output... /bin/sed checking for ld used by gcc -std=gnu99... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognize dependent libraries... pass_all checking dlfcn.h usability... yes checking dlfcn.h presence... no checking for dlfcn.h... yes checking how to run the C++ preprocessor... configure: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor! configure: WARNING: dlfcn.h: proceeding with the compiler's result g++ -E checking for g77... no checking for xlf... no checking for f77... no checking for frt... no checking for pgf77... no checking for cf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for xlf90... no checking for f90... no checking for pgf90... no checking for pghpf... no checking for epcf90... no checking for gfortran... no checking for g95... no checking for xlf95... no checking for f95... no checking for fort... no checking for ifort... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for ftn... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 98304 checking command to parse /usr/bin/nm -B output from gcc -std=gnu99 object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no checking for gcc -std=gnu99 option to produce PIC... -fPIC checking if gcc -std=gnu99 PIC flag -fPIC works... yes checking if gcc -std=gnu99 static flag -static works... yes checking if gcc -std=gnu99 supports -c -o file.o... yes checking whether the gcc -std=gnu99 linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool checking qpid/broker/MessageStore.h usability... yes checking qpid/broker/MessageStore.h presence... yes checking for qpid/broker/MessageStore.h... yes checking for io_setup in -laio... yes checking libaio.h usability... yes checking libaio.h presence... yes checking for libaio.h... yes checking for library containing dlopen... -ldl checking db_cxx.h usability... yes checking db_cxx.h presence... yes checking for db_cxx.h... yes checking for library containing __db_open... -ldb_cxx-4.4 checking db4/db_cxx.h usability... no checking db4/db_cxx.h presence... no checking for db4/db_cxx.h... no checking for db_cxx.h... (cached) yes checking for library containing clock_gettime... -lrt checking for clock_gettime... yes checking for clock_settime... yes ./configure: line 22071: syntax error near unexpected token `APR,' ./configure: line 22071: ` PKG_CHECK_MODULES(APR, apr-1 >= $APR_MINIMUM_VERSION)' --------------------------------------------------------------------- Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:[email protected]
