* faq-programming.xml (faq.programming.building-cygwin): Add

list of packages required for building and exact check instructions.
* faq-setup.xml (faq.setup.uninstall-service): New instructions
on uninstalling a cygwin service.
(faq.setup.uninstall-all): Reference new service uninstall FAQ.
This commit is contained in:
Joshua Daniel Franklin 2006-01-26 04:39:04 +00:00
parent 4207eed323
commit 2ceb32d95a
3 changed files with 40 additions and 11 deletions

View File

@ -1,3 +1,11 @@
2006-01-25 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
* faq-programming.xml (faq.programming.building-cygwin): Add
list of packages required for building and exact check instructions.
* faq-setup.xml (faq.setup.uninstall-service): New instructions
on uninstalling a cygwin service.
(faq.setup.uninstall-all): Reference new service uninstall FAQ.
2006-01-25 Igor Peshansky <pechtcha@cs.nyu.edu> 2006-01-25 Igor Peshansky <pechtcha@cs.nyu.edu>
* faq-setup.xml (faq.setup.snapshots): Rename DLL using Windows tools. * faq-setup.xml (faq.setup.snapshots): Rename DLL using Windows tools.

View File

@ -422,8 +422,15 @@ rewriting the runtime library in question from specs...
<question><para>How do I build Cygwin on my own?</para></question> <question><para>How do I build Cygwin on my own?</para></question>
<answer> <answer>
<para>First, you need to get the Cygwin source. Ideally, you should check out <para>First, you need to make sure you have the necessary build tools
what you need from CVS (<ulink url="http://cygwin.com/cvs.html">http://cygwin.com/cvs.html</ulink>). This is the installed; you at least need <literal>gcc</literal>, <literal>make</literal>,
and <literal>perl</literal>. If you want to run the tests
<literal>cocom</literal> and <literal>dejagnu</literal> are also required,
and you need to have <literal>CYGWIN=server</literal> set as described at
<ulink url="http://www.cygwin.com/cygwin-ug-net/using-cygserver.html" />.
Next, get the Cygwin source. Ideally, you should check out
what you need from CVS (<ulink url="http://cygwin.com/cvs.html" />). This is the
<emphasis>preferred method</emphasis> for acquiring the sources. Otherwise, you can <emphasis>preferred method</emphasis> for acquiring the sources. Otherwise, you can
install the cygwin source package from the distribution. install the cygwin source package from the distribution.
</para> </para>
@ -450,10 +457,10 @@ cd build
make install &gt; install.log 2&gt;&amp;1 make install &gt; install.log 2&gt;&amp;1
</screen> </screen>
<para>Normally, this procedure ignore errors in building the documentation. <para>Normally, this procedure ignores errors in building the documentation.
which requires the <literal>docbook-xml</literal>, <literal>docbook-xsl</literal>, and which requires the <literal>docbook-xml42</literal>, <literal>docbook-xsl</literal>, and
<literal>xmlto</literal> packages. For more information on building the <literal>xmlto</literal> packages. For more information on building the
documentation, see the README included in the cygwin-doc package. documentation, see the README included in the <literal>cygwin-doc</literal> package.
</para> </para>
<para>To check a cygwin1.dll, run "make check" in the winsup/testsuite <para>To check a cygwin1.dll, run "make check" in the winsup/testsuite
directory. If that works, install everything <emphasis>except</emphasis> the dll (if directory. If that works, install everything <emphasis>except</emphasis> the dll (if

View File

@ -320,6 +320,20 @@ the action reads ``Uninstall''. Proceed by clicking ``Next''.
</para> </para>
</answer></qandaentry> </answer></qandaentry>
<qandaentry id="faq.setup.uninstall-service">
<question><para>How do I uninstall a Cygwin service?</para></question>
<answer>
<para>If you don't know the name of the service, you can list all
services you have installed with <literal>cygrunsrv -L</literal>. Before
removing the service, you should stop it with
<literal>cygrunsrv --stop <replaceable>service_name</replaceable></literal>.
If you have <literal>inetd</literal> configured to run as a standalone
service, it will not show up in the list, but <literal>cygrunsrv --stop inetd</literal>
will work to stop it as well. Lastly, remove the service with
<literal>cygrunsrv --remove <replaceable>service_name</replaceable></literal>.
</para>
</answer></qandaentry>
<qandaentry id="faq.setup.uninstall-all"> <qandaentry id="faq.setup.uninstall-all">
<question><para>How do I uninstall <emphasis role='bold'>all</emphasis> of Cygwin?</para></question> <question><para>How do I uninstall <emphasis role='bold'>all</emphasis> of Cygwin?</para></question>
<answer> <answer>
@ -328,11 +342,11 @@ the action reads ``Uninstall''. Proceed by clicking ``Next''.
of Cygwin is as follows: of Cygwin is as follows:
</para> </para>
<orderedlist> <orderedlist>
<listitem><para>Remove all Cygwin services. If a service is currently running, it must <listitem><para>First remove all Cygwin services by repeating the instructions
first be stopped with <literal>cygrunsrv -E name</literal>, where <literal>name</literal> in <ulink
is the name of the service. Then use <literal>cygrunsrv -R name</literal> to uninstall the url="http://cygwin.com/faq/faq.setup.html#faq.setup.uninstall-service" /> for
service from the registry. Repeat this for all services that you installed. all services that you installed. Common services that might have been
Common services that might have been installed are <literal>sshd</literal>, <literal>cron</literal>, installed are <literal>sshd</literal>, <literal>cron</literal>,
<literal>cygserver</literal>, <literal>inetd</literal>, <literal>apache</literal>, and so on. <literal>cygserver</literal>, <literal>inetd</literal>, <literal>apache</literal>, and so on.
</para> </para>
</listitem> </listitem>
@ -341,7 +355,7 @@ that might be running in the background. Remove all mount information by typing
<literal>umount -A</literal> and then exit the command prompt and ensure that no Cygwin <literal>umount -A</literal> and then exit the command prompt and ensure that no Cygwin
processes remain. Note: If you want to save your mount points for a later processes remain. Note: If you want to save your mount points for a later
reinstall, first save the output of <literal>mount -m</literal> as described at reinstall, first save the output of <literal>mount -m</literal> as described at
<ulink url="http://cygwin.com/cygwin-ug-net/using-utils.html#mount">http://cygwin.com/cygwin-ug-net/using-utils.html#mount</ulink>. <ulink url="http://cygwin.com/cygwin-ug-net/using-utils.html#mount" />.
</para> </para>
</listitem> </listitem>
<listitem><para>Delete the Cygwin root folder and all subfolders. If you get an error <listitem><para>Delete the Cygwin root folder and all subfolders. If you get an error