[X2Go-Commits] page changed: wiki:development:build-howto-mswin:x2goclient

wiki-admin at x2go.org wiki-admin at x2go.org
Sun Jun 28 19:07:32 CEST 2015


A page in your DokuWiki was added or changed. Here are the details:

Date        : 2015/06/28 17:07
Browser     : Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36
IP-Address  : 96.245.198.248
Hostname    : pool-96-245-198-248.phlapa.fios.verizon.net
Old Revision: http://wiki.x2go.org/doku.php/wiki:development:build-howto-mswin:x2goclient?rev=1435510833
New Revision: http://wiki.x2go.org/doku.php/wiki:development:build-howto-mswin:x2goclient
Edit Summary: Remove MinGW 4.4 & Qt 4.8.5 instructions. We have been doing official builds with 4.8 & 4.8.6 for a long time now.
User        : mikedep333

@@ -42,9 +42,9 @@
  Notepad2 is a freeware alternative to Notepad shipped with Microsoft Windows. Notepad2 understands UTF-8 text formats (and others) and can handle Unix-style line endings. In case you want to introspect a code file, this tool is very handy.
  
  ===== Setup Build Environment =====
  
- ==== Installing MinGW (Current
Version) ====
+ ==== Installing MinGW ====
  
  MinGW is a gcc compiler for Windows. You need it to build X2Go Client.
  
  Since X2Go Client 4.0.3.0, X2Go Client uses Qt 4.8.6 specifically. Qt 4.8.6 uses MinGW 4.8.x. Qt 4.8.6 for Windows recommends this specific build of MinGW, so it is this specific build that you should use.
@@ -54,17 +54,9 @@
  Extract it to your disk (''D:\i686-4.8.2-release-posix-dwarf-rt_v3-rev3\mingw32'' in this example).
  
  Finally, you have to add these MinGW executable directories to your PATH environment variable: ''D:\i686-4.8.2-release-posix-dwarf-rt_v3-rev3\mingw32\bin'', ''D:\i686-4.8.2-release-posix-dwarf-rt_v3-rev3\mingw32\libexec\gcc\i686-w64-mingw32\4.8.2''.
  
