Annotation of htdocs/docs/software/compiling.html, revision 1.66
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.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>
! 48: <li><a href="http://pkgsrc.se">
! 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.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>
1.66 ! maya 68: <li><a href="//wiki.NetBSD.org/community/">
! 69: Community</a></li>
1.20 jym 70: <li><a href="../../support/send-pr.html">
1.66 ! maya 71: Bug reports</a></li>
1.20 jym 72: <li><a href="../../support/security/">
73: Security</a></li>
74: </ul>
75: </li>
76: <li>
77: <a href="../../developers/">
78: Developers</a><ul>
1.43 maya 79: <li><a href="http://cvsweb.NetBSD.org/">
1.66 ! maya 80: CVSWeb</a></li>
! 81: <li><a href="//anonhg.NetBSD.org/">
! 82: Mercurial</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.15 darcy 95: <div class="sect1">
1.1 dsieger 96: <div class="titlepage"></div>
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.1 dsieger 105: <h3 class="title"><a name="compiling-downloading">Compiling/downloading software</a></h3>
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>
113: <h4 class="title">
1.50 maya 114: <a name="java"></a>How to run java programs under NetBSD</h4>
1.1 dsieger 115: <p>
1.11 dsieger 116: There are a number of java <a class="ulink" href="packages.html" target="_top">packages</a>
1.1 dsieger 117: available in the NetBSD Packages Collection, including the latest JDKs from
1.44 maya 118: 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>,
119: <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>,
120: <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
121: <a href="https://cdn.NetBSD.org/pub/pkgsrc/current/pkgsrc/lang/kaffe/README.html" target="_top"><code class="filename">lang/kaffe</code></a> and
122: <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 123: </p>
124: <p>
125: You can also build your own native Sun JDK by following the instructions
1.11 dsieger 126: available from <a class="ulink" href="http://www.eyesbeyond.com/freebsddom/java/" target="_top">http://www.eyesbeyond.com/freebsddom/java/</a>.
1.1 dsieger 127: Don't let the name mislead you -- these instructions are entirely applicable
128: to <span class="emphasis"><em>Net</em></span>BSD as well!
129: </p>
130: <p>
131: At some point in the future it may be possible for The NetBSD Project to
132: provide native Sun JDK builds; however, at the moment the licensing terms of
133: Sun's JDK prohibit us from doing so. We will update this documentation when
134: the situation changes.
135: </p>
136:
137: <h4 class="title">
1.50 maya 138: <a name="precompiled_packages"></a>Where to find precompiled programs</h4>
1.1 dsieger 139: <p>
140: Precompiled binary packages for the various NetBSD ports are available through
1.11 dsieger 141: the <a class="ulink" href="packages.html" target="_top">NetBSD Packages Collection</a>.
1.1 dsieger 142: </p>
143:
144: <h4 class="title">
1.50 maya 145: <a name="elf-issue"></a>3rd party Software that I compiled myself doesn't find its shared libraries!</h4>
1.1 dsieger 146: <p>
147: An issue which often is encountered when trying to compile software initially
148: written for other Unices, is the problem with the program not finding its
1.11 dsieger 149: 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
150: there exists a <a class="ulink" href="../elf.html#elf-rpath" target="_top">resolution procedure</a>.
1.1 dsieger 151: </p>
152: <p>
1.11 dsieger 153: 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 154: 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 155: package yourself. You can find more information in the <a class="ulink" href="../pkgsrc/" target="_top">pkgsrc documentation</a>.
1.1 dsieger 156: </p>
1.3 dsieger 157: <hr>Back to <em><a href="./">NetBSD Documentation: Software</a></em>
158: </div></div></div>
159: <div class="navfoot"></div>
1.13 mishka 160: <div id="footer"><div id="footerContent"><center>
1.40 maya 161: <span class="footfeed"><a href="//www.NetBSD.org/cgi-bin/feedback.cgi">
1.3 dsieger 162: Contact</a> |
1.10 kano 163: </span><span class="footcopy"><a href="../../about/disclaimer.html">
1.3 dsieger 164: Disclaimer</a> |
1.1 dsieger 165:
1.60 leot 166: <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 167: Foundation, Inc.</span>
1.13 mishka 168: </center></div></div>
1.1 dsieger 169: </div></body>
170: </html>
CVSweb <webmaster@jp.NetBSD.org>