bounceHammer has been EOL'ed on February 29, 2016

EOL on February 29, 2016

bounceHammer have been downloaded and used by many users and companies since the first release on March 2010 and has been EOL: End Of Life on February 29, 2016. Thanks for using bounceHammer for a long time. We are now providing Sisimai (the successor of bounceHammer, more faster, more higher precision of analysis) as a bounce mail parser library in BSD 2-Clause License.

Sisimai
Commercial Support

  • 1Setting Up Sisimai Your Server
  • 2Support developmenet using Sisimai
  • 3Support via Email
  • 4Support bounce management
  • 5Parsing your bounced emails

3. Run ./configure

Run configure script in bounceHammer source directory

Prepare building bounceHammer

After you have installed required perl modules 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 modules.

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 in an argument of --prefix option.

Available options of configure script

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 in an argument of --with-perl option, for Example: --with-perl=/usr/local/bin/perl.

Option Name Default Value Notes
--prefix /usr/local/bouncehammer Install destination directory of bounceHammer
--with-perl Path to perl which is found first Explicitly specify perl path in the system which have multiplex perl
--with-perl-extlib Beginning with ver. 2.7.1
Directory which hold required perl modules of bounceHammer
--disable-webui no 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, use --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

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

enter the expanded source directory
# cd /usr/local/src/bouncehammer-2.7.13p3/
 
Set module directory in environment variable
# export PERL5LIB='/usr/local/bouncehammer/lib/perl5'
 
Run configure
# ./configure --prefix=/usr/local/bouncehammer \
  --with-perl=/usr/local/bin/perl \
  --with-perl-extlib=$PERL5LIB

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.

# export PERL5LIB='/usr/local/bouncehammer/lib/perl5'
# ./configure --prefix=/usr/local/bouncehammer \
  --with-perl=/usr/local/bin/perl \
  --with-perl-extlib=$PERL5LIB

...
*** 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
# cpanm -L $PERL5LIB Perl6::Slurp
...
# cpanm -L $PERL5LIB Class::Accessor::Fast::XS
...

If there is any missing perl module, back to 2. Perl Modules page.

If there is no missing module, proceed to 4. Make and Make Install page.