clearlinux / distribution

Placeholder repository to allow filing of general bugs/issues/etc against the Clear Linux OS for Intel Architecture linux distribution
522 stars 29 forks source link

How to install megasync in clear linux? #1304

Open nazar2sfive opened 5 years ago

nazar2sfive commented 5 years ago
root@clr/home/android/Downloads # ls
megasync-Fedora_30.x86_64.rpm
root@clr/home/android/Downloads # rpm2cpio megasync-*.rpm | ( cd /; cpio -idv)
cpio: premature end of archive
bryteise commented 5 years ago

Seems like a corrupt download. I assume this is more of a package request though.

nazar2sfive commented 5 years ago

@bryteise image

which version to choose from :-/

bryteise commented 5 years ago

Well probably any rpm based one will be your best shot.

nazar2sfive commented 5 years ago

@bryteise , it failed again

android@clr~/Downloads $ ls meg*
'megasync-Fedora_30.x86_64 (1).rpm'
android@clr~/Downloads $ rpm2cpio megasync-*.rpm | ( cd /; cpio -idv)
cpio: premature end of archive
android@clr~/Downloads $ 
bryteise commented 5 years ago

Hm no idea sorry.

puneetse commented 5 years ago

It worked for me too. You should also checkout the responses to this thread on the forums: https://community.clearlinux.org/t/install-megasync/569

nazar2sfive commented 5 years ago

building failed.

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~ $ cd Downloads/
android@clr~/Downloads $ cd MEGAsync/
android@clr~/Downloads/MEGAsync $ cd src
android@clr~/Downloads/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/Downloads/MEGAsync/src/archives
Downloading Sodium to get sodium-1.0.16.tar.gz
--2019-10-09 07:34:37--  https://download.libsodium.org/libsodium/releases/libsodium-1.0.16.tar.gz
Resolving download.libsodium.org... 37.59.238.213
Connecting to download.libsodium.org|37.59.238.213|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1910835 (1.8M) [application/binary]
Saving to: ‘/home/android/Downloads/MEGAsync/src/archives/sodium-1.0.16.tar.gz’

/home/android/Downloads/MEGAs 100%[=================================================>]   1.82M  1.41MB/s    in 1.3s    

2019-10-09 07:34:39 (1.41 MB/s) - ‘/home/android/Downloads/MEGAsync/src/archives/sodium-1.0.16.tar.gz’ saved [1910835/1910835]

Checking MD5SUM for /home/android/Downloads/MEGAsync/src/archives/sodium-1.0.16.tar.gz
/home/android/Downloads/MEGAsync/src/archives/sodium-1.0.16.tar.gz: OK
Cached package file at /tmp/megasdkbuild/sodium-1.0.16.tar.gz
Downloading Zlib to get zlib-1.2.11.tar.gz
--2019-10-09 07:34:39--  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/Downloads/MEGAsync/src/archives/zlib-1.2.11.tar.gz’

/home/android/Downloads/MEGAs 100%[=================================================>] 593.46K   375KB/s    in 1.6s    

2019-10-09 07:34:42 (375 KB/s) - ‘/home/android/Downloads/MEGAsync/src/archives/zlib-1.2.11.tar.gz’ saved [607698/607698]

Checking MD5SUM for /home/android/Downloads/MEGAsync/src/archives/zlib-1.2.11.tar.gz
/home/android/Downloads/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
--2019-10-09 07:34:42--  http://www.sqlite.org/2016/sqlite-autoconf-3100100.tar.gz
Resolving www.sqlite.org... 45.33.6.223
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/Downloads/MEGAsync/src/archives/sqlite-3100100.tar.gz’

/home/android/Downloads/MEGAs 100%[=================================================>]   2.22M  1.11MB/s    in 2.0s    

2019-10-09 07:34:44 (1.11 MB/s) - ‘/home/android/Downloads/MEGAsync/src/archives/sqlite-3100100.tar.gz’ saved [2331931/2331931]

