Re: 1.1.20 with patch

From: Robert Andersson <robert@dont-contact.us>
Date: 26 Feb 1998 17:29:06 +0100

In <Pine.BSI.3.95.980226110142.23208J-100000@valhalla.comshare.com> mikep@comshare.com (Michael Pelletier) writes:

>Is anyone out there sucessfully running Squid on Solaris 2.6?

Yes, and it configured, compiled and installed flawlessly.
I'm guessing that the problems are caused by incorrect gcc installations.
Quoting from the comp.unix.solaris FAQ:

6.27) I can't seem to get gcc to work under Solaris 2.6

    As with all new Solaris releases, you need to reinstall gcc after
    upgrading. Unfortunately, Solaris 2.6 include files don't get
    properly fixed by fixincludes. To fix this, apply the following
    patch to fixinc.svr4 before building gcc.

        *** ./fixinc.svr4.org Thu Jun 15 23:03:29 1995
        --- ./fixinc.svr4 Thu Sep 4 13:41:29 1997
        ***************
        *** 189,194 ****
        --- 189,195 ----
                  s/__STDC__[ ][ ]*==[ ][ ]*1/defined (__STRICT_ANSI__)/g
                  s/__STDC__[ ][ ]*!=[ ][ ]*0/defined (__STRICT_ANSI__)/g
                  s/__STDC__ - 0 == 0/!defined (__STRICT_ANSI__)/g
        + s/__STDC__ - 0 == 1/defined (__STRICT_ANSI__)/g
                  /^typedef[ ][ ]*[unsigned ]*long[ ][ ]*[u_]*longlong_t;/s/long/long long/
                ' $2/$file > $2/$file.sed
                mv $2/$file.sed $2/$file

Regards, Robert.

-- 
Robert Andersson   Voice +47 22418551   Gallagher & Robertson A/S
robert@gar.no      Fax   +47 22428922   Kongensgt. 23, 0153 Oslo, Norway
Received on Thu Feb 26 1998 - 08:47:53 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:39:00 MST