bug-mailutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-mailutils] Patches for Cygwin build


From: Ken Brown
Subject: [bug-mailutils] Patches for Cygwin build
Date: Sun, 26 Mar 2017 13:50:14 -0400
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

I see from the archives that various people have tried to build mailutils on Cygwin, most recently here:

  http://lists.gnu.org/archive/html/bug-mailutils/2013-12/msg00000.html

I've succeeded in making the build work with the three attached patches.

The main issue is that libtool won't build shared libraries on Cygwin unless the -no-undefined flag is used. The first patch takes care of that.

But then there are in fact some undefined symbols, which I fixed in the third patch.

Finally, as was already noted in response to the message cited above, -llber is needed on Cygwin. More generally, it is needed on any platform in which the ber_* functions are in -llber rather than -lldap. I imagine this could be the case on some platforms other than Cygwin, so I wrote the second patch to apply to any such platform.

Although the three patches are needed for Cygwin, I don't think they do any harm on other platforms. Please consider installing them.

Thanks.

Ken

P.S. I also have some test failures that I might need help with, but I'll write about them separately, after I've tried to fix them myself.

Attachment: 0001-Enable-building-of-shared-libraries-on-Cygwin.patch
Description: Text document

Attachment: 0002-Add-library-needed-for-linking-on-Cygwin.patch
Description: Text document

Attachment: 0003-Fix-undefined-symbols-errors-on-Cygwin.patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]