On Fri, Jan 9, 2009 at 5:35 AM, Timothy Bish <[email protected]> wrote:
> On Thu, 2009-01-08 at 10:01 -0800, Jim Lloyd wrote: > > I have a criticism of one aspect of installation. I would like to be able > to > > have multiple installs of activemq-cpp, and then switch between them by > > changing one symlink, and then rebuilding my source tree. Currently my > > makefiles define the include path for activemq-cpp like this: > > > > -I/nas/local/activemq-cpp-2.2.3/include/activemq-cpp-2.2.3 \ > > I'm assuming that the first reference to 2.2.3 comes from how you > configured the build, as in > > ./configure --prefix=/nas/local/activemq-cpp-2.2.3 > > Is that right? > Yes. Am I perhaps missing some better way to have multiple versions installed? I believe that if I installed several versions using the same PREFIX that I would end up with one version of the libraries but multiple copies of the includes. FYI I am currently running configure like this for apr, apr-util, and activemq-cpp: BUILDROOT=/nas/local/optimized # apr ./configure --disable-shared --prefix=$BUILDROOT/apr-1.3.3 --exec-prefix=$BUILDROOT/apr-1.3.3 # apr-util ./configure --disable-shared --prefix=$BUILDROOT/apr-util-1.3.4 --exec-prefix=$BUILDROOT/apr-util-1.3.4 --with-apr=$BUILDROOT/apr-1.3.3 # activemq-cpp ./configure --disable-shared --prefix=$BUILDROOT/activemq-cpp-2.2.x --exec-prefix=$BUILDROOT/activemq-cpp-2.2.x --with-apr=$BUILDROOT/apr-1.3.3 --with-apr-util=$BUILDROOT/apr-util-1.3.4 -Jim
