Coder Social home page Coder Social logo

installer's People

Contributors

bafto avatar

Stargazers

 avatar  avatar

Watchers

 avatar

installer's Issues

Installation in Docker

Moin,

ich versuche aktuell, DDP in einem Docker-Image zu installieren. Aktuell sieht das Dockerfile in so aus:

FROM ubuntu:23.10

RUN apt-get update && apt-get install -y curl unzip build-essential locales

RUN cd /tmp && \
    curl -OL https://github.com/DDP-Projekt/Kompilierer/releases/latest/download/DDP-v0.0.1-alpha-linux-amd64.tar.gz && \
   tar -xzf ./DDP-v0.0.1-alpha-linux-amd64.tar.gz && \
   cd DDP-v0.0.1-alpha-linux-amd64 && \
   ./ddp-setup --force

#

Das Setup scheint wohl etwas mit make/gcc zu bauen, das klappt auch erst mal ganz gut, aber ein make clean schlägt dann fehl:

root@a5ca7011a355:/tmp/DDP-v0.0.1-alpha-linux-amd64# ./ddp-setup
Welcome to the DDP Installer!
This setup will simply unpack some files and ask you for permission to change some environment variables and such.
Do you want to continue? [y/n]: y
installing german locales
/usr/sbin/locale-gen de_DE.UTF-8
Looking for gcc
[√] Found gcc in /usr/bin/gcc
Looking for make
[√] Found make in /usr/bin/make
/usr/bin/gcc -dumpfullversion
bin/kddp version --wortreich
local gcc version, and kddp gcc version mismatch (13.2.0 vs 11.4.0)
re-building runtime and stdlib
/usr/bin/make
[√] re-compiled the runtime
/usr/bin/make
[√] re-compiled the stdlib
removing pre-compiled runtime
removing pre-compiled lib/main.o lib/ddp_list_types_defs.o lib/ddp_list_types_defs.ll
removing pre-compiled stdlib
copying re-compiled runtime
copying re-compiled lib/main.o
regenerating lib/ddp_list_types_defs.ll and lib/ddp_list_types_defs.o
bin/kddp dump-list-defs -o lib/ddp_list_types_defs --llvm_ir --object
copying re-compiled stdlib
cleaning runtime directory
/usr/bin/make clean
[X] '/usr/bin/make clean ' failed (exit status 2) output: make: *** empty string invalid as file name.  Stop.

[!] error while cleaning runtime directory: exit status 2
cleaning stdlib directory
/usr/bin/make clean
[X] '/usr/bin/make clean ' failed (exit status 2) output: make: *** empty string invalid as file name.  Stop.

[!] error while cleaning stdlib directory: exit status 2
[√] recompiled libraries
Looking for code
[!] Unable to find code
Do you want to set the DDPPATH environment variable? [y/n]: y
Setting the environment variable DDPPATH to /tmp/DDP-v0.0.1-alpha-linux-amd64
Do you want to add the DDP/bin directory to your PATH? [y/n]: y
Appending /tmp/DDP-v0.0.1-alpha-linux-amd64/bin to the PATH
Press ENTER to exit...

Das ist die Ausgabe, die ich bekomme, wenn ich in dem Docker-Image selber noch mal ein ddp-setup --force ausführe.
Was mich etwas verwundert ist, dass da gar kein Makefile liegt. Ich sehe also auch nicht recht, wo das make clean herkommt und warum ihm da wohl ein Dateiname fehlt (empty string invalid as file name).

Irgendwelche Ideen?

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.