Giter Site home page Giter Site logo

make depends about ramstk HOT 10 CLOSED

BUPT1226 avatar BUPT1226 commented on September 22, 2024
make depends

from ramstk.

Comments (10)

weibullguy avatar weibullguy commented on September 22, 2024

I don't have access to a Windows machine to be able to troubleshoot. But, that is an error raised by GNU make, I believe. If you can't find a version of make for Windows that works, you can try to run the make depends target commands manually. These would be:

python -m pip install -U pip wheel
poetry install --no-root

from ramstk.

BUPT1226 avatar BUPT1226 commented on September 22, 2024

First of all, thank you for your answer. I did as you said, but another thorny problem has arisen.When I type the following sentence:”poetry install --no-root“
The following results appear:
Package operations: 1 install, 0 updates, 0 removals
• Installing pygobject (3.42.2)
CalledProcessError
........
Failed to build PyGObject
ERROR: Could not build wheels for PyGObject, which is required to install pyproject.toml-based projects

How can I solve this problem?

from ramstk.

weibullguy avatar weibullguy commented on September 22, 2024

You have to install pygobject not using poetry. The instructions are here.

from ramstk.

BUPT1226 avatar BUPT1226 commented on September 22, 2024

Sorry to bother you again , now I'm running on Ubuntu(WSL) . I have installed the ramstk ,but when I run the following order :
$ramstk
The result is :

(ramstk-py3.8) messi@LAPTOP:/home/ramstk-0.19.0$ ramstk
/home/messi/.cache/pypoetry/virtualenvs/ramstk-nmzo7p3X-py3.8/lib/python3.8/site-packages/ramstk/analyses/dormancy.py:16: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray.
DORMANT_HR_MULT = np.array(
Unable to init server: Could not connect: Connection refused
Unable to init server: Could not connect: Connection refused
Traceback (most recent call last):
File "/home/messi/.cache/pypoetry/virtualenvs/ramstk-nmzo7p3X-py3.8/bin/ramstk", line 8, in
sys.exit(the_one_ring())
File "/home/messi/.cache/pypoetry/virtualenvs/ramstk-nmzo7p3X-py3.8/lib/python3.8/site-packages/ramstk/main.py", line 322, in the_one_ring
site_configuration = do_read_site_configuration()
File "/home/messi/.cache/pypoetry/virtualenvs/ramstk-nmzo7p3X-py3.8/lib/python3.8/site-packages/ramstk/main.py", line 258, in do_read_site_configuration
do_first_run(_configuration)
File "/home/messi/.cache/pypoetry/virtualenvs/ramstk-nmzo7p3X-py3.8/lib/python3.8/site-packages/ramstk/main.py", line 107, in do_first_run
_dialog = RAMSTKDatabaseSelect(
File "/home/messi/.cache/pypoetry/virtualenvs/ramstk-nmzo7p3X-py3.8/lib/python3.8/site-packages/ramstk/views/gtk3/widgets/dialog.py", line 76, in init
super().init(dlgtitle, **kwargs)
File "/home/messi/.cache/pypoetry/virtualenvs/ramstk-nmzo7p3X-py3.8/lib/python3.8/site-packages/ramstk/views/gtk3/widgets/dialog.py", line 53, in init
super().init()
File "/home/messi/.cache/pypoetry/virtualenvs/ramstk-nmzo7p3X-py3.8/lib/python3.8/site-packages/gi/overrides/Gtk.py", line 577, in init
self._init(*args, **new_kwargs)
File "/home/messi/.cache/pypoetry/virtualenvs/ramstk-nmzo7p3X-py3.8/lib/python3.8/site-packages/gi/overrides/init.py", line 319, in new_init
return super_init_func(self, **new_kwargs)
File "/home/messi/.cache/pypoetry/virtualenvs/ramstk-nmzo7p3X-py3.8/lib/python3.8/site-packages/gi/overrides/Gtk.py", line 519, in init
raise RuntimeError(
RuntimeError: Gtk couldn't be initialized. Use Gtk.init_check() if you want to handle this case.
(ramstk-py3.8) messi@LAPTOP:/home/ramstk-0.19.0$

What can i do to solve this problem?

from ramstk.

weibullguy avatar weibullguy commented on September 22, 2024

This is a problem with Gtk not finding a display. Are you executing the command from a terminal emulator or are you at the command line?

from ramstk.

BUPT1226 avatar BUPT1226 commented on September 22, 2024

I think it should be the command line .

from ramstk.

weibullguy avatar weibullguy commented on September 22, 2024

You need to be running a graphical interface, not the command line. Once you're running a graphical interface, launch a terminal emulator and execute the ramstk command.

from ramstk.

BUPT1226 avatar BUPT1226 commented on September 22, 2024

Now I am running on Linux system by using virtual machine . And my linux syetem is centOS7 .When I execute the following order
$make depends
The error arise . That is, the pycairo package download failed.I search the solution to this error online but I did't find out .Meanwhile I read the instrutions which you mentioned eariler ,but it doesn't have the solution of centOS. The instructions are here.
Do you know the solution of the centOS7 ?

from ramstk.

weibullguy avatar weibullguy commented on September 22, 2024

For CentOS, try the Fedora instructions. However, none of the problems you're reporting have anything to do with ramstk. That being the case, I'm closing this issue.

from ramstk.

BUPT1226 avatar BUPT1226 commented on September 22, 2024

Ok,thank you very much.

from ramstk.

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.