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

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">
1.19    ! wiz         9: <link rel="next" href="../../docs/software/packages.html" title="">
1.1       dsieger    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.16      spz        35: <a href="../../"><img alt="[NetBSD Logo]" width="506" height="90" src="../../images/NetBSD-headerlogo.png"></a><div class="headerTools"><div id="headerSearch">
                     36: <div id="header-cse-search-form" style="width: 24%;">Google custom search</div>
                     37: <script src="http://www.google.com/jsapi" type="text/javascript"></script><script type="text/javascript"> 
                     38:                  google.load('search', '1', {language : 'en'});
                     39:                  google.setOnLoadCallback(function() {
                     40:                    var header_customSearchControl = new google.search.CustomSearchControl('006277936787196004968:mbdhrauy1wm');
                     41:                    header_customSearchControl.setResultSetSize(google.search.Search.FILTERED_CSE_RESULTSET);
                     42:                    var header_options = new google.search.DrawOptions();
                     43:                    header_options.enableSearchboxOnly("http://google.com/cse?cx=006277936787196004968:mbdhrauy1wm");    
                     44:                    header_customSearchControl.draw('header-cse-search-form', header_options);
                     45:                  }, true);
                     46:                </script><link rel="stylesheet" href="http://www.google.com/cse/style/look/default.css" type="text/css">
                     47: </div></div>
1.3       dsieger    48: </div>
                     49: <div class="navBar">
1.6       dsieger    50: <span class="doNotDisplay">
                     51:          Navigation:
                     52:        </span><a href="../../">
                     53:          Home</a> | 
                     54:        <a href="../../about/">
                     55:          About</a> | 
1.12      hubertf    56:        <a href="../../gallery/">
                     57:          Gallery</a> | 
1.6       dsieger    58:        <a href="../../releases/">
                     59:          Download</a> | 
                     60:        <a href="../../docs/">
                     61:          Documentation</a> | 
                     62:        <a href="../../support/">
                     63:          Support</a> | 
                     64:        <a href="../../community/">
                     65:          Community</a> | 
                     66:        <a href="../../ports/">
                     67:          Ports</a>
1.3       dsieger    68: </div>
                     69: </div>
                     70: <div id="content"><div class="fullWidth"><div class="rowOfBoxes">
                     71: <h1>Installing/compiling other software</h1>
1.15      darcy      72: <div class="sect1">
1.1       dsieger    73: <div class="titlepage"></div>
                     74: 
                     75: <table border="0" id="top-table">
                     76: <tr>
                     77:   <td align="left">
                     78: <p>
                     79: This page used to contain instructions on how to build and install software
                     80: under NetBSD.  Since in general, we <span class="bold"><strong>strongly</strong></span>
1.11      dsieger    81: 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    82: very limited additional information on this page.
                     83: </p>
                     84:   </td>
                     85:   <td align="right" valign="bottom">
1.11      dsieger    86:   <a class="ulink" href="../../about/disclaimer.html#bsd-daemon" target="_top">
1.1       dsieger    87:     <img align="middle" src="../../images/BSD-daemon.jpg" border="0" width="146" height="129" alt="BSD daemon"></a>
                     88:   </td>
                     89: </tr>
                     90: </table>
                     91: </div>
                     92: <h3 class="title"><a name="compiling-downloading">Compiling/downloading software</a></h3>
                     93: <ul>
                     94: <li><a href="#java">How to run java programs under NetBSD</a></li>
                     95: <li><a href="#precompiled_packages">Where to find precompiled programs</a></li>
                     96: <li><a href="#elf-issue">3rd party Software that I compiled myself doesn't find its shared libraries!</a></li>
                     97: </ul>
                     98: <hr>
                     99: <h3 class="title">Compiling/downloading software</h3>
                    100: <h4 class="title">
                    101: <a name="java"></a>How to run java programs under NetBSD (<a href="#compiling-downloading">top</a>)
                    102:   </h4>
                    103: <p>
