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

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

CVSweb <webmaster@jp.NetBSD.org>