how to update the files installed by the setup target

svn path=/trunk/; revision=11978
This commit is contained in:
Ulf Lamping 2004-09-12 10:41:53 +00:00
parent 0b30d8900b
commit 28dd4fbeb8
1 changed files with 55 additions and 2 deletions

View File

@ -94,6 +94,14 @@
install the required libraries as it makes this download very easy.
</para>
</tip>
<warning><title>Warning!</title>
<para>
The library zip files on the server and in the setup target will match
only for the latest sources, as old zip files will be moved into the
<filename>old</filename> folder on the server. So you cannot use the
setup target for "old" (this may even include the released) sources!
</para>
</warning>
<para>
You can download/install all required libraries by using the setup target
of the <filename>Makefile.nmake</filename> from the source package.
@ -122,13 +130,58 @@
as described already in <xref linkend="ChToolsWin32Verify"/>.
</para>
<para>
Then it will download and install (unpack) all required libraries into the
directory specified by ETHEREAL_LIBS.
Then it will download the zipped libraries into the directory specified by
ETHEREAL_LIBS and install (unzip) all required library files there.
</para>
<para>
If you have problems downloading the library files, see the wget proxy
comment in <xref linkend="ChToolsWget"/>.
</para>
<section id="ChLibsSetupUpdate">
<title>Update of a previous download</title>
<para>
As new versions of the libraries become available, maybe with bugfixes or
some new functionality, your libraries get outdated.
</para>
<para>
You could simply remove everything in the ETHEREAL_LIBS dir and call the
setup target again, but that would require to download every file again
(currently about 33MB), which isn't necessary.
</para>
<para>
The following will bring your libraries up to date:
</para>
<itemizedlist>
<listitem>
<para>
Update your Ethereal sources to the latest SVN files (see <xref
linkend="ChSrcObtaining"/>), so the zip filenames in the setup target
of Makefile.nmake is in sync with the library zip files on the server.
</para>
</listitem>
<listitem>
<para>
Remove all files previously unzipped from the downloaded files in your
ETHEREAL_LIBS library path (all the subdirs, e.g.
<filename>c:\ethereal_libs\gtk+</filename>),
except for the zip files located at the toplevel, which are the files
downloaded the last time(s). You could do this, be entering at the command line:
</para>
<para>
<prompt>&gt;</prompt> <userinput>nmake -f Makefile.nmake clean_setup</userinput>
</para>
</listitem>
<listitem>
<para>
Start the setup target described above. As wget will download only the
missing files, existing zip files in the ETHEREAL_LIBS dir won't be
downloaded again. Outdated zip files shouldn't do any harm.
</para>
</listitem>
</itemizedlist>
</section>
</section>
<section id="ChLibsGtk">