Annotation of htdocs/docs/software/compiling.html, revision 1.10

1.1       dsieger     1: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
                      2: <html>
                      3: <head>
                      4: <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
                      5: <meta name="generator" content="Website XSL Stylesheet V2.6.0">
                      6: <link rel="home" href="../../." title="Welcome to The NetBSD Project: Of course it runs NetBSD.">
                      7: <link rel="up" href="../../docs/software/." title="Application Software for NetBSD">
                      8: <link rel="previous" href="../../docs/software/." title="Application Software for NetBSD">
                      9: <link rel="next" href="../../docs/software/packages.html" title="pkgsrc: The NetBSD Packages Collection">
                     10: <link rel="last" href="../../docs/software/pkg-growth-jpg.html" title="NetBSD Package system growth">
1.3       dsieger    11: <link rel="stylesheet" href="/global.css" type="text/css">
1.1       dsieger    12: 
                     13: <title>Installing/compiling other software</title>
                     14: </head>
                     15: <body class="website"><div class="webpage">
1.3       dsieger    16: <a name="docs-software-compiling"></a><div id="top"><a href="#mainContent" class="doNotDisplay doNotPrint">Skip to main content.</a></div>
                     17: <div id="header">
                     18: <div class="topNavigation">
1.6       dsieger    19: <span>» </span><a href="../../docs/guide/en/">
                     20:          The Guide</a> |
1.3       dsieger    21:        <a href="http://man.NetBSD.org/">Manual pages</a> |
1.8       kano       22:        <a href="../../mailinglists/">
1.6       dsieger    23:          Mailing lists</a> and
1.3       dsieger    24:        <a href="http://mail-index.NetBSD.org/">Archives</a> |
                     25:        <a href="http://cvsweb.NetBSD.org/">CVS repository</a> |
1.6       dsieger    26:        <a href="http://www.NetBSD.org/cgi-bin/sendpr.cgi?gndb=netbsd">Report</a>
                     27:        or 
1.10    ! kano       28:        <a href="../../support/query-pr.html">
        !            29:          query</a> a bug |
1.6       dsieger    30:        <a href="../../docs/software/packages.html">
                     31:          Software Packages
                     32:        </a>
1.3       dsieger    33: </div>
                     34: <div class="centralHeader">
1.6       dsieger    35: <a href="../../"><img alt="[NetBSD Logo]" width="506" height="90" src="../../images/NetBSD-headerlogo.png"></a><div class="headerTools"><div id="headerSearch"><form method="get" action="http://www.google.com/custom">
1.4       dsieger    36: <input class="whiteOnBlack" type="text" name="q" onfocus="if(this.value==this.defaultValue ) this.value='';" size="12" maxlength="255" value="Search"><input type="hidden" name="cof" value="L:http://www.NetBSD.org/images/NetBSD-smaller.png;LH:200;LW:200;AH:center;AWFID:4f6b0499f0f58d2c;"><input type="hidden" name="domains" value="NetBSD.org"><input type="hidden" name="sitesearch" value="www.NetBSD.org"><input type="submit" value="Search">
1.3       dsieger    37: </form></div></div>
                     38: </div>
                     39: <div class="navBar">
1.6       dsieger    40: <span class="doNotDisplay">
                     41:          Navigation:
                     42:        </span><a href="../../">
                     43:          Home</a> | 
                     44:        <a href="../../about/">
                     45:          About</a> | 
                     46:        <a href="../../releases/">
                     47:          Download</a> | 
                     48:        <a href="../../docs/">
                     49:          Documentation</a> | 
                     50:        <a href="../../support/">
                     51:          Support</a> | 
                     52:        <a href="../../community/">
                     53:          Community</a> | 
                     54:        <a href="../../ports/">
                     55:          Ports</a>
1.3       dsieger    56: </div>
                     57: </div>
                     58: <div id="content"><div class="fullWidth"><div class="rowOfBoxes">
                     59: <h1>Installing/compiling other software</h1>
1.1       dsieger    60: <div class="sect1" lang="en">
                     61: <div class="titlepage"></div>
                     62: 
                     63: <table border="0" id="top-table">
                     64: <tr>
                     65:   <td align="left">
                     66: <p>
                     67: This page used to contain instructions on how to build and install software
                     68: under NetBSD.  Since in general, we <span class="bold"><strong>strongly</strong></span>
                     69: recommend you make use of the many software packages available in the <a href="packages.html" target="_top">NetBSD packages collection</a>, you will only find
                     70: very limited additional information on this page.
                     71: </p>
                     72:   </td>
                     73:   <td align="right" valign="bottom">
