[Box Backup] Box Backup install on Solaris 10 (SPARC), configure can't find g++
Nicole Sherburne
boxbackup@fluffy.co.uk
Sun, 22 May 2005 07:59:35 -0700 (PDT)
Hi everyone,
I've been trying to compile and install Box Backup on
Solaris 10 for SPARC. I get the package patched fine,
but configure blows up. It indicates that the g++
compiler is not installed, but it is and it tests
fine. Details and the exact error are below. The g++
executable works and it is in the path, so I'm a bit
confused as to what the real problem is.
I began installation of Box Backup prerequisites
according to procedures at http://lists.warhead.org
.uk/pipermail/boxbackup/2005-February/001128.html
# pkgadd -d gcc-3.3.2-sol10-sparc-local
# pkgadd -d libiconv-1.8-sol10-sparc-local
# pkgadd -d make-3.80-sol10-sparc-local
# pkgadd -d openssl-0.9.7f-sol10-sparc-local
# pkgadd -d readline-5.0-sol10-sparc-local
I had to add gcc and make in /usr/local/bin and ar and
ranlib in /usr/ccs/bin to $PATH to do ./configure for
these next installs
# export PATH=${PATH}:/usr/local/bin:/usr/ccs/bin
I then followed installation procedures from that
website... NOTE: do not cd into the directory you are
untarring into; stay in /tmp or wherever you are to
apply the patch.
# tar -xf boxbackup-0.09.tar
# gpatch -p0 < boxbackup-0.09-solaris.patch
# export MAKE=gmake
# cd boxbackup-0.09
# ./configure openssl:/opt/csw link:-lsocket
link:-lnsl
Box build environment setup.
Checking environment...
Compiler 1: no
================
You do not appear to have the g++ compiler installed.
Please fix and try again.
(Tested for C++ compilation an use of standard STL C++
library.)
Some distributions rename the g++ compiler to
something including the version number,
and fail to create a symlink to the expected name.
Investigate this if you believe
you have the C++ compiler installed.
================
Aborting configuration, cannot build in this
environment.
I read about this error at
http://lists.warhead.org.uk/pipermail/boxbackup/2004-December/000998.html
from when someone encountered this on Fedore Core 2
with Box Backup, then tested it again:
# export MAKE=gmake
# cd boxbackup-0.09
# ./configure openssl:/opt/csw link:-lsocket
link:-lnsl
same error.
So I checked for g++ to make sure it was installed
properly
# find / -name "g++"
/usr/sfw/bin/g++
/usr/local/bin/g++
# g++
g++: no input files
I also tried copying testcommon.cpp to /tmp and
compiling it. Since the expected library files weren't
there it blew up, but that at least means the compiler
is basically working.
It looks like the infrastructure/makebuildenv.pl
script that is called by the configure script just
calls g++ directly and assumes it's in the path. It is
in the path, so I'm a bit confused as to what the real
problem is. If anyone can help, I'd appreciate advice.
Thanks in advance for any help!
Nicole
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com