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

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>
                     16: <body class="website"><div class="webpage">
1.55      maya       17: <a name="docs-software-compiling"></a><div id="top"><a href="#mainContent" id="skiplink" tabindex="1">Skip to main content.</a></div>
1.37      maya       18: <div id="centralHeader"><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.63    ! maya       25: <a href="/"><div id="fundraiser">
        !            26: <br><div id="fundraiser-amount"><div id="fundraiser-raised"></div></div>
        !            27: </div></a>
1.37      maya       28: </div></div>
1.38      maya       29: <input id="hamburger" type="checkbox"><label class="menuicon" for="hamburger"><span></span></label><div id="navBar" role="navigation">
1.6       dsieger    30: <span class="doNotDisplay">
                     31:          Navigation:
1.20      jym        32:        </span><ul>
                     33: <li><a href="../../">
                     34:          Home</a></li>
                     35: <li>
                     36: <a href="../../">
1.23      wiz        37:          News &amp; Media</a><ul>
1.20      jym        38: <li><a href="../../changes/">
                     39:            Recent changes</a></li>
1.40      maya       40: <li><a href="//blog.NetBSD.org/">
1.20      jym        41:            NetBSD blog</a></li>
1.61      maya       42: <li><a href="../../gallery/presentations/">
                     43:            Presentations</a></li>
1.20      jym        44: </ul>
                     45: </li>
                     46: <li>
                     47: <a href="../../about/">
                     48:          About</a><ul>
                     49: <li><a href="../../about/">
                     50:            NetBSD</a></li>
1.49      maya       51: <li><a href="../../people/developers.html">
                     52:            NetBSD developers</a></li>
1.20      jym        53: <li><a href="../../gallery/">
1.58      leot       54:            Gallery</a></li>
1.20      jym        55: </ul>
                     56: </li>
                     57: <li>
                     58: <a href="../../docs/">
                     59:          Documentation</a><ul>
                     60: <li><a href="../../docs/misc/index.html">
                     61:            FAQ &amp; HOWTOs</a></li>
                     62: <li><a href="../../docs/guide/en/">
                     63:            The Guide</a></li>
1.59      reed       64: <li><a href="https://man.NetBSD.org/">
1.20      jym        65:            Manual pages</a></li>
1.40      maya       66: <li><a href="//wiki.NetBSD.org/">
1.20      jym        67:            Wiki</a></li>
                     68: </ul>
                     69: </li>
                     70: <li>
                     71: <a href="../../support/">
                     72:          Support</a><ul>
                     73: <li><a href="../../support/send-pr.html">
                     74:            Problem report guide</a></li>
                     75: <li><a href="../../cgi-bin/sendpr.cgi?gndb=netbsd">
                     76:            Report a bug</a></li>
                     77: <li><a href="../../support/query-pr.html">
                     78:            Query bug database</a></li>
                     79: <li><a href="../../support/security/">
                     80:            Security</a></li>
                     81: </ul>
                     82: </li>
                     83: <li>
                     84: <a href="../../community/">
                     85:          Community</a><ul>
                     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>
1.54      maya      125: <div id="content"><div id="mainContent" class="fullWidth"><div class="rowOfBoxes">
1.3       dsieger   126: <h1>Installing/compiling other software</h1>
1.15      darcy     127: <div class="sect1">
1.1       dsieger   128: <div class="titlepage"></div>
                    129: 
                    130: <p>
                    131: This page used to contain instructions on how to build and install software
                    132: under NetBSD.  Since in general, we <span class="bold"><strong>strongly</strong></span>
1.11      dsieger   133: 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   134: very limited additional information on this page.
                    135: </p>
1.28      wiz       136: </div>
1.1       dsieger   137: <h3 class="title"><a name="compiling-downloading">Compiling/downloading software</a></h3>
                    138: <ul>
                    139: <li><a href="#java">How to run java programs under NetBSD</a></li>
                    140: <li><a href="#precompiled_packages">Where to find precompiled programs</a></li>
                    141: <li><a href="#elf-issue">3rd party Software that I compiled myself doesn't find its shared libraries!</a></li>
                    142: </ul>
                    143: <hr>
                    144: <h3 class="title">Compiling/downloading software</h3>
                    145: <h4 class="title">
1.50      maya      146: <a name="java"></a>How to run java programs under NetBSD</h4>
1.1       dsieger   147: <p>
1.11      dsieger   148: There are a number of java <a class="ulink" href="packages.html" target="_top">packages</a>
1.1       dsieger   149: available in the NetBSD Packages Collection, including the latest JDKs from
1.44      maya      150: 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>, 
                    151: <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>,
                    152: <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
                    153: <a href="https://cdn.NetBSD.org/pub/pkgsrc/current/pkgsrc/lang/kaffe/README.html" target="_top"><code class="filename">lang/kaffe</code></a> and 
                    154: <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   155: </p>
                    156: <p>
                    157: You can also build your own native Sun JDK by following the instructions
1.11      dsieger   158: available from <a class="ulink" href="http://www.eyesbeyond.com/freebsddom/java/" target="_top">http://www.eyesbeyond.com/freebsddom/java/</a>.
1.1       dsieger   159: Don't let the name mislead you -- these instructions are entirely applicable
                    160: to <span class="emphasis"><em>Net</em></span>BSD as well!
                    161: </p>
                    162: <p>
                    163: At some point in the future it may be possible for The NetBSD Project to
                    164: provide native Sun JDK builds;  however, at the moment the licensing terms of
                    165: Sun's JDK prohibit us from doing so.  We will update this documentation when
                    166: the situation changes.
                    167: </p>
                    168: 
                    169: <h4 class="title">
1.50      maya      170: <a name="precompiled_packages"></a>Where to find precompiled programs</h4>
1.1       dsieger   171: <p>
                    172: Precompiled binary packages for the various NetBSD ports are available through
1.11      dsieger   173: the <a class="ulink" href="packages.html" target="_top">NetBSD Packages Collection</a>.
1.1       dsieger   174: </p>
                    175: 
                    176: <h4 class="title">
1.50      maya      177: <a name="elf-issue"></a>3rd party Software that I compiled myself doesn't find its shared libraries!</h4>
1.1       dsieger   178: <p>
                    179: An issue which often is encountered when trying to compile software initially
                    180: written for other Unices, is the problem with the program not finding its
1.11      dsieger   181: 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
                    182: there exists a <a class="ulink" href="../elf.html#elf-rpath" target="_top">resolution procedure</a>.
1.1       dsieger   183: </p>
                    184: <p>
1.11      dsieger   185: 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    186: 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   187: package yourself.  You can find more information in the <a class="ulink" href="../pkgsrc/" target="_top">pkgsrc documentation</a>.
1.1       dsieger   188: </p>
1.3       dsieger   189: <hr>Back to  <em><a href="./">NetBSD Documentation: Software</a></em>
                    190: </div></div></div>
                    191: <div class="navfoot"></div>
1.13      mishka    192: <div id="footer"><div id="footerContent"><center>
1.40      maya      193: <span class="footfeed"><a href="//www.NetBSD.org/cgi-bin/feedback.cgi">
1.3       dsieger   194:          Contact</a> |
1.10      kano      195:       </span><span class="footcopy"><a href="../../about/disclaimer.html">
1.3       dsieger   196:       Disclaimer</a> |
1.1       dsieger   197: 
1.60      leot      198:       <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   199:        Foundation, Inc.</span>
1.13      mishka    200: </center></div></div>
1.1       dsieger   201: </div></body>
                    202: </html>

CVSweb <webmaster@jp.NetBSD.org>