subterra Posted February 14, 2022 Share Posted February 14, 2022 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 More sharing options...
dark_pyrro Posted February 14, 2022 Share Posted February 14, 2022 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 More sharing options...
subterra Posted February 14, 2022 Author Share Posted February 14, 2022 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 More sharing options...
dark_pyrro Posted February 14, 2022 Share Posted February 14, 2022 Well, you need to use the tools for the job. What's the output of: python --version Link to comment Share on other sites More sharing options...
subterra Posted February 14, 2022 Author Share Posted February 14, 2022 Python 3.9.10 Link to comment Share on other sites More sharing options...
dark_pyrro Posted February 14, 2022 Share Posted February 14, 2022 That's probably the source for your error message, it probably needs Python 2.x Link to comment Share on other sites More sharing options...
subterra Posted February 14, 2022 Author Share Posted February 14, 2022 So no way to install since Python 2 is obsolete ? Link to comment Share on other sites More sharing options...
dark_pyrro Posted February 14, 2022 Share Posted February 14, 2022 Did you search for info about that? What did it tell you? Link to comment Share on other sites More sharing options...
subterra Posted February 14, 2022 Author Share Posted February 14, 2022 Well it is no longer supported. I am running Python 3. My thinking is that once you have Python 3 then you no longer have Python 2 available to your system. It is no longer in the Kali repository. Correct me if I am wrong. Link to comment Share on other sites More sharing options...
dark_pyrro Posted February 14, 2022 Share Posted February 14, 2022 It's possible to run them side by side Link to comment Share on other sites More sharing options...
subterra Posted February 14, 2022 Author Share Posted February 14, 2022 I have been looking into that and can't find any direction on doing so. Can't find a download for Python 2 so far. Link to comment Share on other sites More sharing options...
dark_pyrro Posted February 14, 2022 Share Posted February 14, 2022 This is my first result when searching.... https://www.kali.org/docs/general-use/using-eol-python-versions/ Link to comment Share on other sites More sharing options...
subterra Posted February 14, 2022 Author Share Posted February 14, 2022 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 More sharing options...
dark_pyrro Posted February 14, 2022 Share Posted February 14, 2022 Why are you running sudo python setup.py install in /home/subterra/Downloads/Python-2.7.18/ Link to comment Share on other sites More sharing options...
subterra Posted February 14, 2022 Author Share Posted February 14, 2022 Maybe it is a Windows habit but I normally download into that dir and install from that dir. Can't remember an issue doing this. Should I do it from root? Link to comment Share on other sites More sharing options...
dark_pyrro Posted February 14, 2022 Share Posted February 14, 2022 I'm lost..... are you following the Kali instructions about using Python 2 that I linked or something else? It seems as if you did the first step and then switch over to do something completely different. Link to comment Share on other sites More sharing options...
subterra Posted February 14, 2022 Author Share Posted February 14, 2022 The software isn't worth all of this. I will just find something else. Sorry for the aggravation. I am not a seasoned user and love to learn but going on five hours is a bit much. May revisit it at another time. Thanks. Link to comment Share on other sites More sharing options...
NoExecute Posted February 20, 2022 Share Posted February 20, 2022 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.