changeset 52921 | f83b21839314 |
parent 52734 | d537553ed639 |
child 52941 | a430555c3d4e |
52920:100818c5ddd0 | 52921:f83b21839314 |
---|---|
394 </ul> |
394 </ul> |
395 <p>Use <code>--with-cups=<path></code> if <code>configure</code> does not properly locate your CUPS files.</p> |
395 <p>Use <code>--with-cups=<path></code> if <code>configure</code> does not properly locate your CUPS files.</p> |
396 <h3 id="x11">X11</h3> |
396 <h3 id="x11">X11</h3> |
397 <p>Certain <a href="http://www.x.org/">X11</a> libraries and include files are required on Linux and Solaris.</p> |
397 <p>Certain <a href="http://www.x.org/">X11</a> libraries and include files are required on Linux and Solaris.</p> |
398 <ul> |
398 <ul> |
399 <li>To install on an apt-based Linux, try running <code>sudo apt-get install libx11-dev libxext-dev libxrender-dev libxtst-dev libxt-dev</code>.</li> |
399 <li>To install on an apt-based Linux, try running <code>sudo apt-get install libx11-dev libxext-dev libxrender-dev libxrandr-dev libxtst-dev libxt-dev</code>.</li> |
400 <li>To install on an rpm-based Linux, try running <code>sudo yum install libXtst-devel libXt-devel libXrender-devel libXi-devel</code>.</li> |
400 <li>To install on an rpm-based Linux, try running <code>sudo yum install libXtst-devel libXt-devel libXrender-devel libXrandr-devel libXi-devel</code>.</li> |
401 <li>To install on Solaris, try running <code>pkg install x11/header/x11-protocols x11/library/libice x11/library/libpthread-stubs x11/library/libsm x11/library/libx11 x11/library/libxau x11/library/libxcb x11/library/libxdmcp x11/library/libxevie x11/library/libxext x11/library/libxrender x11/library/libxscrnsaver x11/library/libxtst x11/library/toolkit/libxt</code>.</li> |
401 <li>To install on Solaris, try running <code>pkg install x11/header/x11-protocols x11/library/libice x11/library/libpthread-stubs x11/library/libsm x11/library/libx11 x11/library/libxau x11/library/libxcb x11/library/libxdmcp x11/library/libxevie x11/library/libxext x11/library/libxrender x11/library/libxrandr x11/library/libxscrnsaver x11/library/libxtst x11/library/toolkit/libxt</code>.</li> |
402 </ul> |
402 </ul> |
403 <p>Use <code>--with-x=<path></code> if <code>configure</code> does not properly locate your X11 files.</p> |
403 <p>Use <code>--with-x=<path></code> if <code>configure</code> does not properly locate your X11 files.</p> |
404 <h3 id="alsa">ALSA</h3> |
404 <h3 id="alsa">ALSA</h3> |
405 <p>ALSA, <a href="https://www.alsa-project.org/">Advanced Linux Sound Architecture</a> is required on Linux. At least version 0.9.1 of ALSA is required.</p> |
405 <p>ALSA, <a href="https://www.alsa-project.org/">Advanced Linux Sound Architecture</a> is required on Linux. At least version 0.9.1 of ALSA is required.</p> |
406 <ul> |
406 <ul> |
660 <li>x11proto-render-dev</li> |
660 <li>x11proto-render-dev</li> |
661 <li>x11proto-xext-dev</li> |
661 <li>x11proto-xext-dev</li> |
662 <li>libice-dev</li> |
662 <li>libice-dev</li> |
663 <li>libxrender</li> |
663 <li>libxrender</li> |
664 <li>libxrender-dev</li> |
664 <li>libxrender-dev</li> |
665 <li>libxrandr-dev</li> |
|
665 <li>libsm-dev</li> |
666 <li>libsm-dev</li> |
666 <li>libxt-dev</li> |
667 <li>libxt-dev</li> |
667 <li>libx11</li> |
668 <li>libx11</li> |
668 <li>libx11-dev</li> |
669 <li>libx11-dev</li> |
669 <li>libxtst</li> |
670 <li>libxtst</li> |
691 <ul> |
692 <ul> |
692 <li><p>Install cross-compiler on the <em>build</em> system:</p> |
693 <li><p>Install cross-compiler on the <em>build</em> system:</p> |
693 <pre><code>apt install g++-aarch64-linux-gnu gcc-aarch64-linux-gnu</code></pre></li> |
694 <pre><code>apt install g++-aarch64-linux-gnu gcc-aarch64-linux-gnu</code></pre></li> |
694 <li><p>Create chroot on the <em>build</em> system, configuring it for <em>target</em> system:</p> |
695 <li><p>Create chroot on the <em>build</em> system, configuring it for <em>target</em> system:</p> |
695 <pre><code>sudo qemu-debootstrap --arch=arm64 --verbose \ |
696 <pre><code>sudo qemu-debootstrap --arch=arm64 --verbose \ |
696 --include=fakeroot,build-essential,libx11-dev,libxext-dev,libxrender-dev,libxtst-dev,libxt-dev,libcups2-dev,libfontconfig1-dev,libasound2-dev,libfreetype6-dev,libpng12-dev \ |
697 --include=fakeroot,build-essential,libx11-dev,libxext-dev,libxrender-dev,libxrandr-dev,libxtst-dev,libxt-dev,libcups2-dev,libfontconfig1-dev,libasound2-dev,libfreetype6-dev,libpng12-dev \ |
697 --resolve-deps jessie /chroots/arm64 http://httpredir.debian.org/debian/</code></pre></li> |
698 --resolve-deps jessie /chroots/arm64 http://httpredir.debian.org/debian/</code></pre></li> |
698 <li><p>Configure and build with newly created chroot as sysroot/toolchain-path:</p> |
699 <li><p>Configure and build with newly created chroot as sysroot/toolchain-path:</p> |
699 <pre><code>CC=aarch64-linux-gnu-gcc CXX=aarch64-linux-gnu-g++ sh ./configure --openjdk-target=aarch64-linux-gnu --with-sysroot=/chroots/arm64/ --with-toolchain-path=/chroots/arm64/ |
700 <pre><code>CC=aarch64-linux-gnu-gcc CXX=aarch64-linux-gnu-g++ sh ./configure --openjdk-target=aarch64-linux-gnu --with-sysroot=/chroots/arm64/ --with-toolchain-path=/chroots/arm64/ |
700 make images |
701 make images |
701 ls build/linux-aarch64-normal-server-release/</code></pre></li> |
702 ls build/linux-aarch64-normal-server-release/</code></pre></li> |