INSTALL
author Vincent Tondellier <tonton+hg@team1664.org>
Sun, 14 Feb 2016 23:47:24 +0100
changeset 103 95f4e3c47dd4
parent 51 2894d97715c9
permissions -rw-r--r--
Add product, version and group at the top of the crash report page

Web interface dependencies:
- perl >= 5.10
- Mojolicious >= 2.98
- Mojolicious::Plugin::BootstrapPagination
- perl-UUID
- jquery

On debian, install libuuid-perl, libmojolicious-perl (from wheezy-backports) and libjs-jquery.

Mojolicious::Plugin::BootstrapPagination can be installed with cpan, or you
can create a debian package with cpan2deb Mojolicious::Plugin::BootstrapPagination

Edit CrashTest.conf and change the paths to match your environment.

If you want to use the SQL backend for a faster index page, see dist.ini for
the additional requirements. Then, you can create the tables with :
$ ./CrashTest.pl db create

Next, you need to get and build the json minidump-stackwalk from soccoro:
https://github.com/mozilla/socorro/tree/master/minidump-stackwalk/

Full compilation instructions:
$ svn co http://google-breakpad.googlecode.com/svn/trunk google-breakpad
$ mkdir obj-breakpad
$ cd obj-breakpad
$ ../google-breakpad/configure && make
$ cd ../
$ mkdir minidump-stackwalk
$ cd minidump-stackwalk
$ wget https://github.com/mozilla/socorro/raw/master/minidump-stackwalk/{Makefile,stackwalker.cc}
$ make BREAKPAD_SRCDIR=../google-breakpad/src BREAKPAD_LIBS="../obj-breakpad/src/libbreakpad.a ../obj-breakpad/src/third_party/libdisasm/libdisasm.a" OBJS=/usr/lib/libjsoncpp.a JSON_INCLUDEDIR=/usr/include/jsoncpp

Note: the paths above are for the system-installed libjsoncpp on debian. Get
the jsoncpp from socorro repository, or adjust the paths for you system if you
use another distribution.

Copy stackwalker to the path configured in CrashTest.conf.

No, you can test:
$ hypnotoad -f ./CrashTest.pl

The submit URL is /submit and is compatible with socorro.