diff options
author | ng0 <ng0@infotropique.org> | 2017-09-07 13:47:14 +0000 |
---|---|---|
committer | ng0 <ng0@infotropique.org> | 2017-09-07 13:47:14 +0000 |
commit | d6fee7e016217462627b02ec7561c7696ed68402 (patch) | |
tree | a2424d02b97361fcecfb9bf99b2c0ae19ef79a3c /doc | |
parent | 618f08aa628c0d99b91ab0cf5fd3eac59871ae4c (diff) | |
download | gnunet-d6fee7e016217462627b02ec7561c7696ed68402.tar.gz gnunet-d6fee7e016217462627b02ec7561c7696ed68402.zip |
doc: trim chapters/installation.texi to move some very old
instructions into an "archive" file.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/Makefile.am | 3 | ||||
-rw-r--r-- | doc/chapters/installation.texi | 511 | ||||
-rw-r--r-- | doc/outdated-and-old-installation-instructions.txt | 672 |
3 files changed, 678 insertions, 508 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am index 1e5a12321..72c073496 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am | |||
@@ -75,7 +75,8 @@ gnunet_TEXINFOS = \ | |||
75 | EXTRA_DIST = \ | 75 | EXTRA_DIST = \ |
76 | $(gnunet_TEXINFOS) \ | 76 | $(gnunet_TEXINFOS) \ |
77 | $(gnunet_doc_images) \ | 77 | $(gnunet_doc_images) \ |
78 | $(gnunet_tutorial_examples) | 78 | $(gnunet_tutorial_examples) \ |
79 | outdated-and-old-installation-instructions.txt | ||
79 | 80 | ||
80 | version.texi: | 81 | version.texi: |
81 | echo "@set UPDATED $(date +'%d %B %Y')" > $@ | 82 | echo "@set UPDATED $(date +'%d %B %Y')" > $@ |
diff --git a/doc/chapters/installation.texi b/doc/chapters/installation.texi index be458981f..edbad84de 100644 --- a/doc/chapters/installation.texi +++ b/doc/chapters/installation.texi | |||
@@ -1190,15 +1190,14 @@ and Postgres better resillience. | |||
1190 | This chapter contains a collection of outdated, older installation guides. They | 1190 | This chapter contains a collection of outdated, older installation guides. They |
1191 | are mostly intended to serve as a starting point for writing up-to-date | 1191 | are mostly intended to serve as a starting point for writing up-to-date |
1192 | instructions and should not be expected to work for GNUnet 0.10.x. | 1192 | instructions and should not be expected to work for GNUnet 0.10.x. |
1193 | A set of older installation instructions can also be found in the | ||
1194 | @file{doc/outdated-and-old-installation-instructions.txt} in the source | ||
1195 | of GNUnet. This file covers old instructions which no longer receive | ||
1196 | security updates or any kind of support. | ||
1193 | 1197 | ||
1194 | 1198 | ||
1195 | @menu | 1199 | @menu |
1196 | * Installing GNUnet 0.10.1 on Ubuntu 14.04:: | 1200 | * Installing GNUnet 0.10.1 on Ubuntu 14.04:: |
1197 | * Build instructions for FreeBSD 8:: | ||
1198 | * Basic installation for Mac OS X:: | ||
1199 | * Basic Installation for Fedora/PlanetLab nodes running Fedora 12:: | ||
1200 | * Basic Installation for Fedora/PlanetLab nodes running Fedora 8 .:: | ||
1201 | * Build instructions for Gentoo:: | ||
1202 | * Building GLPK for MinGW:: | 1201 | * Building GLPK for MinGW:: |
1203 | * GUI build instructions for Ubuntu 12.04 using Subversion:: | 1202 | * GUI build instructions for Ubuntu 12.04 using Subversion:: |
1204 | * Installation with gnunet-update:: | 1203 | * Installation with gnunet-update:: |
@@ -1297,508 +1296,6 @@ After installing it, you need to create an empty configuration file:@ | |||
1297 | And finally you can start GNUnet with@ | 1296 | And finally you can start GNUnet with@ |
1298 | @code{$ gnunet-arm -s} | 1297 | @code{$ gnunet-arm -s} |
1299 | 1298 | ||
1300 | |||
1301 | @node Build instructions for FreeBSD 8 | ||
1302 | @subsection Build instructions for FreeBSD 8 | ||
1303 | |||
1304 | To get GNUnet 0.9 to compile on FreeBSD (at least FreeBSD 8.0):@ in order to | ||
1305 | install the library @code{libiconv}, at first change the directory to your | ||
1306 | ports directory, e.g.@ | ||
1307 | @code{@ | ||
1308 | $ cd /usr/ports/@ | ||
1309 | }@ | ||
1310 | following that, go to the install file of @code{libiconv} and install it,@ | ||
1311 | @code{@ | ||
1312 | $ cd converters/libiconv,@ | ||
1313 | $ make install@ | ||
1314 | } | ||
1315 | |||
1316 | after that, change the directory to where you will check out | ||
1317 | @code{libextractor} and GNUnet, and install latest @code{libextractor},@ | ||
1318 | first of all, checkout @code{libextractor}, e.g.@ | ||
1319 | @code{@ | ||
1320 | $ svn co https://gnunet.org/svn/Extractor@ | ||
1321 | }@ | ||
1322 | then change the directory into which it was checked out, e.g.@ | ||
1323 | @code{@ | ||
1324 | $ cd Extractor@ | ||
1325 | }@ | ||
1326 | before the installation, you should do following steps,@ | ||
1327 | |||
1328 | @example | ||
1329 | $ ./bootstrap@ | ||
1330 | $ ./configure --with-ltdl-include=/usr/local/include \ | ||
1331 | --with-ltdl-lib=/usr/local/lib@ | ||
1332 | @end example | ||
1333 | |||
1334 | if these steps complete successfully, you can install the library,@ | ||
1335 | |||
1336 | @example | ||
1337 | $ make install@ | ||
1338 | @end example | ||
1339 | |||
1340 | to check out the GNUnet, you should do the similar steps as | ||
1341 | @code{libextractor}, firstly, change back to starting directory, e.g.@ | ||
1342 | @code{@ | ||
1343 | $ cd ../@ | ||
1344 | }@ | ||
1345 | Set the following environmental variables:@ | ||
1346 | @code{@ | ||
1347 | export CPPFLAGS="-I/usr/local/include"@ | ||
1348 | export LDFLAGS="-L/usr/local/lib"@ | ||
1349 | }@ | ||
1350 | next, checkout GNUnet using@ | ||
1351 | @code{@ | ||
1352 | $ svn co https://gnunet.org/svn/gnunet@ | ||
1353 | }@ | ||
1354 | then change directory into newly checked out directory,@ | ||
1355 | @code{@ | ||
1356 | $ cd gnunet@ | ||
1357 | }@ | ||
1358 | at last, start to install GNUnet,@ | ||
1359 | |||
1360 | @example | ||
1361 | $ ./bootstrap@ | ||
1362 | $ ./configure --with-ltdl-include=/usr/local/include \ | ||
1363 | --with-ltdl-lib=/usr/local/lib --with-extractor=/usr/local | ||
1364 | |||
1365 | ## NOTE: you may not need the --with-extractor option!@ | ||
1366 | |||
1367 | $ make install | ||
1368 | @end example | ||
1369 | |||
1370 | @node Basic installation for Mac OS X | ||
1371 | @subsection Basic installation for Mac OS X | ||
1372 | |||
1373 | This documentation may be outdated! | ||
1374 | |||
1375 | This page is providing guidelines for users trying to install GNUnet on Mac OS | ||
1376 | X.@ Mainly users trying to install GNUnet by building source code are the most | ||
1377 | welcome readers.@ The steps below are tested on an Intel Architecture running | ||
1378 | Mac OS X Tiger (10.4.11). Ideally they should work on other Mac boxes with | ||
1379 | different configurations as all the configuration done for it is dependent on | ||
1380 | @uref{http://www.macports.org/, MacPorts} | ||
1381 | |||
1382 | For having GNUnet installed successfully, some dependencies should be firstly | ||
1383 | resolved: | ||
1384 | |||
1385 | @itemize @bullet | ||
1386 | |||
1387 | @item | ||
1388 | Install/Update your @uref{http://developer.apple.com/tools/xcode/, Xcode} | ||
1389 | version 3.2.1 or later for Snow Leopard, 3.1.4 or later for Leopard, or 2.5 for | ||
1390 | Tiger. | ||
1391 | |||
1392 | @item | ||
1393 | Download and install @uref{http://www.macports.org/, MacPorts}.@ | ||
1394 | Now you are ready for installing GNunet dependencies. | ||
1395 | |||
1396 | @item | ||
1397 | First, you'd better make sure that: /opt/local/bin and /opt/local/sbin are | ||
1398 | available in your PATH. (For doing so, open a terminal and type:@ | ||
1399 | |||
1400 | @example | ||
1401 | $ echo $PATH | ||
1402 | @end example | ||
1403 | |||
1404 | and examine the output of it). If the paths are not available in your | ||
1405 | environment, you have to add them (You can add them by editing your .profile | ||
1406 | file in your home directory, append them to the PATH line). Then type: | ||
1407 | @example | ||
1408 | $ source ~/.profile | ||
1409 | @end example | ||
1410 | |||
1411 | and re-examine the echo command output. | ||
1412 | |||
1413 | @item | ||
1414 | Use MacPorts to download and install the dependencies:@ | ||
1415 | The libraries are: | ||
1416 | |||
1417 | @itemize @bullet | ||
1418 | |||
1419 | @item | ||
1420 | @uref{http://trac.macports.org/browser/trunk/dports/www/libmicrohttpd/Portfile, libmicrohttpd.} | ||
1421 | |||
1422 | @item | ||
1423 | @uref{http://trac.macports.org/browser/trunk/dports/devel/libgcrypt/Portfile, libgcrypt.} | ||
1424 | |||
1425 | @item | ||
1426 | @uref{http://trac.macports.org/browser/trunk/dports/net/curl/Portfile, libcurl.} | ||
1427 | |||
1428 | @item | ||
1429 | @uref{http://trac.macports.org/browser/trunk/dports/devel/libtool/Portfile, libltdl.} | ||
1430 | |||
1431 | @item | ||
1432 | @uref{http://trac.macports.org/browser/trunk/dports/databases/sqlite3/Portfile, SQlite.} | ||
1433 | |||
1434 | @item | ||
1435 | libunistring | ||
1436 | |||
1437 | @item | ||
1438 | glpk | ||
1439 | |||
1440 | @end itemize | ||
1441 | |||
1442 | The port command is as follows:@ | ||
1443 | @example | ||
1444 | port install libmicrohttpd libgcrypt curl libtool sqlite3 linunistring glpk | ||
1445 | @end example | ||
1446 | One of the dependencies, the libextractor, should be explicitly installed, | ||
1447 | since the version available from macports is outdated to work with GNUnet. To | ||
1448 | install the latest libextractor: | ||
1449 | @itemize @bullet | ||
1450 | |||
1451 | |||
1452 | @item | ||
1453 | Install the Subversion Client:@ | ||
1454 | For more information about Subversion visit: | ||
1455 | @uref{http://subversion.tigris.org/, http://subversion.tigris.org/} | ||
1456 | |||
1457 | @example | ||
1458 | # port install subversion | ||
1459 | @end example | ||
1460 | |||
1461 | |||
1462 | @item | ||
1463 | Use Subversion to download the latest Extractor: | ||
1464 | @example | ||
1465 | $ svn checkout https://gnunet.org/svn/Extractor | ||
1466 | @end example | ||
1467 | |||
1468 | |||
1469 | @item | ||
1470 | Go to the installation directory of the Extractor, compile and install it: | ||
1471 | @example | ||
1472 | $ ./bootstrap | ||
1473 | $ export CPPFLAGS="-I/opt/local/include" | ||
1474 | $ export LDFLAGS="-L/opt/local/lib" | ||
1475 | $ ./configure --prefix=/opt/local | ||
1476 | $ make | ||
1477 | # make install | ||
1478 | @end example | ||
1479 | |||
1480 | @end itemize | ||
1481 | |||
1482 | |||
1483 | @item | ||
1484 | Now, your system is ready to install GNunet. If you downloaded GNUnet by | ||
1485 | checking it out from svn, you should start by running the bootstrap script. | ||
1486 | Open a terminal pointing to the GNUnet directory and type:@ | ||
1487 | |||
1488 | @example | ||
1489 | $ ./bootstrap | ||
1490 | @end example | ||
1491 | |||
1492 | |||
1493 | @item | ||
1494 | Run the configure script: | ||
1495 | @example | ||
1496 | $ export CPPFLAGS="-I/opt/local/include" | ||
1497 | $ export LDFLAGS="-L/opt/local/lib" | ||
1498 | $ ./configure --prefix=/tmp/gnunet_build | ||
1499 | @end example | ||
1500 | |||
1501 | |||
1502 | GNUnet will be installed in the directory /tmp/gnunet_build (Of course that | ||
1503 | installation path can be changed).@ The CPPFLAGS and LDFLAGS are mentioned in | ||
1504 | order to inform the compiler and the linker to lookup headers and libraries in | ||
1505 | /opt/local/include and /opt/local/lib. | ||
1506 | |||
1507 | @item | ||
1508 | Compile@ | ||
1509 | |||
1510 | @example | ||
1511 | $ make | ||
1512 | @end example | ||
1513 | |||
1514 | |||
1515 | @item | ||
1516 | Install GNUnet | ||
1517 | @example | ||
1518 | # make install | ||
1519 | @end example | ||
1520 | |||
1521 | @end itemize | ||
1522 | |||
1523 | @node Basic Installation for Fedora/PlanetLab nodes running Fedora 12 | ||
1524 | @subsection Basic Installation for Fedora/PlanetLab nodes running Fedora 12 | ||
1525 | |||
1526 | |||
1527 | @strong{This documentation is outdated and not valid for GNUnet 0.10.0!}@ | ||
1528 | |||
1529 | GNUnet installation on Fedora 8/Planetlab nodes can be done as following: | ||
1530 | |||
1531 | 1. Install the build tools to build GNUnet@ | ||
1532 | @example | ||
1533 | sudo yum -y -t --nogpgcheck install gcc make autoconf gettext-devel \ | ||
1534 | texinfo subversion@ | ||
1535 | @end example | ||
1536 | |||
1537 | 2. Install the GNUnet dependencies@ | ||
1538 | @example | ||
1539 | sudo yum -y -t --nogpgcheck install libunistring-devel libunistring-devel \ | ||
1540 | libgcrypt-devel zlib-devel sqlite-devel postgresql-devel mysql-devel \ | ||
1541 | libgsf-devel libvorbis-devel@ | ||
1542 | @end example | ||
1543 | |||
1544 | 3. Install outdated dependencies from source@ | ||
1545 | libtool@ | ||
1546 | @example | ||
1547 | wget http://ftp.gnu.org/gnu/libtool/libtool-2.4.2.tar.gz@ | ||
1548 | tar xvfz libtool-2.4.2.tar.gz@ | ||
1549 | cd libtool-2.4.2@ | ||
1550 | ./configure@ | ||
1551 | sudo make install@ | ||
1552 | @end example | ||
1553 | |||
1554 | glpk@ | ||
1555 | @example | ||
1556 | wget http://ftp.gnu.org/gnu/glpk/glpk-4.47.tar.gz@ | ||
1557 | tar xvfz glpk-4.47.tar.gz@ | ||
1558 | cd glpk-4.47@ | ||
1559 | ./configure@ | ||
1560 | sudo make install@ | ||
1561 | @end example | ||
1562 | |||
1563 | libcurl@ | ||
1564 | @example | ||
1565 | wget http://curl.haxx.se/download/curl-7.26.0.tar.gz@ | ||
1566 | tar xvfz curl-7.26.0.tar.gz@ | ||
1567 | cd curl-7.26.0@ | ||
1568 | ./configure@ | ||
1569 | sudo make install@ | ||
1570 | @end example | ||
1571 | |||
1572 | 4. Install libextractor@ | ||
1573 | @example | ||
1574 | svn co https://gnunet.org/svn/libextractor@ | ||
1575 | cd libextractor@ | ||
1576 | libtoolize@ | ||
1577 | ./bootstrap@ | ||
1578 | ./configure@ | ||
1579 | sudo make install@ | ||
1580 | @end example | ||
1581 | |||
1582 | 5. Install libmicrohttpd@ | ||
1583 | @example | ||
1584 | svn co https://gnunet.org/svn/libmicrohttpd@ | ||
1585 | cd libmicrohttpd@ | ||
1586 | libtoolize@ | ||
1587 | ./bootstrap@ | ||
1588 | ./configure@ | ||
1589 | sudo make install@ | ||
1590 | @end example | ||
1591 | |||
1592 | 6. Set GNUnet prefix and add to PATH@ | ||
1593 | @example | ||
1594 | export GNUNET_PREFIX=@ | ||
1595 | export PATH=$PATH:$GNUNET_PREFIX/bin@ | ||
1596 | @end example | ||
1597 | |||
1598 | 7. Install GNUnet from svn@ | ||
1599 | @example | ||
1600 | export LD_LIBRARY_PATH=/usr/local/lib@ | ||
1601 | svn co https://gnunet.org/svn/gnunet@ | ||
1602 | cd gnunet@ | ||
1603 | libtoolize@ | ||
1604 | ./bootstrap@ | ||
1605 | ./configure --prefix=$GNUNET_PREFIX --with-extractor=/usr \ | ||
1606 | --with-mysql=/usr/lib/mysql --enable-logging=verbose@ | ||
1607 | make install@ | ||
1608 | @end example | ||
1609 | |||
1610 | Done! | ||
1611 | |||
1612 | @node Basic Installation for Fedora/PlanetLab nodes running Fedora 8 . | ||
1613 | @subsection Basic Installation for Fedora/PlanetLab nodes running Fedora 8 . | ||
1614 | @c %**end of header | ||
1615 | |||
1616 | @strong{This documentation is outdated and not valid for GNUnet 0.10.0!}@ | ||
1617 | GNUnet installation on Fedora 8/Planetlab nodes can be done as following: | ||
1618 | |||
1619 | 1. Install the build tools to build GNUnet@ | ||
1620 | @example | ||
1621 | sudo yum -y -t --nogpgcheck install gcc make automake autoconf gettext-devel \ | ||
1622 | texinfo zlib-devel subversion@ | ||
1623 | @end example | ||
1624 | |||
1625 | 2. Install the GNUnet dependencies@ | ||
1626 | @example | ||
1627 | sudo yum -y -t --nogpgcheck install gnutls-devel gnutls-devel libgcrypt-devel \ | ||
1628 | sqlite-devel postgresql-devel mysql-devel libgsf-devel libvorbis-devel \ | ||
1629 | libidn-devel | ||
1630 | @end example | ||
1631 | |||
1632 | 3. Install outdated dependencies from source@ | ||
1633 | libtool@ | ||
1634 | @code{@ | ||
1635 | wget http://ftp.gnu.org/gnu/libtool/libtool-2.4.2.tar.gz@ | ||
1636 | tar xvfz libtool-2.4.2.tar.gz@ | ||
1637 | cd libtool-2.4.2@ | ||
1638 | ./configure@ | ||
1639 | sudo make install@ | ||
1640 | } | ||
1641 | |||
1642 | libtool@ | ||
1643 | @code{@ | ||
1644 | wget http://ftp.gnu.org/gnu/libtool/libtool-2.4.2.tar.gz@ | ||
1645 | tar xvfz libtool-2.4.2.tar.gz@ | ||
1646 | cd libtool-2.4.2@ | ||
1647 | ./configure@ | ||
1648 | sudo make install@ | ||
1649 | } | ||
1650 | |||
1651 | glpk@ | ||
1652 | @code{@ | ||
1653 | wget http://ftp.gnu.org/gnu/glpk/glpk-4.47.tar.gz@ | ||
1654 | tar xvfz glpk-4.47.tar.gz@ | ||
1655 | cd glpk-4.47@ | ||
1656 | ./configure@ | ||
1657 | sudo make install@ | ||
1658 | } | ||
1659 | |||
1660 | libgpg-error@ | ||
1661 | @code{@ | ||
1662 | wget ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-1.10.tar.bz2@ | ||
1663 | tar xvfj libgpg-error-1.10.tar.bz2@ | ||
1664 | cd libgpg-error-1.10@ | ||
1665 | ./configure --prefix=/usr@ | ||
1666 | sudo make install@ | ||
1667 | } | ||
1668 | |||
1669 | libgcrypt@ | ||
1670 | @code{@ | ||
1671 | wget ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-1.5.0.tar.bz2@ | ||
1672 | tar xvfj libgcrypt-1.5.0.tar.tar.bz2@ | ||
1673 | cd libgcrypt-1.5.0@ | ||
1674 | ./configure --prefix=/usr@ | ||
1675 | sudo make install@ | ||
1676 | } | ||
1677 | |||
1678 | libcurl@ | ||
1679 | @code{@ | ||
1680 | wget http://curl.haxx.se/download/curl-7.26.0.tar.gz@ | ||
1681 | tar xvfz curl-7.26.0.tar.gz@ | ||
1682 | cd curl-7.26.0@ | ||
1683 | ./configure@ | ||
1684 | sudo make install@ | ||
1685 | } | ||
1686 | |||
1687 | libunistring@ | ||
1688 | @code{@ | ||
1689 | wget http://ftp.gnu.org/gnu/libunistring/libunistring-0.9.3.tar.gz@ | ||
1690 | tar xvfz libunistring-0.9.3.tar.gz@ | ||
1691 | cd libunistring-0.9.3@ | ||
1692 | ./configure@ | ||
1693 | sudo make install@ | ||
1694 | } | ||
1695 | |||
1696 | 4. Remove conflicting packages@ | ||
1697 | @code{@ | ||
1698 | sudo rpm -e --nodeps libgcrypt libgpg-error@ | ||
1699 | } | ||
1700 | |||
1701 | 4. Install libextractor@ | ||
1702 | @code{@ | ||
1703 | wget ftp://ftp.gnu.org/gnu/libextractor/libextractor-0.6.3.tar.gz@ | ||
1704 | tar xvfz libextractor-0.6.3.tar.gz@ | ||
1705 | cd libextractor-0.6.3@ | ||
1706 | ./configure@ | ||
1707 | sudo make install@ | ||
1708 | } | ||
1709 | |||
1710 | 5. Install libmicrohttpd and dependencies | ||
1711 | |||
1712 | nettle@ | ||
1713 | @code{@ | ||
1714 | wget http://ftp.gnu.org/gnu/nettle/nettle-2.5.tar.gz@ | ||
1715 | tar xvfz nettle-2.5.tar.gz@ | ||
1716 | cd nettle-2.5@ | ||
1717 | ./configure@ | ||
1718 | sudo make install@ | ||
1719 | } | ||
1720 | |||
1721 | GnuTLS@ | ||
1722 | @code{@ | ||
1723 | wget http://ftp.gnu.org/gnu/gnutls/gnutls-2.12.20.tar.bz2@ | ||
1724 | tar xvfj gnutls-2.12.20.tar.bz2@ | ||
1725 | cd gnutls-2.12.20@ | ||
1726 | ./configure --without-p11-kit@ | ||
1727 | sudo make install@ | ||
1728 | } | ||
1729 | |||
1730 | libmicrohttpd@ | ||
1731 | @code{@ | ||
1732 | wget ftp://ftp.gnu.org/gnu/libmicrohttpd/libmicrohttpd-0.9.21.tar.gz@ | ||
1733 | tar xvfz libmicrohttpd-0.9.21.tar.gz@ | ||
1734 | cd libmicrohttpd-0.9.21@ | ||
1735 | ./configure@ | ||
1736 | sudo make install@ | ||
1737 | } | ||
1738 | |||
1739 | 6. Set GNUnet prefix and add to PATH@ | ||
1740 | @code{@ | ||
1741 | export GNUNET_PREFIX=@ | ||
1742 | export PATH=$PATH:$GNUNET_PREFIX/bin@ | ||
1743 | } | ||
1744 | |||
1745 | 7. Install GNUnet from svn@ | ||
1746 | @example | ||
1747 | export LD_LIBRARY_PATH=/usr/local/lib@ | ||
1748 | svn co https://gnunet.org/svn/gnunet@ | ||
1749 | cd gnunet@ | ||
1750 | libtoolize@ | ||
1751 | ./bootstrap@ | ||
1752 | ./configure --prefix=$GNUNET_PREFIX --with-extractor=/usr/local \ | ||
1753 | --with-curl=/usr/local --with-mysql=/usr/lib/mysql --enable-logging=verbose@ | ||
1754 | make install@ | ||
1755 | @end example | ||
1756 | |||
1757 | Done! | ||
1758 | |||
1759 | @node Build instructions for Gentoo | ||
1760 | @subsection Build instructions for Gentoo | ||
1761 | |||
1762 | |||
1763 | This page describes how to install GNUnet 0.9 on Gentoo. | ||
1764 | |||
1765 | Since the GNUnet 0.9 ebuilds are not in the official portage tree yet, we need | ||
1766 | to add them to the local portage overlay. All the commands below should be | ||
1767 | executed as root. | ||
1768 | |||
1769 | Specify your local portage directory in the /etc/make.conf, for example:@ | ||
1770 | @code{$ echo 'PORTDIR_OVERLAY="/usr/local/portage"' >> /etc/make.conf} | ||
1771 | |||
1772 | Create directories for the ebuilds:@ | ||
1773 | @code{$ mkdir -p /usr/local/portage/media-libs/libextractor /usr/local/portage/net-p2p/gnunet/files} | ||
1774 | |||
1775 | Download the latest ebuilds, init and config files from here and put them into | ||
1776 | respective directories:@ | ||
1777 | @code{$ cp libextractor-0.6.2.ebuild /usr/local/portage/media-libs/libextractor@ | ||
1778 | $ cp gnunet-0.9.2.ebuild /usr/local/portage/net-p2p/gnunet@ | ||
1779 | $ cp gnunet-0.9.2.conf gnunet-0.9.2.confd gnunet-0.9.2.initd /usr/local/portage/net-p2p/gnunet/files} | ||
1780 | |||
1781 | Generate Manifest files for the ebuilds:@ | ||
1782 | @code{$ cd /usr/local/portage/net-p2p/gnunet@ | ||
1783 | $ ebuild gnunet-0.9.2.ebuild digest@ | ||
1784 | $ cd /usr/local/portage/media-libs/libextractor@ | ||
1785 | $ ebuild libextractor-0.6.2.ebuild digest} | ||
1786 | |||
1787 | Unmask GNUnet and dependencies in the /etc/portage/package.keywords. For | ||
1788 | example, if you use x86-64 architecture, add the following lines:@ | ||
1789 | @code{net-p2p/gnunet ~amd64@ | ||
1790 | media-libs/libextractor ~amd64@ | ||
1791 | net-libs/libmicrohttpd ~amd64@ | ||
1792 | net-misc/curl ~amd64} | ||
1793 | |||
1794 | Add either sqlite or mysql USE-flag in the /etc/portage/package.use:@ | ||
1795 | @code{net-p2p/gnunet sqlite} | ||
1796 | |||
1797 | Now everything is ready to install GNUnet:@ | ||
1798 | @code{$ emerge -av gnunet} | ||
1799 | |||
1800 | Use /etc/init.d/gnunet to start/stop GNUnet. | ||
1801 | |||
1802 | @node Building GLPK for MinGW | 1299 | @node Building GLPK for MinGW |
1803 | @subsection Building GLPK for MinGW | 1300 | @subsection Building GLPK for MinGW |
1804 | 1301 | ||
diff --git a/doc/outdated-and-old-installation-instructions.txt b/doc/outdated-and-old-installation-instructions.txt new file mode 100644 index 000000000..f2cbe1847 --- /dev/null +++ b/doc/outdated-and-old-installation-instructions.txt | |||
@@ -0,0 +1,672 @@ | |||
1 | # This file contains pieces from chapter/installation.texi for systems where the LTS or otherwise support | ||
2 | # ended. They can be useful for people trying to write new installation instructions for those systems. | ||
3 | # In particual this covers: | ||
4 | # - FreeBSD 8 | ||
5 | # - Mac OS X Tiger | ||
6 | # - Fedora 8 | ||
7 | # - Gentoo with GNUnet 0.9 | ||
8 | # | ||
9 | # Sources for LTS and support ranges: | ||
10 | # https://www.freebsd.org/security/security.html#sup | ||
11 | # https://support.microsoft.com/en-us/help/17140/lifecycle-faq-general-policy-questions | ||
12 | # Mac products, OS is supposedly similar (no official statements exist): https://web.archive.org/web/20160706101225/https://support.apple.com/en-us/HT201624 | ||
13 | # https://wiki.debian.org/LTS | ||
14 | # https://www.ubuntu.com/info/release-end-of-life | ||
15 | |||
16 | @node Build instructions for Gentoo | ||
17 | @subsection Build instructions for Gentoo | ||
18 | |||
19 | |||
20 | This page describes how to install GNUnet 0.9 on Gentoo. | ||
21 | |||
22 | Since the GNUnet 0.9 ebuilds are not in the official portage tree yet, we need | ||
23 | to add them to the local portage overlay. All the commands below should be | ||
24 | executed as root. | ||
25 | |||
26 | Specify your local portage directory in the /etc/make.conf, for example:@ | ||
27 | @code{$ echo 'PORTDIR_OVERLAY="/usr/local/portage"' >> /etc/make.conf} | ||
28 | |||
29 | Create directories for the ebuilds:@ | ||
30 | @code{$ mkdir -p /usr/local/portage/media-libs/libextractor /usr/local/portage/net-p2p/gnunet/files} | ||
31 | |||
32 | Download the latest ebuilds, init and config files from here and put them into | ||
33 | respective directories:@ | ||
34 | @code{$ cp libextractor-0.6.2.ebuild /usr/local/portage/media-libs/libextractor@ | ||
35 | $ cp gnunet-0.9.2.ebuild /usr/local/portage/net-p2p/gnunet@ | ||
36 | $ cp gnunet-0.9.2.conf gnunet-0.9.2.confd gnunet-0.9.2.initd /usr/local/portage/net-p2p/gnunet/files} | ||
37 | |||
38 | Generate Manifest files for the ebuilds:@ | ||
39 | @code{$ cd /usr/local/portage/net-p2p/gnunet@ | ||
40 | $ ebuild gnunet-0.9.2.ebuild digest@ | ||
41 | $ cd /usr/local/portage/media-libs/libextractor@ | ||
42 | $ ebuild libextractor-0.6.2.ebuild digest} | ||
43 | |||
44 | Unmask GNUnet and dependencies in the /etc/portage/package.keywords. For | ||
45 | example, if you use x86-64 architecture, add the following lines:@ | ||
46 | @code{net-p2p/gnunet ~amd64@ | ||
47 | media-libs/libextractor ~amd64@ | ||
48 | net-libs/libmicrohttpd ~amd64@ | ||
49 | net-misc/curl ~amd64} | ||
50 | |||
51 | Add either sqlite or mysql USE-flag in the /etc/portage/package.use:@ | ||
52 | @code{net-p2p/gnunet sqlite} | ||
53 | |||
54 | Now everything is ready to install GNUnet:@ | ||
55 | @code{$ emerge -av gnunet} | ||
56 | |||
57 | Use /etc/init.d/gnunet to start/stop GNUnet. | ||
58 | |||
59 | |||
60 | |||
61 | |||
62 | @node Basic Installation for Fedora/PlanetLab nodes running Fedora 8 . | ||
63 | @subsection Basic Installation for Fedora/PlanetLab nodes running Fedora 8 . | ||
64 | @c %**end of header | ||
65 | |||
66 | @strong{This documentation is outdated and not valid for GNUnet 0.10.0!}@ | ||
67 | GNUnet installation on Fedora 8/Planetlab nodes can be done as following: | ||
68 | |||
69 | 1. Install the build tools to build GNUnet@ | ||
70 | @example | ||
71 | sudo yum -y -t --nogpgcheck install gcc make automake autoconf gettext-devel \ | ||
72 | texinfo zlib-devel subversion@ | ||
73 | @end example | ||
74 | |||
75 | 2. Install the GNUnet dependencies@ | ||
76 | @example | ||
77 | sudo yum -y -t --nogpgcheck install gnutls-devel gnutls-devel libgcrypt-devel \ | ||
78 | sqlite-devel postgresql-devel mysql-devel libgsf-devel libvorbis-devel \ | ||
79 | libidn-devel | ||
80 | @end example | ||
81 | |||
82 | 3. Install outdated dependencies from source@ | ||
83 | libtool@ | ||
84 | @code{@ | ||
85 | wget http://ftp.gnu.org/gnu/libtool/libtool-2.4.2.tar.gz@ | ||
86 | tar xvfz libtool-2.4.2.tar.gz@ | ||
87 | cd libtool-2.4.2@ | ||
88 | ./configure@ | ||
89 | sudo make install@ | ||
90 | } | ||
91 | |||
92 | libtool@ | ||
93 | @code{@ | ||
94 | wget http://ftp.gnu.org/gnu/libtool/libtool-2.4.2.tar.gz@ | ||
95 | tar xvfz libtool-2.4.2.tar.gz@ | ||
96 | cd libtool-2.4.2@ | ||
97 | ./configure@ | ||
98 | sudo make install@ | ||
99 | } | ||
100 | |||
101 | glpk@ | ||
102 | @code{@ | ||
103 | wget http://ftp.gnu.org/gnu/glpk/glpk-4.47.tar.gz@ | ||
104 | tar xvfz glpk-4.47.tar.gz@ | ||
105 | cd glpk-4.47@ | ||
106 | ./configure@ | ||
107 | sudo make install@ | ||
108 | } | ||
109 | |||
110 | libgpg-error@ | ||
111 | @code{@ | ||
112 | wget ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-1.10.tar.bz2@ | ||
113 | tar xvfj libgpg-error-1.10.tar.bz2@ | ||
114 | cd libgpg-error-1.10@ | ||
115 | ./configure --prefix=/usr@ | ||
116 | sudo make install@ | ||
117 | } | ||
118 | |||
119 | libgcrypt@ | ||
120 | @code{@ | ||
121 | wget ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-1.5.0.tar.bz2@ | ||
122 | tar xvfj libgcrypt-1.5.0.tar.tar.bz2@ | ||
123 | cd libgcrypt-1.5.0@ | ||
124 | ./configure --prefix=/usr@ | ||
125 | sudo make install@ | ||
126 | } | ||
127 | |||
128 | libcurl@ | ||
129 | @code{@ | ||
130 | wget http://curl.haxx.se/download/curl-7.26.0.tar.gz@ | ||
131 | tar xvfz curl-7.26.0.tar.gz@ | ||
132 | cd curl-7.26.0@ | ||
133 | ./configure@ | ||
134 | sudo make install@ | ||
135 | } | ||
136 | |||
137 | libunistring@ | ||
138 | @code{@ | ||
139 | wget http://ftp.gnu.org/gnu/libunistring/libunistring-0.9.3.tar.gz@ | ||
140 | tar xvfz libunistring-0.9.3.tar.gz@ | ||
141 | cd libunistring-0.9.3@ | ||
142 | ./configure@ | ||
143 | sudo make install@ | ||
144 | } | ||
145 | |||
146 | 4. Remove conflicting packages@ | ||
147 | @code{@ | ||
148 | sudo rpm -e --nodeps libgcrypt libgpg-error@ | ||
149 | } | ||
150 | |||
151 | 4. Install libextractor@ | ||
152 | @code{@ | ||
153 | wget ftp://ftp.gnu.org/gnu/libextractor/libextractor-0.6.3.tar.gz@ | ||
154 | tar xvfz libextractor-0.6.3.tar.gz@ | ||
155 | cd libextractor-0.6.3@ | ||
156 | ./configure@ | ||
157 | sudo make install@ | ||
158 | } | ||
159 | |||
160 | 5. Install libmicrohttpd and dependencies | ||
161 | |||
162 | nettle@ | ||
163 | @code{@ | ||
164 | wget http://ftp.gnu.org/gnu/nettle/nettle-2.5.tar.gz@ | ||
165 | tar xvfz nettle-2.5.tar.gz@ | ||
166 | cd nettle-2.5@ | ||
167 | ./configure@ | ||
168 | sudo make install@ | ||
169 | } | ||
170 | |||
171 | GnuTLS@ | ||
172 | @code{@ | ||
173 | wget http://ftp.gnu.org/gnu/gnutls/gnutls-2.12.20.tar.bz2@ | ||
174 | tar xvfj gnutls-2.12.20.tar.bz2@ | ||
175 | cd gnutls-2.12.20@ | ||
176 | ./configure --without-p11-kit@ | ||
177 | sudo make install@ | ||
178 | } | ||
179 | |||
180 | libmicrohttpd@ | ||
181 | @code{@ | ||
182 | wget ftp://ftp.gnu.org/gnu/libmicrohttpd/libmicrohttpd-0.9.21.tar.gz@ | ||
183 | tar xvfz libmicrohttpd-0.9.21.tar.gz@ | ||
184 | cd libmicrohttpd-0.9.21@ | ||
185 | ./configure@ | ||
186 | sudo make install@ | ||
187 | } | ||
188 | |||
189 | 6. Set GNUnet prefix and add to PATH@ | ||
190 | @code{@ | ||
191 | export GNUNET_PREFIX=@ | ||
192 | export PATH=$PATH:$GNUNET_PREFIX/bin@ | ||
193 | } | ||
194 | |||
195 | 7. Install GNUnet from svn@ | ||
196 | @example | ||
197 | export LD_LIBRARY_PATH=/usr/local/lib@ | ||
198 | svn co https://gnunet.org/svn/gnunet@ | ||
199 | cd gnunet@ | ||
200 | libtoolize@ | ||
201 | ./bootstrap@ | ||
202 | ./configure --prefix=$GNUNET_PREFIX --with-extractor=/usr/local \ | ||
203 | --with-curl=/usr/local --with-mysql=/usr/lib/mysql --enable-logging=verbose@ | ||
204 | make install@ | ||
205 | @end example | ||
206 | |||
207 | Done! | ||
208 | |||
209 | |||
210 | @node Build instructions for FreeBSD 8 | ||
211 | @subsection Build instructions for FreeBSD 8 | ||
212 | |||
213 | To get GNUnet 0.9 to compile on FreeBSD (at least FreeBSD 8.0):@ in order to | ||
214 | install the library @code{libiconv}, at first change the directory to your | ||
215 | ports directory, e.g.@ | ||
216 | @code{@ | ||
217 | $ cd /usr/ports/@ | ||
218 | }@ | ||
219 | following that, go to the install file of @code{libiconv} and install it,@ | ||
220 | @code{@ | ||
221 | $ cd converters/libiconv,@ | ||
222 | $ make install@ | ||
223 | } | ||
224 | |||
225 | after that, change the directory to where you will check out | ||
226 | @code{libextractor} and GNUnet, and install latest @code{libextractor},@ | ||
227 | first of all, checkout @code{libextractor}, e.g.@ | ||
228 | @code{@ | ||
229 | $ svn co https://gnunet.org/svn/Extractor@ | ||
230 | }@ | ||
231 | then change the directory into which it was checked out, e.g.@ | ||
232 | @code{@ | ||
233 | $ cd Extractor@ | ||
234 | }@ | ||
235 | before the installation, you should do following steps,@ | ||
236 | |||
237 | @example | ||
238 | $ ./bootstrap@ | ||
239 | $ ./configure --with-ltdl-include=/usr/local/include \ | ||
240 | --with-ltdl-lib=/usr/local/lib@ | ||
241 | @end example | ||
242 | |||
243 | if these steps complete successfully, you can install the library,@ | ||
244 | |||
245 | @example | ||
246 | $ make install@ | ||
247 | @end example | ||
248 | |||
249 | to check out the GNUnet, you should do the similar steps as | ||
250 | @code{libextractor}, firstly, change back to starting directory, e.g.@ | ||
251 | @code{@ | ||
252 | $ cd ../@ | ||
253 | }@ | ||
254 | Set the following environmental variables:@ | ||
255 | @code{@ | ||
256 | export CPPFLAGS="-I/usr/local/include"@ | ||
257 | export LDFLAGS="-L/usr/local/lib"@ | ||
258 | }@ | ||
259 | next, checkout GNUnet using@ | ||
260 | @code{@ | ||
261 | $ svn co https://gnunet.org/svn/gnunet@ | ||
262 | }@ | ||
263 | then change directory into newly checked out directory,@ | ||
264 | @code{@ | ||
265 | $ cd gnunet@ | ||
266 | }@ | ||
267 | at last, start to install GNUnet,@ | ||
268 | |||
269 | @example | ||
270 | $ ./bootstrap@ | ||
271 | $ ./configure --with-ltdl-include=/usr/local/include \ | ||
272 | --with-ltdl-lib=/usr/local/lib --with-extractor=/usr/local | ||
273 | |||
274 | ## NOTE: you may not need the --with-extractor option!@ | ||
275 | |||
276 | $ make install | ||
277 | @end example | ||
278 | |||
279 | |||
280 | |||
281 | @node Basic installation for Mac OS X | ||
282 | @subsection Basic installation for Mac OS X | ||
283 | |||
284 | This documentation may be outdated! | ||
285 | |||
286 | This page is providing guidelines for users trying to install GNUnet on Mac OS | ||
287 | X.@ Mainly users trying to install GNUnet by building source code are the most | ||
288 | welcome readers.@ The steps below are tested on an Intel Architecture running | ||
289 | Mac OS X Tiger (10.4.11). Ideally they should work on other Mac boxes with | ||
290 | different configurations as all the configuration done for it is dependent on | ||
291 | @uref{http://www.macports.org/, MacPorts} | ||
292 | |||
293 | For having GNUnet installed successfully, some dependencies should be firstly | ||
294 | resolved: | ||
295 | |||
296 | @itemize @bullet | ||
297 | |||
298 | @item | ||
299 | Install/Update your @uref{http://developer.apple.com/tools/xcode/, Xcode} | ||
300 | version 3.2.1 or later for Snow Leopard, 3.1.4 or later for Leopard, or 2.5 for | ||
301 | Tiger. | ||
302 | |||
303 | @item | ||
304 | Download and install @uref{http://www.macports.org/, MacPorts}.@ | ||
305 | Now you are ready for installing GNunet dependencies. | ||
306 | |||
307 | @item | ||
308 | First, you'd better make sure that: /opt/local/bin and /opt/local/sbin are | ||
309 | available in your PATH. (For doing so, open a terminal and type:@ | ||
310 | |||
311 | @example | ||
312 | $ echo $PATH | ||
313 | @end example | ||
314 | |||
315 | and examine the output of it). If the paths are not available in your | ||
316 | environment, you have to add them (You can add them by editing your .profile | ||
317 | file in your home directory, append them to the PATH line). Then type: | ||
318 | @example | ||
319 | $ source ~/.profile | ||
320 | @end example | ||
321 | |||
322 | and re-examine the echo command output. | ||
323 | |||
324 | @item | ||
325 | Use MacPorts to download and install the dependencies:@ | ||
326 | The libraries are: | ||
327 | |||
328 | @itemize @bullet | ||
329 | |||
330 | @item | ||
331 | @uref{http://trac.macports.org/browser/trunk/dports/www/libmicrohttpd/Portfile, libmicrohttpd.} | ||
332 | |||
333 | @item | ||
334 | @uref{http://trac.macports.org/browser/trunk/dports/devel/libgcrypt/Portfile, libgcrypt.} | ||
335 | |||
336 | @item | ||
337 | @uref{http://trac.macports.org/browser/trunk/dports/net/curl/Portfile, libcurl.} | ||
338 | |||
339 | @item | ||
340 | @uref{http://trac.macports.org/browser/trunk/dports/devel/libtool/Portfile, libltdl.} | ||
341 | |||
342 | @item | ||
343 | @uref{http://trac.macports.org/browser/trunk/dports/databases/sqlite3/Portfile, SQlite.} | ||
344 | |||
345 | @item | ||
346 | libunistring | ||
347 | |||
348 | @item | ||
349 | glpk | ||
350 | |||
351 | @end itemize | ||
352 | |||
353 | The port command is as follows:@ | ||
354 | @example | ||
355 | port install libmicrohttpd libgcrypt curl libtool sqlite3 linunistring glpk | ||
356 | @end example | ||
357 | One of the dependencies, the libextractor, should be explicitly installed, | ||
358 | since the version available from macports is outdated to work with GNUnet. To | ||
359 | install the latest libextractor: | ||
360 | @itemize @bullet | ||
361 | |||
362 | |||
363 | @item | ||
364 | Install the Subversion Client:@ | ||
365 | For more information about Subversion visit: | ||
366 | @uref{http://subversion.tigris.org/, http://subversion.tigris.org/} | ||
367 | |||
368 | @example | ||
369 | # port install subversion | ||
370 | @end example | ||
371 | |||
372 | |||
373 | @item | ||
374 | Use Subversion to download the latest Extractor: | ||
375 | @example | ||
376 | $ svn checkout https://gnunet.org/svn/Extractor | ||
377 | @end example | ||
378 | |||
379 | |||
380 | @item | ||
381 | Go to the installation directory of the Extractor, compile and install it: | ||
382 | @example | ||
383 | $ ./bootstrap | ||
384 | $ export CPPFLAGS="-I/opt/local/include" | ||
385 | $ export LDFLAGS="-L/opt/local/lib" | ||
386 | $ ./configure --prefix=/opt/local | ||
387 | $ make | ||
388 | # make install | ||
389 | @end example | ||
390 | |||
391 | @end itemize | ||
392 | |||
393 | |||
394 | @item | ||
395 | Now, your system is ready to install GNunet. If you downloaded GNUnet by | ||
396 | checking it out from svn, you should start by running the bootstrap script. | ||
397 | Open a terminal pointing to the GNUnet directory and type:@ | ||
398 | |||
399 | @example | ||
400 | $ ./bootstrap | ||
401 | @end example | ||
402 | |||
403 | |||
404 | @item | ||
405 | Run the configure script: | ||
406 | @example | ||
407 | $ export CPPFLAGS="-I/opt/local/include" | ||
408 | $ export LDFLAGS="-L/opt/local/lib" | ||
409 | $ ./configure --prefix=/tmp/gnunet_build | ||
410 | @end example | ||
411 | |||
412 | |||
413 | GNUnet will be installed in the directory /tmp/gnunet_build (Of course that | ||
414 | installation path can be changed).@ The CPPFLAGS and LDFLAGS are mentioned in | ||
415 | order to inform the compiler and the linker to lookup headers and libraries in | ||
416 | /opt/local/include and /opt/local/lib. | ||
417 | |||
418 | @item | ||
419 | Compile@ | ||
420 | |||
421 | @example | ||
422 | $ make | ||
423 | @end example | ||
424 | |||
425 | |||
426 | @item | ||
427 | Install GNUnet | ||
428 | @example | ||
429 | # make install | ||
430 | @end example | ||
431 | |||
432 | @end itemize | ||
433 | |||
434 | |||
435 | @node Basic Installation for Fedora/PlanetLab nodes running Fedora 12 | ||
436 | @subsection Basic Installation for Fedora/PlanetLab nodes running Fedora 12 | ||
437 | |||
438 | |||
439 | @strong{This documentation is outdated and not valid for GNUnet 0.10.0!}@ | ||
440 | |||
441 | GNUnet installation on Fedora 8/Planetlab nodes can be done as following: | ||
442 | |||
443 | 1. Install the build tools to build GNUnet@ | ||
444 | @example | ||
445 | sudo yum -y -t --nogpgcheck install gcc make autoconf gettext-devel \ | ||
446 | texinfo subversion@ | ||
447 | @end example | ||
448 | |||
449 | 2. Install the GNUnet dependencies@ | ||
450 | @example | ||
451 | sudo yum -y -t --nogpgcheck install libunistring-devel libunistring-devel \ | ||
452 | libgcrypt-devel zlib-devel sqlite-devel postgresql-devel mysql-devel \ | ||
453 | libgsf-devel libvorbis-devel@ | ||
454 | @end example | ||
455 | |||
456 | 3. Install outdated dependencies from source@ | ||
457 | libtool@ | ||
458 | @example | ||
459 | wget http://ftp.gnu.org/gnu/libtool/libtool-2.4.2.tar.gz@ | ||
460 | tar xvfz libtool-2.4.2.tar.gz@ | ||
461 | cd libtool-2.4.2@ | ||
462 | ./configure@ | ||
463 | sudo make install@ | ||
464 | @end example | ||
465 | |||
466 | glpk@ | ||
467 | @example | ||
468 | wget http://ftp.gnu.org/gnu/glpk/glpk-4.47.tar.gz@ | ||
469 | tar xvfz glpk-4.47.tar.gz@ | ||
470 | cd glpk-4.47@ | ||
471 | ./configure@ | ||
472 | sudo make install@ | ||
473 | @end example | ||
474 | |||
475 | libcurl@ | ||
476 | @example | ||
477 | wget http://curl.haxx.se/download/curl-7.26.0.tar.gz@ | ||
478 | tar xvfz curl-7.26.0.tar.gz@ | ||
479 | cd curl-7.26.0@ | ||
480 | ./configure@ | ||
481 | sudo make install@ | ||
482 | @end example | ||
483 | |||
484 | 4. Install libextractor@ | ||
485 | @example | ||
486 | svn co https://gnunet.org/svn/libextractor@ | ||
487 | cd libextractor@ | ||
488 | libtoolize@ | ||
489 | ./bootstrap@ | ||
490 | ./configure@ | ||
491 | sudo make install@ | ||
492 | @end example | ||
493 | |||
494 | 5. Install libmicrohttpd@ | ||
495 | @example | ||
496 | svn co https://gnunet.org/svn/libmicrohttpd@ | ||
497 | cd libmicrohttpd@ | ||
498 | libtoolize@ | ||
499 | ./bootstrap@ | ||
500 | ./configure@ | ||
501 | sudo make install@ | ||
502 | @end example | ||
503 | |||
504 | 6. Set GNUnet prefix and add to PATH@ | ||
505 | @example | ||
506 | export GNUNET_PREFIX=@ | ||
507 | export PATH=$PATH:$GNUNET_PREFIX/bin@ | ||
508 | @end example | ||
509 | |||
510 | 7. Install GNUnet from svn@ | ||
511 | @example | ||
512 | export LD_LIBRARY_PATH=/usr/local/lib@ | ||
513 | svn co https://gnunet.org/svn/gnunet@ | ||
514 | cd gnunet@ | ||
515 | libtoolize@ | ||
516 | ./bootstrap@ | ||
517 | ./configure --prefix=$GNUNET_PREFIX --with-extractor=/usr \ | ||
518 | --with-mysql=/usr/lib/mysql --enable-logging=verbose@ | ||
519 | make install@ | ||
520 | @end example | ||
521 | |||
522 | Done! | ||
523 | |||
524 | |||
525 | @node Basic Installation for Fedora/PlanetLab nodes running Fedora 8 . | ||
526 | @subsection Basic Installation for Fedora/PlanetLab nodes running Fedora 8 . | ||
527 | @c %**end of header | ||
528 | |||
529 | @strong{This documentation is outdated and not valid for GNUnet 0.10.0!}@ | ||
530 | GNUnet installation on Fedora 8/Planetlab nodes can be done as following: | ||
531 | |||
532 | 1. Install the build tools to build GNUnet@ | ||
533 | @example | ||
534 | sudo yum -y -t --nogpgcheck install gcc make automake autoconf gettext-devel \ | ||
535 | texinfo zlib-devel subversion@ | ||
536 | @end example | ||
537 | |||
538 | 2. Install the GNUnet dependencies@ | ||
539 | @example | ||
540 | sudo yum -y -t --nogpgcheck install gnutls-devel gnutls-devel libgcrypt-devel \ | ||
541 | sqlite-devel postgresql-devel mysql-devel libgsf-devel libvorbis-devel \ | ||
542 | libidn-devel | ||
543 | @end example | ||
544 | |||
545 | 3. Install outdated dependencies from source@ | ||
546 | libtool@ | ||
547 | @code{@ | ||
548 | wget http://ftp.gnu.org/gnu/libtool/libtool-2.4.2.tar.gz@ | ||
549 | tar xvfz libtool-2.4.2.tar.gz@ | ||
550 | cd libtool-2.4.2@ | ||
551 | ./configure@ | ||
552 | sudo make install@ | ||
553 | } | ||
554 | |||
555 | libtool@ | ||
556 | @code{@ | ||
557 | wget http://ftp.gnu.org/gnu/libtool/libtool-2.4.2.tar.gz@ | ||
558 | tar xvfz libtool-2.4.2.tar.gz@ | ||
559 | cd libtool-2.4.2@ | ||
560 | ./configure@ | ||
561 | sudo make install@ | ||
562 | } | ||
563 | |||
564 | glpk@ | ||
565 | @code{@ | ||
566 | wget http://ftp.gnu.org/gnu/glpk/glpk-4.47.tar.gz@ | ||
567 | tar xvfz glpk-4.47.tar.gz@ | ||
568 | cd glpk-4.47@ | ||
569 | ./configure@ | ||
570 | sudo make install@ | ||
571 | } | ||
572 | |||
573 | libgpg-error@ | ||
574 | @code{@ | ||
575 | wget ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-1.10.tar.bz2@ | ||
576 | tar xvfj libgpg-error-1.10.tar.bz2@ | ||
577 | cd libgpg-error-1.10@ | ||
578 | ./configure --prefix=/usr@ | ||
579 | sudo make install@ | ||
580 | } | ||
581 | |||
582 | libgcrypt@ | ||
583 | @code{@ | ||
584 | wget ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-1.5.0.tar.bz2@ | ||
585 | tar xvfj libgcrypt-1.5.0.tar.tar.bz2@ | ||
586 | cd libgcrypt-1.5.0@ | ||
587 | ./configure --prefix=/usr@ | ||
588 | sudo make install@ | ||
589 | } | ||
590 | |||
591 | libcurl@ | ||
592 | @code{@ | ||
593 | wget http://curl.haxx.se/download/curl-7.26.0.tar.gz@ | ||
594 | tar xvfz curl-7.26.0.tar.gz@ | ||
595 | cd curl-7.26.0@ | ||
596 | ./configure@ | ||
597 | sudo make install@ | ||
598 | } | ||
599 | |||
600 | libunistring@ | ||
601 | @code{@ | ||
602 | wget http://ftp.gnu.org/gnu/libunistring/libunistring-0.9.3.tar.gz@ | ||
603 | tar xvfz libunistring-0.9.3.tar.gz@ | ||
604 | cd libunistring-0.9.3@ | ||
605 | ./configure@ | ||
606 | sudo make install@ | ||
607 | } | ||
608 | |||
609 | 4. Remove conflicting packages@ | ||
610 | @code{@ | ||
611 | sudo rpm -e --nodeps libgcrypt libgpg-error@ | ||
612 | } | ||
613 | |||
614 | 4. Install libextractor@ | ||
615 | @code{@ | ||
616 | wget ftp://ftp.gnu.org/gnu/libextractor/libextractor-0.6.3.tar.gz@ | ||
617 | tar xvfz libextractor-0.6.3.tar.gz@ | ||
618 | cd libextractor-0.6.3@ | ||
619 | ./configure@ | ||
620 | sudo make install@ | ||
621 | } | ||
622 | |||
623 | 5. Install libmicrohttpd and dependencies | ||
624 | |||
625 | nettle@ | ||
626 | @code{@ | ||
627 | wget http://ftp.gnu.org/gnu/nettle/nettle-2.5.tar.gz@ | ||
628 | tar xvfz nettle-2.5.tar.gz@ | ||
629 | cd nettle-2.5@ | ||
630 | ./configure@ | ||
631 | sudo make install@ | ||
632 | } | ||
633 | |||
634 | GnuTLS@ | ||
635 | @code{@ | ||
636 | wget http://ftp.gnu.org/gnu/gnutls/gnutls-2.12.20.tar.bz2@ | ||
637 | tar xvfj gnutls-2.12.20.tar.bz2@ | ||
638 | cd gnutls-2.12.20@ | ||
639 | ./configure --without-p11-kit@ | ||
640 | sudo make install@ | ||
641 | } | ||
642 | |||
643 | libmicrohttpd@ | ||
644 | @code{@ | ||
645 | wget ftp://ftp.gnu.org/gnu/libmicrohttpd/libmicrohttpd-0.9.21.tar.gz@ | ||
646 | tar xvfz libmicrohttpd-0.9.21.tar.gz@ | ||
647 | cd libmicrohttpd-0.9.21@ | ||
648 | ./configure@ | ||
649 | sudo make install@ | ||
650 | } | ||
651 | |||
652 | 6. Set GNUnet prefix and add to PATH@ | ||
653 | @code{@ | ||
654 | export GNUNET_PREFIX=@ | ||
655 | export PATH=$PATH:$GNUNET_PREFIX/bin@ | ||
656 | } | ||
657 | |||
658 | 7. Install GNUnet from svn@ | ||
659 | @example | ||
660 | export LD_LIBRARY_PATH=/usr/local/lib@ | ||
661 | svn co https://gnunet.org/svn/gnunet@ | ||
662 | cd gnunet@ | ||
663 | libtoolize@ | ||
664 | ./bootstrap@ | ||
665 | ./configure --prefix=$GNUNET_PREFIX --with-extractor=/usr/local \ | ||
666 | --with-curl=/usr/local --with-mysql=/usr/lib/mysql --enable-logging=verbose@ | ||
667 | make install@ | ||
668 | @end example | ||
669 | |||
670 | Done! | ||
671 | |||
672 | |||