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

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

CVSweb <webmaster@jp.NetBSD.org>