LINBIT / linstor-server

High Performance Software-Defined Block Storage for container, cloud and virtualisation. Fully integrated with Docker, Kubernetes, Openstack, Proxmox etc.
https://docs.linbit.com/docs/linstor-guide/
GNU General Public License v3.0
984 stars 76 forks source link

Error assembling linstor-server #363

Closed Uri2001 closed 1 year ago

Uri2001 commented 1 year ago

I've tried to assemble linstor-server and got an error:

make: Leaving directory '/usr/local/src/linstor-server/server/proto'

> Task :server:generateJava FAILED
make: *** No rule to make target 'java'.  Stop.
make: Entering directory '/usr/local/src/linstor-server/linstor-common'
make: Leaving directory '/usr/local/src/linstor-server/linstor-common'

FAILURE: Build failed with an exception.

Ubuntu 22.04.2, java-17-openjdk-amd64

What's wrong?

rp- commented 1 year ago

you need to clone --recursive or have the submodule initialized. Also note, that I just pushed support java-17 build support.