A Win32 compilation question

Evgenii Philippov egphilippov at gmail.com
Mon Apr 9 15:10:25 EDT 2012

Hello everyone,

I've tried to compile 
http://prdownloads.sourceforge.net/pidgin/pidgin-2.10.3.tar.bz2 under 
Windows 7, and got an error.

First, I installed all dependencies as page [1] says. Then, I ran `make 
-f Makefile.mingw install' as the page [1] says. I've got an error 
`gtkdialogs.c:493: error: 'REVISION' undeclared' at 
`$PIDGIN_DEV_ROOT/pidgin-2.10.3/pidgin'. I've checked the included file 
`$PIDGIN_DEV_ROOT/pidgin-2.10.3/package_revision.h', it was 0 lines long.

Second, I ran ` ./configure && make -f Makefile.mingw install' at dir 
`$PIDGIN_DEV_ROOT/pidgin-2.10.3/'. It reported:

checking for ld used by gcc... no
configure: error: no acceptable ld found in $PATH

I then ran:

$ which ld

$ echo $PATH

$ cygpath.exe -w /bin/ld

$ file /bin/ld
/bin/ld: PE32 executable (console) Intel 80386 (stripped to external 
PDB), for MS Windows

After all of that, package_revision.h remains 0 bytes long.

$ cd $PIDGIN_DEV_ROOT/win32-dev/mingw
$ ls ./bin/
addr2line.exe  gccbug              libgomp-1.dll    mingw32-gcc-4.4.0.exe
ar.exe         gcov.exe            libiconv-2.dll   mingwm10.dll
as.exe         libgcc_s_dw2-1.dll  libmpfr-1.dll
c++filt.exe    libgmp-3.dll        libssp-0.dll
gcc.exe        libgmpxx-4.dll      mingw32-gcc.exe

After that, I added the latest mingw-get-inst folder to PATH in a middle 
of a PATH, to the left of the cygwin's  /bin entry:

$ which ld

$ echo $PATH

And `configure' was still unhappy about it:

checking for ld used by gcc... no
configure: error: no acceptable ld found in $PATH

What should I do to build Pidgin under Windows?

I intend to extend the Windows version of Pidgin and maybe even GTK for 
visually impaired ones. I don't know if I am motivated enough to 
complete this task. Currently, some users of accessibility features 
report that they are unhappy with accessibility state of the Windows 
version of Pidgin, so they use Miranda as a bad but somewhat working 
solution for them.

Best regards,

[1] Building Pidgin under Windows 

More information about the Devel mailing list