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

1.20      jym         1: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
1.1       dsieger     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.20      jym         9: <link rel="next" href="../../docs/software/packages.html" title="pkgsrc: The NetBSD Packages Collection">
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>
1.20      jym        17: <div id="centralHeader">
1.22      jym        18: <div id="logo">
1.24      jym        19: <a href="../../"><img alt="[NetBSD Logo]" src="../../images/NetBSD-smaller.png"></a><div id="name"><a href="../../">
1.22      jym        20:          The NetBSD Project
1.24      jym        21:        </a></div>
                     22: <div id="slogan"><a href="../../">
1.22      jym        23:          &#8220;Of course it runs NetBSD&#8221;
1.24      jym        24:        </a></div>
1.22      jym        25: </div>
                     26: <div id="headerTools">
1.20      jym        27: <div id="header-cse-search-form">Google custom search</div>
1.16      spz        28: <script src="http://www.google.com/jsapi" type="text/javascript"></script><script type="text/javascript"> 
                     29:                  google.load('search', '1', {language : 'en'});
                     30:                  google.setOnLoadCallback(function() {
                     31:                    var header_customSearchControl = new google.search.CustomSearchControl('006277936787196004968:mbdhrauy1wm');
                     32:                    header_customSearchControl.setResultSetSize(google.search.Search.FILTERED_CSE_RESULTSET);
                     33:                    var header_options = new google.search.DrawOptions();
                     34:                    header_options.enableSearchboxOnly("http://google.com/cse?cx=006277936787196004968:mbdhrauy1wm");    
                     35:                    header_customSearchControl.draw('header-cse-search-form', header_options);
                     36:                  }, true);
1.20      jym        37:                </script>
                     38: </div>
1.3       dsieger    39: </div>
1.20      jym        40: <div id="navBar" role="navigation">
1.6       dsieger    41: <span class="doNotDisplay">
                     42:          Navigation:
1.20      jym        43:        </span><ul>
                     44: <li><a href="../../">
                     45:          Home</a></li>
                     46: <li>
                     47: <a href="../../">
1.23      wiz        48:          News &amp; Media</a><ul>
1.20      jym        49: <li><a href="../../changes/">
                     50:            Recent changes</a></li>
1.21      jym        51: <li><a href="http://blog.NetBSD.org/">
1.20      jym        52:            NetBSD blog</a></li>
                     53: <li><a href="../../gallery/events.html">
                     54:            Events</a></li>
                     55: <li><a href="../../changes/rss.html">
                     56:            Feeds</a></li>
                     57: </ul>
                     58: </li>
                     59: <li>
                     60: <a href="../../about/">
                     61:          About</a><ul>
                     62: <li><a href="../../about/">
                     63:            NetBSD</a></li>
                     64: <li><a href="../../foundation/">
                     65:            The NetBSD Foundation</a></li>
                     66: <li><a href="../../gallery/">
                     67:            Advocacy</a></li>
                     68: </ul>
                     69: </li>
                     70: <li>
                     71: <a href="../../docs/">
                     72:          Documentation</a><ul>
                     73: <li><a href="../../docs/misc/index.html">
                     74:            FAQ &amp; HOWTOs</a></li>
                     75: <li><a href="../../docs/guide/en/">
                     76:            The Guide</a></li>
1.21      jym        77: <li><a href="http://man.NetBSD.org/">
1.20      jym        78:            Manual pages</a></li>
1.21      jym        79: <li><a href="http://wiki.NetBSD.org/">
1.20      jym        80:            Wiki</a></li>
                     81: </ul>
                     82: </li>
                     83: <li>
                     84: <a href="../../support/">
                     85:          Support</a><ul>
                     86: <li><a href="../../support/send-pr.html">
                     87:            Problem report guide</a></li>
                     88: <li><a href="../../cgi-bin/sendpr.cgi?gndb=netbsd">
                     89:            Report a bug</a></li>
                     90: <li><a href="../../support/query-pr.html">
                     91:            Query bug database</a></li>
                     92: <li><a href="../../support/security/">
                     93:            Security</a></li>
                     94: </ul>
                     95: </li>
                     96: <li>
                     97: <a href="../../community/">
                     98:          Community</a><ul>
