[OTR-dev] Compiling pidgin-otr for windows (cygwin OR cross-compile) errors

Sec secq.002 at rediffmail.com
Fri Jul 10 20:31:37 EDT 2009


Ian,

Thanks for the response.

>Makefile.mingw is meant for cross compiling on Linux, with the mingw32
>package installed.
I have/had the following installed
mingw32 - Minimalist GNU win32 (cross) compiler
mingw32-binutils - Minimalist GNU win32 (cross) binutils
mingw32-runtime - Minimalist GNU win32 (cross) runtime

>This sounds like you haven't installed a cross-compiled version of
>libgcrypt.  The include files and libraries should live under
>/usr/i586-mingw32msvc/.
Can you tell me how to install a cross compiled version of this ? 

I will try to figure the X11 stuff from pidgin. 

Thanks,
Sec

Kill snoopers dead

On Fri, 10 Jul 2009 19:58:16 +0530  wrote
>On Fri, Jul 10, 2009 at 02:11:40AM -0000, Sec  wrote:
>> Hi,
>> 
>> Has anyone successfully compiled this for windows ? 
>> 
>> I have tried cross compiling using linux and also tried to compile using windows and cygwin. 
>> 
>> With windows cygwin I get the following error when I try to "make -f Makefile.mingw"
>> make: i586-mingw32msvc-gcc: Command not found
>
>Makefile.mingw is meant for cross compiling on Linux, with the mingw32
>package installed.
>
>> On linux, I followed the instructions at 
>> http://ubuntuforums.org/showthread.php?t=558197
>> and get error with trying to find some header files. I am using debian lenny.
>> 
>> otr-plugin.c:32:20: error: gcrypt.h: No such file or directory
>
>This sounds like you haven't installed a cross-compiled version of
>libgcrypt.  The include files and libraries should live under
>/usr/i586-mingw32msvc/.
>
>> In file included from /usr/include/gtk-2.0/gdk/gdkx.h:36,
>>                  from /usr/include/pidgin/pidgin.h:33,
>>                  from otr-plugin.c:35:
>> /usr/include/X11/Xlib.h:60:19: error: X11/X.h: No such file or directory
>> /usr/include/X11/Xlib.h:63:28: error: X11/Xfuncproto.h: No such file or directory
>> /usr/include/X11/Xlib.h:64:25: error: X11/Xosdefs.h: No such file or directory
>
>This seems wrong; the Windows cross-compile should not be using X, I'm
>pretty sure (but that's in the pidgin stuff, which I don't know as well
>as the OTR stuff).
>
>   - Ian
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cypherpunks.ca/pipermail/otr-dev/attachments/20090711/1718267a/attachment.html>


More information about the OTR-dev mailing list