[Openais] Compiling corosync trunk on Solars

Jan Friesse jfriesse at redhat.com
Thu Jun 4 00:38:35 PDT 2009


Steve,
if you will work on Solaris port, please try to look on ipc uid/gid
permissions. I'm pretty sure, that code there is bad and condition is
reversed. And because I don't have Solaris installed (and as a bonus,
still don't understand Solaris system of permissions), I didn't test it.

Regards,
  Honza

Steven Dake wrote:
> At one time Solaris worked, but nobody has done a re-port in the
> community since we moved to automake.  I attempted to install Solaris
> x86 in a KVM virtual machine and it just locks up on startup.
> 
> If anyone else has a solaris machine to try out porting it would be
> helpful.  I would really prefer 1.0 works with Solaris.
> 
> Regards
> -steve
> 
> 
> On Wed, 2009-06-03 at 14:41 +0200, Wojciech Meler wrote:
>> Hi !
>>
>> I have several problems with compiling trunk on Solaris:
>>
>> 1. Both -Wl-rpath-link, -Wl,-soname, -Wl,-version-script, 
>> -Wl,-export-dynamic is not supported
>> I'm not sure but maybe libtool could solve the problem ?
>> I've temporarily removed this flags to see what will happen ...
>>
>> 2. coroipc.c in socket_send uses msghdr fields that is available on 
>> solaris only when you define
>> _XOPEN_SOURCE and _XOPEN_SOURCE_EXTENDED=1
>> also semun union is not defined in solaris
>> and in6_addr is defined when __EXTENSIONS___ is defined...
>>
>> Since configure doesn't define them I've exported
>> CFLAGS="-D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1 
>> -D_SEM_SEMUN_UNDEFINED -D__EXTENSIONS__"
>>
>> 3. IPv6 issues
>> totemip.c:164: error: structure has no member named __u6_addr
>>
>> I've given up. Does anyone manage to compile it on Solaris 10?
>>
>> Regards,
>> Wojtek
>>
>>
>> "WIRTUALNA POLSKA" Spolka Akcyjna z siedziba w Gdansku przy ul.
>> Traugutta 115 C, wpisana do Krajowego Rejestru Sadowego - Rejestru
>> Przedsiebiorcow prowadzonego przez Sad Rejonowy Gdansk - Polnoc w
>> Gdansku pod numerem KRS 0000068548, o kapitale zakladowym
>> 67.980.024,00  zlotych oplaconym w calosci oraz Numerze Identyfikacji
>> Podatkowej 957-07-51-216.
>> _______________________________________________
>> Openais mailing list
>> Openais at lists.linux-foundation.org
>> https://lists.linux-foundation.org/mailman/listinfo/openais
> 
> _______________________________________________
> Openais mailing list
> Openais at lists.linux-foundation.org
> https://lists.linux-foundation.org/mailman/listinfo/openais



More information about the Openais mailing list