02) ./configure

Before building bounceHammer

After you have expanded the tarball successfully, run the configure scirpt. the script will check whether required perl modules have been installed or not. If there is any missing perl module, you should install the module previously.

Default install directory

The default install destination directory of bounceHammer is /usr/local/bouncehammer directory. If you want to install bounceHammer into other directory, specify the directory as an argument of --prefix option.

Available configure options

If your system have multiple perl (e.g. /usr/bin/perl and /usr/local/bin/perl), the configure script uses the one which is found first as a command to run bounceHammer. If you explicitly specify the perl binary to run bounceHammer, give the full path of the perl as an argument of --with-perl option, for Example: --with-perl=/usr/local/bin/perl .

Option nameDefault valueNote
--prefix/usr/local/bouncehammer Install destination directory of bounceHammer
--with-perlPath to perl which is found first Explicitly specify perl path in the system which have multiplex perl
--disable-webuino Beginning with ver.2.3.2, DON'T INSTALL WebUI and HTTP-API and its related modules

If you don't use WebUI and HTTP-API, --disable-webui

Beginning with bounceHammer version 2.3.2, --disable-webui option has been implemented. If you run the ./configure script with --disable-webui option, WebUI (browser based contorl panel) and HTTP-API and its related perl modules are NOT installed.

Run ./configure script

In this description, we use /usr/local/bin/perl as a command to run bounceHammer, and install bounceHammer into /usr/local/bouncehammer directory.

enter expanded source directory
# cd /usr/local/src/bouncehammer-2.6.0/
 
Run configure script
# ./configure --prefix=/usr/local/bouncehammer --with-perl=/usr/local/bin/perl
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
...

Heads Up !

Heads Up ! If you specify --prefix=/usr/local as a destination directory, some command (listed in Command line tools page, such as bin/logger) of bouncehammer overwrites the same file which has the same name.

There is any missing Perl module

If there is any missing perl module, the configure script reports a missing module list. When the configure script displayed the following screen, you should install these modules and run the configure script again.

# ./configure --prefix=/usr/local/bouncehammer --with-perl=/usr/local/bin/perl
...
*** THE FOLLOWING PERL MODULES ARE REQUIRED ***

 Class::Accessor::Fast::XS
 DBIx::Skinny
 Perl6::Slurp
 Path::Class
...

configure: error: *** 22 perl modules are missing

Install each missing module
# cpan Perl6::Slurp
...
# cpan Class::Accessor::Fast::XS
...

If there is any missing perl module, proceed to Perl Module page.

No TrackBacks

TrackBack URL: http://bouncehammer.jp/cgi-bin/mt/mt-tb.cgi/114

Leave a comment