[Box Backup] Could do with some advice on getting Boxbackup compiled ....

boxbackup@fluffy.co.uk boxbackup@fluffy.co.uk
Wed, 15 Mar 2006 12:23:16 +0000


Martin & Stefan,

Stil not getting there, I'm afraid.  Here's what I did .....

Built a new compiler - Version 3.4.6
Put it and all its associated libraries etc. into /usr/local/gcc-3.4.6/.......
export PATH=/usr/local/gcc-3.4.6/bin;$PATH

edited /etc/ld.so.conf to include /usr/local/gcc-3.4.6/lib and re-ran ldconfig

re-ran configure for boxbackup
did 'make' and ended up with the following ...
============================================

(cd bin/bbackupquery; make RELEASE=1)
make[1]: Entering directory `/downloads/boxbackup-0.10/bin/bbackupquery'
g++ -DNDEBUG -O2 -Wall -I../../lib/common -I../../lib/compress -I../../lib/crypto
-I../../lib/server -I../../lib/backupclient  -DBOX_VERSION="\"0.10\"" 
-I/usr/local/BerkeleyDB.4.4/include -I/opt/openssl-0.9.8a/include -g -Wall -c
BackupQueries.cpp -o ../../release/bin/bbackupquery/BackupQueries.o
BackupQueries.cpp: In member function `void BackupQueries::CommandGetObject(const
std::vector<std::string, std::allocator<std::string> >&, const bool*)':
BackupQueries.cpp:818: error: `LLONG_MIN' was not declared in this scope
BackupQueries.cpp:818: error: `LLONG_MAX' was not declared in this scope
BackupQueries.cpp:818: warning: unused variable 'LLONG_MIN'
BackupQueries.cpp:818: warning: unused variable 'LLONG_MAX'
BackupQueries.cpp: In member function `void BackupQueries::CommandGet(const
std::vector<std::string, std::allocator<std::string> >&, const bool*)':
BackupQueries.cpp:904: error: `LLONG_MIN' was not declared in this scope
BackupQueries.cpp:904: error: `LLONG_MAX' was not declared in this scope
BackupQueries.cpp:904: warning: unused variable 'LLONG_MIN'
BackupQueries.cpp:904: warning: unused variable 'LLONG_MAX'
BackupQueries.cpp: In member function `void BackupQueries::CommandRestore(const
std::vector<std::string, std::allocator<std::string> >&, const bool*)':
BackupQueries.cpp:1697: error: `LLONG_MIN' was not declared in this scope
BackupQueries.cpp:1697: error: `LLONG_MAX' was not declared in this scope
BackupQueries.cpp:1697: warning: unused variable 'LLONG_MIN'
BackupQueries.cpp:1697: warning: unused variable 'LLONG_MAX'
make[1]: *** [../../release/bin/bbackupquery/BackupQueries.o] Error 1
make[1]: Leaving directory `/downloads/boxbackup-0.10/bin/bbackupquery'
make: *** [parcels/boxbackup-0.10-backup-client-linux-gnu.tgz] Error 2

============================================
Any other suggestions??
>From my days as a system programmer - using assembler, I might add - this looks like
a coding error!

Regards,

Dave


Quoting Martin Ebourne <lists@ebourne.me.uk>:

> dave_d@boltblue.com wrote:
> > Thanks for that Martin.
> >
> > I've managed to get past most of the problems by installing   
> > up-to-date compilers etc.
> > wherever possible.
> >
> > However, 'make' still bombs out.  Here's the last bit of the output .....
> 
> Be sure to rerun ./configure if you make any system changes (eg.  
> install a new compiler).
> 
> If it still doesn't work then send the config.log gzipped. I'd  
> recommend trying 3.3.3 as per the other post first though.
> 
> Cheers,
> 
> Martin.
> _______________________________________________
> boxbackup mailing list
> boxbackup@fluffy.co.uk
> http://lists.warhead.org.uk/mailman/listinfo/boxbackup
> 


--------------------------------------------------------------
Sent with "Me-Mail", Boltblue's FREE mobile messaging service.
http://www.boltblue.com