Annotation of htdocs/docs/software/compiling.xml, revision 1.3
1.1 dsieger 1: <?xml version="1.0"?>
2: <!DOCTYPE webpage
3: PUBLIC "-//NetBSD//DTD Website-based NetBSD Extension//EN"
4: "http://www.NetBSD.org/XML/htdocs/lang/share/xml/website-netbsd.dtd">
5:
6: <webpage id="docs-software-compiling">
7: <config param="desc" value="Installing/compiling other software"/>
1.3 ! maya 8: <config param="cvstag" value="$NetBSD: compiling.xml,v 1.2 2007/08/01 15:36:03 kano Exp $"/>
! 9: <config param="rcsdate" value="$Date: 2007/08/01 15:36:03 $"/>
1.1 dsieger 10: <head>
11: <!-- Copyright (c) 1994-2005
12: The NetBSD Foundation, Inc. ALL RIGHTS RESERVED. -->
13: <title>Installing/compiling other software</title>
14: </head>
15:
16: <sect1 id="top">
17:
18: <para>
19: This page used to contain instructions on how to build and install software
20: under NetBSD. Since in general, we <emphasis role="bold">strongly</emphasis>
21: recommend you make use of the many software packages available in the <ulink
22: url="packages.html">NetBSD packages collection</ulink>, you will only find
23: very limited additional information on this page.
24: </para>
25: </sect1>
26:
27: <sect1 role="toc">
28:
29: <sect2 id="compiling-downloading">
30: <title>Compiling/downloading software</title>
31:
32: <sect3 id="java">
33: <title>How to run java programs under NetBSD</title>
34: <para>
35: There are a number of java <ulink url="packages.html">packages</ulink>
36: available in the NetBSD Packages Collection, including the latest JDKs from
37: Sun (<filename role="pkg">lang/sun-jdk13</filename>,
38: <filename role="pkg">lang/sun-jdk14</filename>,
39: <filename role="pkg">lang/sun-jdk15</filename>). The Sun JDKs currently run under <ulink
40: url="../compat.html">binary emulation</ulink>, while others (such as
41: <filename role="pkg">lang/kaffe</filename> and
42: <filename role="pkg">lang/wonka</filename>) run natively.
43: </para>
44: <para>
45: You can also build your own native Sun JDK by following the instructions
46: available from <ulink url="http://www.eyesbeyond.com/freebsddom/java/"/>.
47: Don't let the name mislead you -- these instructions are entirely applicable
48: to <emphasis>Net</emphasis>BSD as well!
49: </para>
50: <para>
51: At some point in the future it may be possible for The NetBSD Project to
52: provide native Sun JDK builds; however, at the moment the licensing terms of
53: Sun's JDK prohibit us from doing so. We will update this documentation when
54: the situation changes.
55: </para>
56: </sect3>
57:
58: <sect3 id="precompiled_packages">
59: <title>Where to find precompiled programs</title>
60: <para>
61: Precompiled binary packages for the various NetBSD ports are available through
62: the <ulink url="packages.html">NetBSD Packages Collection</ulink>.
63: </para>
64: </sect3>
65:
66: <sect3 id="elf-issue">
67: <title>3rd party Software that I compiled myself doesn't find its shared libraries!</title>
68: <para>
69: An issue which often is encountered when trying to compile software initially
70: written for other Unices, is the problem with the program not finding its
71: shared libraries. This is due to the philosophy of NetBSD's <ulink
72: url="../elf.html#elf-whatis">ELF</ulink> implementation. This is a known problem, and
73: there exists a <ulink url="../elf.html#elf-rpath">resolution procedure</ulink>.
74: </para>
75: <para>
76: Of course, The Right Thing To Do is to install all software using <ulink
77: url="packages.html">the NetBSD Packages Collection</ulink>. If the software is
78: not yet available in pkgsrc, you can either &man.send-pr.1; a report or build the
79: package yourself. You can find more information in the <ulink
80: url="../pkgsrc/">pkgsrc documentation</ulink>.
81: </para>
82: </sect3>
83:
84: </sect2>
85: </sect1>
86:
87: <parentsec url="./" text="NetBSD Documentation: Software"/>
88: </webpage>
CVSweb <webmaster@jp.NetBSD.org>