Hi,

Dmitry RCL Rekman a écrit :
> Hi,
>
> On 2/20/09, Matthieu Fertré <matthieu.fer...@free.fr> wrote:
>   
>> Here is the todo list before releasing wormux 0.8.3 :
>> - checking for build on different operating systems (windows, *bsd)
>>     
>
> I commited the changes (to 0.8.3 branch) so src/network/network.cpp
> uses gai_strerror() instead of trying to interpret error code itself,
> that should make it compile without #ifdef-s everywhere.
>   

Thanks a lot! That's great :)

I was unaware of gai_strerror (I have read the getaddrinfo manpage too
fast...).

Kurosu, a rapid search tell me that this function exits for Windows too
: http://msdn.microsoft.com/en-us/library/ms738514(VS.85).aspx
Could you update the Network::WIN32_CheckHost() ? Please remove #ifndef
WIN32 in that method that compiles only if WIN32 is defined ;)

> There's one more problem though: neither CMakeLists.txt nor configure
> does not link explicitly with libintl, so I had to hack -lintl into
> src/CMakeLists.txt (not commited) to make it build on FreeBSD.
>
> Perhaps libintl is implicitly linked with on Linux systems, but on
> BSDs such "linuxisms" don't work :) I'll try to change (or find
> somewhere) cmake/FindGettext.cmake package so it looks for libintl.so
> and sets a variable like GETTEXT_LIBRARY. If someone more
> knowledgleable with writing cmake modules than me could help me with
> that, I'd be very grateful :)
>   

Well, as previous versions, the official way to compile Wormux is still
autotools (cmake files will not be included in the archive). Is it ok
for freebsd users ?
Anyway, it is good too to fix the cmake scripts in svn.


> Cheers,
> RCL
>   

Regards,

Matt (gentildemon)


_______________________________________________
Wormux-dev mailing list
Wormux-dev@gna.org
https://mail.gna.org/listinfo/wormux-dev

Répondre à