[Box Backup] Compiling boxbackup chris-merge on debian etch?
Tobias Balle-Petersen
boxbackup@fluffy.co.uk
Fri, 29 Jun 2007 10:58:11 +0200
Hello Chris.
My results:
1. enter "test" directory
2. Create test.c file
3. gcc -o test test.c (no output)
4. ./test -> "yes"
Thanks
Chris Wilson wrote:
> 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.