Giter VIP home page Giter VIP logo

distributable-linux's People

Contributors

itshaadi avatar paramsiddharth avatar roysti10 avatar viferga avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

distributable-linux's Issues

Ruby gems are not found after successful install

I would like to use ruby gem nokogiri with MetaCall (installed with install.sh) and am using the repo metacall/express-faas-rpc-example as a starting point.

I added a corresponding Gemfile, called metacall bundler install which reports the gem as being present.

When I add the `require 'nokogiri' statement to mult.rb, I get

Loading... mult.rb
Error: Ruby module evaluation failed
#<LoadError: cannot load such file -- nokogiri>
(eval):1:in `require'
(eval):1:in `<main>'
Error: Invalid ruby module loading /wrk/metacall/express-faas-rpc-example/scripts/mult.rb
Error: No module could be loaded
Error: Handle (nil) passed to metacall_handle_export is not valid
NodeJS Loader Error: MetaCall could not load from file

@viferga mentioned in the Discord chat that this is related to some environment variables and to #5.

Error in sitecustomize; set PYTHONVERBOSE for traceback:

The following error appears when loading a Python module:

Error in sitecustomize; set PYTHONVERBOSE for traceback:
ValueError: '/gnu/store/fh3601n59i6rbsri6a4lbnnc00n6fjjl-profile/bin/../../c81i9i54fgc2gya6948dxs4b61c86f9g-python-3.10.7R/lib/python3.10/site-packages' is not in list

This is a bug from Guix which has been solved in core-updates branch but it is not merged into master yet. Update it whenever it is available. Here's the commit:

commit d8875d76555faf1a11f6838312bfe4b7f6121d2c
Author: Konrad Hinsen <[email protected]>
Date:   Thu Jan 4 13:44:19 2024 +0100

    gnu: python: Normalize sys.prefix in sitecustomize.py.
    
    * gnu/packages/aux-files/python/sitecustomize.py: normalize sys.prefix to deal
    with situations where it contains "../", as can happen in relocatable packs.
    
    Change-Id: Ibfe13d7c2a14beaa199f599e64bc0b7bfb500fe8
    Signed-off-by: Maxim Cournoyer <[email protected]>

Speedup NodeJS build by removing the tests

In the build phase the testing of node-lts takes long, we know Guix already tests them and we just do a small change in the linking properties of the nodejs library, so I think we can safely remove the tests to speedup build times.

Implement NetCore

We should implement NetCore with nonguix (not yet bootstrapable).

Here are the TODOs:

Implement backtrace support

We should package backwardcpp (a header only library) and add an exception in Add_ExternalProject in metacall/core for when building with Guix.

We should also change this flag: -DOPTION_BUILD_PLUGINS_BACKTRACE=OFF to ON.

Implement script for publishing automatically the tarball in the GitHub repo

This script must tag properly and get all history of all commits, probably run a make download too. This script should be implemented here:
https://github.com/metacall/distributable/blob/52008d9afefdda7db2fa827bcd29d883e19fad79/tools/release.sh

Probably we can use this template to implement the tokens for GitHub:
https://github.com/metacall/distributable/blob/52008d9afefdda7db2fa827bcd29d883e19fad79/.netrc.template

This script is needed in order to implement CI/CD for MetaCall Distributable.

Simplification and ease of use for projects that want to use metacall as a library

While attempting to embed metacall into a zig application, I encountered some confusion, and I suggest the following changes to the release tarball in order to ease the life of people trying to use it in their projects:

  • Symlink gnu/include to gnu/store/szllrsimcnm8r1iiampsikhnnpk3c4zd-metacall-0.6.2/include
  • Don't require CONFIGURATION_PATH
  • Symlink gnu/configurations to gnu/store/y1qviprznny30lmnkgyinh0a3bsf5r40-profile/configurations
  • Get c-ares and icu4c into gnu/lib somehow

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.