Annotation of htdocs/docs/software/compiling.html, revision 1.77
1.74 nia 1: <!DOCTYPE html>
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.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.43 maya 81: <li><a href="http://cvsweb.NetBSD.org/">
1.66 maya 82: CVSWeb</a></li>
83: <li><a href="//anonhg.NetBSD.org/">
84: Mercurial</a></li>
1.40 maya 85: <li><a href="//nxr.NetBSD.org/">
1.20 jym 86: Cross-reference</a></li>
1.40 maya 87: <li><a href="//releng.NetBSD.org/">
1.20 jym 88: Release engineering</a></li>
1.40 maya 89: <li><a href="//wiki.NetBSD.org/projects/">
1.20 jym 90: Projects list</a></li>
91: </ul>
92: </li>
93: </ul>
1.3 dsieger 94: </div>
1.54 maya 95: <div id="content"><div id="mainContent" class="fullWidth"><div class="rowOfBoxes">
1.3 dsieger 96: <h1>Installing/compiling other software</h1>
1.15 darcy 97: <div class="sect1">
1.1 dsieger 98: <div class="titlepage"></div>
99:
100: <p>
101: This page used to contain instructions on how to build and install software
102: under NetBSD. Since in general, we <span class="bold"><strong>strongly</strong></span>
1.11 dsieger 103: 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 104: very limited additional information on this page.
105: </p>
1.28 wiz 106: </div>
1.1 dsieger 107: <h3 class="title"><a name="compiling-downloading">Compiling/downloading software</a></h3>
108: <ul>
109: <li><a href="#java">How to run java programs under NetBSD</a></li>
110: <li><a href="#precompiled_packages">Where to find precompiled programs</a></li>
111: <li><a href="#elf-issue">3rd party Software that I compiled myself doesn't find its shared libraries!</a></li>
112: </ul>
113: <hr>
114: <h3 class="title">Compiling/downloading software</h3>
115: <h4 class="title">
1.50 maya 116: <a name="java"></a>How to run java programs under NetBSD</h4>
1.1 dsieger 117: <p>
1.11 dsieger 118: There are a number of java <a class="ulink" href="packages.html" target="_top">packages</a>
1.1 dsieger 119: available in the NetBSD Packages Collection, including the latest JDKs from
1.72 nia 120: 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>,
121: <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>,
122: <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
123: <a href="https://cdn.NetBSD.org/pub/pkgsrc/current/pkgsrc/lang/kaffe/index.html" target="_top"><code class="filename">lang/kaffe</code></a> and
124: <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 125: </p>
126: <p>
127: You can also build your own native Sun JDK by following the instructions
1.11 dsieger 128: available from <a class="ulink" href="http://www.eyesbeyond.com/freebsddom/java/" target="_top">http://www.eyesbeyond.com/freebsddom/java/</a>.
1.1 dsieger 129: Don't let the name mislead you -- these instructions are entirely applicable
130: to <span class="emphasis"><em>Net</em></span>BSD as well!
131: </p>
132: <p>
133: At some point in the future it may be possible for The NetBSD Project to
134: provide native Sun JDK builds; however, at the moment the licensing terms of
135: Sun's JDK prohibit us from doing so. We will update this documentation when
136: the situation changes.
137: </p>
138:
139: <h4 class="title">
1.50 maya 140: <a name="precompiled_packages"></a>Where to find precompiled programs</h4>
1.1 dsieger 141: <p>
142: Precompiled binary packages for the various NetBSD ports are available through
1.11 dsieger 143: the <a class="ulink" href="packages.html" target="_top">NetBSD Packages Collection</a>.
1.1 dsieger 144: </p>
145:
146: <h4 class="title">
1.50 maya 147: <a name="elf-issue"></a>3rd party Software that I compiled myself doesn't find its shared libraries!</h4>
1.1 dsieger 148: <p>
149: An issue which often is encountered when trying to compile software initially
150: written for other Unices, is the problem with the program not finding its
1.11 dsieger 151: 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
152: there exists a <a class="ulink" href="../elf.html#elf-rpath" target="_top">resolution procedure</a>.
1.1 dsieger 153: </p>
154: <p>
1.11 dsieger 155: 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.77 ! martin 156: not yet available in pkgsrc, you can either <a href="//man.NetBSD.org/NetBSD-9.3/i386/send-pr.1">send-pr(1)</a> a report or build the
1.11 dsieger 157: package yourself. You can find more information in the <a class="ulink" href="../pkgsrc/" target="_top">pkgsrc documentation</a>.
1.1 dsieger 158: </p>
1.3 dsieger 159: <hr>Back to <em><a href="./">NetBSD Documentation: Software</a></em>
160: </div></div></div>
161: <div class="navfoot"></div>
1.13 mishka 162: <div id="footer"><div id="footerContent"><center>
1.40 maya 163: <span class="footfeed"><a href="//www.NetBSD.org/cgi-bin/feedback.cgi">
1.3 dsieger 164: Contact</a> |
1.10 kano 165: </span><span class="footcopy"><a href="../../about/disclaimer.html">
1.3 dsieger 166: Disclaimer</a> |
1.1 dsieger 167:
1.76 charlott 168: <span class="copyright">Copyright © 1994-2022 The NetBSD Foundation, Inc. </span>ALL RIGHTS RESERVED.<br>NetBSD<sup>®</sup> is a registered trademark of The NetBSD
1.3 dsieger 169: Foundation, Inc.</span>
1.13 mishka 170: </center></div></div>
1.1 dsieger 171: </div></body>
172: </html>
CVSweb <webmaster@jp.NetBSD.org>