Rob Shepherd wrote:
> Policyd doesn't compile on Solaris 10.
> 
> neither of these exist...
> 
> MSG_NOSIGNAL
> SO_NOSIGPIPE
> 
> I'm not sure what to suggest, however i'm willing to assist debuggering 
> this further. 

Try this change in policyd.h
Current:
#if defined (__FreeBSD__) || defined (__OpenBSD__) || defined(__NetBSD__)

Add || defined(__sun)
See if that works.

> It does compile cleanly if I add -DMSG_NOSIGNAL=0 to the CFLAGS. I've 
> not tried running it yet however, I don't know what value this option 
> should have.
> 
> I can't remember having this trouble when I built 1.7 on Solaris SPARC, 
> so i'm guessing it's happened since then. looking at the changelog, 
> could it be the introduction of non-blockingness
> 
>> [EMAIL PROTECTED]:/tmp/policyd-v1.80]$ cat Changelog.txt | egrep 
>> 'Changes|sockets.c'
>> Changes from v1.79 -> v1.80 (bug fixes & new functionality)
>> Changes from v1.78 -> v1.79 (bug fixes & new functionality)
>>  *    sockets.c: read()/write() is now non-blocking. Patch by Nigel 
>> Kukard.
>> Changes from v1.77 -> v1.78 (bug fixes & performance enchancements)
>> Changes from v1.76 -> v1.77 (bug fixes)
>> Changes from v1.75 -> v1.76 (bug fixes)
>> Changes from v1.74 -> v1.75 (bug fixes)
>> Changes from v1.73 -> v1.74 (new functionality+bug fixes)
>> Changes from v1.72 -> v1.73 (new functionality+bug fixes)
>> Changes from v1.71 -> v1.72 (bug fixes)
>> Changes from v1.70 -> v1.71 (new functionality+bug fixes)
> Cheers
> 
> Rob
> 
> 
> 
> 
> 
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> policyd-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/policyd-users

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
policyd-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/policyd-users

Reply via email to