Install megasync

hello guys,
how to install megasync desktop from mega.nz
i have try install with download rpm file and run command

rpm2cpio megasync-*.rpm | ( cd /; cpio -idv)

but not working.
Thanks

I’m not sure, but it seems that the stdout of pm2cpio is piped to the subprocess, where you wish the first command cd takes it and entered the directory. But I think cd does not take input and neither it yields output.

for rpm in megasync-*.rpm ; do rpm2cpio $rpm | ( cd /; sudo cpio -idv ); done
2 Likes

You can also build from source per the instructions in their README: GitHub - meganz/MEGAsync: Easy automated syncing between your computers and your MEGA Cloud Drive

There is also an open idea to add Flatpak support for Megasync. You might want to +1 the issue if it’s important to you: Flatpak build · Issue #219 · meganz/MEGAsync · GitHub

Try using rclone. I believe it supports mega already: Mega

the truth I do not understand how to install megasync, there should be a simpler method, the store would be ideal without many megasync copies and many more applications, the world of liux is rich in applications and it would be good to take advantage of the one we like the most without so many crazy twists and turns

checking if building Java bindings… no
checking for libcryptopp… checking cryptopp/cryptlib.h usability… no
checking cryptopp/cryptlib.h presence… no
checking for cryptopp/cryptlib.h… no
configure: error: cryptopp/cryptlib.h header not found or not usable
ERROR! Please check log files. Exiting…
android@clr~/MEGAsync/src $

what is cryptlib.h? How to fix this in clearlinux?

android@clr~ $ swupd info
Distribution:      Clear Linux OS
Installed version: 33040
Version URL:       https://cdn.download.clearlinux.org/update
Content URL:       https://cdn.download.clearlinux.org/update
android@clr~ $ 
    


