MoroccanMalinois / dockers

0 stars 0 forks source link

monero-wallet-cli.dockerfile not building #2

Open willyfromtheblock opened 7 years ago

willyfromtheblock commented 7 years ago

First of all, I have to admit that I'm fairly new to docker. I'm trying to build monero-wallet-cli.dockerfile with

docker build monero-docker-build/

I renamed the monero-wallet-cli.dockerfile to "Dockerfile" in folder monero-docker-build

---> f6a2515b52dd Step 41/41 : RUN cd /usr && git clone https://github.com/monero-project/monero.git && cd monero && mkdir build/release && cd build/release && cmake -D OPENSSL_USE_STATIC_LIBS=true -D OPENSSL_ROOT_DIR=/usr/openssl -D OPENSSL_INCLUDE_DIR=/usr/openssl/include -D BOOST_IGNORE_SYSTEM_PATHS=ON -D BOOST_ROOT=/usr/boost -D ATOMIC=/usr/toolchain-arm/arm-linux-androideabi/lib/armv7-a/libatomic.a -D BUILD_TESTS=OFF -D ARCH="armv7-a" -D STATIC=ON -D BUILD_64=OFF -D CMAKE_BUILD_TYPE=release -D ANDROID=true -D INSTALL_VENDORED_LIBUNBOUND=ON ../.. && cd src/simplewallet && make -j4 ---> Running in 2b89b4980272 Cloning into 'monero'... mkdir: cannot create directory 'build/release': No such file or directory The command '/bin/sh -c cd /usr && git clone https://github.com/monero-project/monero.git && cd monero && mkdir build/release && cd build/release && cmake -D OPENSSL_USE_STATIC_LIBS=true -D OPENSSL_ROOT_DIR=/usr/openssl -D OPENSSL_INCLUDE_DIR=/usr/openssl/include -D BOOST_IGNORE_SYSTEM_PATHS=ON -D BOOST_ROOT=/usr/boost -D ATOMIC=/usr/toolchain-arm/arm-linux-androideabi/lib/armv7-a/libatomic.a -D BUILD_TESTS=OFF -D ARCH="armv7-a" -D STATIC=ON -D BUILD_64=OFF -D CMAKE_BUILD_TYPE=release -D ANDROID=true -D INSTALL_VENDORED_LIBUNBOUND=ON ../.. && cd src/simplewallet && make -j4' returned a non-zero code: 1

willyfromtheblock commented 7 years ago

tried to change

&& mkdir build/release \
&& cd build/release && cmake \

to

&& mkdir build/ \
&& cd build/ && cmake \

now it's throwing

Cloning into 'monero'... CMake Error: The source directory "/usr" does not appear to contain CMakeLists.txt. Specify --help for usage, or press the help button on the CMake GUI.

I guess I'll stop playing around with it for now.

willyfromtheblock commented 7 years ago

I've tried to build the gui under windows and linux docker today

Step 23/63 : COPY androiddeployqt.patch ${WORKSPACE}/qt5/qttools/androiddeployqt.patch lstat androiddeployqt.patch: no such file or directory

for both.

MoroccanMalinois commented 7 years ago

@bananenwilly Sorry i didn't receive any notification. For monero-waller-cli, try changing mkdir build/release with mkdir -p build/release This was mostly a POC, since you can't run a binary without adb (android debugger bridge). Well, you can use a terminal emulator, but in this case, the arm binary provided by the core team will work. See http://monero.stackexchange.com/questions/2702/is-it-possible-to-run-a-full-monerod-node-on-android

For monero-wallet-gui, androiddeployqt.patch and android.mk.patch are located in the same directory as the dockerfiles, i.e https://github.com/MoroccanMalinois/dockers/tree/master/android