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

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

CVSweb <webmaster@jp.NetBSD.org>