AnsweredAssumed Answered

libXtst and libXi

Question asked by Alexandr Glukhov on Oct 8, 2014
Latest reply on Oct 15, 2014 by Yuri Muhin

Hello, I'm trying to launch java with awt on Freescale i.MX28, but I have a problem with libXtst and libXi.

I need this files, but link is not available: http://www.imxdev.org/wiki/images/9/91/Libxtst_libxi_specs.tar.gz

So, I find files on http://packages.ubuntu.com/en/utopic/libxtst-dev

then put

libXi.spec in ltib/dist/lfs-5.1/libXi/

libXtst.spec in ltib/dist/lfs-5.1/libXtst/

.tar and .patch in ltib/rpm/SOURCES

and add into ltib/config/userspace/packages.lkc

config PKG_LIBXI

    depends CAP_HAS_MMU

        select PKG_XORG_SERVER

    select PKG_LIBXMU

    select PKG_LIBXPM

    bool "libXi"

    help

      X.Org X11 libXi runtime library

config PKG_LIBXTST

    depends CAP_HAS_MMU

        select PKG_XORG_SERVER

    select PKG_LIBXMU

    select PKG_LIBXPM

    bool "libXtst"

    help

      X.Org X11 libXtst runtime library

and into ltib/config/userspace/pkg_map

PKG_LIBXI                        = libXi

PKG_LIBXTST                      = libXtst

After that I find packages libXtst and libXi in ./ltib -m confid in X11 package.

 

But when I do ./ltib, I get this error:

Processing: libXi

===================

dropping %name-%version.tar

in spec token: sources

dropping %name-%version-%release.patch

in spec token: patches

Build path taken because: no prebuilt rpm,

Use of uninitialized value $file in concatenation (.) or string at ./ltib line 780.

Use of uninitialized value $file in concatenation (.) or string at ./ltib line 780.

 

 

rpmbuild --dbpath /home/ubuntu/Projects/TionPro28/ltib/ltib/rootfs//var/lib/rpm --target arm --define '_unpackaged_files_terminate_build 0' --define '_target_cpu arm' --define '__strip strip' --define '_topdir /home/ubuntu/Projects/TionPro28/ltib/ltib/rpm' --define '_prefix /usr' --define '_tmppath /home/ubuntu/Projects/TionPro28/ltib/ltib/tmp' --define '_rpmdir /home/ubuntu/Projects/TionPro28/ltib/ltib/rpm/RPMS'  --define '_mandir /usr/share/man' --define '_sysconfdir /etc' --define '_localstatedir /var' -bb --clean --rmsource  /home/ubuntu/Projects/TionPro28/ltib/ltib/dist/lfs-5.1/libXi/libXi.spec

Building target platforms: arm

Building for target arm

error: failed build dependencies:

  asciidoc is needed by libXi-1.7.4-alt1

  libX11-devel is needed by libXi-1.7.4-alt1

  libXext-devel is needed by libXi-1.7.4-alt1

  libXfixes-devel is needed by libXi-1.7.4-alt1

  xmlto is needed by libXi-1.7.4-alt1

  xorg-inputproto-devel is needed by libXi-1.7.4-alt1

  xorg-sgml-doctools is needed by libXi-1.7.4-alt1

  xorg-util-macros is needed by libXi-1.7.4-alt1

Build time for libXi: 0 seconds

 

Failed building libXi

 

I try apt-get install, but there is no changes. Something wrong with dependencies? Can anybody help me with this dependencies or advise another way of installing libXtst and libXi?

Thanks in advance

Outcomes