Giter Site home page Giter Site logo

Ncurses fails to install? about minimal HOT 8 CLOSED

ivandavidov avatar ivandavidov commented on July 17, 2024
Ncurses fails to install?

from minimal.

Comments (8)

ivandavidov avatar ivandavidov commented on July 17, 2024

Take a look at my code...

https://github.com/AwlsomeAlex/minimal/blob/master/src/overlay_02_build_links.sh

...and now take a look at your code...

https://github.com/AwlsomeAlex/minimal/blob/master/src/overlay_06_build_ncurses.sh

There is a difference - the right location to copy the libraries would be this one:

$SRC_DIR/work/src/minimal_overlay/lib

That's because the folders $SRC_DIR/minimal_rootfs and $SRC_DIR/minimal_overlay are used as static templates but the actual build-time artifacts for the additional overlay software have to go to $SRC_DIR/work/src/minimal_overlay/lib. After that the ISO image generation process gets all files from $SRC_DIR/work/src/minimal_overlay and puts them on the ISO image.

So, I suggest you go through your modifications and revise the directories that you use.

from minimal.

AwlsomeAlex avatar AwlsomeAlex commented on July 17, 2024

Okay, but also Ncurses will fail to build, without creating the libraries. Am I using the right ./configure options?
(I changed it as well)

from minimal.

ivandavidov avatar ivandavidov commented on July 17, 2024

The only way to answer that would be to build nano + ncurses myself and tell you how I built them. :)

The usual pattern for building additional software is:

  1. Get the source bundle and extract it.
  2. Find out how to do the initial configuration. Usually it's done by a ./configure script.
  3. Try to create a default configuration.
  4. Try to make the software and then install it in separate folder.
  5. Analyze the content of the installation folder and place all relevant files in the minimal_overlay or minimal_rootfs folder. Side note - all files in minimal_rootfs are visible before the overlay process is triggered, while all files in minimal_overlay will be visible only after the overlay process is triggered since they are part of the generic ISO image structure.
  6. Play with the configuration options and figure out what you need and what you don't need. Be advised that the overlay software dependencies usually are OS specific and it's up to you to resolve all such dependencies for your host machine.

Long story short - I can take a look at nano/ncurses when I have some free time but I don't promise anything. I'll leave the issue ticket open for now. Please update it when you have progress.

from minimal.

AwlsomeAlex avatar AwlsomeAlex commented on July 17, 2024

Okay. i'll experiment with the Ncurses config files, and email the developers the problem, as soon as I find a fix, i'll apply it and send a pull request, maybe then it will be useful for future programs. :)

from minimal.

ivandavidov avatar ivandavidov commented on July 17, 2024

FYI - the commits from today (23-May) add all GNU C libraries as additional overlay bundle. This should solve half of the problem - if ncurses requires glibc (glibc also requires glibc sometimes, e.g. NSS libraries), then these libraries are now present in the overlay structure.

from minimal.

ivandavidov avatar ivandavidov commented on July 17, 2024

@AwlsomeAlex - is there any progress on this issue? If not, I'll close it because it is not relevant to the current development cycle.

from minimal.

AwlsomeAlex avatar AwlsomeAlex commented on July 17, 2024

Yeah, I'm waiting for the next release with full Glibc Libraries, once it's released I will start the same process which I used to try building Ncurses and its Libraries, and several other methods. With the addition of Ncurses, you'll be able to expand the project with additions of Dialog/Text-Based Interfaces such as Nano and WPA_Supplicants/Wifi-Tools, so I'll try to push on development once a stable is released. @ivandavidov

from minimal.

ivandavidov avatar ivandavidov commented on July 17, 2024

I'm closing this issue since it is no relevant for the current development cycle.

from minimal.

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.