Annotation of htdocs/docs/software/compiling.html, revision 1.92
1.74 nia 1: <!DOCTYPE html>
1.85 martin 2: <html lang="en">
1.1 dsieger 3: <head>
1.89 maya 4: <meta charset="utf-8">
1.1 dsieger 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>
1.84 andvar 15: <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
1.1 dsieger 16: </head>
1.86 andvar 17: <body class="website"><div class="webpage" id="docs-software-compiling">
18: <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.65 maya 21: <a href="../../"><img id="projectLogo" alt="" height="120" src="../../images/NetBSD-smaller-tb.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>
29: <a href="../../">
1.66 maya 30: Home</a><ul>
1.20 jym 31: <li><a href="../../changes/">
32: Recent changes</a></li>
1.40 maya 33: <li><a href="//blog.NetBSD.org/">
1.20 jym 34: NetBSD blog</a></li>
1.61 maya 35: <li><a href="../../gallery/presentations/">
36: Presentations</a></li>
1.20 jym 37: </ul>
38: </li>
39: <li>
40: <a href="../../about/">
41: About</a><ul>
1.49 maya 42: <li><a href="../../people/developers.html">
1.66 maya 43: Developers</a></li>
1.20 jym 44: <li><a href="../../gallery/">
1.58 leot 45: Gallery</a></li>
1.66 maya 46: <li><a href="//wiki.NetBSD.org/ports/">
47: Ports</a></li>
1.73 nia 48: <li><a href="//www.pkgsrc.org/">
1.66 maya 49: Packages</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 & HOWTOs</a></li>
57: <li><a href="../../docs/guide/en/">
58: The Guide</a></li>
1.70 nia 59: <li><a href="//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>
1.67 leot 68: <li><a href="/community/">
1.66 maya 69: Community</a></li>
1.67 leot 70: <li><a href="/mailinglists/">
71: Mailing lists</a></li>
1.20 jym 72: <li><a href="../../support/send-pr.html">
1.66 maya 73: Bug reports</a></li>
1.20 jym 74: <li><a href="../../support/security/">
75: Security</a></li>
76: </ul>
77: </li>
78: <li>
79: <a href="../../developers/">
80: Developers</a><ul>
1.90 leot 81: <li><a href="//cvsweb.NetBSD.org/">
1.66 maya 82: CVSWeb</a></li>
1.40 maya 83: <li><a href="//nxr.NetBSD.org/">
1.20 jym 84: Cross-reference</a></li>
1.40 maya 85: <li><a href="//releng.NetBSD.org/">
1.20 jym 86: Release engineering</a></li>
1.40 maya 87: <li><a href="//wiki.NetBSD.org/projects/">
1.20 jym 88: Projects list</a></li>
89: </ul>
90: </li>
91: </ul>
1.3 dsieger 92: </div>
1.54 maya 93: <div id="content"><div id="mainContent" class="fullWidth"><div class="rowOfBoxes">
1.3 dsieger 94: <h1>Installing/compiling other software</h1>
1.86 andvar 95: <div class="sect1" id="content_top">
1.87 andvar 96: <div class="titlepage"></div>
1.1 dsieger 97:
98: <p>
99: This page used to contain instructions on how to build and install software
100: under NetBSD. Since in general, we <span class="bold"><strong>strongly</strong></span>
1.11 dsieger 101: 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 102: very limited additional information on this page.
103: </p>
1.28 wiz 104: </div>
1.86 andvar 105: <h3 class="title">Compiling/downloading software</h3>
1.1 dsieger 106: <ul>
107: <li><a href="#java">How to run java programs under NetBSD</a></li>
108: <li><a href="#precompiled_packages">Where to find precompiled programs</a></li>
109: <li><a href="#elf-issue">3rd party Software that I compiled myself doesn't find its shared libraries!</a></li>
110: </ul>
111: <hr>
112: <h3 class="title">Compiling/downloading software</h3>
1.86 andvar 113: <h4 class="title" id="java">How to run java programs under NetBSD</h4>
1.1 dsieger 114: <p>
1.11 dsieger 115: There are a number of java <a class="ulink" href="packages.html" target="_top">packages</a>
1.1 dsieger 116: available in the NetBSD Packages Collection, including the latest JDKs from
1.72 nia 117: Sun (<a href="https://cdn.NetBSD.org/pub/pkgsrc/current/pkgsrc/lang/sun-jdk13/index.html" target="_top"><code class="filename">lang/sun-jdk13</code></a>,
118: <a href="https://cdn.NetBSD.org/pub/pkgsrc/current/pkgsrc/lang/sun-jdk14/index.html" target="_top"><code class="filename">lang/sun-jdk14</code></a>,
119: <a href="https://cdn.NetBSD.org/pub/pkgsrc/current/pkgsrc/lang/sun-jdk15/index.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
120: <a href="https://cdn.NetBSD.org/pub/pkgsrc/current/pkgsrc/lang/kaffe/index.html" target="_top"><code class="filename">lang/kaffe</code></a> and
121: <a href="https://cdn.NetBSD.org/pub/pkgsrc/current/pkgsrc/lang/wonka/index.html" target="_top"><code class="filename">lang/wonka</code></a>) run natively.
1.1 dsieger 122: </p>
123: <p>
124: You can also build your own native Sun JDK by following the instructions
1.11 dsieger 125: available from <a class="ulink" href="http://www.eyesbeyond.com/freebsddom/java/" target="_top">http://www.eyesbeyond.com/freebsddom/java/</a>.
1.1 dsieger 126: Don't let the name mislead you -- these instructions are entirely applicable
127: to <span class="emphasis"><em>Net</em></span>BSD as well!
128: </p>
129: <p>
130: At some point in the future it may be possible for The NetBSD Project to
131: provide native Sun JDK builds; however, at the moment the licensing terms of
132: Sun's JDK prohibit us from doing so. We will update this documentation when
133: the situation changes.
134: </p>
135:
1.86 andvar 136: <h4 class="title" id="precompiled_packages">Where to find precompiled programs</h4>
1.1 dsieger 137: <p>
138: Precompiled binary packages for the various NetBSD ports are available through
1.11 dsieger 139: the <a class="ulink" href="packages.html" target="_top">NetBSD Packages Collection</a>.
1.1 dsieger 140: </p>
141:
1.86 andvar 142: <h4 class="title" id="elf-issue">3rd party Software that I compiled myself doesn't find its shared libraries!</h4>
1.1 dsieger 143: <p>
144: An issue which often is encountered when trying to compile software initially
145: written for other Unices, is the problem with the program not finding its
1.11 dsieger 146: 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
147: there exists a <a class="ulink" href="../elf.html#elf-rpath" target="_top">resolution procedure</a>.
1.1 dsieger 148: </p>
149: <p>
1.11 dsieger 150: 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.91 martin 151: not yet available in pkgsrc, you can either <a href="//man.NetBSD.org/NetBSD-11.0/send-pr.1">send-pr(1)</a> a report or build the
1.11 dsieger 152: package yourself. You can find more information in the <a class="ulink" href="../pkgsrc/" target="_top">pkgsrc documentation</a>.
1.1 dsieger 153: </p>
1.85 martin 154: <hr>Back to <em><a href="./">NetBSD Documentation: Software</a></em>
1.3 dsieger 155: </div></div></div>
156: <div class="navfoot"></div>
1.86 andvar 157: <div id="footer"><div id="footerContent">
158: <span class="footfeed"><a href="//www.NetBSD.org/cgi-bin/feedback.cgi">
1.3 dsieger 159: Contact</a> |
1.10 kano 160: </span><span class="footcopy"><a href="../../about/disclaimer.html">
1.3 dsieger 161: Disclaimer</a> |
1.1 dsieger 162:
1.88 leot 163: <span class="copyright">Copyright © 1994-2026 The NetBSD Foundation, Inc. </span>ALL RIGHTS RESERVED.<br>NetBSD<sup>®</sup> is a registered trademark of The NetBSD
1.86 andvar 164: Foundation, Inc.</span>
165: </div></div>
1.1 dsieger 166: </div></body>
167: </html>
CVSweb <webmaster@jp.NetBSD.org>