Re: [squid-users] Build Squid 3.3.1 on Solaris 10

From: C. Pelissier <Pelissier.C_at_onera.fr>
Date: Thu, 28 Feb 2013 08:46:56 +0100

Le jeu. 28/02/2013 à 01:39, Amos Jeffries a écrit :
> On 28/02/2013 10:32 a.m., Markus Sonnenberg wrote:
> > On 2/27/2013 5:04 PM, C. Pelissier wrote:
> >>
> >> Le mer. 27/02/2013 à 16:21, Markus Sonnenberg a écrit :
> >>> Hi All,
> >>>
> >>> i'm trying to build the latest squid on solaris 10 and i'm facing the
> >>> following problem.
> >>>
> >>> <snip>
> >>> ismine/Download/squid-3.3.1# gmake
> >>> Making all in compat
> >>> gmake[1]: Entering directory `/Download/squid-3.3.1/compat'
> >>> /usr/sfw/bin/g++ -DHAVE_CONFIG_H -I.. -I../include -I../lib -I../src
> >>> -I../include -I/usr/include/gssapi -I/usr/include/kerberosv5
> >>> -I../libltdl -I/usr/include -I/opt/csw/include -I/usr/local/include
> >>> -I/usr/include/gssapi -I/usr/include/kerberosv5 -Wall -Wpointer-arith
> >>> -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -pthreads
> >>> -I/usr/include -I/opt/csw/include -I/usr/local/include -MT assert.o -MD
> >>> -MP -MF .deps/assert.Tpo -c -o assert.o assert.cc
> >>> In file included from ../compat/compat_shared.h:202,
> >>> from ../compat/compat.h:80,
> >>> from ../include/squid.h:66,
> >>> from assert.cc:32:
> >>> /usr/include/kerberosv5/com_err.h:20: warning: ignoring #pragma ident
> >>> gmake[1]: *** [assert.o] Error 1
> >>> gmake[1]: Leaving directory `/Download/squid-3.3.1/compat'
> >>> gmake: *** [all-recursive] Error 1
> >>> </snip>
> >>
> >>
> >> This is a known problem since 3.2 release. Inside squid src directory
> >> just do :
> >>
> >> cd compat
> >> mv xstrto.h xstrto.h.ref
> >> sed -e '1i\
> >> #if defined(__cplusplus)' -e '$a\
> >> #endif' xstrto.h.ref> xstrto.h
> >> cd ..
> >>
> >> Add to xstrto.h
> >>
> >> #if defined(__cplusplus) at the top
> >> and
> >> #endif at the bottom
> >>
> >> It would be nice to integrate this patch to future squid releases ...
> >> Thank's
>
>
> NOTE: this is *not* the xstrto.h wrapping. (Which is fixed in the next
> releases coming out ~48hrs.)
>
>
> Markus,
>
> There is a patch file in your Squid source directory
> contrib/solaris/solaris-krb5-include.patch

I think that Solaris patch 148070-02 solves ...

Files included with this patch:

/usr/include/kerberosv5/krb5.h <<<<<<<
/usr/sbin/kadmin
/usr/sbin/kadmin.local
/usr/sbin/kdb5_ldap_util
/usr/sbin/kdb5_util

Problem Description:

6837512 krb5.h C++ guards are wrong <<<<<<
6956005 "stash" option fails to re-create the stash file if the KDC is
set up by kdb5_ldap_util

(from 148070-01)

6680327 kdb5_util/kdb5_ldap_util core dumps and prints incorrect
progname on error paths

>
> Can you please apply it to your /usr/include/kerberosv5/krb5.h system
> file (carefully with a backup) and report back if it resolves this issue?
>
>
> Thanks
> Amos
Received on Thu Feb 28 2013 - 07:55:28 MST

This archive was generated by hypermail 2.2.0 : Thu Feb 28 2013 - 12:00:04 MST