mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-21 06:41:00 +00:00
fix windows .po file compilation doc
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@1930 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
b97b44b694
commit
754b2b1fa9
2 changed files with 12 additions and 12 deletions
|
|
@ -117,10 +117,10 @@ See the <a class="reference" href="index.html">main page</a> on how to configure
|
|||
<li><p class="first">Preparing Python for the MinGW compiler</p>
|
||||
<p>Search the file python23.dll in your windows folder.
|
||||
After you found it, launch MSYS. Change into the windows folder,
|
||||
for example <tt class="literal"><span class="pre">%</span> <span class="pre">cd</span> <span class="pre">c:\winnt\system32</span></tt>. Then execute
|
||||
<tt class="literal"><span class="pre">%</span> <span class="pre">pexports</span> <span class="pre">python23.dll</span> <span class="pre">></span> <span class="pre">python23.def</span></tt>.
|
||||
for example <tt class="literal"><span class="pre">cd</span> <span class="pre">c:\winnt\system32</span></tt>. Then execute
|
||||
<tt class="literal"><span class="pre">pexports</span> <span class="pre">python23.dll</span> <span class="pre">></span> <span class="pre">python23.def</span></tt>.
|
||||
Then use the dlltool with
|
||||
<tt class="literal"><span class="pre">%</span> <span class="pre">dlltool</span> <span class="pre">--dllname</span> <span class="pre">python23.dll</span> <span class="pre">--def</span> <span class="pre">python23.def</span> <span class="pre">--output-lib</span>
|
||||
<tt class="literal"><span class="pre">dlltool</span> <span class="pre">--dllname</span> <span class="pre">python23.dll</span> <span class="pre">--def</span> <span class="pre">python23.def</span> <span class="pre">--output-lib</span>
|
||||
<span class="pre">libpython23.a</span></tt>.
|
||||
The resulting library has to be placed in the same directory as
|
||||
python23.lib. (Should be the libs directory under your Python installation
|
||||
|
|
@ -128,13 +128,13 @@ directory, for example <tt class="literal"><span class="pre">c:\Python23\Libs\</
|
|||
</li>
|
||||
<li><p class="first">Compile gettext translations</p>
|
||||
<p>Still in the MSYS window, change to the <tt class="literal"><span class="pre">linkchecker-X.X.X\po</span></tt>
|
||||
directory and run <tt class="literal"><span class="pre">%</span> <span class="pre">make</span> <span class="pre">win</span></tt>.</p>
|
||||
directory and run <tt class="literal"><span class="pre">make</span></tt>.</p>
|
||||
</li>
|
||||
<li><p class="first">Compile and install the LinkChecker Python modules</p>
|
||||
<p>Close the MSYS application (by typing <tt class="literal"><span class="pre">exit</span></tt>) and open a DOS command
|
||||
prompt.
|
||||
Change to the <tt class="literal"><span class="pre">linkchecker-X.X.X</span></tt> directory and run
|
||||
<tt class="literal"><span class="pre">c:></span> <span class="pre">python</span> <span class="pre">setup.py</span> <span class="pre">build</span> <span class="pre">-c</span> <span class="pre">mingw32</span> <span class="pre">bdist_wininst</span></tt>.</p>
|
||||
<tt class="literal"><span class="pre">python</span> <span class="pre">setup.py</span> <span class="pre">build</span> <span class="pre">-c</span> <span class="pre">mingw32</span> <span class="pre">bdist_wininst</span></tt>.</p>
|
||||
<p>This generates a binary installer
|
||||
<tt class="literal"><span class="pre">dist\linkchecker-X.X.X.win32-py2.3.exe</span></tt> which you just have to
|
||||
execute.</p>
|
||||
|
|
@ -180,7 +180,7 @@ they are working</li>
|
|||
</div>
|
||||
<hr class="footer" />
|
||||
<div class="footer">
|
||||
Generated on: 2004-09-20 09:21 UTC.
|
||||
Generated on: 2004-11-09 08:57 UTC.
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -98,26 +98,26 @@ Setup for Windows
|
|||
|
||||
Search the file python23.dll in your windows folder.
|
||||
After you found it, launch MSYS. Change into the windows folder,
|
||||
for example ``% cd c:\winnt\system32``. Then execute
|
||||
``% pexports python23.dll > python23.def``.
|
||||
for example ``cd c:\winnt\system32``. Then execute
|
||||
``pexports python23.dll > python23.def``.
|
||||
Then use the dlltool with
|
||||
``% dlltool --dllname python23.dll --def python23.def --output-lib
|
||||
``dlltool --dllname python23.dll --def python23.def --output-lib
|
||||
libpython23.a``.
|
||||
The resulting library has to be placed in the same directory as
|
||||
python23.lib. (Should be the libs directory under your Python installation
|
||||
directory, for example ``c:\Python23\Libs\``.)
|
||||
|
||||
3. Compile gettext translations
|
||||
|
||||
|
||||
Still in the MSYS window, change to the ``linkchecker-X.X.X\po``
|
||||
directory and run ``% make win``.
|
||||
directory and run ``make``.
|
||||
|
||||
4. Compile and install the LinkChecker Python modules
|
||||
|
||||
Close the MSYS application (by typing ``exit``) and open a DOS command
|
||||
prompt.
|
||||
Change to the ``linkchecker-X.X.X`` directory and run
|
||||
``c:> python setup.py build -c mingw32 bdist_wininst``.
|
||||
``python setup.py build -c mingw32 bdist_wininst``.
|
||||
|
||||
This generates a binary installer
|
||||
``dist\linkchecker-X.X.X.win32-py2.3.exe`` which you just have to
|
||||
|
|
|
|||
Loading…
Reference in a new issue