INSTALL
author Vincent Tondellier <tonton+hg@team1664.org>
Tue, 20 Nov 2012 15:06:13 +0100
changeset 13 b5d8f0f977aa
child 14 e9c1591a4f54
permissions -rw-r--r--
Add install instruction

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

On debian, install libuuid-perl and libmojolicious-perl (from wheezy, the version
from squeeze is too old).

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

Next, you need to get and build the json branch of minidump-stackwalk from here:
http://hg.mozilla.org/users/tmielczarek_mozilla.com/minidump-stackwalk

Full compilation instructions:
$ svn co http://google-breakpad.googlecode.com/svn google-breakpad
$ mkdir obj-breakpad
$ cd obj-breakpad
$ ../google-breakpad/configure && make
$ cd ../
$ hg clone http://hg.mozilla.org/users/tmielczarek_mozilla.com/minidump-stackwalk -b json
$ cd minidump-stackwalk
$ patch -p1 <<EOF                                                                                                                                                                               1 ↵
diff --git a/stackwalker.cc b/stackwalker.cc
--- a/stackwalker.cc
+++ b/stackwalker.cc
@@ -250,12 +250,6 @@
   case google_breakpad::PROCESS_ERROR_DUPLICATE_REQUESTING_THREADS:
     str = "ERROR_DUPLICATE_REQUESTING_THREADS";
     break;
-  case google_breakpad::PROCESS_ERROR_NO_MEMORY_FOR_THREAD:
-    str = "ERROR_NO_MEMORY_FOR_THREAD";
-    break;
-  case google_breakpad::PROCESS_ERROR_NO_STACKWALKER_FOR_THREAD:
-    str = "ERROR_NO_STACKWALKER_FOR_THREAD";
-    break;
   case google_breakpad::PROCESS_SYMBOL_SUPPLIER_INTERRUPTED:
     str = "SYMBOL_SUPPLIER_INTERRUPTED";
     break;
EOF
$ make

Copy stackwalker to the path configured in CrashTest.conf.

No, you can test:
./CrashTest.pl daemon

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