Checking MD5SUM for /home/android/Downloads/MEGAsync/src/archives/sqlite-3100100.tar.gz
/home/android/Downloads/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
--2019-10-09 07:34:44--  https://dist.libuv.org/dist/v1.8.0/libuv-v1.8.0.tar.gz
Resolving dist.libuv.org... 138.197.224.240
Connecting to dist.libuv.org|138.197.224.240|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1042536 (1018K) [application/gzip]
Saving to: ‘/home/android/Downloads/MEGAsync/src/archives/libuv-v1.8.0.tar.gz’

/home/android/Downloads/MEGAs 100%[=================================================>]   1018K   855KB/s    in 1.2s    

2019-10-09 07:34:47 (855 KB/s) - ‘/home/android/Downloads/MEGAsync/src/archives/libuv-v1.8.0.tar.gz’ saved [1042536/1042536]

Checking MD5SUM for /home/android/Downloads/MEGAsync/src/archives/libuv-v1.8.0.tar.gz
/home/android/Downloads/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
--2019-10-09 07:34:47--  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]
--2019-10-09 07:34:48--  https://codeload.github.com/MediaArea/ZenLib/tar.gz/6694a744d82d942c4a410f25f916561270381889
Resolving codeload.github.com... 140.82.113.9
Connecting to codeload.github.com|140.82.113.9|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/x-gzip]
Saving to: ‘/home/android/Downloads/MEGAsync/src/archives/6694a744d82d942c4a410f25f916561270381889.tar.gz’

/home/android/Downloads/MEGAs     [    <=>                                           ] 153.20K   210KB/s    in 0.7s    

2019-10-09 07:34:50 (210 KB/s) - ‘/home/android/Downloads/MEGAsync/src/archives/6694a744d82d942c4a410f25f916561270381889.tar.gz’ saved [156877]

Checking MD5SUM for /home/android/Downloads/MEGAsync/src/archives/6694a744d82d942c4a410f25f916561270381889.tar.gz
/home/android/Downloads/MEGAsync/src/archives/6694a744d82d942c4a410f25f916561270381889.tar.gz: OK
Cached package file at /tmp/megasdkbuild/6694a744d82d942c4a410f25f916561270381889.tar.gz
Downloading MediaInfoLib to get 4ee7f77c087b29055f48d539cd679de8de6f9c48.tar.gz
--2019-10-09 07:34:50--  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]
--2019-10-09 07:34:51--  https://codeload.github.com/meganz/MediaInfoLib/tar.gz/4ee7f77c087b29055f48d539cd679de8de6f9c48
Resolving codeload.github.com... 140.82.113.9
Connecting to codeload.github.com|140.82.113.9|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/x-gzip]
Saving to: ‘/home/android/Downloads/MEGAsync/src/archives/4ee7f77c087b29055f48d539cd679de8de6f9c48.tar.gz’

/home/android/Downloads/MEGAs     [        <=>                                       ]   2.20M  1.27MB/s    in 1.7s    

2019-10-09 07:34:54 (1.27 MB/s) - ‘/home/android/Downloads/MEGAsync/src/archives/4ee7f77c087b29055f48d539cd679de8de6f9c48.tar.gz’ saved [2304292]

