Search

Technical Discussion Group Forum

This forum is provided for user discussion. While Beacon EmbeddedWorks support staff and engineers participate, Beacon EmbeddedWorks does not guarantee the accuracy of all information within in the Technical Discussion Group (TDG).

The "Articles" forums provide brief Articles written by Beacon EmbeddedWorks engineers that address the most frequently asked technical questions.

To receive email notifications when updates are posted for a Beacon EmbeddedWorks product download, please subscribe to the TDG Forum of interest.

TDG Forum

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 19 Oct 2015 09:15 AM by  Adam Ford
Fail to build libX11
 3 Replies
Sort:
You are not authorized to post a reply.
Author Messages
jduran.gm
New Member
New Member
Posts:79


--
16 Oct 2015 04:30 AM

    Hello,

    In BSP version 2.4-4, it is not possible to build libX11:

    Processing: libX11

    ====================
    Build path taken because: no prebuilt rpm, 

    rpmbuild --dbpath /home/gem-med/Logic_BSPs/Linux_3.0/LogicPD_Linux_BSP_2.4-4_ght_1.0_wayland/rootfs//var/lib/rpm --target arm --define '_unpackaged_files_terminate_build 0' --define '_target_cpu arm' --define '__strip strip' --define '_topdir /home/gem-med/Logic_BSPs/Linux_3.0/LogicPD_Linux_BSP_2.4-4_ght_1.0_wayland/rpm' --define '_prefix /usr' --define '_base_dir /opt' --define '_ltib_basedir ltib' --define '_host_prefix /opt/ltib' --define '_tmppath /home/gem-med/Logic_BSPs/Linux_3.0/LogicPD_Linux_BSP_2.4-4_ght_1.0_wayland/tmp' --define '_rpmdir /home/gem-med/Logic_BSPs/Linux_3.0/LogicPD_Linux_BSP_2.4-4_ght_1.0_wayland/rpm/RPMS'  --define '_mandir /usr/share/man' --define '_sysconfdir /etc' --define '_localstatedir /var' -bb --clean --rmsource  /home/gem-med/Logic_BSPs/Linux_3.0/LogicPD_Linux_BSP_2.4-4_ght_1.0_wayland/dist/lfs-5.1/libX11/libX11.spec
    Building target platforms: arm
    Building for target arm
    error: failed build dependencies:
    libxcb is needed by libX11-1.1.5-1
    Build time for libX11: 0 seconds

    Failed building libX11


    Joaquim Duran

    Adam Ford
    Advanced Member
    Advanced Member
    Posts:794


    --
    19 Oct 2015 09:00 AM
    Sorry about that. We started to remove packages because they were old, and that one got removed to a dependency issue, but it caused more.


    On your Linux build machine, you'll need to install xsltproc

    $ sudo apt-get install xsltproc

    After that, we'll re-enable the libxcb

    edit: config/userspace/pkg_map

    Line 376 has a # commenting out PKG_LIBXCB = libxcb

    Remove the #

    Now edit: config/userspace/packages.lkc

    Search for PKG_LIBXCB

    remove the # that comment out the lines before it and the rest of the # in that section.

    Now run ./ltib -c and ensure libxcb is enabled.

    It should build now.

    adam





    jduran.gm
    New Member
    New Member
    Posts:79


    --
    19 Oct 2015 09:12 AM
    Hi Adam,

    Thanks for your answer.

    Joaquim Duran
    Adam Ford
    Advanced Member
    Advanced Member
    Posts:794


    --
    19 Oct 2015 09:15 AM
    I am sorry that was an issue. I'm going to file a ticket with the instructions so if we update the BSP again it should be fixed.

    adam
    You are not authorized to post a reply.