/usr/share/doc/gpsbabel/htmldoc/Source.html is in gpsbabel-doc 1.4.2-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<!-- InstanceBegin template="/Templates/primarypage.dwt" codeOutsideHTMLisLocked="false" -->
<title>Building from source.</title><meta name="generator" content="DocBook XSL Stylesheets V1.75.2" /><link rel="home" href="index.html" title="GPSBabel Documentation" /><link rel="up" href="Getting_and_Building.html" title="Chapter 1. Getting or Building GPSBabel" /><link rel="prev" href="Download.html" title="Downloading - the easy way." /><link rel="next" href="Usage.html" title="Chapter 2. Usage" /></head><body>
<!-- InstanceBeginEditable name="scontent" --><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Building from source.</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="Download.html">Prev</a> </td><th width="60%" align="center">Chapter 1. Getting or Building GPSBabel</th><td width="20%" align="right"> <a accesskey="n" href="Usage.html">Next</a></td></tr></table><hr /></div><div class="sect1" title="Building from source."><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="Source"></a>Building from source.</h2></div></div></div><p>
For operating systems where no binary is provided or if
you want the latest development version, you will have to build it from
source. The code should be compilable on any system with
ISO C89 compilers. It's been tested on UnixWare, OpenServer, OS/X,
Linux, Solaris, and a variety of processors and compilers.
</p><p>
You can grab a release from the <a class="ulink" href="http://www.gpsbabel.org/download.html" target="_top">GPSBabel download page</a>, but if you're going to be doing any development, you'll find that working from the <a class="ulink" href="http://sourceforge.net/cvs/?group_id=58972" target="_top">GPSBabel CVS tree</a> is easier.
</p><p>
In most cases, the code is as simple to build as running:
</p><p><strong class="userinput"><code> ./configure && make</code></strong></p><p><a class="ulink" href="http://expat.sourceforge.net" target="_top">Expat</a>
is strongly recommended for source builds as it is
required for reading all the XML formats such as GPX. Fedora users
may need to 'yum install expat-devel'. Ubuntu users may need to
'apt-get install expat libexpat-dev'.
</p><p><a class="ulink" href="http://libusb.sourceforge.net" target="_top">libusb</a>
is recommended for OS/X and Linux if you want to use a USB Garmin.
Fedora users may need to 'yum install libusb-devel'. Ubuntu users may
need to 'apt-get install libusb-dev'.
</p><p>There are additional flags that can be passed to configure to
customize your build of GPSBabel.
</p><p><strong class="userinput"><code>./configure --help</code></strong></p><p>
lists all the supported options, but of interest we have:</p><p>
<code class="option">--disable-shapefile</code> Excludes the shapefile support.
</p><p>
<code class="option">--disable-pdb</code> Excludes the Palm database support and all formats that rely on it.
</p><p>
<code class="option">--disable-csv</code> Excludes all support for our something-separated formats.
</p><p>
<code class="option">--disable-filters</code> Excludes all filter support.
</p><p>
<code class="option">--enable-efence</code> Activate debugging mode for gpsbabel-debug.
</p><p>
<code class="option">--with-doc=</code><code class="filename">dir</code> Specifies that the doc should be created and installed in <code class="filename">dir</code>.
</p><p>
<code class="option">--without-libusb</code> Disables use of libusb, even it's it's available.
</p><p>
<code class="option">--with-zlib=(included)|system|no</code> By default, we use our own version of zlib. If you specify <code class="option">system</code> the system zlib is used. A value of <code class="option">no</code> (or --without-zlib) disables zlib.
</p></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="Download.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="Getting_and_Building.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="Usage.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Downloading - the easy way. </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 2. Usage</td></tr></table></div>
<!-- InstanceEndEditable -->
<!-- InstanceEnd -->
</body></html>
|