Annotation of htdocs/docs/software/compiling.html, revision 1.20
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.1 dsieger 12:
13: <title>Installing/compiling other software</title>
14: </head>
15: <body class="website"><div class="webpage">
1.3 dsieger 16: <a name="docs-software-compiling"></a><div id="top"><a href="#mainContent" class="doNotDisplay doNotPrint">Skip to main content.</a></div>
1.20 ! jym 17: <div id="centralHeader">
! 18: <a href="../../"><img alt="[NetBSD Logo]" src="../../images/NetBSD-headerlogo.png"></a><div id="headerTools">
! 19: <div id="header-cse-search-form">Google custom search</div>
1.16 spz 20: <script src="http://www.google.com/jsapi" type="text/javascript"></script><script type="text/javascript">
21: google.load('search', '1', {language : 'en'});
22: google.setOnLoadCallback(function() {
23: var header_customSearchControl = new google.search.CustomSearchControl('006277936787196004968:mbdhrauy1wm');
24: header_customSearchControl.setResultSetSize(google.search.Search.FILTERED_CSE_RESULTSET);
25: var header_options = new google.search.DrawOptions();
26: header_options.enableSearchboxOnly("http://google.com/cse?cx=006277936787196004968:mbdhrauy1wm");
27: header_customSearchControl.draw('header-cse-search-form', header_options);
28: }, true);
1.20 ! jym 29: </script>
! 30: </div>
1.3 dsieger 31: </div>
1.20 ! jym 32: <div id="navBar" role="navigation">
1.6 dsieger 33: <span class="doNotDisplay">
34: Navigation:
1.20 ! jym 35: </span><ul>
! 36: <li><a href="../../">
! 37: Home</a></li>
! 38: <li>
! 39: <a href="../../">
! 40: New & Media</a><ul>
! 41: <li><a href="../../changes/">
! 42: Recent changes</a></li>
! 43: <li><a href="http://blog.netbsd.org/">
! 44: NetBSD blog</a></li>
! 45: <li><a href="../../gallery/events.html">
! 46: Events</a></li>
! 47: <li><a href="../../changes/rss.html">
! 48: Feeds</a></li>
! 49: </ul>
! 50: </li>
! 51: <li>
! 52: <a href="../../about/">
! 53: About</a><ul>
! 54: <li><a href="../../about/">
! 55: NetBSD</a></li>
! 56: <li><a href="../../foundation/">
! 57: The NetBSD Foundation</a></li>
! 58: <li><a href="../../gallery/">
! 59: Advocacy</a></li>
! 60: </ul>
! 61: </li>
! 62: <li>
! 63: <a href="../../docs/">
! 64: Documentation</a><ul>
! 65: <li><a href="../../docs/misc/index.html">
! 66: FAQ & HOWTOs</a></li>
! 67: <li><a href="../../docs/guide/en/">
! 68: The Guide</a></li>
! 69: <li><a href="http://man.netbsd.org/">
! 70: Manual pages</a></li>
! 71: <li><a href="http://wiki.netbsd.org/">
! 72: Wiki</a></li>
! 73: </ul>
! 74: </li>
! 75: <li>
! 76: <a href="../../support/">
! 77: Support</a><ul>
! 78: <li><a href="../../support/send-pr.html">
! 79: Problem report guide</a></li>
! 80: <li><a href="../../cgi-bin/sendpr.cgi?gndb=netbsd">
! 81: Report a bug</a></li>
! 82: <li><a href="../../support/query-pr.html">
! 83: Query bug database</a></li>
! 84: <li><a href="../../support/security/">
! 85: Security</a></li>
! 86: </ul>
! 87: </li>
! 88: <li>
! 89: <a href="../../community/">
! 90: Community</a><ul>
! 91: <li><a href="http://onetbsd.org/">
! 92: Blogs</a></li>
! 93: <li><a href="../../mailinglists/">
! 94: Mailing lists</a></li>
! 95: <li><a href="http://mail-index.netbsd.org/">
! 96: List archives</a></li>
! 97: </ul>
! 98: </li>
! 99: <li>
! 100: <a href="../../developers/">
! 101: Developers</a><ul>
! 102: <li><a href="http://cvsweb.netbsd.org/">
! 103: Browse source</a></li>
! 104: <li><a href="http://nxr.netbsd.org/">
! 105: Cross-reference</a></li>
! 106: <li><a href="http://releng.netbsd.org/">
! 107: Release engineering</a></li>
! 108: <li><a href="http://wiki.netbsd.org/projects/">
! 109: Projects list</a></li>
! 110: </ul>
! 111: </li>
! 112: <li>
! 113: <a href="../../ports/">
! 114: Ports</a><ul>
! 115: <li><a href="../../ports/history.html">
! 116: History</a></li>
! 117: <li><a href="../../ports/emulators.html">
! 118: Emulators</a></li>
! 119: </ul>
! 120: </li>
! 121: <li>
! 122: <a href="http://www.pkgsrc.org/">
! 123: Packages</a><ul>
! 124: <li><a href="http://www.pkgsrc.se/">
! 125: Browse packages</a></li>
! 126: <li><a href="http://releng.netbsd.org/index-pkgsrc.html">
! 127: Release engineering</a></li>
! 128: </ul>
! 129: </li>
! 130: </ul>
1.3 dsieger 131: </div>
132: <div id="content"><div class="fullWidth"><div class="rowOfBoxes">
133: <h1>Installing/compiling other software</h1>
1.15 darcy 134: <div class="sect1">
1.1 dsieger 135: <div class="titlepage"></div>
136:
137: <table border="0" id="top-table">
138: <tr>
139: <td align="left">
140: <p>
141: This page used to contain instructions on how to build and install software
142: under NetBSD. Since in general, we <span class="bold"><strong>strongly</strong></span>
1.11 dsieger 143: 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 144: very limited additional information on this page.
145: </p>
146: </td>
147: <td align="right" valign="bottom">
1.11 dsieger 148: <a class="ulink" href="../../about/disclaimer.html#bsd-daemon" target="_top">
1.1 dsieger 149: <img align="middle" src="../../images/BSD-daemon.jpg" border="0" width="146" height="129" alt="BSD daemon"></a>
150: </td>
151: </tr>
152: </table>
153: </div>
154: <h3 class="title"><a name="compiling-downloading">Compiling/downloading software</a></h3>
155: <ul>
156: <li><a href="#java">How to run java programs under NetBSD</a></li>
157: <li><a href="#precompiled_packages">Where to find precompiled programs</a></li>
158: <li><a href="#elf-issue">3rd party Software that I compiled myself doesn't find its shared libraries!</a></li>
159: </ul>
160: <hr>
161: <h3 class="title">Compiling/downloading software</h3>
162: <h4 class="title">
163: <a name="java"></a>How to run java programs under NetBSD (<a href="#compiling-downloading">top</a>)
164: </h4>
165: <p>
1.11 dsieger 166: There are a number of java <a class="ulink" href="packages.html" target="_top">packages</a>
1.1 dsieger 167: available in the NetBSD Packages Collection, including the latest JDKs from
1.18 tron 168: Sun (<a href="http://ftp.NetBSD.org/pub/pkgsrc/current/pkgsrc/lang/sun-jdk13/README.html" target="_top"><code class="filename">lang/sun-jdk13</code></a>,
169: <a href="http://ftp.NetBSD.org/pub/pkgsrc/current/pkgsrc/lang/sun-jdk14/README.html" target="_top"><code class="filename">lang/sun-jdk14</code></a>,
170: <a href="http://ftp.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
171: <a href="http://ftp.NetBSD.org/pub/pkgsrc/current/pkgsrc/lang/kaffe/README.html" target="_top"><code class="filename">lang/kaffe</code></a> and
172: <a href="http://ftp.NetBSD.org/pub/pkgsrc/current/pkgsrc/lang/wonka/README.html" target="_top"><code class="filename">lang/wonka</code></a>) run natively.
1.1 dsieger 173: </p>
174: <p>
175: You can also build your own native Sun JDK by following the instructions
1.11 dsieger 176: available from <a class="ulink" href="http://www.eyesbeyond.com/freebsddom/java/" target="_top">http://www.eyesbeyond.com/freebsddom/java/</a>.
1.1 dsieger 177: Don't let the name mislead you -- these instructions are entirely applicable
178: to <span class="emphasis"><em>Net</em></span>BSD as well!
179: </p>
180: <p>
181: At some point in the future it may be possible for The NetBSD Project to
182: provide native Sun JDK builds; however, at the moment the licensing terms of
183: Sun's JDK prohibit us from doing so. We will update this documentation when
184: the situation changes.
185: </p>
186:
187: <h4 class="title">
188: <a name="precompiled_packages"></a>Where to find precompiled programs (<a href="#compiling-downloading">top</a>)
189: </h4>
190: <p>
191: Precompiled binary packages for the various NetBSD ports are available through
1.11 dsieger 192: the <a class="ulink" href="packages.html" target="_top">NetBSD Packages Collection</a>.
1.1 dsieger 193: </p>
194:
195: <h4 class="title">
196: <a name="elf-issue"></a>3rd party Software that I compiled myself doesn't find its shared libraries! (<a href="#compiling-downloading">top</a>)
197: </h4>
198: <p>
199: An issue which often is encountered when trying to compile software initially
200: written for other Unices, is the problem with the program not finding its
1.11 dsieger 201: 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
202: there exists a <a class="ulink" href="../elf.html#elf-rpath" target="_top">resolution procedure</a>.
1.1 dsieger 203: </p>
204: <p>
1.11 dsieger 205: 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.16 spz 206: not yet available in pkgsrc, you can either <a href="http://netbsd.gw.com/cgi-bin/man-cgi?send-pr+1+NetBSD-5.1+i386">send-pr(1)</a> a report or build the
1.11 dsieger 207: package yourself. You can find more information in the <a class="ulink" href="../pkgsrc/" target="_top">pkgsrc documentation</a>.
1.1 dsieger 208: </p>
1.3 dsieger 209: <hr>Back to <em><a href="./">NetBSD Documentation: Software</a></em>
210: </div></div></div>
211: <div class="navfoot"></div>
1.13 mishka 212: <div id="footer"><div id="footerContent"><center>
1.3 dsieger 213: <span class="footfeed"><a href="http://www.NetBSD.org/cgi-bin/feedback.cgi">
214: Contact</a> |
1.10 kano 215: </span><span class="footcopy"><a href="../../about/disclaimer.html">
1.3 dsieger 216: Disclaimer</a> |
1.1 dsieger 217:
1.17 darcy 218: <span class="copyright">Copyright © 1994-2012 The NetBSD Foundation, Inc. </span>ALL RIGHTS RESERVED.<br>NetBSD<sup>®</sup> is a registered trademark of The NetBSD
1.3 dsieger 219: Foundation, Inc.</span>
1.13 mishka 220: </center></div></div>
1.1 dsieger 221: </div></body>
222: </html>
CVSweb <webmaster@jp.NetBSD.org>