I am attempting to compile latest Squid for Solaris 10 (SPARC) in the following manner:
./configure --prefix=/opt/squid/current --enable-storeio=ufs,aufs --enable-icmp --enable-err-languages=English --enable-default-err-language=English --disable-hostname-checks --enable-underscores --enable-stacktrace --enable-async-io --enable-snmp --enable-removal-policies=heap,lru
I receive the following error:
configuring in lib/libTrie (/tmp/squid-3.0.STABLE9/lib/libTrie)
configure: running /bin/bash ./configure '--prefix=/local/squid' '--enable-storeio=ufs=2Caufs' '--enable-icmp' '--enable-err-languages=English'=
'--enable-default-err-language=English' '--disable-hostname-checks' '--enable-underscores' '--enable-stacktrace' '--enable-a sync-io' '--enable=
-snmp' '--enable removal-policies=heap=2Clru' --cache-file=/dev/null --srcdir=.
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... configure: error: cannot run C++ compiled programs.
If you meant to cross compile=2C use `--host'.
See `config.log' for more details.
configure: error: ./configure failed for lib/libTrie
My GCC is as follows:
Target: sparc-sun-solaris2.10
Configured with: /local/tmp/4.2.2/configure --prefix=/local/gcc/5.10/4.2.2 --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --with-libiconv-prefix=/usr/local -- enable-threads=posix
Thread model: posix
gcc version 4.2.2
My two questions:
1. What am I missing for GCC and how do I resolve this?
2. Does it make sense to try using "-enable-storeio=ufs,aufs" in my configure line? This worked in Solaris 8.
Many thanks to all,
.vp
Received on Fri Oct 10 2008 - 14:25:26 MDT
This archive was generated by hypermail 2.2.0 : Fri Oct 10 2008 - 12:00:02 MDT