Trac is being migrated to new services! Issues can be found in our new YouTrack instance and WIKI pages can be found on our website.

Changes between Version 124 and Version 125 of BuildingWinPidgin


Ignore:
Timestamp:
Jun 21, 2012, 2:02:25 PM (12 years ago)
Author:
BuellerIsNotHere
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BuildingWinPidgin

    v124 v125  
    5353  * Extract all of the above downloaded files directly into the `win32-dev/mingw` directory.
    5454  * You will need to set MinGW's bin directory before Cygwin's in your `PATH`.[[BR]]
    55    For Example (You can add the following to your `~/.bashrc` file (create the file if it doesn't exist yet)):
     55   For Example (You should add the following to your `~/.bashrc` file, which is found in \cygwin\home\YourUsername\):
    5656{{{
    5757#!sh
    5858  export PATH=/cygdrive/c/devel/pidgin-devel/win32-dev/mingw/bin:$PATH
    5959}}}
     60   If your Pidgin folder is inside Cygwin's, it should look more like this:
     61{{{
     62#!sh
     63  export PATH=/pidgin-devel/win32-dev/mingw/bin:$PATH
     64}}}
     65
    6066
    6167== Install Pidgin's build dependencies ==
     
    8389mingw-get remove msys-perl-bin
    8490}}}
    85    * ''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`:
    86 {{{
    87 #!sh
    88 export PATH=/c/Perl/bin:$PATH
     91   * ''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`:
     92{{{
     93#!sh
     94export PATH=/cygdrive/c/Perl/bin:$PATH
    8995}}}
    9096
     
    130136
    131137== Build Pidgin ==
     138
     139  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
     140{{{
     141gcc --version
     142}}}
     143
     144  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:
     145{{{
     146CFLAGS += -O2 -Wall $(GCCWARNINGS) -pipe -mms-bitfields -g
     147}}
     148  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.)
     149
     150
    132151  Run the following:
    133152{{{
     
    141160
    142161  * 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):
    143     * Download and install [http://nsis.sourceforge.net/Download NSIS]. Include NSIS to your `PATH`.
     162    * Download and install [http://nsis.sourceforge.net/Download NSIS]. Include NSIS to Cygwin's `PATH`.
    144163     *  For information on the NSIS installer, visit the [http://nsis.sourceforge.net NSIS website].[[BR]]
    145164    * Download the [http://nsis.sourceforge.net/Nsisunz_plug-in nsisunz plugin], and extract `nsisunz.dll` into the `Plugins` directory of your NSIS installation.
All information, including names and email addresses, entered onto this website or sent to mailing lists affiliated with this website will be public. Do not post confidential information, especially passwords!