compile.sh throws error on RPI (make: *** No targets specified and no makefile found)
#1
Hi,

some time ago i had installed cuberite on an banana-Pi pro with the armbian OS. There i used the compile.sh script for updating my cuberite installation.
Now I changed to the Raspberry PI 3 Model B with the OS "Raspbian GNU/Linux 9 (stretch)"

I managed to compile Cuberite by hand like described in the COMPILING.md.

But the compile.sh script does not work.
I get the following message:
Quote:-- CMake version: 3.7.2
-- Version: 4.1.1
-- Build type: Release
including mbedtls
Can't open perl script "/home/pi/cuberite/cuberite/scripts/config.pl": No such file or directory
-- Configuring done
-- Generating done
-- Build files have been written to: /home/pi/cuberite/cuberite
total 8

 --- Compiling...
make: *** No targets specified and no makefile found.  Stop.

-----------------
Compilation failed. Failed command:
make -j 1

looking into the compile.sh I see the following code:
Code:
# Cmake.
echo " --- Running cmake..."
if [ ! -d build-cuberite ]; then mkdir build-cuberite; fi
cd build-cuberite
cmake .. -DCMAKE_BUILD_TYPE="$CHOICE_BUILDTYPE" || errorCompile "cmake .. -DCMAKE_BUILD_TYPE=$CHOICE_BUILDTYPE"


# Make.
echo " --- Compiling..."
make -j "$CHOICE_THREADS" || errorCompile "make -j $CHOICE_THREADS"
echo
there the directory is changed to "build-cuberite"
which is empty before running the make command.
I think this might be the reason, why "make" does not find the makefile, because its not in this directory.

Has someone any ideas, whats going wrong?
Do you need any further information regarding my installation?

Thank you!
Rexaris
Reply
Thanks given by:
#2
@bearbin do you know what is happening?
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)