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

From: Markus Sonnenberg <lassmichinruhe_at_rz-amper.de>
Date: Thu, 28 Feb 2013 13:17:08 +0100

On 2/28/2013 12:23 PM, Amos Jeffries wrote:
> Wonderful. Thank you for that.
>
> The fix then, is probably still as described here:
> http://wiki.squid-cache.org/KnowledgeBase/Solaris#Compiling
>
> If that works would you be able to make a patch for me to bundle with
> Squid for just the com_err.h alteration?
>
> Amos

Amos,

i changed com_err.h according to the article and gmake now ends with the following error.

<snip>
...
...
...
Making all in kerberos_ldap_group
gmake[3]: Entering directory `/Download/squid-3.3.1/helpers/external_acl/kerberos_ldap_group'
gmake[4]: Entering directory `/Download/squid-3.3.1/helpers/external_acl/kerberos_ldap_group'
/opt/csw/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../../.. -I../../../include -I../../../lib -I../../../src -I../../../include -I/usr/include/gssapi -I/usr/include/kerberosv5 -I../../../libltdl -I. -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 -std=c++0x -MT kerberos_ldap_group.o -MD -MP -MF .deps/kerberos_ldap_group.Tpo -c -o kerberos_ldap_group.o kerberos_ldap_group.cc
In file included from support.h:46:0,
                 from kerberos_ldap_group.cc:39:
/usr/include/kerberosv5/krb5.h:10:0: error: ignoring #pragma ident [-Werror=unknown-pragmas]
cc1plus: all warnings being treated as errors
gmake[4]: *** [kerberos_ldap_group.o] Error 1
gmake[4]: Leaving directory `/Download/squid-3.3.1/helpers/external_acl/kerberos_ldap_group'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/Download/squid-3.3.1/helpers/external_acl/kerberos_ldap_group'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/Download/squid-3.3.1/helpers/external_acl'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/Download/squid-3.3.1/helpers'
gmake: *** [all-recursive] Error 1
</snip>

regard
markus

ct,
Received on Thu Feb 28 2013 - 12:17:51 MST

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