[Devel] openser on Solaris

Bogdan-Andrei Iancu bogdan at voice-system.ro
Thu Jul 27 18:18:58 CEST 2006


Hi Wolfgang,

the IPTOS_MINCOST issue is already fixed on the CVS, so please update 
and see if it works.

the fix for the "sed" problem was committed on CVS - thanks!

regarding the C++ stuff, it will not be included on the CVS since there 
is no C++ module on the cvs ;).

Regards,
Bogdan

Wolfgang Hottgenroth wrote:

>Hi,
>
>
>
>I had some problems to compile openser 1.1.0 on Solaris.
>
>1.) Solaris sed does not support -i (edit in place). This happens in the
>Makefile when installing openserctl. I've changed the Makefile.
>2.) Solaris has no IPTOS_MINCOST. There is already a cpp logic in cfg.y
>which should disable this on Solaris, but this logic seems to be buggy:
>
>#if !defined(__OS_solaris) || !defined(__OS_netbsd)
>                            } else if (strcasecmp($3,"IPTOS_MINCOST")) {
>                                tos=IPTOS_MINCOST;
>#endif
>
>Certainly #if !defined(__OS_solaris) && !defined(__OS_netbsd) or #if
>!(defined(__OS_solaris) || defined(__OS_netbsd)) (de Morgane's rule?)
>was meant. Otherwise IPTOS_MINCOST is only remove if the OS is both
>Solaris and NetBSD ;-)
>If changed cfg.y.
>
>Additionally I've changed Makefule.rules and Makefile.sources to make
>C++ modules possible.
>
>I've attached an unifed patch.
>
>
>
>Cheers,
>Wolfgang
>  
>




More information about the Devel mailing list