[Box Backup] Debugging boxbackup
Ben Lovett
boxbackup@fluffy.co.uk
Wed, 28 Jan 2004 07:36:30 -0800
Hi,
I'm trying to get boxbackup 0.03 building / running properly on
OpenBSD/sparc64. The machine in question is running -current (gcc3 from
base..)
It builds fine, but as I go through the setup steps, create
certificates, add certificates, I run into problems.
prozac% sudo /usr/local/bin/bbstoreaccounts # yes, it aborts even with
the args
zsh: 10724 abort sudo /usr/local/bin/bbstoreaccounts
I tried this patch --
--- makebuildenv.pl.orig 2004-01-27 20:52:59.000000000 -0800
+++ makebuildenv.pl 2004-01-27 20:53:05.000000000 -0800
@@ -443,7 +443,7 @@ __E
#
CXX = g++
.ifdef RELEASE
-CXXFLAGS = -DNDEBUG -O2 -Wall $include_paths
-D$platform_define$extra_platform_
defines -DBOX_VERSION="\\"$product_version\\""
+CXXFLAGS = -g -O2 -Wall $include_paths
-D$platform_define$extra_platform_defines -D
BOX_VERSION="\\"$product_version\\""
OUTBASE = ../../release
OUTDIR = ../../release/$mod
DEPENDMAKEFLAGS = -D RELEASE
and that ended up making the build fail due to missing symbols
(lib/debug) stuff..
Ben, what are you doing to enable debugging? Maybe I'm just missing
it...
thanks,
--ben