Coder Social home page Coder Social logo

Comments (8)

pinkeggy avatar pinkeggy commented on September 27, 2024

Hi I have the same problem. @S1mple133 do you have any solution for this? I'm also not able to build anisette-server on my raspberry pi 2 model B with ubuntu running on it.

If I run the following command:
git clone https://github.com/Dadoum/Provision --recursive && cd Provision && mkdir build && cd build && cmake -G Ninja .. -DCMAKE_BUILD_TYPE=Release && ninja

I'm getting the following error:
-- The D compiler identification is unknown CMake Error at CMakeLists.txt:4 (project): No CMAKE_D_COMPILER could be found. Tell CMake where to find the compiler by setting either the environment variable "DC" or the CMake cache entry CMAKE_D_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH. -- Configuring incomplete, errors occurred!

Can someone help me?

from provision.

S1mple133 avatar S1mple133 commented on September 27, 2024

Unfortunately, I could not find any solution yet. I also thought about building the executable myself.

You need the D Compiler for CMake. I downloaded the compiler, but I got some dependency exceptions when I tried to build the anisette server. I guess the it was not designed for Raspberry Pi 2, I've also tried downloading older versions, but I still got the same exception.

If you still want to try it, you can fix that exception by downloading the D Compiler (sudo apt install gdc-arm-linux-gnueabihf)

from provision.

pinkeggy avatar pinkeggy commented on September 27, 2024

thank you for your answer. your command doesn't worked for me. For me this command worked:
sudo apt-get install -y gdc

but then i got this error:
ninja: build stopped: subcommand failed. CMake Error at /usr/share/cmake-3.24/Modules/FetchContent.cmake:1604 (message): Build step for slf4d_proj failed: 1 Call Stack (most recent call first): /usr/share/cmake-3.24/Modules/FetchContent.cmake:1744:EVAL:2 (__FetchContent_directPopulate) /usr/share/cmake-3.24/Modules/FetchContent.cmake:1744 (cmake_language) /usr/share/cmake-3.24/Modules/FetchContent.cmake:1958 (FetchContent_Populate) cmake/cmake-d/cmake-d/UseDub.cmake:103 (FetchContent_MakeAvailable) cmake/dependencies.cmake:6 (DubProject_Add) CMakeLists.txt:10 (include) -- Configuring incomplete, errors occurred!

from provision.

Dadoum avatar Dadoum commented on September 27, 2024

You did not clone the repository recursively with submodules.

from provision.

pinkeggy avatar pinkeggy commented on September 27, 2024

@Dadoum thank you very much for your help. I used the following command now:
git clone https://github.com/Dadoum/Provision --recurse-submodules && cd Provision && mkdir build && cd build && cmake -G Ninja .. -DCMAKE_BUILD_TYPE=Release && ninja

And then i got this warning:
CMake Warning (dev) at /usr/share/cmake-3.24/Modules/FetchContent.cmake:1267 (message): The DOWNLOAD_EXTRACT_TIMESTAMP option was not given and policy CMP0135 is not set. The policy's OLD behavior will be used. When using a URL download, the timestamps of extracted files should preferably be that of the time of extraction, otherwise code that depends on the extracted contents might not be rebuilt if the URL changes. The OLD behavior preserves the timestamps from the archive instead, but this is usually not what you want. Update your project to the NEW behavior or specify the DOWNLOAD_EXTRACT_TIMESTAMP option with a value of true to avoid this robustness issue. Call Stack (most recent call first): cmake/cmake-d/cmake-d/UseDub.cmake:97 (FetchContent_Declare) cmake/dependencies.cmake:6 (DubProject_Add) CMakeLists.txt:10 (include) This warning is for project developers. Use -Wno-dev to suppress it.

And this error:
FAILED: slf4d_proj-populate-prefix/src/slf4d_proj-populate-stamp/slf4d_proj-populate-patch /home/pi/Provision/build/_deps/slf4d_proj-subbuild/slf4d_proj-populate-prefix/src/slf4d_proj-populate-stamp/slf4d_proj-populate-patch cd /home/pi/Provision/build/_deps/slf4d_proj-src && /home/pi/Provision/build/UseDub/CMakeTmp/DubToCMake -s slf4d -p slf4d && /usr/bin/cmake -E touch /home/pi/Provision/build/_deps/slf4d_proj-subbuild/slf4d_proj-populate-prefix/src/slf4d_proj-populate-stamp/slf4d_proj-populate-patch ninja: build stopped: subcommand failed. CMake Error at /usr/share/cmake-3.24/Modules/FetchContent.cmake:1604 (message): Build step for slf4d_proj failed: 1 Call Stack (most recent call first): /usr/share/cmake-3.24/Modules/FetchContent.cmake:1744:EVAL:2 (__FetchContent_directPopulate) /usr/share/cmake-3.24/Modules/FetchContent.cmake:1744 (cmake_language) /usr/share/cmake-3.24/Modules/FetchContent.cmake:1958 (FetchContent_Populate) cmake/cmake-d/cmake-d/UseDub.cmake:103 (FetchContent_MakeAvailable) cmake/dependencies.cmake:6 (DubProject_Add) CMakeLists.txt:10 (include) -- Configuring incomplete, errors occurred!

I think it is the same error like before. Do you have any idea what's the problem? Thank you very much for your help :)

Or do you know why the armv7 version of anisette server won't run on Raspberry PI 2 Model B? There is the following error:

ubuntu@ubuntu:~/altserver/anisette$ ./anisette-server-armv7 -n 127.0.0.1 -p 6969 app INFO 2023-07-09T10:02:02.314 anisette-server-provision v2.1.0 Segmentation fault (core dumped)

from provision.

Dadoum avatar Dadoum commented on September 27, 2024

Have you tried the latest build available in GitHub Actions?

from provision.

pinkeggy avatar pinkeggy commented on September 27, 2024

@Dadoum thank you sooooo much this was the solution. with the latest version in github Actions it worked. @S1mple133 I hope this works for you too.

from provision.

S1mple133 avatar S1mple133 commented on September 27, 2024

Oh, I've downloaded the executable from releases. Using the one from Actions should do it, thanks !

from provision.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.