KJ7LNW / xnec2c

Xnec2c is a high-performance multi-threaded electromagnetic simulation package to model antenna near- and far-field radiation patterns for Linux and UNIX operating systems.
https://www.xnec2c.org/
GNU General Public License v3.0
77 stars 16 forks source link

Installation fails #38

Closed Alain2Bretagne closed 6 months ago

Alain2Bretagne commented 6 months ago

I tried to install on Ubuntu 22.04.3 LTS with the software manager. Does not work and no explanation. I tried from git and I have an error message during the make process: ake[3] : on quitte le répertoire « /home/alain/Bureau/install xnec2/xnec2c/po » test ! -f ./xnec2c.pot || \ test -z "" || make touch stamp-po make[2] : on quitte le répertoire « /home/alain/Bureau/install xnec2/xnec2c/po » make[2] : on entre dans le répertoire « /home/alain/Bureau/install xnec2/xnec2c » /usr/bin/sed -e 's|[@]PACKAGE_NAME@|xnec2c|g' -e 's|[@]PACKAGE_STRING@|xnec2c 4.4.12|g' -e 's|[@]PACKAGE_TARNAME@|xnec2c|g' -e 's|[@]PACKAGE_VERSION@|4.4.12|g' < doc/xnec2c.1.in > doc/xnec2c.1 /usr/bin/sed -e 's|[@]PACKAGE_NAME@|xnec2c|g' -e 's|[@]PACKAGE_STRING@|xnec2c 4.4.12|g' -e 's|[@]PACKAGE_TARNAME@|xnec2c|g' -e 's|[@]PACKAGE_VERSION@|4.4.12|g' < xnec2c.spec.in > xnec2c.spec make[2] : on quitte le répertoire « /home/alain/Bureau/install xnec2/xnec2c » make[1] : on quitte le répertoire « /home/alain/Bureau/install xnec2/xnec2c » Making install in src make[1] : on entre dans le répertoire « /home/alain/Bureau/install xnec2/xnec2c/src » make[2] : on entre dans le répertoire « /home/alain/Bureau/install xnec2/xnec2c/src » /usr/bin/mkdir -p '/usr/local/bin' /usr/bin/install -c xnec2c '/usr/local/bin' /usr/bin/install: impossible de créer le fichier standard '/usr/local/bin/xnec2c': Permission non accordée make[2]: [Makefile:469 : install-binPROGRAMS] Erreur 1 make[2] : on quitte le répertoire « /home/alain/Bureau/install xnec2/xnec2c/src » make[1]: [Makefile:1106 : install-am] Erreur 2 make[1] : on quitte le répertoire « /home/alain/Bureau/install xnec2/xnec2c/src » make: *** [Makefile:802 : install-recursive] Erreur 1

I did not copy everything, but seems correct before. As a reseult from th installation, I have the message included. What shall I do? Thank you image

KJ7LNW commented 6 months ago

It looks like you tried to run it as root which broke permissions on ~/.xnec2c/. There are other issues, too: your install output shows version 4.4.12 but the graphical window shows 4.3.4.

This is what I'd recommend:

Then run it but not as root:

KJ7LNW commented 6 months ago

If you just want to run it from the software manager, then this should fix your permissions issue:

KJ7LNW commented 6 months ago

You might also need this:

KJ7LNW commented 6 months ago

Closing this, but re-open if you still have trouble.

KJ7LNW commented 6 months ago

.

Alain2Bretagne commented 6 months ago

Thank you

Sent from Proton Mail for iOS

Le lun. 4 mars 2024 à 01:45, KJ7LNW @.***(mailto:Le lun. 4 mars 2024 à 01:45, KJ7LNW < a écrit :

Closing this, but re-open if you still have trouble.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>