summaryrefslogtreecommitdiffstats
path: root/doc/book-enea-linux-release-info/doc/prerequisites.xml
blob: 7241ed1efb4e04f79502c7e89d9f1dffb30270da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
<chapter id="prerequisites">
  <title>Prerequisites and Getting Enea Linux</title>

  <section id="inst-host-packages">
    <title>Install Host Packages</title>

    <para>Building Enea Linux or compiling applications requires some packages
    to be installed on your Linux development host. See the list of Required
    Packages for Host Development System, found in the Yocto 2.1 document:
    <ulink
    url="https://www.yoctoproject.org/docs/2.1/ref-manual/ref-manual.html#required-packages-for-the-host-development-system">https://www.yoctoproject.org/docs/2.1/ref-manual/ref-manual.html#required-packages-for-the-host-development-system</ulink>.
    If needed, replace 2.1 with the actual Yocto version in your Enea Linux
    distribution.<remark>Sorry by the list in the Yocto document do not seem
    to be enough at all at least for platform building! Therefore we need to
    add a complete list here, and we actually have a bigger list than we
    needed, but it's better to have more and not be needed than to lack
    information.</remark></para>

    <para>Install Host Packages</para>

    <note>
      <para>The list below is generic and might contain packages that are not
      necessary. Additional packages might be required to build for some
      targets. See the Enea Linux Release Information if more packages are
      needed and which hosts have been tested by Enea for this Enea Linux
      release.<remark>QUEST: Are the lists below ok? The lists below try to
      cover ALL normal use cases for both ApplGuide and PlatfGuide, incl.
      Eclipse, instead of limiting to some use case. Easier to keep
      updated.</remark></para>
    </note>

    <section id="inst-host-packages-ubuntu-debian">
      <title>Ubuntu or Debian</title>

      <para>Ensure the system is up-to-date:</para>

      <programlisting>$ sudo apt-get update</programlisting>

      <para>For a supported <emphasis role="bold">Ubuntu</emphasis><indexterm>
          <primary>Ubuntu</primary>
        </indexterm> and <emphasis role="bold">Debian</emphasis><indexterm>
          <primary>Debian</primary>
        </indexterm> distributions you need the following packages:</para>

      <programlisting># sudo apt-get install sed wget subversion git-core
coreutils unzip texi2html texinfo libsdl1.2-dev docbook-utils fop gawk
python-pysqlite2 diffstat make gcc build-essential xsltproc g++
desktop-file-utils chrpath libgl1-mesa-dev libglu1-mesa-dev autoconf automake
groff libtool xterm libxml-parser-perl</programlisting>
    </section>
  </section>

  <section id="get-el">
    <title>Getting Enea Linux</title>

    <para>For platform developers, an Enea Linux release is available for
    cloning from git.enea.com. Releases are available in distribution-specific
    repositories on git.enea.com, for cloning using the repo tool in the local
    workstation. For more information on this topic, see the <olink
    targetdoc="book_enea_linux_platforms_dev_guide"
    targetptr="book_enea_linux_platforms_dev_guide">Enea Linux Platforms
    Development Guide</olink> on <ulink
    url="http://portal.enea.com">http://portal.enea.com</ulink>.</para>

    <para>Application developers will download pre-complied images from the
    Enea Portal or will receive prebuilt images from the platform developers.
    For further information on this see <olink
    targetdoc="book_enea_linux_app_dev_guide"
    targetptr="book_enea_linux_app_dev_guide">Enea Linux Application
    Development Guide</olink>.</para>
  </section>
</chapter>