KiaraGrouwstra/nix-config

megasync

Closed this issue · 3 comments

following the instructions at https://github.com/meganz/MEGAsync:

$ ./configure
* Disabling external FreeImage
* Downloading software archives only.
* Disabling OpenSSL
* Enabling external libuv.
* Enabling external Sodium.
* Storing local archive files in /home/tycho/Desktop/MEGAsync/src/archives
Using cached file /tmp/megasdkbuild/sodium-1.0.16.tar.gz
Checking MD5SUM for /home/tycho/Desktop/MEGAsync/src/archives/sodium-1.0.16.tar.gz
/home/tycho/Desktop/MEGAsync/src/archives/sodium-1.0.16.tar.gz: OK
Cached package file at /tmp/megasdkbuild/sodium-1.0.16.tar.gz
Using cached file /tmp/megasdkbuild/zlib-1.2.11.tar.gz
Checking MD5SUM for /home/tycho/Desktop/MEGAsync/src/archives/zlib-1.2.11.tar.gz
/home/tycho/Desktop/MEGAsync/src/archives/zlib-1.2.11.tar.gz: OK
Cached package file at /tmp/megasdkbuild/zlib-1.2.11.tar.gz
Using cached file /tmp/megasdkbuild/sqlite-3100100.tar.gz
Checking MD5SUM for /home/tycho/Desktop/MEGAsync/src/archives/sqlite-3100100.tar.gz
/home/tycho/Desktop/MEGAsync/src/archives/sqlite-3100100.tar.gz: OK
Cached package file at /tmp/megasdkbuild/sqlite-3100100.tar.gz
Using cached file /tmp/megasdkbuild/libuv-v1.8.0.tar.gz
Checking MD5SUM for /home/tycho/Desktop/MEGAsync/src/archives/libuv-v1.8.0.tar.gz
/home/tycho/Desktop/MEGAsync/src/archives/libuv-v1.8.0.tar.gz: OK
Cached package file at /tmp/megasdkbuild/libuv-v1.8.0.tar.gz
Using cached file /tmp/megasdkbuild/6694a744d82d942c4a410f25f916561270381889.tar.gz
Checking MD5SUM for /home/tycho/Desktop/MEGAsync/src/archives/6694a744d82d942c4a410f25f916561270381889.tar.gz
/home/tycho/Desktop/MEGAsync/src/archives/6694a744d82d942c4a410f25f916561270381889.tar.gz: OK
Cached package file at /tmp/megasdkbuild/6694a744d82d942c4a410f25f916561270381889.tar.gz
Using cached file /tmp/megasdkbuild/4ee7f77c087b29055f48d539cd679de8de6f9c48.tar.gz
Checking MD5SUM for /home/tycho/Desktop/MEGAsync/src/archives/4ee7f77c087b29055f48d539cd679de8de6f9c48.tar.gz
/home/tycho/Desktop/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/tycho/Desktop/MEGAsync/src/archives
* Disabling external FreeImage
* Using local files
* Configure only
* Disabling OpenSSL
* Enabling external libuv.
* Enabling external Sodium.
* Installing into /home/tycho/Desktop/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: /nix/store/14dq1fw7vkjimlz3qsv7qb6cmbgd1smp-autoconf-2.69/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/tycho/Desktop/MEGAsync/src/MEGASync/mega/bindings/qt/3rdparty --disable-shared --enable-static --disable-pie
Building Sodium
make
Installing Sodium
Using local file for Zlib
Extracting Zlib
Configuring Zlib
configuring Zlib with : ./configure   --prefix=/home/tycho/Desktop/MEGAsync/src/MEGASync/mega/bindings/qt/3rdparty --static
Building Zlib
make
Installing Zlib
Using local file for SQLite
Extracting SQLite
Configuring SQLite
configuring SQLite with : ./configure   --prefix=/home/tycho/Desktop/MEGAsync/src/MEGASync/mega/bindings/qt/3rdparty --disable-shared --enable-static
Building SQLite
make
Installing SQLite
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/tycho/Desktop/MEGAsync/src/MEGASync/mega/bindings/qt/3rdparty --disable-shared --enable-static
Building libuv
make
Installing libuv
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:3: error: Libtool library used but 'LIBTOOL' is undefined
Makefile.am:3:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
Makefile.am:3:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
Makefile.am:3:   If 'LT_INIT' is in 'configure.ac', make sure
Makefile.am:3:   its definition is in aclocal's search path.
Makefile.am: installing './depcomp'
configure.ac:27: error: possibly undefined macro: AC_DISABLE_STATIC
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:28: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL
configure.ac:29: error: possibly undefined macro: AC_PROG_LIBTOOL
autoreconf: /nix/store/14dq1fw7vkjimlz3qsv7qb6cmbgd1smp-autoconf-2.69/bin/autoconf failed with exit status: 1
configuring ZenLib with : ./configure   --prefix=/home/tycho/Desktop/MEGAsync/src/MEGASync/mega/bindings/qt/3rdparty --enable-static --disable-shared
configure: WARNING: unrecognized options: --enable-static, --disable-shared
checking build system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /run/current-system/sw/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /run/current-system/sw/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
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 whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... gcc3
checking for g++... g++
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... gcc -E
./configure: line 4138: AC_DISABLE_STATIC: command not found
./configure: line 4139: AC_LIBTOOL_WIN32_DLL: command not found
./configure: line 4140: AC_PROG_LIBTOOL: command not found
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating libzen-config
config.status: creating libzen.pc
config.status: error: cannot find input file: `Makefile.in'
ERROR! Please check log files. Exiting..

search hits for AC_DISABLE_STATIC suggest confirming dependencies like libtool, but these all seem installed. hm.

not actionable from the installing end atm so closing for now.