This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM5728: How to add rsync package to am5728 sitara sdk?

Part Number: AM5728

Hi sir,

I downloaded rsync-3.2.3 version and installing below method.

1. rooroot@am57xx-evm:/home/rsync-3.2.3# ./configure


Configure found the following issues:

- Failed to find xxhash.h for xxhash checksum support.
- Failed to find zstd.h for zstd compression support.
- Failed to find lz4.h for lz4 compression support.

See the INSTALL file for hints on how to install the missing libraries and/or
how to generate (or fetch) man pages:
github.com/.../INSTALL.md

To disable one or more features, the relevant configure options are:
--disable-xxhash
--disable-zstd
--disable-lz4

2. ./configure --prefix=/usr \
--disable-lz4 \
--disable-xxhash \
--disable-zstd \
--without-included-zlib

checking whether to support extended attributes... Using Linux xattrs
checking for getxattr in -lattr... yes
configure.sh: creating ./config.status
config.status: creating Makefile
config.status: creating lib/dummy
config.status: creating zlib/dummy
config.status: creating popt/dummy
config.status: creating shconfig
config.status: creating config.h
config.status: config.h is unchanged

rsync 3.2.3 configuration successful


root@am57xx-evm:/home/rsync-3.2.3#


root@am57xx-evm:/home/rsync-3.2.3#make
make: Warning: File 'Makefile.in' has modification time 93043375 s in the future
config.status: creating Makefile
config.status: creating lib/dummy
config.status: creating zlib/dummy
config.status: creating popt/dummy
config.status: creating shconfig
config.status: creating config.h
config.status: config.h is unchanged
Makefile is unchanged.
make: Warning: File 'Makefile.in' has modification time 93043375 s in the future
config.status: creating Makefile
config.status: creating lib/dummy
config.status: creating zlib/dummy
config.status: creating popt/dummy
config.status: creating shconfig
config.status: creating config.h
config.status: config.h is unchanged
Makefile is unchanged.
make: Warning: File 'Makefile.in' has modification time 93043374 s in the future
config.status: creating Makefile
config.status: creating lib/dummy
config.status: creating zlib/dummy
config.status: creating popt/dummy
config.status: creating shconfig
config.status: creating config.h
config.status: config.h is unchanged
Makefile is unchanged.
make: Warning: File 'Makefile.in' has modification time 93043374 s in the future

  • Hello Ramachandra,

    Is this thread still open for you?

  • hi,

    it's not solved till now

  • Hi Ramachandra,

    The best way to add rsync into the target filesystem is to:

    • add rsync into the file image or packagegroup definition, as shown below

    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    yocto-build/sources/meta-arago$ git diff
    diff --git a/meta-arago-distro/recipes-core/images/tisdk-default-image.bb b/meta-arago-distro/recipes-core/images/tisdk-default-image.bb
    index 152f8572..67d34624 100644
    --- a/meta-arago-distro/recipes-core/images/tisdk-default-image.bb
    +++ b/meta-arago-distro/recipes-core/images/tisdk-default-image.bb
    @@ -24,6 +24,7 @@ IMAGE_INSTALL += "\
    ${@bb.utils.contains('MACHINE_FEATURES','gpu','packagegroup-arago-tisdk-hmi','packagegroup-arago-base-tisdk-server-extra',d)} \
    ti-analytics \
    ti-demos \
    + rsync \
    "
    export IMAGE_BASENAME = "tisdk-default-image"
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    • bitbake the image or install via opkg install

    Alternately, if you are attempting to configure it on the target like the way you are attempting to do, then you should follow the list of dependencies for rsync before attempting the build.

    Regards
    Karthik