compiling buildroot

  • Hello


    On page 71 i.MX6 Linux First Steps (2016-12-5), pag 71, chapter 8.6 Compiling Buildroot and Linux Kernel



    It says I does not have g++, it says I need to install a patch.


    I think the toolchain is properly installed, and environment correctly set.



    Thanks a lot

  • You need to install the packages gcc-c++ and patch (patch is a program to apply diff files, so-called patches, to an existing source tree).


    Usually there are also some other packages needed:


    glibc (i686)
    glibc-devel (i686)
    zlib (i686)
    bison
    wget
    perl-ExtUtils-MakeMaker
    texinfo
    git


    Depending on what packages you compile in Buildroot, more host packages may be necessary for your PC.


    Your F&S Support Team

    F&S Elektronik Systeme GmbH
    As this is an international forum, please try to post in English.
    Da dies ein internationales Forum ist, bitten wir darum, Beiträge möglichst in Englisch zu verfassen.

  • Hello


    I have installed the packages you mentioned, and others. It got better.


    Now I have the error



    I can read "Your Perl installation is not complete enough;"
    I have the "Perlbal" package installed, see please attached screen shot.


    Code
    1. [rvelazquez@Fedora23 buildroot-2016.05-fsimx6-V3.0]$ rpm -qa | grep Perl
    2. perl-Pod-Perldoc-3.26-1.fc23.noarch
    3. Perlbal-1.80-17.fc23.noarch
    4. perl-Perlbal-XS-HTTPHeaders-0.20-18.fc23.x86_64


    Moreover, it says there is not available any Perl package


    Code
    1. [rvelazquez@Fedora23 buildroot-2016.05-fsimx6-V3.0]$ sudo dnf install Perl
    2. Fedora 23 - x86_64 - Updates 51 kB/s | 25 MB 08:29
    3. Última comprobación de caducidad de metadatos hecha hace 0:04:25, el Tue Dec 13 22:13:46 2016.
    4. No hay disponible ningún paquete Perl.
    5. Error: No es posible encontrar algun resultado.


    Thanks

  • Have you tried installing 'perl' written in lowercase? This is relevant.
    In my case (Fedora 21) there is a perl package and its called 'perl.x86_64'.


    So asking to install Perl says no package available.

    Code
    1. [ph@localhost ~]$ sudo dnf install Perl
    2. Using metadata from Thu Dec 8 09:09:26 2016 (6 days, 3:32:13 hours old)
    3. Kein Paket Perl verfügbar.
    4. Fehler: no package matched: Perl


    But asking for perl will find the package. In my case it's allready installed.

    Code
    1. [ph@localhost ~]$ sudo dnf install perl
    2. Using metadata from Thu Dec 8 09:09:26 2016 (6 days, 3:32:19 hours old)
    3. Paket perl-4:5.18.4-310.fc21.x86_64 ist bereits installiert, wird übersprungen.
    4. Abhängigkeiten sind aufgelöst.
    5. Nichts zu tun.
    6. Komplett!


    Best Regards
    Your F&S Support Team

    F&S Elektronik Systeme GmbH
    As this is an international forum, please try to post in English.
    Da dies ein internationales Forum ist, bitten wir darum, Beiträge möglichst in Englisch zu verfassen.

  • Perl is divided into a whole lot of small packages. For example try


    Code
    1. sudo yum list all "perl*"


    and you'll see a list of more than 100 packages. Here you'll find the necessary sub-package. (Maybe you'll have to replace "yum" with "dnf".)


    By the way I would use yum-extender as a graphical frontend. There you can easily search for packages.


    Your F&S Support Team

    F&S Elektronik Systeme GmbH
    As this is an international forum, please try to post in English.
    Da dies ein internationales Forum ist, bitten wir darum, Beiträge möglichst in Englisch zu verfassen.

  • Perfect.


    Thanks for posting the clue to perl-modules.


    Best Regards
    Your F&S Support Team

    F&S Elektronik Systeme GmbH
    As this is an international forum, please try to post in English.
    Da dies ein internationales Forum ist, bitten wir darum, Beiträge möglichst in Englisch zu verfassen.