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

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.6     ! dsieger    22:        <a href="../../mailinglists">
        !            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 
        !            28:        <a href="http://www.netbsd.org/support/query-pr.html">query</a> a bug |
        !            29:        <a href="../../docs/software/packages.html">
        !            30:          Software Packages
        !            31:        </a>
1.3       dsieger    32: </div>
                     33: <div class="centralHeader">
1.6     ! dsieger    34: <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    35: <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    36: </form></div></div>
                     37: </div>
                     38: <div class="navBar">
1.6     ! dsieger    39: <span class="doNotDisplay">
        !            40:          Navigation:
        !            41:        </span><a href="../../">
        !            42:          Home</a> | 
        !            43:        <a href="../../about/">
        !            44:          About</a> | 
        !            45:        <a href="../../releases/">
        !            46:          Download</a> | 
        !            47:        <a href="../../docs/">
        !            48:          Documentation</a> | 
        !            49:        <a href="../../support/">
        !            50:          Support</a> | 
        !            51:        <a href="../../community/">
        !            52:          Community</a> | 
        !            53:        <a href="../../ports/">
        !            54:          Ports</a>
1.3       dsieger    55: </div>
                     56: </div>
                     57: <div id="content"><div class="fullWidth"><div class="rowOfBoxes">
                     58: <h1>Installing/compiling other software</h1>
1.1       dsieger    59: <div class="sect1" lang="en">
                     60: <div class="titlepage"></div>
                     61: 
                     62: <table border="0" id="top-table">
                     63: <tr>
                     64:   <td align="left">
                     65: <p>
                     66: This page used to contain instructions on how to build and install software
                     67: under NetBSD.  Since in general, we <span class="bold"><strong>strongly</strong></span>
                     68: 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
                     69: very limited additional information on this page.
                     70: </p>
                     71:   </td>
                     72:   <td align="right" valign="bottom">
                     73:   <a href="../../Misc/disclaimer.html#bsd-daemon" target="_top">
                     74:     <img align="middle" src="../../images/BSD-daemon.jpg" border="0" width="146" height="129" alt="BSD daemon"></a>
                     75:   </td>
                     76: </tr>
                     77: </table>
                     78: </div>
                     79: <h3 class="title"><a name="compiling-downloading">Compiling/downloading software</a></h3>
                     80: <ul>
                     81: <li><a href="#java">How to run java programs under NetBSD</a></li>
                     82: <li><a href="#precompiled_packages">Where to find precompiled programs</a></li>
                     83: <li><a href="#elf-issue">3rd party Software that I compiled myself doesn't find its shared libraries!</a></li>
                     84: </ul>
                     85: <hr>
                     86: <h3 class="title">Compiling/downloading software</h3>
                     87: <h4 class="title">
                     88: <a name="java"></a>How to run java programs under NetBSD (<a href="#compiling-downloading">top</a>)
                     89:   </h4>
                     90: <p>
                     91: There are a number of java <a href="packages.html" target="_top">packages</a>
                     92: available in the NetBSD Packages Collection, including the latest JDKs from
                     93: 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>, 
                     94: <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>,
                     95: <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
                     96: <a href="ftp://ftp.NetBSD.org/pub/pkgsrc/current/pkgsrc/lang/kaffe/README.html" target="_top"><code class="filename">lang/kaffe</code></a> and 
                     97: <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.
                     98: </p>
                     99: <p>
                    100: You can also build your own native Sun JDK by following the instructions
                    101: available from <a href="http://www.eyesbeyond.com/freebsddom/java/" target="_top">http://www.eyesbeyond.com/freebsddom/java/</a>.
                    102: Don't let the name mislead you -- these instructions are entirely applicable
                    103: to <span class="emphasis"><em>Net</em></span>BSD as well!
                    104: </p>
                    105: <p>
                    106: At some point in the future it may be possible for The NetBSD Project to
                    107: provide native Sun JDK builds;  however, at the moment the licensing terms of
                    108: Sun's JDK prohibit us from doing so.  We will update this documentation when
                    109: the situation changes.
                    110: </p>
                    111: 
                    112: <h4 class="title">
                    113: <a name="precompiled_packages"></a>Where to find precompiled programs (<a href="#compiling-downloading">top</a>)
                    114:   </h4>
                    115: <p>
                    116: Precompiled binary packages for the various NetBSD ports are available through
                    117: the <a href="packages.html" target="_top">NetBSD Packages Collection</a>.
                    118: </p>
                    119: 
                    120: <h4 class="title">
                    121: <a name="elf-issue"></a>3rd party Software that I compiled myself doesn't find its shared libraries! (<a href="#compiling-downloading">top</a>)
                    122:   </h4>
                    123: <p>
                    124: An issue which often is encountered when trying to compile software initially
                    125: written for other Unices, is the problem with the program not finding its
                    126: 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
                    127: there exists a <a href="../elf.html#elf-rpath" target="_top">resolution procedure</a>.
                    128: </p>
                    129: <p>
                    130: 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
                    131: 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
                    132: package yourself.  You can find more information in the <a href="../pkgsrc/" target="_top">pkgsrc documentation</a>.
                    133: </p>
1.3       dsieger   134: <hr>Back to  <em><a href="./">NetBSD Documentation: Software</a></em>
                    135: </div></div></div>
                    136: <div class="navfoot"></div>
                    137: <div id="footer"><center>
                    138: <span class="footfeed"><a href="http://www.NetBSD.org/cgi-bin/feedback.cgi">
                    139:          Contact</a> |
                    140:       </span><span class="footcopy"><a href="/about/disclaimer.html">
                    141:       Disclaimer</a> |
1.1       dsieger   142: 
1.3       dsieger   143:       <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
                    144:        Foundation, Inc.</span>
                    145: </center></div>
1.1       dsieger   146: </div></body>
                    147: </html>

CVSweb <webmaster@jp.NetBSD.org>