Hello,
I am trying to build GT5.0.0 from source (since binaries are not
available for now).
I get the following error:
[globus]$ ./configure --prefix=$GLOBUS_LOCATION --with-buildopts="-verbose"
[globus]$ make | tee installer.log
[...snip...]
-------------------------------- start -------------------------------------
checking whether we are using the GNU C++ compiler... no
checking whether /usr/bin/gcc accepts -g... no
checking dependency style of /usr/bin/gcc... none
checking how to run the C++ preprocessor... /usr/bin/gcc -E
configure: error: C++ preprocessor "/usr/bin/gcc -E" fails sanity check
See `config.log' for more details.
gpt-build ====> ...SKIPPING gcc32dbgpthr
gpt-build ====> Changing to /home/globus/gt5.0.0-all-source-installer/BUILD
WARNING: The following flavors are not supported for this platform:
gcc32dbgpthr
gpt-build ====> CHECKING BUILD DEPENDENCIES FOR globus_libtool
ERROR: At least one flavor needs to be defined for package globus_libtool
make: *** [globus_libtool-thr-compile] Error 2
-------------------------------- end -------------------------------------
./configure --prefix=$GLOBUS_LOCATION --with-buildopts="-verbose"
doesn't help either.
installer.log is available at
http://wwwinfo.jinr.ru/~kut/gt/GT5_installer.log.
Problem was solved by installing gcc-c++ rpm package (what is not
mentioned at
http://globus.org/toolkit/docs/latest-stable/admin/install/#gtadmin-prereq-required)
Environment:
OS version is Scientific Linux 4.8
$ gcc -v
Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.6/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-java-awt=gtk
--host=i386-redhat-linux
Thread model: posix
gcc version 3.4.6 20060404 (Red Hat 3.4.6-11)
$ make -v
GNU Make 3.80
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.