[Box Backup] Compiling boxbackup chris-merge on debian etch?

Chris Wilson boxbackup@fluffy.co.uk
Fri, 29 Jun 2007 09:47:43 +0100 (BST)


Hi Tobias,

On Fri, 29 Jun 2007, Tobias Balle-Petersen wrote:

> Doing everything from the top:
>
> 1. Stop bbstored
> 2. Check that pid-file does not exist
> 3. check for running instances of bbstored
> 4. Checkout code
> 5. ./bootstrap -> ./configure -> make
> 6. cd debug/test/basicserver
> 7. ../../bin/bbstored/bbstored -DVT testfiles/bbstored.conf -> No such file
> 8. ls ../../bin/bbstored -> "Empty dir"

OK, I wasn't expecting that you would delete everything before running 
those commands :-) That's why it didn't work.

> 10. /root/merge/release/bin/bbstored/bbstored -DVT testfiles/bbstored.conf
> 09:50:04 Unknown error in getopt: returned '?'

Anyway, this is enough to know that something weird is going on.

Is that really a question mark between the quotes, or did it get mangled 
by email?

Could you try compiling the following test program for me:

cat > test.c <<EOF
#include <stdio.h>
int main() {
#ifdef __GLIBC__
puts("yes");
#else
puts("no");
#endif
}
gcc -o test test.c
./test

and let me know whether it outputs "yes" or "no"?

Cheers, Chris.
-- 
_____ __     _
\  __/ / ,__(_)_  | Chris Wilson <0000 at qwirx.com> - Cambs UK |
/ (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Perl/SQL/HTML Developer |
\ _/_/_/_//_/___/ | We are GNU-free your mind-and your software |