Okay, I solved that problem! Here is my complete howto compile cosign
filter in Solaris 10:

I need (more or less) this packages installed in zones:
  pkgadd SUNWcpp SUNWlibC SUNWlibCf SUNWlibm SUNWlibms SUNWscbcp
SUNWsprot SUNWxwinc SUNWzlib SUNWgcc SUNWbinutils
and this installed in host machine:
  pkgadd SUNWarc SUNWbtool SUNWcg6h SUNWdfbh SUNWdpl SUNWhea SUNWhmdu
SUNWscpu SUNWsra SUNWsrh SUNWtnfc SUNWtnfd SUNWtoo

btw. I think that opensource alternative with blastwave packages: 'gcc3
gmake binutils libgcrypt libtool' would be also enough.

LD_LIBRARY_PATH looks like this:
/lib:/usr/lib:/opt/csw/lib:/opt/csw/gcc3/lib:/usr/sfw/lib:/usr/ccs/bin:/opt/csw/apache2/lib:/usr/openwin/lib:/usr/dt/lib:/usr/ucblib:/opt/csw/gcc3/lib/gcc/sparc-sun-solaris2.8/3.4.5

go to cosign directory and do:

  make distclean
  ./configure  --prefix=/opt/csw --with-ssl=/opt/csw
--enable-apache2=/opt/csw/apache2/sbin/apxs

in file libsnet/Makefile, line 14 replace -I. by -I/opt/csw/include
(directory containing directory openssl with openssl header files) so it
should look like:

  INCPATH=              -I/opt/csw/include

from file filters/apache2/Makefile, line 24 remove all parameters
beginning with -x:

  -xO3 -xarch-8 -xspace -xildoff

and to line 21 add -lgcc, so it should look like:

  LIBS =            -lsnet -lgcc

from file filters/common/Makefile, line 6 also remove all parameters
beginning with -x:

  -xO3 -xarch-8 -xspace -xildoff

then just make and install it:

  make
  make install

In my case there was some warnings but it was working correctly. Make
install ended with error: "cp: cannot access .libs/mod_cosign.a" but
from some reason it's not needed.

That's it. Users good luck and developers please think also on Solaris
users ;-)

Matus

On Mon, 2008-03-10 at 15:22 +0100, Matus Kovacik wrote:
> Hello,
> please can you be more concrete? I tryed recommended howtos and I also
> tryed to compile it in complete SUN environment and also in complete
> opensource environment but still the same behaviour without any change.
> 
> Thank you
> 
> Matus
> 
> 
> On Tue, 2008-03-04 at 10:22 -0500, Andrew Mortensen wrote:
> > On Mar 4, 2008, at 9:14 AM, Matus Kovacik wrote:
> > 
> > > gcc: language ildoff not recognized
> > 
> > The first Google search result should be helpful. Looks like your Sun  
> > cc and gcc environments are mixed up.
> > 
> > 


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Cosign-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cosign-discuss

Reply via email to