1.9       kano       74:   <a href="../../about/disclaimer.html#bsd-daemon" target="_top">
1.1       dsieger    75:     <img align="middle" src="../../images/BSD-daemon.jpg" border="0" width="146" height="129" alt="BSD daemon"></a>
                     76:   </td>
                     77: </tr>
                     78: </table>
                     79: </div>
                     80: <h3 class="title"><a name="compiling-downloading">Compiling/downloading software</a></h3>
                     81: <ul>
                     82: <li><a href="#java">How to run java programs under NetBSD</a></li>
                     83: <li><a href="#precompiled_packages">Where to find precompiled programs</a></li>
                     84: <li><a href="#elf-issue">3rd party Software that I compiled myself doesn't find its shared libraries!</a></li>
                     85: </ul>
                     86: <hr>
                     87: <h3 class="title">Compiling/downloading software</h3>
                     88: <h4 class="title">
                     89: <a name="java"></a>How to run java programs under NetBSD (<a href="#compiling-downloading">top</a>)
                     90:   </h4>
                     91: <p>
                     92: There are a number of java <a href="packages.html" target="_top">packages</a>
                     93: available in the NetBSD Packages Collection, including the latest JDKs from
                     94: Sun (<a href="ftp://ftp.NetBSD.org/pub/pkgsrc/current/pkgsrc/lang/sun-jdk13/README.html" target="_top"><code class="filename">lang/sun-jdk13</code></a>, 
                     95: <a href="ftp://ftp.NetBSD.org/pub/pkgsrc/current/pkgsrc/lang/sun-jdk14/README.html" target="_top"><code class="filename">lang/sun-jdk14</code></a>,
                     96: <a href="ftp://ftp.NetBSD.org/pub/pkgsrc/current/pkgsrc/lang/sun-jdk15/README.html" target="_top"><code class="filename">lang/sun-jdk15</code></a>).  The Sun JDKs currently run under <a href="../compat.html" target="_top">binary emulation</a>, while others (such as
                     97: <a href="ftp://ftp.NetBSD.org/pub/pkgsrc/current/pkgsrc/lang/kaffe/README.html" target="_top"><code class="filename">lang/kaffe</code></a> and 
                     98: <a href="ftp://ftp.NetBSD.org/pub/pkgsrc/current/pkgsrc/lang/wonka/README.html" target="_top"><code class="filename">lang/wonka</code></a>) run natively.
                     99: </p>
                    100: <p>
                    101: You can also build your own native Sun JDK by following the instructions
                    102: available from <a href="http://www.eyesbeyond.com/freebsddom/java/" target="_top">http://www.eyesbeyond.com/freebsddom/java/</a>.
                    103: Don't let the name mislead you -- these instructions are entirely applicable
                    104: to <span class="emphasis"><em>Net</em></span>BSD as well!
                    105: </p>
                    106: <p>
                    107: At some point in the future it may be possible for The NetBSD Project to
                    108: provide native Sun JDK builds;  however, at the moment the licensing terms of
                    109: Sun's JDK prohibit us from doing so.  We will update this documentation when
                    110: the situation changes.
                    111: </p>
                    112: 
                    113: <h4 class="title">
                    114: <a name="precompiled_packages"></a>Where to find precompiled programs (<a href="#compiling-downloading">top</a>)
                    115:   </h4>
                    116: <p>
                    117: Precompiled binary packages for the various NetBSD ports are available through
                    118: the <a href="packages.html" target="_top">NetBSD Packages Collection</a>.
                    119: </p>
                    120: 
                    121: <h4 class="title">
                    122: <a name="elf-issue"></a>3rd party Software that I compiled myself doesn't find its shared libraries! (<a href="#compiling-downloading">top</a>)
                    123:   </h4>
                    124: <p>
                    125: An issue which often is encountered when trying to compile software initially
                    126: written for other Unices, is the problem with the program not finding its
                    127: shared libraries. This is due to the philosophy of NetBSD's <a href="../elf.html#elf-whatis" target="_top">ELF</a> implementation. This is a known problem, and
                    128: there exists a <a href="../elf.html#elf-rpath" target="_top">resolution procedure</a>.
                    129: </p>
                    130: <p>
                    131: Of course, The Right Thing To Do is to install all software using <a href="packages.html" target="_top">the NetBSD Packages Collection</a>.  If the software is
                    132: not yet available in pkgsrc, you can either <a href="http://netbsd.gw.com/cgi-bin/man-cgi?send-pr+1+NetBSD-current">send-pr(1)</a> a report or build the
                    133: package yourself.  You can find more information in the <a href="../pkgsrc/" target="_top">pkgsrc documentation</a>.
                    134: </p>
1.3       dsieger   135: <hr>Back to  <em><a href="./">NetBSD Documentation: Software</a></em>
                    136: </div></div></div>
                    137: <div class="navfoot"></div>
                    138: <div id="footer"><center>
                    139: <span class="footfeed"><a href="http://www.NetBSD.org/cgi-bin/feedback.cgi">
                    140:          Contact</a> |
1.10    ! kano      141:       </span><span class="footcopy"><a href="../../about/disclaimer.html">
1.3       dsieger   142:       Disclaimer</a> |
1.1       dsieger   143: 
1.3       dsieger   144:       <span class="copyright">Copyright © 1994-2007 The NetBSD Foundation, Inc. </span>ALL RIGHTS RESERVED.<br>NetBSD<sup>®</sup> is a registered trademark of The NetBSD
                    145:        Foundation, Inc.</span>
                    146: </center></div>
1.1       dsieger   147: </div></body>
                    148: </html>

CVSweb <webmaster@jp.NetBSD.org>