1.27      mspo       99: <li><a href="http://netbsd.fi/">
1.20      jym       100:            Blogs</a></li>
                    101: <li><a href="../../mailinglists/">
                    102:            Mailing lists</a></li>
1.21      jym       103: <li><a href="http://mail-index.NetBSD.org/">
1.20      jym       104:            List archives</a></li>
                    105: </ul>
                    106: </li>
                    107: <li>
                    108: <a href="../../developers/">
                    109:          Developers</a><ul>
1.21      jym       110: <li><a href="http://cvsweb.NetBSD.org/">
1.20      jym       111:            Browse source</a></li>
1.21      jym       112: <li><a href="http://nxr.NetBSD.org/">
1.20      jym       113:            Cross-reference</a></li>
1.21      jym       114: <li><a href="http://releng.NetBSD.org/">
1.20      jym       115:            Release engineering</a></li>
1.21      jym       116: <li><a href="http://wiki.NetBSD.org/projects/">
1.20      jym       117:            Projects list</a></li>
                    118: </ul>
                    119: </li>
                    120: <li>
                    121: <a href="../../ports/">
                    122:          Ports</a><ul>
                    123: <li><a href="../../ports/history.html">
                    124:            History</a></li>
                    125: <li><a href="../../ports/emulators.html">
                    126:            Emulators</a></li>
                    127: </ul>
                    128: </li>
                    129: <li>
                    130: <a href="http://www.pkgsrc.org/">
                    131:          Packages</a><ul>
                    132: <li><a href="http://www.pkgsrc.se/">
                    133:            Browse packages</a></li>
1.21      jym       134: <li><a href="http://releng.NetBSD.org/index-pkgsrc.html">
1.20      jym       135:            Release engineering</a></li>
                    136: </ul>
                    137: </li>
                    138: </ul>
1.3       dsieger   139: </div>
                    140: <div id="content"><div class="fullWidth"><div class="rowOfBoxes">
                    141: <h1>Installing/compiling other software</h1>
1.15      darcy     142: <div class="sect1">
1.1       dsieger   143: <div class="titlepage"></div>
                    144: 
1.28      wiz       145: <div class="table">
1.32      snj       146: <a name="top-table"></a><table border="0" id="top-table">
1.1       dsieger   147: <tr>
                    148:   <td align="left">
                    149: <p>
                    150: This page used to contain instructions on how to build and install software
                    151: under NetBSD.  Since in general, we <span class="bold"><strong>strongly</strong></span>
1.11      dsieger   152: 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   153: very limited additional information on this page.
                    154: </p>
                    155:   </td>
                    156:   <td align="right" valign="bottom">
1.11      dsieger   157:   <a class="ulink" href="../../about/disclaimer.html#bsd-daemon" target="_top">
1.1       dsieger   158:     <img align="middle" src="../../images/BSD-daemon.jpg" border="0" width="146" height="129" alt="BSD daemon"></a>
                    159:   </td>
                    160: </tr>
                    161: </table>
                    162: </div>
1.28      wiz       163: </div>
1.1       dsieger   164: <h3 class="title"><a name="compiling-downloading">Compiling/downloading software</a></h3>
                    165: <ul>
                    166: <li><a href="#java">How to run java programs under NetBSD</a></li>
                    167: <li><a href="#precompiled_packages">Where to find precompiled programs</a></li>
                    168: <li><a href="#elf-issue">3rd party Software that I compiled myself doesn't find its shared libraries!</a></li>
                    169: </ul>
                    170: <hr>
                    171: <h3 class="title">Compiling/downloading software</h3>
                    172: <h4 class="title">
                    173: <a name="java"></a>How to run java programs under NetBSD (<a href="#compiling-downloading">top</a>)
                    174:   </h4>
                    175: <p>
