Annotation of htdocs/docs/software/compiling.html, revision 1.2
1.1 dsieger 1: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
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">
9: <link rel="next" href="../../docs/software/packages.html" title="pkgsrc: The NetBSD Packages Collection">
10: <link rel="last" href="../../docs/software/pkg-growth-jpg.html" title="NetBSD Package system growth">
11: <link rel="stylesheet" href="/NetBSD.css" type="text/css">
12:
13: <title>Installing/compiling other software</title>
14: </head>
15: <body class="website"><div class="webpage">
16: <a name="docs-software-compiling"></a><h1>Installing/compiling other software</h1>
17: <div class="sect1" lang="en">
18: <div class="titlepage"></div>
19:
20: <table border="0" id="top-table">
21: <tr>
22: <td align="left">
23: <p>
24: This page used to contain instructions on how to build and install software
25: under NetBSD. Since in general, we <span class="bold"><strong>strongly</strong></span>
26: recommend you make use of the many software packages available in the <a href="packages.html" target="_top">NetBSD packages collection</a>, you will only find
27: very limited additional information on this page.
28: </p>
29: </td>
30: <td align="right" valign="bottom">
31: <a href="../../Misc/disclaimer.html#bsd-daemon" target="_top">
32: <img align="middle" src="../../images/BSD-daemon.jpg" border="0" width="146" height="129" alt="BSD daemon"></a>
33: </td>
34: </tr>
35: </table>
36: </div>
37: <h3 class="title"><a name="compiling-downloading">Compiling/downloading software</a></h3>
38: <ul>
39: <li><a href="#java">How to run java programs under NetBSD</a></li>
40: <li><a href="#precompiled_packages">Where to find precompiled programs</a></li>
41: <li><a href="#elf-issue">3rd party Software that I compiled myself doesn't find its shared libraries!</a></li>
42: </ul>
43: <hr>
44: <h3 class="title">Compiling/downloading software</h3>
45: <h4 class="title">
46: <a name="java"></a>How to run java programs under NetBSD (<a href="#compiling-downloading">top</a>)
47: </h4>
48: <p>
49: There are a number of java <a href="packages.html" target="_top">packages</a>
50: available in the NetBSD Packages Collection, including the latest JDKs from
51: Sun (<a href="ftp://ftp.NetBSD.org/pub/pkgsrc/current/pkgsrc/lang/sun-jdk13/README.html" target="_top"><code class="filename">lang/sun-jdk13</code></a>,
52: <a href="ftp://ftp.NetBSD.org/pub/pkgsrc/current/pkgsrc/lang/sun-jdk14/README.html" target="_top"><code class="filename">lang/sun-jdk14</code></a>,
53: <a href="ftp://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 href="../compat.html" target="_top">binary emulation</a>, while others (such as
54: <a href="ftp://ftp.NetBSD.org/pub/pkgsrc/current/pkgsrc/lang/kaffe/README.html" target="_top"><code class="filename">lang/kaffe</code></a> and
55: <a href="ftp://ftp.NetBSD.org/pub/pkgsrc/current/pkgsrc/lang/wonka/README.html" target="_top"><code class="filename">lang/wonka</code></a>) run natively.
56: </p>
57: <p>
58: You can also build your own native Sun JDK by following the instructions
59: available from <a href="http://www.eyesbeyond.com/freebsddom/java/" target="_top">http://www.eyesbeyond.com/freebsddom/java/</a>.
60: Don't let the name mislead you -- these instructions are entirely applicable
61: to <span class="emphasis"><em>Net</em></span>BSD as well!
62: </p>
63: <p>
64: At some point in the future it may be possible for The NetBSD Project to
65: provide native Sun JDK builds; however, at the moment the licensing terms of
66: Sun's JDK prohibit us from doing so. We will update this documentation when
67: the situation changes.
68: </p>
69:
70: <h4 class="title">
71: <a name="precompiled_packages"></a>Where to find precompiled programs (<a href="#compiling-downloading">top</a>)
72: </h4>
73: <p>
74: Precompiled binary packages for the various NetBSD ports are available through
75: the <a href="packages.html" target="_top">NetBSD Packages Collection</a>.
76: </p>
77:
78: <h4 class="title">
79: <a name="elf-issue"></a>3rd party Software that I compiled myself doesn't find its shared libraries! (<a href="#compiling-downloading">top</a>)
80: </h4>
81: <p>
82: An issue which often is encountered when trying to compile software initially
83: written for other Unices, is the problem with the program not finding its
84: shared libraries. This is due to the philosophy of NetBSD's <a href="../elf.html#elf-whatis" target="_top">ELF</a> implementation. This is a known problem, and
85: there exists a <a href="../elf.html#elf-rpath" target="_top">resolution procedure</a>.
86: </p>
87: <p>
88: Of course, The Right Thing To Do is to install all software using <a href="packages.html" target="_top">the NetBSD Packages Collection</a>. If the software is
89: not yet available in pkgsrc, you can either <a href="http://netbsd.gw.com/cgi-bin/man-cgi?send-pr+1+NetBSD-current">send-pr(1)</a> a report or build the
90: package yourself. You can find more information in the <a href="../pkgsrc/" target="_top">pkgsrc documentation</a>.
91: </p>
92: <hr>Back to <em><a href="./">NetBSD Documentation: Software</a></em><div class="navfoot">
93: <hr>
94: <table border="0" summary="Footer navigation"><tr>
95: <td class="foothome"><span class="foothome"><a href="../../."><img src="/images/NetBSD-flag.png" alt="[NetBSD flag]" border="0" width="90" height="90"></a></span></td>
96: <td class="foothome">
97: <span class="foothome"><a href="../../.">Home page</a></span><br>
98: </td>
99: </tr></table>
100: <hr>
101: </div>
102: <p></p>
103: <span class="footfeed"><a href="http://www.NetBSD.org/cgi-bin/feedback.cgi">(contact us)</a></span>
104:
105:
1.2 ! dsieger 106: <span class="foottag">Generated from <em>%NetBSD: compiling.xml,v 1.1 2007/06/09 11:34:47 dsieger Exp %</em></span><br><span class="footcopy"><a href="/Misc/disclaimer.html"><span class="copyright">Copyright © 1994-2007 The NetBSD Foundation, Inc. </span>ALL RIGHTS RESERVED.<br>NetBSD<sup>®</sup> is a registered trademark of The NetBSD
1.1 dsieger 107: Foundation, Inc.</a></span>
108: </div></body>
109: </html>
CVSweb <webmaster@jp.NetBSD.org>