android@clr~ $ git clone --recursive https://github.com/meganz/MEGAsync.git
    Cloning into 'MEGAsync'...
    remote: Enumerating objects: 50671, done.
    remote: Total 50671 (delta 0), reused 0 (delta 0), pack-reused 50671
    Receiving objects: 100% (50671/50671), 65.66 MiB | 3.99 MiB/s, done.
    Resolving deltas: 100% (39013/39013), done.
    Submodule 'src/MEGASync/mega' (https://github.com/meganz/sdk.git) registered for path 'src/MEGASync/mega'
    Cloning into '/home/android/MEGAsync/src/MEGASync/mega'...
    remote: Enumerating objects: 394, done.        
    remote: Counting objects: 100% (394/394), done.        
    remote: Compressing objects: 100% (244/244), done.        
    remote: Total 69301 (delta 267), reused 218 (delta 148), pack-reused 68907        
    Receiving objects: 100% (69301/69301), 46.78 MiB | 2.94 MiB/s, done.
    Resolving deltas: 100% (52910/52910), done.
    Submodule path 'src/MEGASync/mega': checked out '660dafe788b83accd740713ff507e11dffa52096'
    android@clr~ $ cd MEGAsync/
    android@clr~/MEGAsync $ cd src
    android@clr~/MEGAsync/src $ ./configure
    * Disabling external FreeImage
    * Downloading software archives only.
    * Disabling OpenSSL
    * Enabling external libuv.
    * Enabling external Sodium.
    * Storing local archive files in /home/android/MEGAsync/src/archives
    Downloading Sodium to get 1.0.18.tar.gz
    --2020-05-07 15:18:19--  https://github.com/jedisct1/libsodium/archive/1.0.18.tar.gz
    Resolving github.com... 140.82.114.4
    Connecting to github.com|140.82.114.4|:443... connected.
    HTTP request sent, awaiting response... 302 Found
    Location: https://codeload.github.com/jedisct1/libsodium/tar.gz/1.0.18 [following]
    --2020-05-07 15:18:20--  https://codeload.github.com/jedisct1/libsodium/tar.gz/1.0.18
    Resolving codeload.github.com... 140.82.114.10
    Connecting to codeload.github.com|140.82.114.10|:443... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: unspecified [application/x-gzip]
    Saving to: ‘/home/android/MEGAsync/src/archives/1.0.18.tar.gz’

    /home/android/MEGAsync/s     [       <=>                         ]   1.54M   955KB/s    in 1.7s    

    2020-05-07 15:18:23 (955 KB/s) - ‘/home/android/MEGAsync/src/archives/1.0.18.tar.gz’ saved [1619527]

    Checking MD5SUM for /home/android/MEGAsync/src/archives/1.0.18.tar.gz
    /home/android/MEGAsync/src/archives/1.0.18.tar.gz: OK
    Cached package file at /tmp/megasdkbuild/1.0.18.tar.gz
    Downloading Zlib to get zlib-1.2.11.tar.gz
    --2020-05-07 15:18:23--  http://zlib.net/zlib-1.2.11.tar.gz
    Resolving zlib.net... 68.66.224.49
    Connecting to zlib.net|68.66.224.49|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 607698 (593K) [application/x-gzip]
    Saving to: ‘/home/android/MEGAsync/src/archives/zlib-1.2.11.tar.gz’

    /home/android/MEGAsync/s 100%[==================================>] 593.46K  3.26MB/s    in 0.2s    

    2020-05-07 15:18:24 (3.26 MB/s) - ‘/home/android/MEGAsync/src/archives/zlib-1.2.11.tar.gz’ saved [607698/607698]

    Checking MD5SUM for /home/android/MEGAsync/src/archives/zlib-1.2.11.tar.gz
    /home/android/MEGAsync/src/archives/zlib-1.2.11.tar.gz: OK
    Cached package file at /tmp/megasdkbuild/zlib-1.2.11.tar.gz
    Downloading SQLite to get sqlite-3100100.tar.gz
    --2020-05-07 15:18:24--  http://www.sqlite.org/2016/sqlite-autoconf-3100100.tar.gz
    Resolving www.sqlite.org... 2600:3c00::f03c:91ff:fe96:b959, 45.33.6.223
    Connecting to www.sqlite.org|2600:3c00::f03c:91ff:fe96:b959|:80... failed: Connection refused.
    Connecting to www.sqlite.org|45.33.6.223|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 2331931 (2.2M) [application/x-gzip]
    Saving to: ‘/home/android/MEGAsync/src/archives/sqlite-3100100.tar.gz’

    /home/android/MEGAsync/s 100%[==================================>]   2.22M  1.03MB/s    in 2.2s    

    2020-05-07 15:18:28 (1.03 MB/s) - ‘/home/android/MEGAsync/src/archives/sqlite-3100100.tar.gz’ saved [2331931/2331931]

    Checking MD5SUM for /home/android/MEGAsync/src/archives/sqlite-3100100.tar.gz
    /home/android/MEGAsync/src/archives/sqlite-3100100.tar.gz: OK
    Cached package file at /tmp/megasdkbuild/sqlite-3100100.tar.gz
    Downloading libuv to get libuv-v1.8.0.tar.gz
    --2020-05-07 15:18:28--  https://dist.libuv.org/dist/v1.8.0/libuv-v1.8.0.tar.gz
    Resolving dist.libuv.org... 2604:a880:400:d1::a3c:f001, 138.197.224.240
    Connecting to dist.libuv.org|2604:a880:400:d1::a3c:f001|:443... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 1042536 (1018K) [application/gzip]
    Saving to: ‘/home/android/MEGAsync/src/archives/libuv-v1.8.0.tar.gz’

    /home/android/MEGAsync/s 100%[==================================>]   1018K   798KB/s    in 1.3s    

    2020-05-07 15:18:31 (798 KB/s) - ‘/home/android/MEGAsync/src/archives/libuv-v1.8.0.tar.gz’ saved [1042536/1042536]

    Checking MD5SUM for /home/android/MEGAsync/src/archives/libuv-v1.8.0.tar.gz
    /home/android/MEGAsync/src/archives/libuv-v1.8.0.tar.gz: OK
    Cached package file at /tmp/megasdkbuild/libuv-v1.8.0.tar.gz
    Downloading ZenLib to get 6694a744d82d942c4a410f25f916561270381889.tar.gz
    --2020-05-07 15:18:31--  https://github.com/MediaArea/ZenLib/archive/6694a744d82d942c4a410f25f916561270381889.tar.gz
    Resolving github.com... 140.82.113.4
    Connecting to github.com|140.82.113.4|:443... connected.
    HTTP request sent, awaiting response... 302 Found
    Location: https://codeload.github.com/MediaArea/ZenLib/tar.gz/6694a744d82d942c4a410f25f916561270381889 [following]
    --2020-05-07 15:18:32--  https://codeload.github.com/MediaArea/ZenLib/tar.gz/6694a744d82d942c4a410f25f916561270381889
    Resolving codeload.github.com... 140.82.114.10
    Connecting to codeload.github.com|140.82.114.10|:443... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: unspecified [application/x-gzip]
    Saving to: ‘/home/android/MEGAsync/src/archives/6694a744d82d942c4a410f25f916561270381889.tar.gz’

    /home/android/MEGAsync/s     [    <=>                            ] 153.20K   204KB/s    in 0.7s    

    2020-05-07 15:18:34 (204 KB/s) - ‘/home/android/MEGAsync/src/archives/6694a744d82d942c4a410f25f916561270381889.tar.gz’ saved [156877]

    Checking MD5SUM for /home/android/MEGAsync/src/archives/6694a744d82d942c4a410f25f916561270381889.tar.gz
    /home/android/MEGAsync/src/archives/6694a744d82d942c4a410f25f916561270381889.tar.gz: OK
    Cached package file at /tmp/megasdkbuild/6694a744d82d942c4a410f25f916561270381889.tar.gz
    Downloading MediaInfoLib to get 4ee7f77c087b29055f48d539cd679de8de6f9c48.tar.gz
    --2020-05-07 15:18:34--  https://github.com/meganz/MediaInfoLib/archive/4ee7f77c087b29055f48d539cd679de8de6f9c48.tar.gz
    Resolving github.com... 140.82.113.4
    Connecting to github.com|140.82.113.4|:443... connected.
    HTTP request sent, awaiting response... 302 Found
    Location: https://codeload.github.com/meganz/MediaInfoLib/tar.gz/4ee7f77c087b29055f48d539cd679de8de6f9c48 [following]
    --2020-05-07 15:18:35--  https://codeload.github.com/meganz/MediaInfoLib/tar.gz/4ee7f77c087b29055f48d539cd679de8de6f9c48
    Resolving codeload.github.com... 140.82.114.10
    Connecting to codeload.github.com|140.82.114.10|:443... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: unspecified [application/x-gzip]
    Saving to: ‘/home/android/MEGAsync/src/archives/4ee7f77c087b29055f48d539cd679de8de6f9c48.tar.gz’

    /home/android/MEGAsync/s     [        <=>                        ]   2.20M  1.24MB/s    in 1.8s    

    2020-05-07 15:18:38 (1.24 MB/s) - ‘/home/android/MEGAsync/src/archives/4ee7f77c087b29055f48d539cd679de8de6f9c48.tar.gz’ saved [2304292]

    Checking MD5SUM for /home/android/MEGAsync/src/archives/4ee7f77c087b29055f48d539cd679de8de6f9c48.tar.gz
    /home/android/MEGAsync/src/archives/4ee7f77c087b29055f48d539cd679de8de6f9c48.tar.gz: OK
    Cached package file at /tmp/megasdkbuild/4ee7f77c087b29055f48d539cd679de8de6f9c48.tar.gz
    Successfully downloaded MEGA SDK dependencies!
    * Storing local archive files in /home/android/MEGAsync/src/archives
    * Disabling external FreeImage
    * Using local files
    * Configure only
    * Disabling OpenSSL
    * Enabling external libuv.
    * Enabling external Sodium.
    * Installing into /home/android/MEGAsync/src/MEGASync/mega/bindings/qt/3rdparty
    Using local file for Sodium
    Extracting Sodium
    Configuring Sodium
    autoreconf: Entering directory `.'
    autoreconf: configure.ac: not using Gettext
    autoreconf: running: aclocal --force -I m4
    autoreconf: configure.ac: tracing
    autoreconf: configure.ac: creating directory build-aux
    autoreconf: running: libtoolize --copy --force
    libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'.
    libtoolize: copying file 'build-aux/ltmain.sh'
    libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
    libtoolize: copying file 'm4/libtool.m4'
    libtoolize: copying file 'm4/ltoptions.m4'
    libtoolize: copying file 'm4/ltsugar.m4'
    libtoolize: copying file 'm4/ltversion.m4'
    libtoolize: copying file 'm4/lt~obsolete.m4'
    autoreconf: running: /usr/bin/autoconf --force
    autoreconf: configure.ac: not using Autoheader
    autoreconf: running: automake --add-missing --copy --force-missing
    configure.ac:75: installing 'build-aux/compile'
    configure.ac:9: installing 'build-aux/config.guess'
    configure.ac:9: installing 'build-aux/config.sub'
    configure.ac:10: installing 'build-aux/install-sh'
    configure.ac:10: installing 'build-aux/missing'
    src/libsodium/Makefile.am: installing 'build-aux/depcomp'
    parallel-tests: installing 'build-aux/test-driver'
    autoreconf: Leaving directory `.'
    Downloading config.guess and config.sub...
    Done.
    configuring Sodium with : ./configure   --prefix=/home/android/MEGAsync/src/MEGASync/mega/bindings/qt/3rdparty --disable-shared --enable-static --disable-pie
    Building Sodium
    make
    Installing Sodium
    make install
    Using local file for Zlib
    Extracting Zlib
    Configuring Zlib
    configuring Zlib with : ./configure   --prefix=/home/android/MEGAsync/src/MEGASync/mega/bindings/qt/3rdparty --static
    Building Zlib
    make
    Installing Zlib
    make install
    Using local file for SQLite
    Extracting SQLite
    Configuring SQLite
    configuring SQLite with : ./configure   --prefix=/home/android/MEGAsync/src/MEGASync/mega/bindings/qt/3rdparty --disable-shared --enable-static
    Building SQLite
    make
    Installing SQLite
    make install
    Using local file for libuv
    Extracting libuv
    Configuring libuv
    + libtoolize
    libtoolize: putting auxiliary files in '.'.
    libtoolize: linking file './ltmain.sh'
    libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
    libtoolize: linking file 'm4/libtool.m4'
    libtoolize: linking file 'm4/ltoptions.m4'
    libtoolize: linking file 'm4/ltsugar.m4'
    libtoolize: linking file 'm4/ltversion.m4'
    libtoolize: linking file 'm4/lt~obsolete.m4'
    + aclocal -I m4
    + autoconf
    + automake --add-missing --copy
    configure.ac:35: installing './ar-lib'
    configure.ac:25: installing './compile'
    configure.ac:22: installing './config.guess'
    configure.ac:22: installing './config.sub'
    configure.ac:21: installing './install-sh'
    configure.ac:21: installing './missing'
    Makefile.am: installing './depcomp'
    configuring libuv with : ./configure   --prefix=/home/android/MEGAsync/src/MEGASync/mega/bindings/qt/3rdparty --disable-shared --enable-static
    Building libuv
    make
    Installing libuv
    make install
    Using local file for ZenLib
    Using local file for MediaInfoLib
    Extracting ZenLib
    Extracting MediaInfoLib
    Configuring ZenLib
    configure.ac:24: installing './compile'
    configure.ac:18: installing './config.guess'
    configure.ac:18: installing './config.sub'
    configure.ac:19: installing './install-sh'
    configure.ac:19: installing './missing'
    Makefile.am: installing './depcomp'
    libtoolize: putting auxiliary files in '.'.
    libtoolize: copying file './ltmain.sh'
    libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac,
    libtoolize: and rerunning libtoolize and aclocal.
    libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
    configure.ac:24: installing './compile'
    configure.ac:19: installing './missing'
    Makefile.am: installing './depcomp'
    configuring ZenLib with : ./configure   --prefix=/home/android/MEGAsync/src/MEGASync/mega/bindings/qt/3rdparty --enable-static --disable-shared
    Building ZenLib
    make
    Installing ZenLib
    make install
    Configuring MediaInfoLib
    configure.ac:26: installing './compile'
    configure.ac:18: installing './config.guess'
    configure.ac:18: installing './config.sub'
    configure.ac:19: installing './install-sh'
    configure.ac:19: installing './missing'
    Makefile.am: installing './depcomp'
    parallel-tests: installing './test-driver'
    libtoolize: putting auxiliary files in '.'.
    libtoolize: copying file './ltmain.sh'
    libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac,
    libtoolize: and rerunning libtoolize and aclocal.
    libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
    configure.ac:26: installing './compile'
    configure.ac:19: installing './missing'
    Makefile.am: installing './depcomp'
    configuring MediaInfoLib with : ./configure   --prefix=/home/android/MEGAsync/src/MEGASync/mega/bindings/qt/3rdparty --disable-shared --enable-minimize-size --enable-minimal --disable-archive     --disable-image --disable-tag --disable-text --disable-swf --disable-flv --disable-hdsf4m --disable-cdxa     --disable-dpg --disable-pmp --disable-rm --disable-wtv --disable-mxf --disable-dcp --disable-aaf --disable-bdav     --disable-bdmv --disable-dvdv --disable-gxf --disable-mixml --disable-skm --disable-nut --disable-tsp     --disable-hls --disable-dxw --disable-dvdif --disable-dashmpd --disable-aic --disable-avsv --disable-canopus     --disable-ffv1 --disable-flic --disable-huffyuv --disable-prores --disable-y4m --disable-adpcm --disable-amr     --disable-amv --disable-ape --disable-au --disable-la --disable-celt --disable-midi --disable-mpc --disable-openmg     --disable-pcm --disable-ps2a --disable-rkau --disable-speex --disable-tak --disable-tta --disable-twinvq     --disable-references --enable-staticlibs --with-libz-static
    patching file MediaInfo_Config.cpp
    Building MediaInfoLib
    make
    Installing MediaInfoLib
    make install
    ~/MEGAsync/src/MEGASync/mega/sdk_build/build
    Configuring MEGA SDK
    autoreconf: Entering directory `.'
    autoreconf: configure.ac: not using Gettext
    autoreconf: running: aclocal --force -I m4
    autoreconf: configure.ac: tracing
    autoreconf: running: libtoolize --copy --force
    libtoolize: putting auxiliary files in '.'.
    libtoolize: copying file './ltmain.sh'
    libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
    libtoolize: copying file 'm4/libtool.m4'
    libtoolize: copying file 'm4/ltoptions.m4'
    libtoolize: copying file 'm4/ltsugar.m4'
    libtoolize: copying file 'm4/ltversion.m4'
    libtoolize: copying file 'm4/lt~obsolete.m4'
    autoreconf: running: /usr/bin/autoconf --force
    autoreconf: running: /usr/bin/autoheader --force
    autoreconf: running: automake --add-missing --copy --force-missing
    configure.ac:54: installing './compile'
    configure.ac:58: installing './config.guess'
    configure.ac:58: installing './config.sub'
    configure.ac:56: installing './install-sh'
    configure.ac:56: installing './missing'
    Makefile.am: installing './depcomp'
    bindings/python/include.am:2: installing './py-compile'
    Makefile.am:61:   'bindings/python/include.am' included from here
    parallel-tests: installing './test-driver'
    autoreconf: Leaving directory `.'
    running: ./configure                          --disable-shared --enable-static             --disable-silent-rules             --disable-curl-checks             --disable-megaapi                          --with-cryptopp=/home/android/MEGAsync/src/MEGASync/mega/bindings/qt/3rdparty             --with-sodium=/home/android/MEGAsync/src/MEGASync/mega/bindings/qt/3rdparty             --with-zlib=/home/android/MEGAsync/src/MEGASync/mega/bindings/qt/3rdparty             --with-sqlite=/home/android/MEGAsync/src/MEGASync/mega/bindings/qt/3rdparty             --with-cares=/home/android/MEGAsync/src/MEGASync/mega/bindings/qt/3rdparty             --with-curl=/home/android/MEGAsync/src/MEGASync/mega/bindings/qt/3rdparty             --without-freeimage             --with-libuv=/home/android/MEGAsync/src/MEGASync/mega/bindings/qt/3rdparty                                       --disable-posix-threads             --disable-examples                          --with-libzen=/home/android/MEGAsync/src/MEGASync/mega/bindings/qt/3rdparty --with-libmediainfo=/home/android/MEGAsync/src/MEGASync/mega/bindings/qt/3rdparty             --prefix=/home/android/MEGAsync/src/MEGASync/mega/bindings/qt/3rdparty             
    checking for gcc... gcc
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables... 
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking whether gcc understands -c and -o together... yes
    checking how to run the C preprocessor... gcc -E
    checking for grep that handles long lines and -e... /usr/bin/grep
    checking for egrep... /usr/bin/grep -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking minix/config.h usability... no
    checking minix/config.h presence... no
    checking for minix/config.h... no
    checking whether it is safe to define __EXTENSIONS__... yes
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking whether make supports the include directive... yes (GNU style)
    checking whether make supports nested variables... yes
    checking dependency style of gcc... gcc3
    checking build system type... x86_64-pc-linux-gnu
    checking host system type... x86_64-pc-linux-gnu
    checking how to print strings... printf
    checking for a sed that does not truncate output... /usr/bin/sed
    checking for fgrep... /usr/bin/grep -F
    checking for ld used by gcc... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for BSD- or MS-compatible name lister (nm)... gcc-nm
    checking the name lister (gcc-nm) interface... BSD nm
    checking whether ln -s works... yes
    checking the maximum length of command line arguments... 1572864
    checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
    checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
    checking for /usr/bin/ld option to reload object files... -r
    checking for objdump... objdump
    checking how to recognize dependent libraries... pass_all
    checking for dlltool... no
    checking how to associate runtime and link libraries... printf %s\n
    checking for archiver @FILE support... @
    checking for strip... strip
    checking for ranlib... gcc-ranlib
    checking command to parse gcc-nm output from gcc object... ok
    checking for sysroot... no
    checking for a working dd... /usr/bin/dd
    checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
    checking for mt... no
    checking if : is a manifest tool... no
    checking for dlfcn.h... yes
    checking for objdir... .libs
    checking if gcc supports -fno-rtti -fno-exceptions... no
    checking for gcc option to produce PIC... -fPIC -DPIC
    checking if gcc PIC flag -fPIC -DPIC works... yes
    checking if gcc static flag -static works... no
    checking if gcc supports -c -o file.o... yes
    checking if gcc supports -c -o file.o... (cached) yes
    checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... no
    checking whether to build static libraries... yes
    checking whether make supports nested variables... (cached) yes
    checking for size_t... yes
    checking for uint8_t... yes
    checking for uint16_t... yes
    checking for uint32_t... yes
    checking for uint64_t... yes
    checking for pid_t... yes
    checking for off_t... yes
    checking for ssize_t... yes
    checking for g++... g++
    checking whether we are using the GNU Objective C++ compiler... no
    checking whether g++ accepts -g... no
    checking dependency style of g++... gcc3
    checking whether we are using the GNU C++ compiler... yes
    checking whether g++ accepts -g... yes
    checking dependency style of g++... gcc3
    checking how to run the C++ preprocessor... g++ -E
    checking for ld used by g++... /usr/bin/ld -m elf_x86_64
    checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
    checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking for g++ option to produce PIC... -fPIC -DPIC
    checking if g++ PIC flag -fPIC -DPIC works... yes
    checking if g++ static flag -static works... no
    checking if g++ supports -c -o file.o... yes
    checking if g++ supports -c -o file.o... (cached) yes
    checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking dynamic linker characteristics... (cached) GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether build environment is sane... yes
    checking for cppcheck... no
    checking whether g++ supports C++11 features by default... yes
    checking for ANSI C header files... (cached) yes
    checking for ANSI C header files... (cached) yes
    checking for stdbool.h that conforms to C99... no
    checking for _Bool... no
    checking for dirent.h that defines DIR... yes
    checking for library containing opendir... none required
    checking for special C compiler options needed for large files... no
    checking for _FILE_OFFSET_BITS value needed for large files... no
    checking for _LARGEFILE_SOURCE value needed for large files... no
    checking for off_t... (cached) yes
    checking size of uint64_t... 8
    checking whether struct tm is in sys/time.h or time.h... time.h
    checking for off_t... (cached) yes
    checking for size_t... (cached) yes
    checking arpa/inet.h usability... yes
    checking arpa/inet.h presence... yes
    checking for arpa/inet.h... yes
    checking netdb.h usability... yes
    checking netdb.h presence... yes
    checking for netdb.h... yes
    checking netinet/in.h usability... yes
    checking netinet/in.h presence... yes
    checking for netinet/in.h... yes
    checking stddef.h usability... yes
    checking stddef.h presence... yes
    checking for stddef.h... yes
    checking for stdint.h... (cached) yes
    checking for stdlib.h... (cached) yes
    checking sys/socket.h usability... yes
    checking sys/socket.h presence... yes
    checking for sys/socket.h... yes
    checking sys/timeb.h usability... yes
    checking sys/timeb.h presence... yes
    checking for sys/timeb.h... yes
    checking htonl usability... no
    checking htonl presence... no
    checking for htonl... no
    checking glob.h usability... yes
    checking glob.h presence... yes
    checking for glob.h... yes
    checking malloc.h usability... yes
    checking malloc.h presence... yes
    checking for malloc.h... yes
    checking sys/malloc.h usability... no
    checking sys/malloc.h presence... no
    checking for sys/malloc.h... no
    checking malloc/malloc.h usability... no
    checking malloc/malloc.h presence... no
    checking for malloc/malloc.h... no
    checking whether C++ compiler accepts -fPIC... yes
    checking whether the linker accepts -fPIC... yes
    checking for dlopen in -ldl... yes
    checking sys/inotify.h usability... yes
    checking sys/inotify.h presence... yes
    checking for sys/inotify.h... yes
    checking mcheck.h usability... yes
    checking mcheck.h presence... yes
    checking for mcheck.h... yes
    checking for inotify_init1... yes
    checking for fdopendir... yes
    checking for select... yes
    checking for sendfile in -lsendfile... no
    checking for socket in -lsocket... no
    checking for clock_gettime in -lrt... yes
    checking platform options... no
    checking if building Java bindings... no
    checking for libcryptopp... checking cryptopp/cryptlib.h usability... no
    checking cryptopp/cryptlib.h presence... no
    checking for cryptopp/cryptlib.h... no
    configure: error: cryptopp/cryptlib.h header not found or not usable
    ERROR! Please check log files. Exiting..
    android@clr~/MEGAsync/src $

I’ve managed to compile MegaSync client, please check the steps:

Installing all the prerequisite

sudo swupd bundle-add qt-basic-dev devpkg-openssl devpkg-libuv wget devpkg-LibRaw

Compiling MegaSync

cd ~/Downloads/
git clone --recursive https://github.com/meganz/MEGAsync.git
cd MEGAsync/src
./configure -q -e
qmake MEGA.pro
lrelease MEGASync/MEGASync.pro
sed -i '1i#include <QPainterPath>' MEGASync/gui/MegaSpeedGraph.h
make -j4
sudo make install
sudo cp MEGASync/megasync /usr/bin/

Then just relogin to update all the shortcuts and you fine.

2 Likes