Code Monkey home page Code Monkey logo

Comments (10)

arnehilmann avatar arnehilmann commented on May 18, 2024

yikes... I didn't test a clean checkout, obviously!
I just added the missing file you mentioned and fixed another problem in the Makefile.
But: the helper pages (markdown-friends), a different GitHub project, get integrated into markdeck as well, but the script assumes it already resides beside the markdeck folder. I will have a closer look into this tomorrow (its too late right now here).

btw: which platform are you targeting? something different than the provided binaries?

from markdeck.

cirego avatar cirego commented on May 18, 2024

Thanks for the fast reply!

I'm not targeting a different platform, as there are Linux binaries provided, but rather wanted to try building this project myself :) I've used markdeck on and off for what feels like several years now and I figured I should actually dig into how it works.

from markdeck.

arnehilmann avatar arnehilmann commented on May 18, 2024

Hi! Please check my latest commits; building markdeck from scratch "should" work now...

from markdeck.

cirego avatar cirego commented on May 18, 2024

Hi @arnehilmann, thanks for following up!

I've updated to commit 5b5c33a:

[zen:~/code/arnehilmann/markdeck:(main[|])] git rev-parse --short HEAD
5b5c33a

When I run make all, I get the following error:

[zen:~/code/arnehilmann/markdeck:(main[|])] make all
export MARKDECK_VERSION=0.60.1 PANDOC_VERSION=2.18 REVEALJS_VERSION=4.3.1 ASCIINEMAPLAYER_VERSION=v2.6.1 JQUERY_VERSION=3.6.0.slim.min IMPRESSJS_VERSION=1.1.0 MERMAID_VERSION=9.0.0 SVGBOB_VERSION=0.5.0-alpha.6
envsubst < src/docroot/main/admin.template > src/docroot/main/toplevel/admin.html
bash: line 2: src/docroot/main/toplevel/admin.html: No such file or directory
make: *** [Makefile:118: src/docroot/main/toplevel/admin.html] Error 1

It looks like there still might be a couple of resources missing? Thanks again, this tool is awesome!

from markdeck.

arnehilmann avatar arnehilmann commented on May 18, 2024

oh my, .gitignore tricked me...
please try again, this time the "should work" commit is f8ea0b9

from markdeck.

cirego avatar cirego commented on May 18, 2024

Awesome! Thanks again for plugging away on this.

Unfortunately, it appears that I'm running into a new error (on commit f8ea0b9):

cp: can't stat 'target/release/svgbob': No such file or directory
The command '/bin/sh -c cp target/release/svgbob /svgbob.orig' returned a non-zero code: 1
make: *** [Makefile:123: docroot] Error 1

from markdeck.

arnehilmann avatar arnehilmann commented on May 18, 2024

interesting: latest/greatest svgbob builds a svgbob_cli executable now sigh

from markdeck.

cirego avatar cirego commented on May 18, 2024

Hi @arnehilmann, any thoughts on how to fix the svgbob_cli issue?

from markdeck.

cirego avatar cirego commented on May 18, 2024

I tried doing this:

diff --git a/docker/Dockerfile.docroot b/docker/Dockerfile.docroot
index e1ce8d0..53fbead 100644
--- a/docker/Dockerfile.docroot
+++ b/docker/Dockerfile.docroot
@@ -56,7 +56,7 @@ RUN git clone https://github.com/ivanceras/svgbob.git
 WORKDIR svgbob
 RUN cargo build --release
 RUN cargo test --release
-RUN cp target/release/svgbob /svgbob.orig
+RUN cp target/release/svgbob_cli /svgbob.orig
 RUN echo "svgbob.orig \$@ | sed -n '/^<svg/,\$p'" > /svgbob
 RUN chmod a+rx /svgbob

and that appears to solve the svgbob issue. Then I ran into this:

fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz
ERROR: https://dl-cdn.alpinelinux.org/alpine/v3.15/main: temporary error (try again later)
WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.15/main: No such file or directory
ERROR: https://dl-cdn.alpinelinux.org/alpine/v3.15/community: temporary error (try again later)
WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.15/community: No such file or directory
ERROR: unable to select packages:
  git (no such package):
    required by: world[git]
The command '/bin/sh -c apk add git' returned a non-zero code: 1
make: *** [Makefile:123: docroot] Error 1

This error appears to be an issue affecting both Alpine 3.15 and 3.16. Will try again later.

from markdeck.

cirego avatar cirego commented on May 18, 2024

Still working the above patch, and trying after the temporary network error, I'm getting the following error:

Step 120/126 : COPY src/markdeck/lib/*.jar /markdeck/.markdeck/                                                                                               
COPY failed: no source files were specified                                                                                                                   
make: *** [Makefile:123: docroot] Error 1    

from markdeck.

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.