1.11      dsieger   176: There are a number of java <a class="ulink" href="packages.html" target="_top">packages</a>
1.1       dsieger   177: available in the NetBSD Packages Collection, including the latest JDKs from
1.33      maya      178: Sun (<a href="http://cdn.NetBSD.org/pub/pkgsrc/current/pkgsrc/lang/sun-jdk13/README.html" target="_top"><code class="filename">lang/sun-jdk13</code></a>, 
                    179: <a href="http://cdn.NetBSD.org/pub/pkgsrc/current/pkgsrc/lang/sun-jdk14/README.html" target="_top"><code class="filename">lang/sun-jdk14</code></a>,
                    180: <a href="http://cdn.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
                    181: <a href="http://cdn.NetBSD.org/pub/pkgsrc/current/pkgsrc/lang/kaffe/README.html" target="_top"><code class="filename">lang/kaffe</code></a> and 
                    182: <a href="http://cdn.NetBSD.org/pub/pkgsrc/current/pkgsrc/lang/wonka/README.html" target="_top"><code class="filename">lang/wonka</code></a>) run natively.
1.1       dsieger   183: </p>
                    184: <p>
                    185: You can also build your own native Sun JDK by following the instructions
1.11      dsieger   186: available from <a class="ulink" href="http://www.eyesbeyond.com/freebsddom/java/" target="_top">http://www.eyesbeyond.com/freebsddom/java/</a>.
1.1       dsieger   187: Don't let the name mislead you -- these instructions are entirely applicable
                    188: to <span class="emphasis"><em>Net</em></span>BSD as well!
                    189: </p>
                    190: <p>
                    191: At some point in the future it may be possible for The NetBSD Project to
                    192: provide native Sun JDK builds;  however, at the moment the licensing terms of
                    193: Sun's JDK prohibit us from doing so.  We will update this documentation when
                    194: the situation changes.
                    195: </p>
                    196: 
                    197: <h4 class="title">
                    198: <a name="precompiled_packages"></a>Where to find precompiled programs (<a href="#compiling-downloading">top</a>)
                    199:   </h4>
                    200: <p>
                    201: Precompiled binary packages for the various NetBSD ports are available through
1.11      dsieger   202: the <a class="ulink" href="packages.html" target="_top">NetBSD Packages Collection</a>.
1.1       dsieger   203: </p>
                    204: 
                    205: <h4 class="title">
                    206: <a name="elf-issue"></a>3rd party Software that I compiled myself doesn't find its shared libraries! (<a href="#compiling-downloading">top</a>)
                    207:   </h4>
                    208: <p>
                    209: An issue which often is encountered when trying to compile software initially
                    210: written for other Unices, is the problem with the program not finding its
1.11      dsieger   211: 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
                    212: there exists a <a class="ulink" href="../elf.html#elf-rpath" target="_top">resolution procedure</a>.
1.1       dsieger   213: </p>
                    214: <p>
1.11      dsieger   215: 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.34    ! snj       216: not yet available in pkgsrc, you can either <a href="http://netbsd.gw.com/cgi-bin/man-cgi?send-pr+1.i386+NetBSD-7.0.2">send-pr(1)</a> a report or build the
1.11      dsieger   217: package yourself.  You can find more information in the <a class="ulink" href="../pkgsrc/" target="_top">pkgsrc documentation</a>.
1.1       dsieger   218: </p>
1.3       dsieger   219: <hr>Back to  <em><a href="./">NetBSD Documentation: Software</a></em>
                    220: </div></div></div>
                    221: <div class="navfoot"></div>
1.13      mishka    222: <div id="footer"><div id="footerContent"><center>
1.3       dsieger   223: <span class="footfeed"><a href="http://www.NetBSD.org/cgi-bin/feedback.cgi">
                    224:          Contact</a> |
1.10      kano      225:       </span><span class="footcopy"><a href="../../about/disclaimer.html">
1.3       dsieger   226:       Disclaimer</a> |
1.1       dsieger   227: 
1.31      leot      228:       <span class="copyright">Copyright © 1994-2016 The NetBSD Foundation, Inc. </span>ALL RIGHTS RESERVED.<br>NetBSD<sup>®</sup> is a registered trademark of The NetBSD
1.3       dsieger   229:        Foundation, Inc.</span>
1.13      mishka    230: </center></div></div>
1.1       dsieger   231: </div></body>
                    232: </html>

CVSweb <webmaster@jp.NetBSD.org>