[Pidgin] BuildingWinPidgin modified

Pidgin trac at pidgin.im
Thu Jun 21 10:02:27 EDT 2012

Changed page "BuildingWinPidgin" by BuellerIsNotHere from*
Page URL: <http://developer.pidgin.im/wiki/BuildingWinPidgin>
Diff URL: <http://developer.pidgin.im/wiki/BuildingWinPidgin?action=diff&version=125>
Revision 125

Index: BuildingWinPidgin
--- BuildingWinPidgin (version: 124)
+++ BuildingWinPidgin (version: 125)
@@ -52,11 +52,17 @@
    * gcc-core 4.4.0 ([http://sourceforge.net/projects/mingw/files/MinGW/Base/gcc/Version4/Previous%20Release%20gcc-4.4.0/gcc-core-4.4.0-mingw32-bin.tar.gz/download bin] and [http://sourceforge.net/projects/mingw/files/MinGW/Base/gcc/Version4/Previous%20Release%20gcc-4.4.0/gcc-core-4.4.0-mingw32-dll.tar.gz/download dll])
   * Extract all of the above downloaded files directly into the `win32-dev/mingw` directory.
   * You will need to set MinGW's bin directory before Cygwin's in your `PATH`.[[BR]]
-   For Example (You can add the following to your `~/.bashrc` file (create the file if it doesn't exist yet)):
+   For Example (You should add the following to your `~/.bashrc` file, which is found in \cygwin\home\YourUsername\):
   export PATH=/cygdrive/c/devel/pidgin-devel/win32-dev/mingw/bin:$PATH
+   If your Pidgin folder is inside Cygwin's, it should look more like this:
+  export PATH=/pidgin-devel/win32-dev/mingw/bin:$PATH
 == Install Pidgin's build dependencies ==
@@ -82,10 +88,10 @@
 mingw-get remove msys-perl-bin
-   * ''or'' Set your !ActivePerl 5.10 installation location at the beginning of the `PATH`.  Assuming it is installed in `c:\Perl`, put something like this in your `~/.bashrc`:
-export PATH=/c/Perl/bin:$PATH
+   * ''or'' Set your !ActivePerl 5.10 installation location at the beginning of the Cygwin-specific `PATH`.  Assuming it is installed in `c:\Perl`, put something like this in your `~/.bashrc`:
+export PATH=/cygdrive/c/Perl/bin:$PATH
 === Tcl 8.4.5 ===
@@ -129,6 +135,19 @@
   The development source is available via monotone. See [wiki:UsingPidginMonotone] for more information.
 == Build Pidgin ==
+  First, make absolutely sure you have the GCC installer version 4.4.0 installed -- newer versions will cause the long build process to fail. You can do this by typing 
+gcc --version
+  Second, you'll have to edit the (current) Pidgin makefile, because there's a silly flag buried in it that WILL cause your makefile to break. In your Pidgin folder (e.g. /pidgin-devel/pidgin-xxxx/libpurple/win32/global.mak), remove the "-mno-cygwin" flag, leaving your build file like  this:
+CFLAGS += -O2 -Wall $(GCCWARNINGS) -pipe -mms-bitfields -g
+  If you don't remove that silly flag, you'll get build errors about halfway through. (It looks like the flag was deprecated about 5-10 years ago anyway.)
   Run the following:
@@ -140,7 +159,7 @@
 == Build the Pidgin Installer ==
   * If you want to build the Pidgin installer, do the following (skip to the `make` command below if you chose to use the Build Environment Fetcher):
-    * Download and install [http://nsis.sourceforge.net/Download NSIS]. Include NSIS to your `PATH`.
+    * Download and install [http://nsis.sourceforge.net/Download NSIS]. Include NSIS to Cygwin's `PATH`.
      *  For information on the NSIS installer, visit the [http://nsis.sourceforge.net NSIS website].[[BR]]
     * Download the [http://nsis.sourceforge.net/Nsisunz_plug-in nsisunz plugin], and extract `nsisunz.dll` into the `Plugins` directory of your NSIS installation.
     * If you are building the installer from a unix-style shell (like the MinGW shell), the options format must be set accordingly. Make sure there is a `pidgin/local.mak` file containing the line:


* The IP shown here might not mean anything if the user or the server is
behind a proxy.

Pidgin <http://pidgin.im>

This is an automated message. Someone at http://pidgin.im added your email
address to be notified of changes on BuildingWinPidgin. If it was not you, please
report to .

More information about the Wikiedit mailing list