- ==== Installing MinGW (Old Version) ====
- 
- Using Qt 4.8.5 + MinGW 4.4 is still an option for building X2Go Client 4.0.3.0 and later. It was how X2Go Client 4.0.2.1 and many prior versions were built.
- Unfortunately, you can not download binaries for this version from MinGW project
site any more. You can build it from source or download it from [[http://code.x2go.org/releases/binary-win32/tools/MinGW-gcc440_1.zip|X2Go Site ]]
- 
- Extract it to your disk (''D:\mingw'' in this example).
- 
- Finally, you have to add these MinGW executable directories to your PATH environment variable: ''D:\mingw\bin'', ''D:\mingw\libexec\gcc\mingw32\4.4.0''.
- ==== Installing Qt (Current Version)====
+ ==== Installing Qt ====
  
  You need Qt to build X2Go Client from source.
  
  Qt-4.8.6 is tested and recommended for X2Go Client 4.0.3.0 and later.
@@ -72,15 +64,8 @@
  Download and install the **MinGW** version of Qt-4.8.6 for Windows from [[http://download.qt-project.org/archive/qt/4.8/4.8.6/|here]]
  
  In this example D:\Qt\4.8.6 will be chosen as installation directory
  
- ==== Installing Qt (Old Version)====
- 
- Qt-4.8.5 was tested and recommended for X2Go Client 4.0.2.1 and earlier. It is still an option for X2Go Client 4.0.3.0 and later.
- 
- Download and install the
**MinGW** version of Qt-4.8.5 for Windows from [[http://download.qt-project.org/archive/qt/4.8/4.8.5/|here]]
- 
- In this example D:\Qt\4.8.5 will be chosen as installation directory
  ==== Configuring Qt ====
  
  === Providing OpenSSL support in Qt ===
  
@@ -92,12 +77,8 @@
  
  For MinGW 4.8:
  <code>
  d:\OpenSSL-Win32\include\openssl -> d:\i686-4.8.2-release-posix-dwarf-rt_v3-rev3\mingw32\i686-w64-mingw32\include\openssl
- </code>
- For MinGW 4.4:
- <code>
- d:\OpenSSL-Win32\include\openssl -> d:\mingw\include\openssl
  </code>
  
  === Static builds of Qt with SSL support ===
  
@@ -111,15 +92,11 @@
  
  For Qt 4.8.6, the command needs extra args due to QTBUG-38706:
  <code>
  $ configure -release -static -openssl -qt-style-windowsxp -qt-style-windowsvista
- </code>
- For Qt 4.8.5:
- <code>
- $ configure -release -static -openssl
  </code>
  
- For either version of Qt, rebuild Qt:
+ Rebuild Qt:
  <code>
  $ make sub-src
  </code>
  
@@ -131,47 +108,34 @@
  
  For Qt 4.8.6, the
command needs extra args due to QTBUG-38706:
  <code>
  $ configure -release -openssl -qt-style-windowsxp -qt-style-windowsvista
- </code>
- For Qt 4.8.5:
- <code>
- $ configure -release -openssl
  </code>
  
- For either version of Qt, rebuild Qt:
+ Rebuild Qt:
  <code>
  $ make sub-src
  </code>
  ==== Installing libssh ====
  You need libssh to build X2Go Client.
  
- X2Go Client 4.0.3.0 and later use libssh 0.6.3 with pageant support.
+ X2Go Client 4.0.4.0 and later use libssh 0.7.x with pageant support.
  
  Get the **library** package built with MinGW 4.8.x (currently 4.8.2) from [[http://code.x2go.org/gitweb?p=x2goclient-contrib.git;a=tree;hb=HEAD | x2goclient-contrib.git]]
  
- Or for MingW 4.4.0,  [[ http://code.x2go.org/releases/binary-win32/3rd-party/libssh-modified-by-x2go-project/ | here on our site]]. And then extract files from archive. 
  
  Copy headers files in "include" directory of MinGW.
  
  For MinGW 4.8:
  <code>
 
x2goclient-contrib\libssh\0.6.3-762055b-pageant-support-mingw482_bin\include\libssh -> d:\i686-4.8.2-release-posix-dwarf-rt_v3-rev3\mingw32\i686-w64-mingw32\include\libssh
- </code>
- For MinGW 4.4:
- <code>
- libssh\include\libssh -> d:\mingw\include\libssh
  </code>
  
  Copy library files in "lib" directory of MinGW
  
  For MinGW 4.8:
  <code>
  x2goclient-contrib\libssh\0.6.3-762055b-pageant-support-mingw482_bin\lib\*.* -> d:\i686-4.8.2-release-posix-dwarf-rt_v3-rev3\mingw32\i686-w64-mingw32\lib\
- </code>
- For MinGW 4.4:
- <code>
- libssh\lib\*.* -> d:\mingw\lib\
  </code>
  
  ===== Build X2Go Client =====
  
@@ -508,10 +472,8 @@
  
  ==== Scripted Copying ====
  
  You can then install all of them by using the ''copy-deps-win32.bat'' script in the x2goclient source folder.
- 
- The scripted approach is limited to MinGW 4.8.
  
  1st, clone [[http://code.x2go.org/gitweb?p=x2goclient-contrib.git;a=summary|x2goclient-contrib.git]] on http://code.x2go.org if you haven't already
done so.
  
  2nd, update the ''copy-deps-win32.bat'' script.
@@ -542,12 +504,9 @@
  ==== Manual Copying ====
  
  === Libraries ===
  
-   - If you are using MinGW 4.4, add its libraries (copy from ''D:\MinGW\bin'')
-     * ''libgcc_s_dw2-1.dll''
-     * ''mingwm10.dll''
-   - If you are using MinGW 4.8, add its libraries (copy from ''D:\i686-4.8.2-release-posix-dwarf-rt_v3-rev3\mingw32\bin''). (Note that the inclusion of '\' character before the '+' character is to work around a horrible issue in dokuwiki; the actual filenames do not have the '\" character.)
+   - Add MinGW 4.8's ibraries (copy from ''D:\i686-4.8.2-release-posix-dwarf-rt_v3-rev3\mingw32\bin''). (Note that the inclusion of '\' character before the '+' character is to work around a horrible issue in dokuwiki; the actual filenames do not have the '\" character.)
      * ''libgcc_s_dw2-1.dll''
      * ''libstdc\+\+-6.dll''
      * libwinpthread-1.dll
    - Add OpenSSL libraries (copy from your OpenSSL installation
directory)



-- 
This mail was generated by DokuWiki at
http://wiki.x2go.org/



More information about the x2go-commits mailing list