Sujet : Re: ******** Video: FOSS Superiority Versus Commercial Software **********
De : guhnoo-basher (at) *nospam* linux.advocaca (DFS)
Groupes : comp.os.linux.advocacyDate : 05. Dec 2024, 05:11:56
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vir96a$1cuot$3@dont-email.me>
References : 1 2 3 4 5 6 7 8 9
User-Agent : Betterbird (Windows)
On 12/4/2024 7:22 PM, Physfitfreak wrote:
On 12/4/24 4:17 PM, Farley Flud wrote:
It is quite easy:
>
unpack tarball
>
mkdir build && cd build
>
qmake5 ../MathMod.pro
>
edit Makefile (if desired)
>
make
>
run ./MathMod (no install necessary)
It doesn't work.
I clicked "Download" at Sourceforge site. Unzipped it in a directory. Changed to that directory. Tried qmake5 ../MathMod.pro. Said it doesn't know what qmake5 is but I could install it with a sudo apt ... . Did that. Then same command this time said cannot find file ../MathMod.pro (it is sitting right there!).
Then I went another route. I did sudo apt install MathMod. It said:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package MathMod
So it wants a package, and there's no package for it.
Winblow can defecate on top of this for good reasons :)
Welcome to the wacky world of Linux. This kind of time-wasting bullshit (hassles when compiling from source because there's no Linux executable available) is what makes people HATE Linux and leave it for a long time or never come back. It's very irritating.
I downloaded the Windows .exe file, clicked a few times and was running the app within 1 minute.
On Linux (kali linux on Windows WSL2):
downloaded the source .zip file
$ unzip mathmod-12.0-source.zip (OK, makes dir mathmod-12.0)
Feeb left out a step. At this point you need to change to the newly created directory:
$ cd mathmod-12.0
then carry on:
$ mkdir build && cd build (OK)
And now the Linux fun starts:
$ qmake5 ../MathMod.pro
Command 'qmake5' not found, did you mean:
command 'qmake' from deb qtchooser
command 'qmake6' from deb qmake6
Try: sudo apt install <deb name>
$ sudo apt install qmake6
[sudo] password for dfs:
Installing:
qmake6
Installing dependencies:
qmake6-bin
Summary:
Upgrading: 0, Installing: 2, Removing: 0, Not Upgrading: 0
Download size: 770 kB
Space needed: 3,013 kB / 1,022 GB available
Continue? [Y/n]
Err:1
http://http.kali.org/kali kali-last-snapshot/main amd64 qmake6-bin amd64 6.4.2+dfsg-21.1+b1
404 Not Found [IP: 18.211.24.19 80]
Err:2
http://http.kali.org/kali kali-last-snapshot/main amd64 qmake6 amd64 6.4.2+dfsg-21.1+b1
404 Not Found [IP: 18.211.24.19 80]
Error: Failed to fetch
http://http.kali.org/kali/pool/main/q/qt6-base/qmake6-bin_6.4.2%2bdfsg-21.1%2bb1_amd64.deb 404 Not Found [IP: 18.211.24.19 80]
Error: Failed to fetch
http://http.kali.org/kali/pool/main/q/qt6-base/qmake6_6.4.2%2bdfsg-21.1%2bb1_amd64.deb 404 Not Found [IP: 18.211.24.19 80]
Error: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Then I spent 10 minutes running
$sudo apt-get update
$sudo apt-get upgrade
$sudo apt install gcc
$sudo apt install g++
$ qmake6 ../MathMod.pro
Project ERROR: Unknown module(s) in QT: core gui opengl widgets openglwidgets
It's just one missing file error after another after another after another.
Not interested in wasting more time, especially since I have MathMod running on Windows already, easy peasy.
This! Is! Linux!