--- a/INSTALL Thu Aug 28 00:55:29 2014 +0200
+++ b/INSTALL Sun Sep 21 16:50:16 2014 +0200
@@ -1,49 +1,43 @@
Web interface dependencies:
- perl >= 5.10
- Mojolicious >= 2.98
+- Mojolicious::Plugin::BootstrapPagination
- perl-UUID
- jquery
-On debian, install libuuid-perl and libmojolicious-perl (from wheezy, the version
-from squeeze is too old), and libjs-jquery (from wheezy too).
+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.
-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
+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 google-breakpad
+$ svn co http://google-breakpad.googlecode.com/svn/trunk 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
+$ mkdir minidump-stackwalk
$ cd minidump-stackwalk
-$ patch -p1 <<EOF
-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
+$ 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:
-./CrashTest.pl daemon
+$ hypnotoad -f ./CrashTest.pl
The submit URL is /submit and is compatible with socorro.