Giter Club home page Giter Club logo

Comments (3)

ibara avatar ibara commented on May 30, 2024

The intention of the configure script is to support this exact scenario.
I am not a void linux user. Could you tell me how to replicate your environment so I can get this fixed?

from oksh.

tuxliban avatar tuxliban commented on May 30, 2024

Could you tell me how to replicate your environment so I can get this fixed?

Using xbps-src in a foreign Linux distribution
xbps-src can be used in any recent Linux distribution matching the CPU architecture.

To use xbps-src in your Linux distribution use the following instructions. Let's start downloading the xbps static binaries:

$ wget http://alpha.de.repo.voidlinux.org/static/xbps-static-latest.<arch>-musl.tar.xz
$ mkdir ~/XBPS
$ tar xvf xbps-static-latest.<arch>-musl.tar.xz -C ~/XBPS
$ export PATH=~/XBPS/usr/bin:$PATH

If xbps-uunshare does not work because of lack of user_namespaces(7) support, try other chroot methods.

Clone the void-packages git repository:

$ git clone https://github.com/void-linux/void-packages.git --depth=1

and xbps-src should be fully functional; just start the bootstrap process, i.e:

$ ./xbps-src binary-bootstrap

The default masterdir is created in the current working directory, i.e void-packages/masterdir.

Now you have to create the netbsd-curses package, for this you have to download the template and place it in /path/void-packages/netbsd-curses/ and then create a symbolic link from netbsd-curses to netbsd-curses-devel inside the srcpkgs directory.

Proceed to build the package:

./xbps-src pkg netbsd-curses

Now build the oksh package with the following custom template replacing the original template distributed by Void Linux.

Build the oksh package:

./xbps-src pkg -C oksh

The -C argument is used so that after the package build the build directory, dependencies and the fake root directory are not removed.

Up to this point, using the binary and wanting to clean the screen doesn't work because the netbsd-curses libraries aren't detected in the configuration process.

I hope I made myself clear as my native language isn't English.

Thank you very much for your interest in trying to find a solution to my issue.

from oksh.

ibara avatar ibara commented on May 30, 2024

I should have been more clear. I am not a Linux user. I will use void linux to fix things, since it appears you are using void linux.

These instructions are helpful. I will try to fix this over the weekend.

from oksh.

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.