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

boxbackup@fluffy.co.uk boxbackup@fluffy.co.uk
Fri, 17 Mar 2006 12:10:32 +0000


This message is in MIME format.

---MOQ1142597431fceee74bcf46ae0f12150ac3e81b0c57
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

Hello Martin,

So near and yet so far ......  I'm still not getting a build of BB0.10 on my RH7.3
server box.

So here's what I did since the last email exchange.

- Downloaded and built the latest V3 gcc compiler (3.4.6)
- Removed gcc 2.96 (incl libstdc, cpp, c++) from my system
- export PATH=/usr/local/gcc-3.4.6/bin:$PATH
- export LD_LIBRARY_PATH=/usr/local/gcc-3.4.6/lib
- Got a fresh distribution of OpenSSL 0.9.8a
- built OpenSSL with the following configuration:
- - .Configure shared no-sse2 --prefix=/opt/openssl-0.9.8a linux-elf
- (no-sse2 because of a deficiency in binutils for RH7.3)
- ran all OpenSSL tests and installed same
- got a new download of BB 0.10
- got a download of Berkeley DB 4.4, built and installed it
- export
LD_LIBRARY_PATH=/opt/openssl-0.9.8a/lib:/usr/local/BerkeleyDB-4.4/lib:$LD_LIBRARY_PATH
./configure --prefix=/usr/local/boxbackup-0.10
                  --enable-gnu-readline
                  --with-dbd-dir=/usr/local/BerkeleyDB-4.4
                  --with-ssl-headers=/opt/openssl-0.9.8a/include
                  --with-ssl-lib=/opt/openssl-0.9.8a/lib
-- That seemed to go OK
-- make


.....  and back to this ....

 (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




Here's the environment .....

PWD=/downloads/boxbackup-0.10
HOSTNAME=spc-server
LD_LIBRARY_PATH=/opt/openssl-0.9.8a:/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


... and attached as a zip file is config.log.

Can you shed any further light on what's going on?

Regards,

Dave
         



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


---MOQ1142597431fceee74bcf46ae0f12150ac3e81b0c57
Content-Type: application/octet-stream; name="config.log-dos.zip"; charset=ISO-8859-1
Content-Transfer-Encoding: base64
Content-Disposition: inline; filename="config.log-dos.zip"




---MOQ1142597431fceee74bcf46ae0f12150ac3e81b0c57--