https://bfwiki.tellefsen.net//index.php?title=Compiling_Under_Cygwin&feed=atom&action=historyCompiling Under Cygwin - Revision history2024-03-28T12:43:48ZRevision history for this page on the wikiMediaWiki 1.38.2https://bfwiki.tellefsen.net//index.php?title=Compiling_Under_Cygwin&diff=1894&oldid=prevReisio at 01:09, 31 July 20102010-07-31T01:09:53Z<p></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 02:09, 31 July 2010</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">==Existing win32 builds==</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">[[Installing_Bluefish#Installing_Bluefish_on_Windows_XP.2FVista.2F7_.2832_bit.29|Installing Bluefish on Windows XP/Vista/7 (32 bit)]]</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">==See also==</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">[[Setting up a Windows Build Environment]]</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Compile Bluefish for Cygwin==</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Compile Bluefish for Cygwin==</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>'''Cygwin does not provide the necessary GTK/Glib versions to compile Bluefish >= 1.3<del style="font-weight: bold; text-decoration: none;">. However, we are working on [[Setting up a Windows Build Environment|building Bluefish on Windows]]</del>.'''</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>'''Cygwin does not provide the necessary GTK/Glib versions to compile Bluefish >= 1.3.'''</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>To make sure, you will not miss anything, we start at the beginning - the package selection during the the [http://www.cygwin.com Cygwin ] installation. If you have a running system, it is possible, that you already have packages installed, we will need.</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>To make sure, you will not miss anything, we start at the beginning - the package selection during the the [http://www.cygwin.com Cygwin ] installation. If you have a running system, it is possible, that you already have packages installed, we will need.</div></td></tr>
</table>Reisiohttps://bfwiki.tellefsen.net//index.php?title=Compiling_Under_Cygwin&diff=475&oldid=prevDaniel Leidert: Added note about bf 1.3 not compiling under Cygwin.2009-09-11T21:49:00Z<p>Added note about bf 1.3 not compiling under Cygwin.</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 22:49, 11 September 2009</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>==Compile Bluefish for Cygwin==</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>== Compile Bluefish for Cygwin==</div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> </div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">'''Cygwin does not provide the necessary GTK/Glib versions to compile Bluefish >= 1.3. However, we are working on [[Setting up a Windows Build Environment|building Bluefish on Windows]].'''</ins></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>To make sure, you will not miss anything, we start at the beginning - the package selection during the the [http://www.cygwin.com Cygwin ] installation. If you have a running system, it is possible, that you already have packages installed, we will need.</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>To make sure, you will not miss anything, we start at the beginning - the package selection during the the [http://www.cygwin.com Cygwin ] installation. If you have a running system, it is possible, that you already have packages installed, we will need.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>===<del style="font-weight: bold; text-decoration: none;">Step 1: </del>Package selection===</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>=== Package selection ===</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>We need the following packages in addition to the packages, Cygwin wants to install by default. If you select a package, Cygwin sometimes will add some packages automatically because of existing dependencies:</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>We need the following packages in addition to the packages, Cygwin wants to install by default. If you select a package, Cygwin sometimes will add some packages automatically because of existing dependencies:</div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l62">Line 62:</td>
<td colspan="2" class="diff-lineno">Line 64:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Confirm your selection and Cygwin will install a base system and your selected packages.</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Confirm your selection and Cygwin will install a base system and your selected packages.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>===<del style="font-weight: bold; text-decoration: none;">Step 2: </del>Downloading and compiling Bluefish===</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>=== Downloading and compiling Bluefish ===</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>The compilation and installation is done in 3 steps (see the generic information in the [http://bluefish.openoffice.nl/manual/ Bluefish manual ]). Start a Cygwin Bash Shell (START > Programs > CYGWIN > Cygwin Bash Shell '''OR''' the desktop icon) and create a directory, where you want to put the source:</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>The compilation and installation is done in 3 steps (see the generic information in the [http://bluefish.openoffice.nl/manual/ Bluefish manual ]). Start a Cygwin Bash Shell (START > Programs > CYGWIN > Cygwin Bash Shell '''OR''' the desktop icon) and create a directory, where you want to put the source:</div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l97">Line 97:</td>
<td colspan="2" class="diff-lineno">Line 99:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Now Bluefish is installed.</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Now Bluefish is installed.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>===<del style="font-weight: bold; text-decoration: none;">Step 3: </del>Starting the ''cygserver'' service===</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>=== Starting the ''cygserver'' service ===</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Maybe you remember, we installed a package ''cygrunsrv'' in step 1. This service is necessary to ... To start it, first run</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Maybe you remember, we installed a package ''cygrunsrv'' in step 1. This service is necessary to ... To start it, first run</div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l113">Line 113:</td>
<td colspan="2" class="diff-lineno">Line 115:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>The output sould tell you, if everything went ok. If you want to stop the service use: <code>net stop cygserver</code> (see also Start > Control Panel > Computer Administration > Services and Applications > Services : CYGWIN cygserver - set the startup-type for this service to ''Automatic'' and the service will be started with windows). Now you can close the Windows shell.</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>The output sould tell you, if everything went ok. If you want to stop the service use: <code>net stop cygserver</code> (see also Start > Control Panel > Computer Administration > Services and Applications > Services : CYGWIN cygserver - set the startup-type for this service to ''Automatic'' and the service will be started with windows). Now you can close the Windows shell.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>===<del style="font-weight: bold; text-decoration: none;">Step 4: </del>Starting Bluefish===</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>=== Starting Bluefish ===</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>If everything went ok, you should now be able to start Bluefish. Start the [http://www.x.org/ X-Server ]</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>If everything went ok, you should now be able to start Bluefish. Start the [http://www.x.org/ X-Server ]</div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l135">Line 135:</td>
<td colspan="2" class="diff-lineno">Line 137:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>to <code>/home/your''username/.bash''profile</code> (sorry, the tilde sign cannot be shown in this Wiki).</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>to <code>/home/your''username/.bash''profile</code> (sorry, the tilde sign cannot be shown in this Wiki).</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>==== Compiling bluefish cvs on cygwin issues====</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>==== Compiling bluefish cvs on cygwin issues ====</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Some various answers I've collected so far to get bluefish cvs running</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Some various answers I've collected so far to get bluefish cvs running</div></td></tr>
</table>Daniel Leiderthttps://bfwiki.tellefsen.net//index.php?title=Compiling_Under_Cygwin&diff=57&oldid=prevChristian: CompilingUnderCygwin moved to Compiling Under Cygwin2008-10-27T09:43:36Z<p><a href="/index.php/CompilingUnderCygwin" class="mw-redirect" title="CompilingUnderCygwin">CompilingUnderCygwin</a> moved to <a href="/index.php/Compiling_Under_Cygwin" title="Compiling Under Cygwin">Compiling Under Cygwin</a></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<tr class="diff-title" lang="en">
<td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 10:43, 27 October 2008</td>
</tr><tr><td colspan="2" class="diff-notice" lang="en"><div class="mw-diff-empty">(No difference)</div>
</td></tr></table>Christianhttps://bfwiki.tellefsen.net//index.php?title=Compiling_Under_Cygwin&diff=11&oldid=prevChristian: New page: ==Compile Bluefish for Cygwin== To make sure, you will not miss anything, we start at the beginning - the package selection during the the [http://www.cygwin.com Cygwin ] installation. If...2008-10-26T19:59:59Z<p>New page: ==Compile Bluefish for Cygwin== To make sure, you will not miss anything, we start at the beginning - the package selection during the the [http://www.cygwin.com Cygwin ] installation. If...</p>
<p><b>New page</b></p><div>==Compile Bluefish for Cygwin==<br />
<br />
To make sure, you will not miss anything, we start at the beginning - the package selection during the the [http://www.cygwin.com Cygwin ] installation. If you have a running system, it is possible, that you already have packages installed, we will need.<br />
<br />
===Step 1: Package selection===<br />
<br />
We need the following packages in addition to the packages, Cygwin wants to install by default. If you select a package, Cygwin sometimes will add some packages automatically because of existing dependencies:<br />
<br />
* Admin section<br />
* cygrunsrv (necessary service, we will need to run Bluefish)<br />
* Base section (all packages in this section should be installed by default)<br />
* Devel section<br />
* ORBit2-devel<br />
* atk-devel<br />
* autoconf2.5<br />
* automake1.x (what you prefer, I suggest automake1.7)<br />
* binutils<br />
* bison<br />
* catgets<br />
* cvs (to checkout Bluefish from CVS)<br />
* gcc<br />
* gettext<br />
* gettext-devel<br />
* glib2-devel<br />
* gtk2-x11-devel<br />
* libbonobo2-devel<br />
* libfreetype2-devel<br />
* libxml2-devel (libxml2 contains xmllint)<br />
* make<br />
* minires-devel<br />
* openssl-devel<br />
* pango-devel<br />
* pcre<br />
* pcre-devel<br />
* pkgconfig<br />
* Gnome section<br />
* gnome-vfs2<br />
* libgnome2<br />
* libgnomeui2 (optional)<br />
* Interpreters section<br />
* python (optional)<br />
* Libs section<br />
* popt<br />
* Text section<br />
* aspell-dev<br />
* aspell-LANG (use a package for your language)<br />
* Utils section (should all be optional)<br />
* bzip2 (if you prefer bzipped2 compressed archives)<br />
* desktop-file-utils<br />
* gnome-mime-data<br />
* shared-mime-info<br />
* Web section<br />
* tidy (contains tidy binary)<br />
* wget (to grep a bluefish-source archive)<br />
* X11<br />
* hicolor-icon-theme (optional)<br />
* xorg-x11-devel<br />
* xorg-x11-base, xorg-x11-bin, xorg-x11-bin-dlls, xorg-x11-fenc, xorg-x11-fnts (should be installed by default)<br />
* xorg-x11-fsrv (font-server, really necessary or you will receive errors from fontconfig)<br />
* xorg-x11-f100, xorg-x11-fcyr, xorg-x11-fscl (optional, but recommended)<br />
<br />
Confirm your selection and Cygwin will install a base system and your selected packages.<br />
<br />
===Step 2: Downloading and compiling Bluefish===<br />
<br />
The compilation and installation is done in 3 steps (see the generic information in the [http://bluefish.openoffice.nl/manual/ Bluefish manual ]). Start a Cygwin Bash Shell (START > Programs > CYGWIN > Cygwin Bash Shell '''OR''' the desktop icon) and create a directory, where you want to put the source:<br />
<br />
<pre><br />
$ mkdir bluefish && cd bluefish<br />
</pre><br />
<br />
Now you can use [http://www.gnu.org/software/cvs/]] (see the instructions at [[[[DownloadingFromCVS]] CVS ] about working with CVS)<br />
<br />
<pre><br />
$ cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/bluefish login<br />
$ cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/bluefish checkout bluefish-gtk2<br />
$ cd bluefish-gtk2<br />
</pre><br />
<br />
or [http://www.gnu.org/software/wget/wget.html wget ]<br />
<br />
<pre><br />
$ wget ~http://pkedu.fbt.eitn.wau.nl/~olivier/downloads/bluefish-1.0.1.tar.gz<br />
$ tar -xzf bluefish-1.0.1.tar.gz<br />
$ cd bluefish-1.0.1<br />
</pre><br />
<br />
to get a release or snapshot. Now proceed with the compilation and installation (see the Manual for more info about possible configure options):<br />
<br />
<pre><br />
$ autoconf<br />
$ ./configure ~[[your preferred options]]<br />
$ make<br />
$ make install<br />
</pre><br />
<br />
Now Bluefish is installed.<br />
<br />
===Step 3: Starting the ''cygserver'' service===<br />
<br />
Maybe you remember, we installed a package ''cygrunsrv'' in step 1. This service is necessary to ... To start it, first run<br />
<br />
<pre><br />
$ /usr/bin/cygserver-config<br />
</pre><br />
<br />
saying '''Yes''' to install ''cygserver'' as service. Then go to the '''START'''-Button of your Windows-box, choose '''Run''' (gives you a command-line), type '''cmd''' (for older Windows use '''...''') and hit '''ENTER'''. Now a Windows-Shell opens. We need to start the service with:<br />
<br />
<pre><br />
C:\WINDOWS\some\path> net start cygserver<br />
</pre><br />
<br />
The output sould tell you, if everything went ok. If you want to stop the service use: <code>net stop cygserver</code> (see also Start > Control Panel > Computer Administration > Services and Applications > Services : CYGWIN cygserver - set the startup-type for this service to ''Automatic'' and the service will be started with windows). Now you can close the Windows shell.<br />
<br />
===Step 4: Starting Bluefish===<br />
<br />
If everything went ok, you should now be able to start Bluefish. Start the [http://www.x.org/ X-Server ]<br />
<br />
<pre><br />
$ startx<br />
</pre><br />
<br />
and run Bluefish with<br />
<br />
<pre><br />
$ '''CYGWIN=server''' /usr/bin/bluefish.exe<br />
</pre><br />
<br />
The path and the executable-name depend on the configure options you used during compilation. The shown example used <code>./configure --prefix<code>/usr</code> for compilation. To not always have to type <code>CYGWIN</code>server</code>, export the [http://www.cygwin.com/cygwin-ug-net/using-cygwinenv.html CYGWIN environment variable ] with your <code>.bash_profile</code>. Therefor add the line<br />
<br />
<pre><br />
export CYGWIN=server<br />
</pre><br />
<br />
to <code>/home/your''username/.bash''profile</code> (sorry, the tilde sign cannot be shown in this Wiki).<br />
<br />
==== Compiling bluefish cvs on cygwin issues====<br />
<br />
Some various answers I've collected so far to get bluefish cvs running<br />
on win32<br />
<br />
--------------<br />
From: Todd Fisher <toddf@simosoftware.com><br />
<br />
You're running into a problem resulting in the difference between two<br />
compilers. In linux by default all symbols are public (i.e. exposed) in<br />
win32 it's the opposite, all symbols are private (i.e. hidden). With<br />
msvc compiler you can use the ''''declspec(dllexport) to expose symbols to<br />
the linker. With GCC you can use a combination of ''''attribute''''<br />
((visibility(\"hidden\"))) for hidding symbols and ''''attribute''''<br />
((visibility(\"default\"))) for exposing the symbols. A good starting<br />
place for understanding how this works in GCC since it is a new feature<br />
is to read the wiki here: http://gcc.gnu.org/wiki/Visibility<br />
<br />
Now, on to your exact issue. You say the symbols are from the main<br />
application. I assume you mean you have a setup like the following:<br />
<br />
main.c (depends on symbols from module.c)<br />
module.c (depends on symbols from main.c)<br />
<br />
To fix your problem you'll want to make module.c not have dependencies<br />
on main.c . Or you'll have to force symbols to be exported from main.c<br />
which I believe you can do by using the /DLL flag for msvc... not sure<br />
about gcc in this case.<br />
-----------------<br />
<br />
On Sun, 2005-10-30 at 19:24 +0100, David Necas (Yeti) wrote:<br />
<br />
>>>> On Sun, Oct 30, 2005 at 05:43:21PM +0100, Tobias Kipfelsberger wrote:<br />
>>>>>>> > I have a plugin which is registered and loaded with the g_module<br />
functions.<br />
>>>>>>> > So far so good everything works find.<br />
>>>>>>> > But how can i let the modul access a function of the coreapplication?<br />
>>>>>>> ><br />
>>>>>>> > Example:<br />
>>>>>>> > in [[CoreApplication]].h:<br />
>>>>>>> ><br />
>>>>>>> > G''MODULE''EXPORT void<br />
>>>>>>> > set[[CoreMenuAppbarText]] (const gchar* text)<br />
>>>>>>> > {}<br />
>>>>>>> ><br />
>>>>>>> > in plugin.c:<br />
>>>>>>> ><br />
>>>>>>> > #include \"[[CoreApplication]].h\"<br />
>>>>>>> > void<br />
>>>>>>> > xyz ()<br />
>>>>>>> > {<br />
>>>>>>> > set[[CoreMenuAppbarText]](\"test\");<br />
>>>>>>> > }<br />
>>>>>>> ><br />
>>>>>>> > as i execute the programm... i always get a undefined symbol error.<br />
><br />
>><br />
><br />
>>>><br />
>>>> You have to link the program with -export-dynamic (either as<br />
>>>> ld option, or libtool link option if you use libtool).<br />
>>>><br />
<br />
<br />
<br />
This is needed because by default the symbols defined in the main app<br />
are not made visible to the plugins. And the OP should be warned there<br />
is a good reason for the default.<br />
<br />
If badly written plugins can call to the main application code they can<br />
easily make it look to the user as if '''your''' app code is broken. You<br />
should be prepared to handle the resulting support requests. Note, for<br />
example, the way the linux kernel team refuse to support bug reports<br />
from anyone running a \"tainted\" kernel.<br />
<br />
If there is a well defined API you do want plugins to access, you can<br />
place the relevant code into a shared object of its own. Then you don't<br />
need to do anything special to protect it from Murphy's Law, since only<br />
the parts deliberately exposed can be accessed easily.<br />
<br />
--------------------------<br />
From: Tor Lillqvist <tml@iki.fi><br />
<br />
First, mark the functions in the sources for the main .exe that are to<br />
be used by other modules with G''MODULE''EXPORT.<br />
<br />
Then you must decide whether you want to 1) restrict your plugins to<br />
work only with an executable with the '''exact''' name you specify, or<br />
whether you want it to be 2) more flexible and work even if you happen<br />
to rename the main executable.<br />
<br />
In case 1), create an import library for the .exe using dlltool, and<br />
link the plugin against that import library.<br />
<br />
In case 2), use g''module''open(NULL, 0) to get a GModule handle for the<br />
main executable, and the g''module''find() the function from it, and<br />
call it.<br />
----------------------<br />
From: Tor Lillqvist <tml@iki.fi><br />
Iago Rubio writes:<br />
<br />
>> It seems to me that's using gcc and GNU tools but ...<br />
>> How can it be done with the MSVC compiler ?<br />
<br />
<br />
Use lib.exe instead of dlltool.</div>Christian