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:
- 
            Dec 7, 2009, 4:15:56 AM (14 years ago)
        
- Author:
- 
          John Bailey
        
- Comment:
- 
          
          
More complete cross-compile instructions.
 
        
          Legend:
          
            - Unmodified
- Added
- Removed
- Modified
 
        
  
      - 
        
        
              
              
                
                  | v63 | v64 |  |  
                          | 158 | 158 | GMSGFMT := msgfmt |  
                          | 159 | 159 | MAKENSIS := /usr/bin/makensis |  
                          |  | 160 | MAKENSISOPT := - |  
                          | 160 | 161 | PERL := /usr/bin/perl |  
                          | 161 | 162 | EXTUTILS := /usr/share/perl/5.8/ExtUtils |  
                  | … | … |  |  
                          | 169 | 170 | If your distribution doesn't include a recent enough win32api, you can download it from the [http://www.mingw.org/ MinGW site], extract it into your `win32-dev` directory, and override the `INCLUDE_PATHS` and `LIB_PATHS` variables in your `local.mak` as I have done. |  
                          | 170 | 171 |  |  
                          |  | 172 | If you want to build the installers, you'll need to build the GTK+ installer as mentioned above.  However, the `build.sh` script referenced above needs to be changed.  The line starting with `makensis.exe` needs to be changed to read: |  
                          |  | 173 | {{{ |  
                          |  | 174 | makensis -V3 -DGTK_VERSION=$gtk_version -DGTK_REVISION=$gtk_revision gtk-installer.nsi |  
                          |  | 175 | }}} |  
                          | 171 | 176 |  |  
                        | 172 |  |  |  
                        | 173 |  |  |  
                        | 174 |  | Once this is set up, you should be able to follow the [#BuildPidgin building instructions above]. |  
                        | 175 |  |  |  
                        | 176 |  | ** Note: I haven't been able to get the NSIS installer to build correctly on my 64-bit Linux system. |  
                        | 177 |  |  |  
                        | 178 |  | ** Note 2: If you receive header-related errors, such as missing files (like `dlfcn.h`) or implicit declarations of functions (like `getaddrinfo`), then you probably have a leftover `config.h` from a native build that defines incorrect information. You must delete (or rename) `config.h` in order to build successfully. |  
                        | 179 |  |  |  
                        | 180 |  | ** Note 3: If you get errors involving icon data, edit the files and replace the preprocessor macros + strings in the ICON definitions at the bottom of the files with the entire path to the icon files, i.e. replace PIXMAPDIR "available_4bit.ico" with "pixmaps/tray/16/available_4bit.ico". This worked for me. --Adam Shiemke |  
                        |  | 177 | Once this is all set up, you should be able to follow the [#BuildPidgin building instructions above]. |  
 
 
       
   
     
    
        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!