[squid-users] compilation issue squid-2.7.STABLE4 on Solaris 8.

From: <vincent.blondel_at_ing.be>
Date: Sat, 11 Oct 2008 18:30:54 +0200

Hello all,

When I compile squid 2.6.21 on Solaris 8, I do not get any problem.
Everything is running fine but when I try to compile last release 2.7.4
compilation ends with this error message ..

.
Making all in lib
make[1]: Entering directory
`/home/u7206160/gnu/squid/squid-2.7.STABLE4/lib'
if /usr/local/bin/gcc -specs=/home/u7206160/gnu/.specs -static-libgcc
-DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include
-I/usr/local/includ
e -I/usr/local/include -xarch=v9 -O2 -pipe -D_REENTRANT -pthreads -MT
Array.o -MD -MP -MF ".deps/Array.Tpo" -c -o Array.o Array.c; \
        then mv -f ".deps/Array.Tpo" ".deps/Array.Po"; else rm -f
".deps/Array.Tpo"; exit 1; fi
gcc: language arch=v9 not recognized
gcc: Array.c: linker input file unused because linking not done
mv: cannot access .deps/Array.Tpo
make[1]: *** [Array.o] Error 2
make[1]: Leaving directory
`/home/u7206160/gnu/squid/squid-2.7.STABLE4/lib'
make: *** [all-recursive] Error 1
.

After looking at the compilation phase, I see configure script does not
find any openssl, sasl, kerberos, ... and finally once the compilation
starts, I get message above.

Below my compile script ..

.
/usr/bin/env -i \
    PATH=$_PATH \
    CC="/usr/local/bin/gcc -specs=/home/u7206160/gnu/.specs
-static-libgcc" \
    CXX="/usr/local/bin/g++ -specs=/home/u7206160/gnu/.specs
-static-libgcc" \
    AUTOCONF="/usr/local/bin/autoconf" \
    AUTOHEADER="/usr/local/bin/autoheader" \
    AUTOIFNAMES="/usr/local/bin/ifnames" \
    AUTOM4TE="/usr/local/bin/autom4te" \
    AUTORECONF="/usr/local/bin/autoreconf" \
    AUTOSCAN="/usr/local/bin/autoscan" \
    AUTOUPDATE="/usr/local/bin/autoupdate" \
    INSTALL="/usr/local/bin/install -c -o bin -g bin -m 755" \
    INSTALL_DATA="/usr/local/bin/install -o bin -g bin -m 444" \
    INSTALL_PROGRAM="/usr/local/bin/install -o bin -g bin -m 555" \
    INSTALL_SCRIPT="/usr/local/bin/install -o bin -g bin -m 555" \
    CFLAGS="-O2 -pipe" \
    CPPFLAGS="-I$_PREFIX/include" \
    LDFLAGS="-L$_PREFIX/lib -R$_PREFIX/lib" \
    LD_OPTIONS="$_LD" \
    SHELL=/bin/sh \
    CONFIG_SHELL=/bin/sh \
        ./configure \
            --prefix=$_PREFIX \
            --sysconfdir=$_PREFIX/etc/squid \
            --libexecdir=$_PREFIX/libexec/squid \
            --datarootdir=$_PREFIX \
            --datadir=$_PREFIX/etc/squid \
            --localstatedir=$_PREFIX/squid \
            --with-large-files \
            --enable-large-cache-files \
            --with-pthreads \
            --enable-dl-malloc \
            --enable-storeio=ufs,diskd,null \
            --enable-removal-policies=lru,heap \
            --enable-snmp \
            --enable-wccp \
            --enable-wccpv2 \
            --enable-delay-pools \
            --enable-htcp \
            --enable-ssl \
            --with-openssl=$_PREFIX \
            --enable-cache-digests \
            --enable-underscores \
            --enable-referer-log \
            --enable-useragent-log \
            --enable-auth=basic,digest,negotiate,ntlm \
            --enable-basic-auth-helpers=DB,MSNT,SMB,LDAP,SASL \
            --enable-digest-auth-helpers=password,ldap \
 
--enable-external-acl-helpers=ip_user,session,unix_group,wbinfo_group,ld
ap_group \
            --enable-ntlm-auth-helpers=SMB \
            --enable-negotiate-auth-helpers=squid_kerb_auth \
            --enable-err-languages="English French Dutch German Italian
Portuguese Spanish" \
            --enable-default-err-language=English \
            --disable-linux-netfilter \
            --disable-linux-tproxy \
            --disable-carp \
            --disable-epoll \
            --disable-kqueue \
            --disable-ident-lookups \
            --build=sparc64-sun-solaris2.8

/usr/bin/env -i PATH="$_PATH" LD_OPTIONS="$_LD" /usr/local/bin/make
sudo /usr/bin/env -i PATH="$_PATH" LD_OPTIONS="$_LD" /usr/local/bin/make
install
.

Can somebody help me solving this problem .. thks ??

Vincent.
-----------------------------------------------------------------
ATTENTION:
The information in this electronic mail message is private and
confidential, and only intended for the addressee. Should you
receive this message by mistake, you are hereby notified that
any disclosure, reproduction, distribution or use of this
message is strictly prohibited. Please inform the sender by
reply transmission and delete the message without copying or
opening it.

Messages and attachments are scanned for all viruses known.
If this message contains password-protected attachments, the
files have NOT been scanned for viruses by the ING mail domain.
Always scan attachments before opening them.
-----------------------------------------------------------------
Received on Sat Oct 11 2008 - 16:31:03 MDT

This archive was generated by hypermail 2.2.0 : Sun Oct 12 2008 - 12:00:02 MDT