Giter VIP home page Giter VIP logo

desmoctl's Introduction

desmoctl

desmoctl

A tool for controlling a desmofylakas cluster written in Chicken Scheme.

Installation

Install Chicken Scheme.

You also need to have these tools or libraries:

tar
make
openssl (with dev headers)
pkg-config

Note: on some systems you need to set PKG_CONFIG_PATH to a path that contains openssl.pc. On MacOS w/ Homebrew this would be:

export PKG_CONFIG_PATH="$(brew --prefix openssl)/lib/pkgconfig"

Install dependencies, build and install to your preferred location:

make deps
make test    # optionally run tests
make dynamic # or make static
PREFIX=$HOME/.local/bin/ make install

Usage

See desmoctl help.

Development

Run the tool in the interpreter:

csi -s run.scm  # run CLI
csi -s test.scm # run unit tests

In my workflow, loading desmoctl.scm to a long-lived REPL is pretty convenient.

Copyright

© Desmofylakas Core Team 2024

desmoctl's People

Contributors

jantuomi avatar

Stargazers

 avatar

Watchers

 avatar  avatar

desmoctl's Issues

Build issue

~/dev/desmoctl/ [main] make deps
chicken-install -from-list requirements.list
fetching matchable
building test
installing test
building matchable
   /opt/homebrew/Cellar/chicken/5.3.0_1/bin/csc -host -D compiling-extension -J -s -regenerate-import-libraries -setup-mode -I /Users/poksiala/.cache/chicken-install/matchable -C -I/Users/poksiala/.cache/chicken-install/matchable -O2 -d1 matchable.scm -o /Users/poksiala/.cache/chicken-install/matchable/matchable.so
   /opt/homebrew/Cellar/chicken/5.3.0_1/bin/csc -regenerate-import-libraries -M -setup-mode -static -I /Users/poksiala/.cache/chicken-install/matchable -emit-link-file /Users/poksiala/.cache/chicken-install/matchable/matchable.link -host -D compiling-extension -c -unit matchable -D compiling-static-extension -C -I/Users/poksiala/.cache/chicken-install/matchable -O2 -d1 matchable.scm -o /Users/poksiala/.cache/chicken-install/matchable/matchable.static.o
   /opt/homebrew/Cellar/chicken/5.3.0_1/bin/csc -setup-mode -s -host -I /Users/poksiala/.cache/chicken-install/matchable -C -I/Users/poksiala/.cache/chicken-install/matchable -O2 -d0 matchable.import.scm -o /Users/poksiala/.cache/chicken-install/matchable/matchable.import.so
installing matchable
building shell
installing shell
building medea
installing medea
building openssl
installing openssl
building intarweb
installing intarweb
building uri-common
installing uri-common
building filepath
installing filepath
building http-client
installing http-client
 ~/dev/desmoctl/ [main] make dynamic
mkdir -p build
csc -O3 -o build/desmoctl desmoctl.scm

Syntax error (import): cannot import from undefined module

	srfi-133

	Expansion history:

	<syntax>	 (##core#require library chicken.base)
	<syntax>	 (chicken.load#load-unit (##core#quote library) (##core#quote #f) (##core#quote #f))
	<syntax>	 (##core#quote library)
	<syntax>	 (##core#quote #f)
	<syntax>	 (##core#quote #f)
	<syntax>	 (##core#begin (##core#require expand chicken.syntax))
	<syntax>	 (##core#require expand chicken.syntax)
	<syntax>	 (chicken.load#load-unit (##core#quote expand) (##core#quote #f) (##core#quote #f))
	<syntax>	 (##core#quote expand)
	<syntax>	 (##core#quote #f)
	<syntax>	 (##core#quote #f)
	<eval>	 (chicken.load#load-unit (##core#quote library) (##core#quote #f) (##core#quote #f))
	<eval>	 (chicken.load#load-unit (##core#quote library) (##core#quote #f) (##core#quote #f))
	<eval>	 (chicken.load#load-unit (##core#quote expand) (##core#quote #f) (##core#quote #f))
	<syntax>	 (import-syntax chicken.base chicken.fixnum chicken.platform chicken.flonum (except scheme string-cop...
	<syntax>	 (##core#undefined)	<--

Error: shell command terminated with non-zero exit status 17920: '/opt/homebrew/Cellar/chicken/5.3.0_1/bin/chicken' 'desmoctl.scm' -output-file 'build/desmoctl.c' -optimize-level 3
make: *** [build/desmoctl] Error 1

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.