Jump to content

Problem install software in Kali


subterra

Recommended Posts

I am not all that great at compiling downloads. So I could use a little help. Trying to install software on Kali. I am in the correct dir and I have run this. I am providing a list of unpacked files.

mirage-0.9.5.2.tar.bz2
mirage-0.9.5.2/
mirage-0.9.5.2/imgfuncs.c
mirage-0.9.5.2/po/
mirage-0.9.5.2/po/it.po
mirage-0.9.5.2/po/pt_BR.po
mirage-0.9.5.2/po/pl.po
mirage-0.9.5.2/po/zh_CN.po
mirage-0.9.5.2/po/hu.po
mirage-0.9.5.2/po/es.po
mirage-0.9.5.2/po/messages.po
mirage-0.9.5.2/po/ua.po
mirage-0.9.5.2/po/POTFILES.in
mirage-0.9.5.2/po/nl.po
mirage-0.9.5.2/po/ru.po
mirage-0.9.5.2/po/fr.po
mirage-0.9.5.2/po/de.po
mirage-0.9.5.2/po/cs.po
mirage-0.9.5.2/update-po
mirage-0.9.5.2/mirage.py
mirage-0.9.5.2/mirage.svg
mirage-0.9.5.2/TODO
mirage-0.9.5.2/xmouse.c
mirage-0.9.5.2/stock_shuffle.png
mirage-0.9.5.2/stock_leave-fullscreen.png
mirage-0.9.5.2/mirage
mirage-0.9.5.2/README
mirage-0.9.5.2/TRANSLATORS
mirage-0.9.5.2/mirage.desktop
mirage-0.9.5.2/stock_fullscreen.png
mirage-0.9.5.2/setup.py
mirage-0.9.5.2/mirage.png
mirage-0.9.5.2/mirage.ico
mirage-0.9.5.2/mirage_blank.png
mirage-0.9.5.2/COPYING
mirage-0.9.5.2/CHANGELOG

 

./configure && make && sudo make install
bash: ./configure: No such file or directory

I also tried this

./autogen.sh && make && sudo make install
bash: ./autogen.sh: No such file or directory

Including the readme file here.

REQUIREMENTS:
    (Required) PyGTK 2.12.0 or newer
    (Required) GTK 2.10.0 or newer
    (Optional) Gnome-python if you want Mirage's toolbar to follow your Gnome setting
    (Building) GCC
    (Building) python-dev and libX11-dev (on some distros)

INSTALLATION:
    Just run 'python setup.py install' as root.

USAGE:
    Simply run mirage to open a blank new window. Note that you can select multiple
    files/folders from the 'Open' dialogs. 'mirage --help' is also available.

 

Any help is appreciated.

Link to comment
Share on other sites

Nothing of what you have done seems to be in correlation with what the readme tells you to do. Where does the readme say that you should variants involving "make"?It says that you should use "python setup.py install" (or "sudo python setup.py install") but I can't see that you have executed that specific command judging from your output/post.

Link to comment
Share on other sites

I have just always used "Make". Running it the was you suggested however provides the following.

/Downloads/mirage-0.9.5.2$ sudo python setup.py install
[sudo] password for subterra:
  File "/home/subterra/Downloads/mirage-0.9.5.2/setup.py", line 29
    except OSError, (errno, strerror):
                  ^
SyntaxError: invalid syntax

 

Link to comment
Share on other sites

That gave me this:

sudo apt install -y build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev xz-utils tk-dev libffi-dev liblzma-dev python3-openssl git
[sudo] password for subterra:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
build-essential is already the newest version (12.9).
curl is already the newest version (7.81.0-1).
git is already the newest version (1:2.34.1-1).
libbz2-dev is already the newest version (1.0.8-5).
libffi-dev is already the newest version (3.4.2-4).
liblzma-dev is already the newest version (5.2.5-2).
libncurses5-dev is already the newest version (6.3-2).
libncursesw5-dev is already the newest version (6.3-2).
libreadline-dev is already the newest version (8.1.2-1).
libsqlite3-dev is already the newest version (3.37.2-2).
libssl-dev is already the newest version (1.1.1m-1).
llvm is already the newest version (1:13.0-54).
python3-openssl is already the newest version (21.0.0-1).
tk-dev is already the newest version (8.6.11+1).
wget is already the newest version (1.21.2-2+b1).
xz-utils is already the newest version (5.2.5-2).
zlib1g-dev is already the newest version (1:1.2.11.dfsg-2).
The following packages were automatically installed and are no longer required:
  fortune-mod fortunes-min gir1.2-gexiv2-0.10 libgexiv2-2 librecode0
  python3-httplib2
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 197 not upgraded.

=========

I found a link for python 2 and came back to see you posted it. However when I installed it I got this error.

sudo python setup.py install
[sudo] password for subterra:
  File "/home/subterra/Downloads/Python-2.7.18/setup.py", line 327
    print "%-*s   %-*s   %-*s" % (longest, e, longest, f,
          ^
SyntaxError: invalid syntax

 

Link to comment
Share on other sites

First, you usually have to be root for building software. Next, figure out build dependencies, install them and check they are there.

You can't just go into the source dir, type configure and make and pray it works, it depends, so read the documentation for the software, it's dependencies and how to build it.

BUT, if this is the mirage image viewer, let me help you out a bit here..

#enable root user

sudo passwd root

#enter new root password

#switch to root

su

#update APT

apt update

#install mirage

apt install mirage

DONE 😉

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...