[OTR-dev] Cross compile pidgin-otr for windows
Sec
secq.002 at rediffmail.com
Sun Jul 12 00:43:56 EDT 2009
I do have gcrypt.h in /usr/include I was wondering if there is a way to tell the compilation to see it (as alternative to cross-compile way of installing it to make it be seen) by modifying the make file or configure script or something like that ?
Sec
Kill snoopers dead
On Sun, 12 Jul 2009 09:53:56 +0530 wrote
>Ian,
>
>>What happens if you run "pkg-config --cflags gtk+-2.0"?
>I installed gtk2.0-dev now I get output
>-D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/pixman-1
>
>
>> ./configure --with-pic --build=`./config.guess` --host=i586-mingw32msvc \
>> --prefix=/usr/i586-mingw32msvc
>> make
>> make install
>>
>>Then cross-compile pidgin-otr with:
>>
>> make -f Makefile.mingw
>
>This wasn't there in the INSTALL of pidgin-otr but was in the libotr I am going to try this. However I still have the libgcrypt.h not being found issue (from other mail).
>
>Can you tell me how to compile. I looked for several hours for mingw32 and libgcrypt etc. but couldn't find a way to cross-compile or 'mingw32 compile' it. Its not described in the package. Can you tell me how you got this to work ?
>
>Thanks,
>Sec
>
>Kill snoopers dead
>
>
>
>On Sat, 11 Jul 2009 19:59:27 +0530 wrote
>>On Sat, Jul 11, 2009 at 12:32:45AM -0000, Sec wrote:
>>> Ian,
>>>
>>> Thanks for the response.
>>>
>>> Yes I had pidgin-dev installed (on debian lenny) but I still get the
>>> errors below. I also had libpurple-dev installed.
>>
>>What happens if you run "pkg-config --cflags gtk+-2.0"?
>>
>>> My main goal is to cross compile for windows, but I tried this to
>>> check if it compiles on linux first.
>>>
>>> Can you please tell the instructions or point me to a page that might
>>> give how to cross-compile for windows, the way you guys might do it ?
>>
>>We just cross-compile libotr as described in the INSTALL file:
>>
>> ./configure --with-pic --build=`./config.guess` --host=i586-mingw32msvc \
>> --prefix=/usr/i586-mingw32msvc
>> make
>> make install
>>
>>Then cross-compile pidgin-otr with:
>>
>> make -f Makefile.mingw
>>
>> - Ian
>>_______________________________________________
>>OTR-dev mailing list
>>OTR-dev at lists.cypherpunks.ca
>>http://lists.cypherpunks.ca/mailman/listinfo/otr-dev
>>_______________________________________________
>OTR-dev mailing list
>OTR-dev at lists.cypherpunks.ca
>http://lists.cypherpunks.ca/mailman/listinfo/otr-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cypherpunks.ca/pipermail/otr-dev/attachments/20090712/6ccd21cc/attachment.html>
More information about the OTR-dev
mailing list