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.
- Timestamp:
-
Jun 21, 2012, 2:02:25 PM (12 years ago)
- Author:
-
BuellerIsNotHere
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
|
v124
|
v125
|
|
| 53 | 53 | * Extract all of the above downloaded files directly into the `win32-dev/mingw` directory. |
| 54 | 54 | * 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\): |
| 56 | 56 | {{{ |
| 57 | 57 | #!sh |
| 58 | 58 | export PATH=/cygdrive/c/devel/pidgin-devel/win32-dev/mingw/bin:$PATH |
| 59 | 59 | }}} |
| | 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 | |
| 60 | 66 | |
| 61 | 67 | == Install Pidgin's build dependencies == |
| … |
… |
|
| 83 | 89 | mingw-get remove msys-perl-bin |
| 84 | 90 | }}} |
| 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 |
| | 94 | export PATH=/cygdrive/c/Perl/bin:$PATH |
| 89 | 95 | }}} |
| 90 | 96 | |
| … |
… |
|
| 130 | 136 | |
| 131 | 137 | == 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 | {{{ |
| | 141 | gcc --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 | {{{ |
| | 146 | CFLAGS += -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 | |
| 132 | 151 | Run the following: |
| 133 | 152 | {{{ |
| … |
… |
|
| 141 | 160 | |
| 142 | 161 | * 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`. |
| 144 | 163 | * For information on the NSIS installer, visit the [http://nsis.sourceforge.net NSIS website].[[BR]] |
| 145 | 164 | * 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!