Added ppp/README
[barry/pauldeden.git] / doc / www / dependencies.php
blob5a06a2652125373b72c96bad02a293e573e721e4
1 <? createHeader("barry - Software dependencies"); ?>
3 <? include ("barry.inc"); ?>
5 <div class="subHeader">Distro Specific</div>
7 <p>Fedora systems:
8 <ul>
9 <li><b>ConsoleKit</b> - required for accessing the
10 Blackberry without root privileges.</li>
11 </ul>
12 </p>
14 <p>Debian systems:
15 <ul>
16 <li><b>fakeroot</b> - optional program to assist building your own
17 Debian binary packages without root privileges</li>
18 </ul>
19 </p>
21 <div class="subHeader">Master List of Dependencies</div>
23 <p>The following list contains all software that Barry depends on, and
24 the reason for it. Some are only needed for building the source, and
25 some are only needed for building CVS.
27 <ul>
28 <li><b>C and C++ compilers</b> (source build)</li>
29 <li><b>pkg-config</b> (source build: so configure can autodetect library locations) </li>
30 <li><b>libusb, stable (0.1.x)</b> - found at <a href="http://libusb.sourceforge.net">http://libusb.sourceforge.net/</a> </li>
31 <li><b>openssl</b> (needed for password hashing) - found at <a href="http://www.openssl.org/">http://www.openssl.org/</a></li>
32 <li><b>pthread</b>
33 <li><b>boost</b> version 1.33 or higher (optional, needed for the serialization library, which you need if you want to save downloads for later uploads to the device, using btool) <a href="http://www.boost.org/">http://www.boost.org</a></li>
34 <li><b>automake</b> version 1.9 (CVS builds only) </li>
35 <li><b>autoconf</b> version 2.61 (CVS builds only) </li>
36 <li><b>doxygen</b> suggested version 1.4.5, only for building API documentation</li>
37 <li><b>gtkmm, glademm, glibmm</b> C++ versions of the GTK libraries (needed for the barrybackup GUI)</li>
38 <li><b>libtar</b> (barrybackup GUI) </li>
39 <li><b>zlib</b> (barrybackup GUI) </li>
40 <li><b>libopensync</b> version 0.22 <i>only</i> (needed for syncing) </li>
41 <li><b>sqlite, glib2, libxml2</b> (needed for syncing, required by OpenSync) </li>
42 </ul>
43 </p>
45 <div class="subHeader">The Case of the Broken libtar</div>
47 <p>Well meaning people, in efforts to port the libtar examples to 64-bit
48 systems have introduced a bug that causes libtar to mismatch standard
49 read() and write() function call prototypes.</p>
51 <p>This bug has been seen in the Mandriva, ArchLinux, and Gentoo distros.
52 Depending on your system, and how up to date it is, it may already have been
53 fixed.</p>
55 <p>The curious can read more about this bug
56 <a href="http://sourceforge.net/mailarchive/message.php?msg_id=20070803200729.GA7068%40foursquare.net">here</a> and
57 <a href="http://sourceforge.net/mailarchive/message.php?msg_name=20080417204336.GA15423%40foursquare.net">here</a>.</p>
59 <p>Of course, you probably don't want to read the intricate details of
60 distro bugs. You just want it to work! For such systems, I usually
61 grab the libtar source RPM package from
62 <a href="ftp://ftp.nrc.ca/pub/systems/linux/redhat/fedora/linux/releases/8/Everything/source/SRPMS/libtar-1.2.11-9.fc8.src.rpm">here</a> and then run:
63 <pre>
64 rpm -i libtar-1.2.11-9.fc8.src.rpm
65 (become root)
66 cd /usr/src/packages/SPECS
67 rpmbuild -ba libtar.spec
68 rpm -i ../RPMS/*/libtar*rpm
69 </pre>
70 </p>
73 <div class="subHeader">Dependency Packages for Common Distros</div>
75 <p>The following is a list of packages you'll need to install to build Barry
76 from source, if you are using one of the below common distributions. Other
77 distributions should have similar package names.
79 <ul>
81 <p><b>Fedora 5 and 6:</b></p>
82 <p>Use the yum package manager to install the following:
83 <ul>
84 <li> pkgconfig </li>
85 <li> libusb-devel </li>
86 <li> openssl-devel </li>
87 <li> boost-devel (optional) </li>
88 <li> libtar (libtar-devel on Fedora 6) </li>
89 <li> gtkmm24-devel </li>
90 <li> glibmm24-devel </li>
91 <li> libglademm24-devel </li>
92 <li> zlib-devel </li>
93 </ul>
95 <p><b>Debian stable:</b></p>
96 <p>Use the apt-get package manager to install the following:
97 <ul>
98 <li> pkg-config </li>
99 <li> libusb-dev </li>
100 <li> libssl-dev </li>
101 <li> libboost-serialization-dev </li>
102 <li> libtar-dev </li>
103 <li> libgtkmm-2.4-dev </li>
104 <li> libglibmm-2.4-dev </li>
105 <li> libglademm-2.4-dev </li>
106 <li> zlib1g-dev </li>
107 </ul>
109 </ul>