Giter Site home page Giter Site logo

Comments (8)

babluboy avatar babluboy commented on June 10, 2024

Try and install ninja with the following commands:
sudo apt-get update -y
sudo apt-get install -y ninja-build

from bookworm.

MWNautilus avatar MWNautilus commented on June 10, 2024

I tried it and the ninja paket gets installed, but the bookworm installation still fails afterwards with the same error message saying that ninja is missing.

from bookworm.

AdrianoHeller avatar AdrianoHeller commented on June 10, 2024

For me it's happening the same @babluboy.
Even after installing ninja with your instructions:
This is the shell output:
The following packages have unmet dependencies:
com.github.babluboy.bookworm : Depends: ninja but it is not installable
E: Unable to correct problems, you have held broken packages.

from bookworm.

babluboy avatar babluboy commented on June 10, 2024

can you also try and install ninja:
sudo apt-get install ninja

Can it be related to this issue:
mesonbuild/meson#6867

As per that issue, it will be great if you can try and install ninja using pip3:
python3 -m pip install ninja

from bookworm.

 avatar commented on June 10, 2024

Hi @babluboy! I've also tried everything and get the same errors as @MWNautilus & @AdrianoHeller. Went through all the steps you suggest and while I already have the newest version of ninja when I try to install it using pip3 I get this /usr/bin/python3: No module named pip
I am incapable of doing anything other than copy pasting as I am clueless re Linux so it could very well be that I am missing sth. My OS install is fresh (as of this afternoon).

Please, is there anything else you think we could try (I tried all the methods except for building it from source)? atm I'm stuck w/ Readium and it just ain't as cute as yours!

Wishing you a good day!

Nevermind, it worked after restarting I think it was the flatpack install that did the trick!

from bookworm.

babluboy avatar babluboy commented on June 10, 2024

Until I install Ubuntu 20.04 and try this out myself, consider using bookworm with flatpak:
flatpak install --from https://flathub.org/repo/appstream/com.github.babluboy.bookworm.flatpakref

This is a workaround and not a solution - so keeping this issue open

from bookworm.

matkoniecz avatar matkoniecz commented on June 10, 2024

sudo apt-get install ninja

mateusz@grima:~$  sudo apt-get install ninja
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package ninja is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'ninja' has no installation candidate

As per that issue, it will be great if you can try and install ninja using pip3:
python3 -m pip install ninja

I have python and pip installed so it will work for me.

But this will install ninja, but not as system package therefore install still fails even if ninja is now present on the system

mateusz@grima:~$  python3 -m pip install ninja
Defaulting to user installation because normal site-packages is not writeable
Collecting ninja
  Downloading ninja-1.10.2.3-py2.py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.whl (108 kB)
     |████████████████████████████████| 108 kB 723 kB/s            
Installing collected packages: ninja
Successfully installed ninja-1.10.2.3
mateusz@grima:~$ sudo apt install com.github.babluboy.bookworm
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 com.github.babluboy.bookworm : Depends: ninja but it is not installable
E: Unable to correct problems, you have held broken packages.

from bookworm.

matkoniecz avatar matkoniecz commented on June 10, 2024

flatpak install --from https://flathub.org/repo/appstream/com.github.babluboy.bookworm.flatpakref

How I am supposed to run it after an install?

EDIT: flatpak run com.github.babluboy.bookworm

BTW, #325 is the same issue.

from bookworm.

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.