Database Reference
In-Depth Information
Move it into the release directory and list the contents:
[hadoop@hc1nn jzmq]$ cd jzmq
[hadoop@hc1nn jzmq]$ ls
AUTHORS ChangeLog COPYING.LESSER Makefile.am pom.xml src
autogen.sh configure.in debian NEWS README test
builds COPYING jzmq.spec perf README-PERF
Now run the autogen.sh script to prepare this release for a build:
[hadoop@hc1nn jzmq]$ ./autogen.sh
.................
configure.in:14: installing `config/install-sh'
configure.in:14: installing `config/missing'
src/Makefile.am: installing `config/depcomp'
Makefile.am: installing `./INSTALL'
autoreconf: Leaving directory `.'
(Again, the output is cropped.) You use the configure script to set up build Makefiles:
[hadoop@hc1nn jzmq]$ ./configure
...........................
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating perf/Makefile
config.status: creating src/config.hpp
config.status: executing depfiles commands
config.status: executing libtool commands
Now, build the release by executing the make command:
[hadoop@hc1nn jzmq]$ make
.................
echo timestamp > classdist_noinst.stamp
/usr/bin/jar cf zmq-perf.jar *.class
make[2]: Leaving directory `/home/hadoop/storm/jzmq/jzmq/perf'
make[1]: Leaving directory `/home/hadoop/storm/jzmq/jzmq/perf'
make[1]: Entering directory `/home/hadoop/storm/jzmq/jzmq'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/home/hadoop/storm/jzmq/jzmq'
Having built the release successfully, you install it as the Linux root account:
[root@hc1nn jzmq]# pwd
/home/hadoop/storm/jzmq/jzmq
[root@hc1nn jzmq]# make install
Search WWH ::




Custom Search