1.11      dsieger   104: There are a number of java <a class="ulink" href="packages.html" target="_top">packages</a>
1.1       dsieger   105: available in the NetBSD Packages Collection, including the latest JDKs from
1.18      tron      106: Sun (<a href="http://ftp.NetBSD.org/pub/pkgsrc/current/pkgsrc/lang/sun-jdk13/README.html" target="_top"><code class="filename">lang/sun-jdk13</code></a>, 
                    107: <a href="http://ftp.NetBSD.org/pub/pkgsrc/current/pkgsrc/lang/sun-jdk14/README.html" target="_top"><code class="filename">lang/sun-jdk14</code></a>,
                    108: <a href="http://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
                    109: <a href="http://ftp.NetBSD.org/pub/pkgsrc/current/pkgsrc/lang/kaffe/README.html" target="_top"><code class="filename">lang/kaffe</code></a> and 
                    110: <a href="http://ftp.NetBSD.org/pub/pkgsrc/current/pkgsrc/lang/wonka/README.html" target="_top"><code class="filename">lang/wonka</code></a>) run natively.
1.1       dsieger   111: </p>
                    112: <p>
                    113: You can also build your own native Sun JDK by following the instructions
1.11      dsieger   114: available from <a class="ulink" href="http://www.eyesbeyond.com/freebsddom/java/" target="_top">http://www.eyesbeyond.com/freebsddom/java/</a>.
1.1       dsieger   115: Don't let the name mislead you -- these instructions are entirely applicable
                    116: to <span class="emphasis"><em>Net</em></span>BSD as well!
                    117: </p>
                    118: <p>
                    119: At some point in the future it may be possible for The NetBSD Project to
                    120: provide native Sun JDK builds;  however, at the moment the licensing terms of
                    121: Sun's JDK prohibit us from doing so.  We will update this documentation when
                    122: the situation changes.
                    123: </p>
                    124: 
                    125: <h4 class="title">
                    126: <a name="precompiled_packages"></a>Where to find precompiled programs (<a href="#compiling-downloading">top</a>)
                    127:   </h4>
                    128: <p>
                    129: Precompiled binary packages for the various NetBSD ports are available through
1.11      dsieger   130: the <a class="ulink" href="packages.html" target="_top">NetBSD Packages Collection</a>.
1.1       dsieger   131: </p>
                    132: 
                    133: <h4 class="title">
                    134: <a name="elf-issue"></a>3rd party Software that I compiled myself doesn't find its shared libraries! (<a href="#compiling-downloading">top</a>)
                    135:   </h4>
                    136: <p>
                    137: An issue which often is encountered when trying to compile software initially
                    138: written for other Unices, is the problem with the program not finding its
1.11      dsieger   139: 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
                    140: there exists a <a class="ulink" href="../elf.html#elf-rpath" target="_top">resolution procedure</a>.
1.1       dsieger   141: </p>
                    142: <p>
1.11      dsieger   143: 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.16      spz       144: not yet available in pkgsrc, you can either <a href="http://netbsd.gw.com/cgi-bin/man-cgi?send-pr+1+NetBSD-5.1+i386">send-pr(1)</a> a report or build the
1.11      dsieger   145: package yourself.  You can find more information in the <a class="ulink" href="../pkgsrc/" target="_top">pkgsrc documentation</a>.
1.1       dsieger   146: </p>
1.3       dsieger   147: <hr>Back to  <em><a href="./">NetBSD Documentation: Software</a></em>
                    148: </div></div></div>
                    149: <div class="navfoot"></div>
1.13      mishka    150: <div id="footer"><div id="footerContent"><center>
1.3       dsieger   151: <span class="footfeed"><a href="http://www.NetBSD.org/cgi-bin/feedback.cgi">
                    152:          Contact</a> |
1.10      kano      153:       </span><span class="footcopy"><a href="../../about/disclaimer.html">
1.3       dsieger   154:       Disclaimer</a> |
1.1       dsieger   155: 
1.17      darcy     156:       <span class="copyright">Copyright © 1994-2012 The NetBSD Foundation, Inc. </span>ALL RIGHTS RESERVED.<br>NetBSD<sup>®</sup> is a registered trademark of The NetBSD
1.3       dsieger   157:        Foundation, Inc.</span>
1.13      mishka    158: </center></div></div>
1.1       dsieger   159: </div></body>
                    160: </html>

CVSweb <webmaster@jp.NetBSD.org>