Checking MD5SUM for /home/android/Downloads/MEGAsync/src/archives/4ee7f77c087b29055f48d539cd679de8de6f9c48.tar.gz
/home/android/Downloads/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/Downloads/MEGAsync/src/archives
* Disabling external FreeImage
* Using local files
* Configure only
* Disabling OpenSSL
* Enabling external libuv.
* Enabling external Sodium.
* Installing into /home/android/Downloads/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: 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:76: installing 'build-aux/compile'
configure.ac:10: installing 'build-aux/missing'
src/libsodium/Makefile.am: installing 'build-aux/depcomp'
autoreconf: Leaving directory `.'
configuring Sodium with : ./configure   --prefix=/home/android/Downloads/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/Downloads/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/Downloads/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/Downloads/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/Downloads/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/Downloads/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
~/Downloads/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/Downloads/MEGAsync/src/MEGASync/mega/bindings/qt/3rdparty             --with-sodium=/home/android/Downloads/MEGAsync/src/MEGASync/mega/bindings/qt/3rdparty             --with-zlib=/home/android/Downloads/MEGAsync/src/MEGASync/mega/bindings/qt/3rdparty             --with-sqlite=/home/android/Downloads/MEGAsync/src/MEGASync/mega/bindings/qt/3rdparty             --with-cares=/home/android/Downloads/MEGAsync/src/MEGASync/mega/bindings/qt/3rdparty             --with-curl=/home/android/Downloads/MEGAsync/src/MEGASync/mega/bindings/qt/3rdparty             --without-freeimage             --with-libuv=/home/android/Downloads/MEGAsync/src/MEGASync/mega/bindings/qt/3rdparty                                       --disable-posix-threads             --disable-examples                          --with-libzen=/home/android/Downloads/MEGAsync/src/MEGASync/mega/bindings/qt/3rdparty --with-libmediainfo=/home/android/Downloads/MEGAsync/src/MEGASync/mega/bindings/qt/3rdparty             --prefix=/home/android/Downloads/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... yes
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... yes
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... yes
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~/Downloads/MEGAsync/src $ swupd search cryptopp
Search failed, no reasonable results found
android@clr~/Downloads/MEGAsync/src $ 
nazar2sfive commented 5 years ago
android@clr~/Downloads $ ls meg*
'megasync-Fedora_30.x86_64 (1).rpm'
android@clr~/Downloads $ for rpm in megasync-*.rpm ; do rpm2cpio $rpm | ( cd /; sudo cpio -idv ); done
Password: 
cpio: premature end of archive
android@clr~/Downloads $ 
ahkok commented 5 years ago
android@clr~/Downloads $ rpm2cpio megasync-*.rpm | ( cd /; cpio -idv)

This won't work. You can't pipe the output of multiple rpm2cpio files into cpio.

android@clr~/Downloads $ for rpm in megasync-*.rpm ; do rpm2cpio $rpm | ( cd /; sudo cpio -idv ); done

This won't work when one of the files has a SPACE character in the name.

configure: error: cryptopp/cryptlib.h header not found or not usable

cryptopp isn't something we want to add because it implements crypto algorithms. You can compile it yourself and install it locally, though, so that would be a solution.

ahkok commented 5 years ago

rclone supports mega. Try using that instead?

https://rclone.org/mega/

sudo swupd bundle-add rclone

nazar2sfive commented 5 years ago

@ahkok rclone is too "terminal". i hate terminal. i hope megasync to work someday in clear linux.

@ahkok what is this build error??

configure: error: cryptopp/cryptlib.h header not found or not usable
ERROR! Please check log files. Exiting..
Deacymc commented 4 years ago

Manually installing the Arch binary pkg from the Mega website worked for me. I just cp'ed the contents over to the root partition in its appropriate directories, of course, according the file structure in the pkg package, which seems not give any problems on CL. It's not an elegant solution, but it'll get the client up and running in the meanwhile.

lebensterben commented 4 years ago

Manually installing the Arch binary pkg from the Mega website worked for me. I just cp'ed the contents over to the root partition in its appropriate directories, of course, according the file structure in the pkg package, which seems not give any problems on CL. It's not an elegant solution, but it'll get the client up and running in the meanwhile.

@Deacymc Many packages, especially commercial programs, can be installed in this way.

Sent with GitHawk

nazar2sfive commented 4 years ago

Manually installing the Arch binary pkg from the Mega website worked for me. I just cp'ed the contents over to the root partition in its appropriate directories, of course, according the file structure in the pkg package, which seems not give any problems on CL. It's not an elegant solution, but it'll get the client up and running in the meanwhile.

@Deacymc could you please elaborate where to what files and which pkg to download. Cannot get my job done without mega.