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

boxbackup@fluffy.co.uk boxbackup@fluffy.co.uk
Fri, 17 Mar 2006 12:27:52 +0000


Hello Martin,

Well spotted! - but unfortunately doesn't make a jot of difference!!!

Current environment....

PWD=/downloads/boxbackup-0.10
HOSTNAME=spc-server
LD_LIBRARY_PATH=/opt/openssl-0.9.8a/lib:/usr/local/BerkeleyDB.4.4/lib:/usr/local/gcc-3.4.6/lib
LESSOPEN=|/usr/bin/lesspipe.sh %s
USER=root
LS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tz=01;31:*.rpm=01;31:*.cpio=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.xbm=01;35:*.xpm=01;35:*.png=01;35:*.tif=01;35:
MAIL=/var/spool/mail/root
OLDPWD=/downloads/openssl-0.9.8a
INPUTRC=/etc/inputrc
BASH_ENV=/root/.bashrc
LANG=en_US
SSH_CLIENT=192.168.40.10 4508 22
LOGNAME=root
SHLVL=1
SSH_CONNECTION=192.168.40.10 4508 192.168.40.2 22
SHELL=/bin/bash
USERNAME=root
HISTSIZE=1000
HOME=/root
TERM=xterm
PATH=/usr/local/gcc-3.4.6/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin
SSH_TTY=/dev/pts/1
_=/usr/bin/printenv

.....  current error .....


(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
[root@spc-server boxbackup-0.10]# printenv                                          
                 

....  I had been playing around with what actually goes into the LD_LIBRARY_PATH
variable.



Regards,

Dave


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

> You say you did this:
> 
> On Fri, 2006-03-17 at 12:10 +0000, dave_d@boltblue.com wrote:
> >
> LD_LIBRARY_PATH=/opt/openssl-0.9.8a/lib:/usr/local/BerkeleyDB-4.4/lib:$LD_LIBRARY_PATH
> 
> but then the environment has this:
> 
> >
>
LD_LIBRARY_PATH=/opt/openssl-0.9.8a:/usr/local/BerkeleyDB.4.4/lib:/usr/local/gcc-3.4.6/lib
> 
> Some warping of space-time there I think. :)
> 
> 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