| 1 |
Building on Unix/Linux/OS X |
| 2 |
--------------------------- |
| 3 |
|
| 4 |
The configure script will customize the way the software is built and |
| 5 |
installed into your system along with detecting the available libraries |
| 6 |
that have been installed. To use the default configuration just run: |
| 7 |
|
| 8 |
./configure |
| 9 |
|
| 10 |
For more help on how to customize the build configuration, run: |
| 11 |
|
| 12 |
./configure --help |
| 13 |
|
| 14 |
Once the configure script has run successfully, you are ready to build. |
| 15 |
Run: |
| 16 |
|
| 17 |
make |
| 18 |
|
| 19 |
This will build all of the core ActiveMQ CPP source code. To build and |
| 20 |
install the code into the system directories, run: |
| 21 |
|
| 22 |
make install |
| 23 |
|
| 24 |
You will have to become the superuser in order to be able to install the |
| 25 |
JNI libraries. |
| 26 |
|
| 27 |
|
| 28 |
### OS X Lion requirements |
| 29 |
|
| 30 |
Install brew. It will depends on XCode being installed along with |
| 31 |
the command line tools. Then use brew to install autoconf, automake, |
| 32 |
and libtool. |
| 33 |
|
| 34 |
brew install autoconf automake libtool |
| 35 |
|
| 36 |
Building on Windows |
| 37 |
------------------- |
| 38 |
|
| 39 |
Download and install the free [Microsoft Windows SDK][1]. The SDK includes |
| 40 |
all the headers, libraries, and build tools needed to compile the JNI library. |
| 41 |
|
| 42 |
Set the `JAVA_HOME` environment variable to the location where your JDK is |
| 43 |
installed. |
| 44 |
|
| 45 |
Use the installed command window and change to the directory that this file is located in and then run: |
| 46 |
|
| 47 |
For recent SDK Versions: |
| 48 |
|
| 49 |
msbuild vs2010.vcxproj (or ) |
| 50 |
|
| 51 |
For legacy SDK Versions: |
| 52 |
|
| 53 |
vcbuild vs2008.vcproj |
| 54 |
|
| 55 |
The dll files will be located under the target directory. |
| 56 |
|
| 57 |
[1]: https://developer.microsoft.com/en-us/windows/downloads |