Re: Issue when using CMake to install Qpid broker
You don't have to add anything. The binding is a product of the build. However, support for .NET binding ended with Visual Studio 2012. In your cmake command line turn off the .NET binding with -DBUILD_BINDING_DOTNET=No - Original Message - > From: "loremIpsum1771" > To: users@qpid.apache.org > Sent: Thursday, July 7, 2016 5:17:07 PM > Subject: Re: Issue when using CMake to install Qpid broker > > I ran the command cmake -G "Visual Studio 12 2013" > C:\\Downloads\qpid-cpp-0.34 as per the install instructions for > windows and I got this log output: > https://gist.github.com/loremIpsum1771/cd3cbbb5b6ec5358b9d9e5b16a4ad9b4 > at the end of which the message: No DOTNET binding support available for > Visual Studio 12 2013 appeared. Is there a dotnet binding that has to be > installed for this build to work? > > > > -- > View this message in context: > http://qpid.2158936.n2.nabble.com/Issue-when-using-CMake-to-install-Qpid-broker-tp7646766p7647031.html > Sent from the Apache Qpid users mailing list archive at Nabble.com. > > - > To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org > For additional commands, e-mail: users-h...@qpid.apache.org > > - To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org For additional commands, e-mail: users-h...@qpid.apache.org
Re: Issue when using CMake to install Qpid broker
I ran the command cmake -G "Visual Studio 12 2013" C:\\Downloads\qpid-cpp-0.34 as per the install instructions for windows and I got this log output: https://gist.github.com/loremIpsum1771/cd3cbbb5b6ec5358b9d9e5b16a4ad9b4 at the end of which the message: No DOTNET binding support available for Visual Studio 12 2013 appeared. Is there a dotnet binding that has to be installed for this build to work? -- View this message in context: http://qpid.2158936.n2.nabble.com/Issue-when-using-CMake-to-install-Qpid-broker-tp7646766p7647031.html Sent from the Apache Qpid users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org For additional commands, e-mail: users-h...@qpid.apache.org
Re: Issue when using CMake to install Qpid broker
On Wed, 2016-07-06 at 09:28 -0400, Chuck Rolke wrote: > Hi. > > I've posted a successful build log for reference: > http://people.apache.org/~chug/qpid-build-log-vs2012-x86.txt > > I don't have Boost for VS2013 so can't build with that version. > This example using VS2012 is pretty representative of any build I've > seen. > > Ruby has a confusing log message from a build: > > * -- Could NOT find Ruby (missing: RUBY_LIBRARY) (found version > "1.8.6") > Ok. Did it find Ruby or not? I think it did despite the message. > Ruby is required and the build works so it must have found it. Probably it found a ruby interpreter but not the devel library, so you can use ruby but not build the ruby binding. > > My environment supports many versions of Visual Studio so I don't > have any in my PATH. > I add a Studio environment as needed. The same with Boost. > > Hopefully there is a hint or two for you to use in figuring out your > issues. > > -Chuck > > > - Original Message - > > > > From: "loremIpsum1771" > > To: users@qpid.apache.org > > Sent: Tuesday, July 5, 2016 4:33:15 PM > > Subject: Re: Issue when using CMake to install Qpid broker > > > > Yes, "" is just being used as a placeholder. I created a new > > builds/qpid directory on the C drive and then ran the command: > > cmake -G > > "Visual Studio 12 2013" C:\Users\I664761\Downloads\qpid-cpp-0.34 > > after doing > > which I got the following error log: > > https://gist.github.com/loremIpsum1771/fc1d912bbe5a741325cdd259f7a5 > > 3837 > > > > My company has a separate software package install manager through > > which I > > have to do installations. I already had python installed and had > > the > > environment variable set up and I downloaded ruby as well and set > > up the > > environment variable for it. I tried installing Valgrind through my > > company's software center but it seems that the closest thing to it > > is > > something calledLISA Dev Workstation. I couldn't find SASL and > > Doxygen > > within my company's software center. After configuring the paths > > for the > > installations, ran the command from above and got the error log. > > Are all of > > these packages required for the build? It seems like its only > > taking issue > > with not being able to find Ruby even though I set the path to it. > > > > > > > > -- > > View this message in context: > > http://qpid.2158936.n2.nabble.com/Issue-when-using-CMake-to-install > > -Qpid-broker-tp7646766p7646889.html > > Sent from the Apache Qpid users mailing list archive at Nabble.com. > > > > - > > > > To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org > > For additional commands, e-mail: users-h...@qpid.apache.org > > > > > - > To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org > For additional commands, e-mail: users-h...@qpid.apache.org > - To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org For additional commands, e-mail: users-h...@qpid.apache.org
Re: Issue when using CMake to install Qpid broker
No I don't think so. Steve Huston (sent from my iPhone - please excuse brevity and typos) > On Jul 6, 2016, at 3:32 PM, loremIpsum1771 wrote: > > I'm not sure. I just tried deleting the cache from the CMake GUI and I then > re-ran: cmake -G "Visual Studio 12 2013" > C:\Users\I664761\Downloads\qpid-cpp-0.34 but the filepath seems to still be > the same. I have both Cmake and Boost in my downloads folder and I can't > move them to program files because I don't have admin access on my computer. > Could that be causing the problem? > > > > -- > View this message in context: > http://qpid.2158936.n2.nabble.com/Issue-when-using-CMake-to-install-Qpid-broker-tp7646766p7646949.html > Sent from the Apache Qpid users mailing list archive at Nabble.com. > > - > To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org > For additional commands, e-mail: users-h...@qpid.apache.org > - To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org For additional commands, e-mail: users-h...@qpid.apache.org
RE: Issue when using CMake to install Qpid broker
I'm not sure. I just tried deleting the cache from the CMake GUI and I then re-ran: cmake -G "Visual Studio 12 2013" C:\Users\I664761\Downloads\qpid-cpp-0.34 but the filepath seems to still be the same. I have both Cmake and Boost in my downloads folder and I can't move them to program files because I don't have admin access on my computer. Could that be causing the problem? -- View this message in context: http://qpid.2158936.n2.nabble.com/Issue-when-using-CMake-to-install-Qpid-broker-tp7646766p7646949.html Sent from the Apache Qpid users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org For additional commands, e-mail: users-h...@qpid.apache.org
RE: Issue when using CMake to install Qpid broker
Not Boost... the cmake cache in your qpid build stores that stuff. You can either run the cmake gui and delete those variables, or delete the whole cache file. > -Original Message- > From: loremIpsum1771 [mailto:celij...@gmail.com] > Sent: Wednesday, July 06, 2016 2:53 PM > To: users@qpid.apache.org > Subject: RE: Issue when using CMake to install Qpid broker > > Ok I tried deleting the environment variable for BOOST_ROOT and creating it > again as it is currently set to C://Downloads/boost_1_61_0 but for > some reason, whenever I run CMake, I still get the same error with the same > file path showing up so I'm not really sure what's going on. I also tried > running > set BOOST_ROOT="C:\Users\I664761\Downloads\boost_1_61_0\boost" but > it doesn't seem to have done anything. Is there some specific way that Boost > internally stores the root location? > > > > -- > View this message in context: http://qpid.2158936.n2.nabble.com/Issue- > when-using-CMake-to-install-Qpid-broker-tp7646766p7646942.html > Sent from the Apache Qpid users mailing list archive at Nabble.com. > > - > To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org For additional > commands, e-mail: users-h...@qpid.apache.org - To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org For additional commands, e-mail: users-h...@qpid.apache.org
RE: Issue when using CMake to install Qpid broker
Ok I tried deleting the environment variable for BOOST_ROOT and creating it again as it is currently set to C://Downloads/boost_1_61_0 but for some reason, whenever I run CMake, I still get the same error with the same file path showing up so I'm not really sure what's going on. I also tried running set BOOST_ROOT="C:\Users\I664761\Downloads\boost_1_61_0\boost" but it doesn't seem to have done anything. Is there some specific way that Boost internally stores the root location? -- View this message in context: http://qpid.2158936.n2.nabble.com/Issue-when-using-CMake-to-install-Qpid-broker-tp7646766p7646942.html Sent from the Apache Qpid users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org For additional commands, e-mail: users-h...@qpid.apache.org
RE: Issue when using CMake to install Qpid broker
The CMake find module for Boost is rather finicky. The BOOST_ROOT env variable should be set to the 'root', which is the directory above the one where your boost library binaries are. If that doesn't work, try setting BOOST_LIBRARYDIR explicitly - that is more direct. -Steve > -Original Message- > From: loremIpsum1771 [mailto:celij...@gmail.com] > Sent: Wednesday, July 06, 2016 1:56 PM > To: users@qpid.apache.org > Subject: Re: Issue when using CMake to install Qpid broker > > Oh ok, it seems that those missing packages are in fact not causing a > problem. For some reason though, it seems that CMake is able to find only > some of the Boost libraries, but not others: > https://gist.github.com/loremIpsum1771/fc1d912bbe5a741325cdd259f7a538 > 37 > > I created the BOOST_ROOT environment variable and set it to: > C:\Users\I664761\Downloads\boost_1_61_0\boost which is where all of the > Boost libraries are (e.g. math, log, random) but it seems that CMake isn't > recognizing the directory. Is this the correct filepath to be using? > > > > -- > View this message in context: http://qpid.2158936.n2.nabble.com/Issue- > when-using-CMake-to-install-Qpid-broker-tp7646766p7646940.html > Sent from the Apache Qpid users mailing list archive at Nabble.com. > > - > To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org For additional > commands, e-mail: users-h...@qpid.apache.org - To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org For additional commands, e-mail: users-h...@qpid.apache.org
Re: Issue when using CMake to install Qpid broker
Oh ok, it seems that those missing packages are in fact not causing a problem. For some reason though, it seems that CMake is able to find only some of the Boost libraries, but not others: https://gist.github.com/loremIpsum1771/fc1d912bbe5a741325cdd259f7a53837 I created the BOOST_ROOT environment variable and set it to: C:\Users\I664761\Downloads\boost_1_61_0\boost which is where all of the Boost libraries are (e.g. math, log, random) but it seems that CMake isn't recognizing the directory. Is this the correct filepath to be using? -- View this message in context: http://qpid.2158936.n2.nabble.com/Issue-when-using-CMake-to-install-Qpid-broker-tp7646766p7646940.html Sent from the Apache Qpid users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org For additional commands, e-mail: users-h...@qpid.apache.org
Re: Issue when using CMake to install Qpid broker
On Tue, 2016-07-05 at 13:33 -0700, loremIpsum1771 wrote: > Yes, "" is just being used as a placeholder. I created a new > builds/qpid directory on the C drive and then ran the command: cmake > -G > "Visual Studio 12 2013" C:\Users\I664761\Downloads\qpid-cpp-0.34 > after doing > which I got the following error log: > https://gist.github.com/loremIpsum1771/fc1d912bbe5a741325cdd259f7a538 > 37 > > My company has a separate software package install manager through > which I > have to do installations. I already had python installed and had the > environment variable set up and I downloaded ruby as well and set up > the > environment variable for it. I tried installing Valgrind through my > company's software center but it seems that the closest thing to it > is > something calledLISA Dev Workstation. I couldn't find SASL and > Doxygen > within my company's software center. After configuring the paths for > the > installations, ran the command from above and got the error log. Are > all of > these packages required for the build? It seems like its only taking > issue > with not being able to find Ruby even though I set the path to it. I'm pretty sure that the only thing required to build for the source tarball is boost - You must install this (make sure you get the correct version for your compiler and 32/64 bits). When compiling on windows I don't think you need anything else - ruby and python are used to generate some code that I think is pregenerated in the source tarball (if I'm wrong about that then you will need those) As far as I know valgrind is Unix only and only used to run tests. Python is also necessary to run some tests. If you want to support amqp 1.0 you will also need qpid-proton. You may find looking at the included appveyor.yml file useful - this is the file that sets up the public CI build. Andrew - To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org For additional commands, e-mail: users-h...@qpid.apache.org
Re: Issue when using CMake to install Qpid broker
Hi. I've posted a successful build log for reference: http://people.apache.org/~chug/qpid-build-log-vs2012-x86.txt I don't have Boost for VS2013 so can't build with that version. This example using VS2012 is pretty representative of any build I've seen. Ruby has a confusing log message from a build: * -- Could NOT find Ruby (missing: RUBY_LIBRARY) (found version "1.8.6") Ok. Did it find Ruby or not? I think it did despite the message. Ruby is required and the build works so it must have found it. My environment supports many versions of Visual Studio so I don't have any in my PATH. I add a Studio environment as needed. The same with Boost. Hopefully there is a hint or two for you to use in figuring out your issues. -Chuck - Original Message - > From: "loremIpsum1771" > To: users@qpid.apache.org > Sent: Tuesday, July 5, 2016 4:33:15 PM > Subject: Re: Issue when using CMake to install Qpid broker > > Yes, "" is just being used as a placeholder. I created a new > builds/qpid directory on the C drive and then ran the command: cmake -G > "Visual Studio 12 2013" C:\Users\I664761\Downloads\qpid-cpp-0.34 after doing > which I got the following error log: > https://gist.github.com/loremIpsum1771/fc1d912bbe5a741325cdd259f7a53837 > > My company has a separate software package install manager through which I > have to do installations. I already had python installed and had the > environment variable set up and I downloaded ruby as well and set up the > environment variable for it. I tried installing Valgrind through my > company's software center but it seems that the closest thing to it is > something calledLISA Dev Workstation. I couldn't find SASL and Doxygen > within my company's software center. After configuring the paths for the > installations, ran the command from above and got the error log. Are all of > these packages required for the build? It seems like its only taking issue > with not being able to find Ruby even though I set the path to it. > > > > -- > View this message in context: > http://qpid.2158936.n2.nabble.com/Issue-when-using-CMake-to-install-Qpid-broker-tp7646766p7646889.html > Sent from the Apache Qpid users mailing list archive at Nabble.com. > > - > To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org > For additional commands, e-mail: users-h...@qpid.apache.org > > - To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org For additional commands, e-mail: users-h...@qpid.apache.org
Re: Issue when using CMake to install Qpid broker
Yes, "" is just being used as a placeholder. I created a new builds/qpid directory on the C drive and then ran the command: cmake -G "Visual Studio 12 2013" C:\Users\I664761\Downloads\qpid-cpp-0.34 after doing which I got the following error log: https://gist.github.com/loremIpsum1771/fc1d912bbe5a741325cdd259f7a53837 My company has a separate software package install manager through which I have to do installations. I already had python installed and had the environment variable set up and I downloaded ruby as well and set up the environment variable for it. I tried installing Valgrind through my company's software center but it seems that the closest thing to it is something calledLISA Dev Workstation. I couldn't find SASL and Doxygen within my company's software center. After configuring the paths for the installations, ran the command from above and got the error log. Are all of these packages required for the build? It seems like its only taking issue with not being able to find Ruby even though I set the path to it. -- View this message in context: http://qpid.2158936.n2.nabble.com/Issue-when-using-CMake-to-install-Qpid-broker-tp7646766p7646889.html Sent from the Apache Qpid users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org For additional commands, e-mail: users-h...@qpid.apache.org
Re: Issue when using CMake to install Qpid broker
On Tue, 2016-07-05 at 09:13 -0700, loremIpsum1771 wrote: > I just tried this: > > cmake -G "Visual Studio 12 2013" > -DCMAKE_INSTALL_PREFIX=C:\\Downloads\qpid-cpp- > 0.34\bindings\qmf2\examples\cpp\install_dir This is a peculiar path for the install - why in the middle of the qmf2 binding? If you are actually trying to build from somewhere in the bindings directory I'm not surprised it doesn't work - we only test the build from the top level of the cpp tree. (Also I'm assuming that "" is just shorthand for your home directory otherwise it's incorrect. > > and I got this error: > > CMake Error at CMakeLists.txt:73 (install): > install FILES given no DESTINATION! > > -- Configuring incomplete, errors occurred! I don't know for sure, but using cmake without a separate build directory is not a tested configuration (by qpid) and not recommended by the cmake folks either. Try to create a separate directory for your build on the same disk somewhere something like: mkdir c:\Builds\qpid cd c:\Builds\qpid cmake -G "Visual Studio 12 2013" C:\\Downloads\qpid-cpp-0.34 Then to build: cmake --build . HTH Andrew - To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org For additional commands, e-mail: users-h...@qpid.apache.org
Re: Issue when using CMake to install Qpid broker
I just tried this: cmake -G "Visual Studio 12 2013" -DCMAKE_INSTALL_PREFIX=C:\\Downloads\qpid-cpp-0.34\bindings\qmf2\examples\cpp\install_dir and I got this error: CMake Error at CMakeLists.txt:73 (install): install FILES given no DESTINATION! -- Configuring incomplete, errors occurred! -- View this message in context: http://qpid.2158936.n2.nabble.com/Issue-when-using-CMake-to-install-Qpid-broker-tp7646766p7646883.html Sent from the Apache Qpid users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org For additional commands, e-mail: users-h...@qpid.apache.org
Re: Issue when using CMake to install Qpid broker
On Tue, 2016-07-05 at 07:57 -0700, loremIpsum1771 wrote: > Thanks for the response. I wasn't sure exactly where to put the > install > directory so I made an empty one within the cpp directory. I then ran > the > following command: cmake -G "Visual Studio 12 2013" > -DCMAKE_INSTALL_PREFIX = > C:\\Downloads\qpid-cpp- > 0.34\bindings\qmf2\examples\cpp\install_dir > > I then got the log: > Parse error in command line argument: -DCMAKE_INSTALL_PREFIX > Should be: VAR:type=value > CMake Error: No cmake script provided. > CMake Error: Problem processing arguments. Aborting. Cmake doesn't like spaces: "-DCMAKE_INSTALL_PREFIX=C:\..." > > I also tried running your batch script that you posted the link to > and got > this log: > Usage: build_qpid.bat [2008,2010,2012,2013 x64,x86 [any]] > arg1arg2 arg3 > keep build > arg1 CLI_COMPILER [optional] may be 2008, 2010, 2012, or > 2013. If > absent the all are compiled. > arg2 CLI_ARCH may be x86 or x64. If absent > then all > are compied. > arg3 KEEP_BUILD[optional] any text. If present then build > directory is used and not flushed > > Build and Install directories for {2010, x86} will > './build_2010_x86' > and './install_2010_x86'. > Other {compiler, arch} combinations follow the same pattern. > > Define environment variable CR_UNATTENDED to skip pausing between > build > steps. > > It looks like this output is set to be echoed at the end of the > script but > I'm not sure exactly what it signifies with respect to the build > process. Is > there something here that I haven't set up correctly? > > > > > > -- > View this message in context: http://qpid.2158936.n2.nabble.com/Issue > -when-using-CMake-to-install-Qpid-broker-tp7646766p7646879.html > Sent from the Apache Qpid users mailing list archive at Nabble.com. > > - > To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org > For additional commands, e-mail: users-h...@qpid.apache.org > - To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org For additional commands, e-mail: users-h...@qpid.apache.org
Re: Issue when using CMake to install Qpid broker
Thanks for the response. I wasn't sure exactly where to put the install directory so I made an empty one within the cpp directory. I then ran the following command: cmake -G "Visual Studio 12 2013" -DCMAKE_INSTALL_PREFIX = C:\\Downloads\qpid-cpp-0.34\bindings\qmf2\examples\cpp\install_dir I then got the log: Parse error in command line argument: -DCMAKE_INSTALL_PREFIX Should be: VAR:type=value CMake Error: No cmake script provided. CMake Error: Problem processing arguments. Aborting. I also tried running your batch script that you posted the link to and got this log: Usage: build_qpid.bat [2008,2010,2012,2013 x64,x86 [any]] arg1arg2 arg3 keep build arg1 CLI_COMPILER [optional] may be 2008, 2010, 2012, or 2013. If absent the all are compiled. arg2 CLI_ARCH may be x86 or x64. If absent then all are compied. arg3 KEEP_BUILD[optional] any text. If present then build directory is used and not flushed Build and Install directories for {2010, x86} will './build_2010_x86' and './install_2010_x86'. Other {compiler, arch} combinations follow the same pattern. Define environment variable CR_UNATTENDED to skip pausing between build steps. It looks like this output is set to be echoed at the end of the script but I'm not sure exactly what it signifies with respect to the build process. Is there something here that I haven't set up correctly? -- View this message in context: http://qpid.2158936.n2.nabble.com/Issue-when-using-CMake-to-install-Qpid-broker-tp7646766p7646879.html Sent from the Apache Qpid users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org For additional commands, e-mail: users-h...@qpid.apache.org
Re: Issue when using CMake to install Qpid broker
Have you tried feeding CMake an install dir? Make one and then also specify -DCMAKE_INSTALL_PREFIX= on the cmake command line. Lately I *always* build with an install folder because that's where Qpid picks up Qpid Proton and AMQP 1.0 support - through a shared install folder. Here's a procedure I use to build Qpid. https://github.com/ChugR/qpid-proton-tools/blob/master/bat/build_qpid.bat It shares state with build_proton.bat to make the builds play together. - Original Message - > From: "loremIpsum1771" > To: users@qpid.apache.org > Sent: Friday, July 1, 2016 3:07:34 PM > Subject: Issue when using CMake to install Qpid broker > > I'm currently going through the process of installing the Qpid broker on > Windows. I've already installed cmake, boost, and python and I've added the > environmnet variable for the root of the Boost directory. I'm now at the > step where Qpid client is to be build from a source distribution (Visual > Studio 12). After having changed into the directory qpid\cpp I ran the > command: cmake -G "Visual Studio 12 2013". Toward the end of the log, I got > the error: > CMake Error at CMakeLists.txt:73 (install): > install FILES given no DESTINATION! > So I checked the CMakeLists.txt file and saw that lines 73 - 76 have: > install (FILES $ > {CMAKE_CURRENT_SOURCE_DIR} > /README.txt > DESTINATION $ > {QPID_INSTALL_EXAMPLESDIR} > COMPONENT $ > {QPID_COMPONENT_EXAMPLES} > ) > I think the problem could be related to the fact that EXAMPLESDIR is being > used but the INSTALL_WINDOWS text file instructs you to go into the cpp > directory which is located in examples (the full path is: > qpid-cpp-0.34/bindings/qmf2/examples/cpp/) > This is the first time I've had to work with qpid or messaging brokers so I > have a limited understanding of what's going on here. What destination > should I be providing for the install files? > > > > > > -- > View this message in context: > http://qpid.2158936.n2.nabble.com/Issue-when-using-CMake-to-install-Qpid-broker-tp7646766.html > Sent from the Apache Qpid users mailing list archive at Nabble.com. > > - > To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org > For additional commands, e-mail: users-h...@qpid.apache.org > > - To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org For additional commands, e-mail: users-h...@qpid.apache.org