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

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

CVSweb <webmaster@jp.NetBSD.org>