neurodroid / cryptonite

EncFS and TrueCrypt on Android
GNU General Public License v2.0
203 stars 49 forks source link

Error in building encfs on Ubuntu 16.04 #116

Open encfsfan opened 7 years ago

encfsfan commented 7 years ago

On Ubuntu 16.04, I followed the instructions at https://github.com/neurodroid/cryptonite/wiki/Build-Instructions to build cryptonite.

I finished the toolchain setup and compiled Boost, OpenSSL, FUSE, and rlog. However I got errors in compiling EncFS.

For EncFS, under ${CRYPTONITE}/encfs-1.8.1, in running ./build.sh I first got errors "Makefile:724: .deps/BlockFileIO.Plo: No such file or directory"

To bypass that, I had to manually create those files under .deps

Afterwards, I got an another error /bin/bash ../libtool --tag=CXX --mode=compile agcc-vfp -DHAVE_CONFIG_H -I. -I.. -DBOOST_FILESYSTEM_VERSION=2 -DGLIBC -I/home/tryme/android-toolchain/sysroot/usr/include -I/home/tryme/cryptonite/encfs-1.8.1/encfs/../../fuse293/jni/include -I/home/tryme/cryptonite/encfs-1.8.1/encfs/../../boost/boost_1_60_0 -I/home/tryme/cryptonite/encfs-1.8.1/encfs/../../rlog/rlog-1.4/armeabi-v7a/include -DOPENSSL_NO_ENGINE -DHAVE_EVP_AES -DHAVE_EVP_BF -DSTDC_FORMAT_MACROS -I/home/tryme/cryptonite/encfs-1.8.1/encfs/../../openssl/openssl-1.0.2f/include -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=26 -D__STDC_FORMAT_MACROS -DRLOG_COMPONENT="encfs" -I/home/tryme/cryptonite/encfs-1.8.1/encfs/../../rlog/rlog-1.4/armeabi-v7a/include -DOPENSSL_NO_ENGINE -DHAVE_EVP_AES -DHAVE_EVP_BF -DSTDC_FORMAT_MACROS -I/home/tryme/cryptonite/encfs-1.8.1/encfs/../../openssl/openssl-1.0.2f/include -I/home/tryme/cryptonite/encfs-1.8.1/encfs/../../boost/boost_1_600/android/include -I../intl -W -Wall -Wpointer-arith -Wwrite-strings -fexceptions -frtti -std=gnu++11 -MT autosprintf.lo -MD -MP -MF .deps/autosprintf.Tpo -c -o autosprintf.lo autosprintf.cpp **/bin/bash: ../libtool: No such file or directory_**

Where is this libtool script? (I tried to install libtool-bin on Ubuntu but it does not work either.)

What have I missed?

bowdrillGit commented 6 years ago

@encfsfan I am working on a build tool here (https://github.com/bowdrillGit/cryptonite/tree/build_fix). Right now it compiles properly, but I am getting a 'Failed to load native library' when I run it. I am not at all a developer, so I probably just misconfigured something. Take a look if you are interested

bowdrillGit commented 6 years ago

@Francewhoa I would be interested for your thoughts as well