Closed m-anish closed 2 years ago
Relevant line from dpkg output
ii libgtk-3-0:amd64 3.22.30-1ubuntu4 amd64 GTK+ graphical user interface library
Fixed: in ubuntu 18.04 libgtk-3-dev
needs to be installed too. Perhaps a note in documentation.
However, upon running I get this error:
Thanks of the note, I'll add libgtk-3-dev to the package list for Ubuntu/Debian!
As for xnec2c.conf, please check a few things:
snprintf( mesg, sizeof(mesg), _("xnec2c[%d]: %s: Failed to open file: %s\n"), getpid(), fname, strerror(errno) );
I just pushed v4.4.2 with the change above, it might provide a better error and indicate the actutal problem. There are other stability updates in 4.4.2, so please update!
Thanks of the note, I'll add libgtk-3-dev to the package list for Ubuntu/Debian!
As for xnec2c.conf, please check a few things:
* Do you already have a /home/anish/.xnec2c directory? * If so, is it writable by your user? * Do you have an existing /home/anish/.xnec2c/xnec2c.conf file? * If so, is it writable by your user? * If you rename the file, does it generate a new one? * Try changing changing Open_File in src/utils.c to report the actual error: * On this line: https://github.com/KJ7LNW/xnec2c/blob/master/src/utils.c#L286 * Change it as follows and try again so it reports the error provided by the OS: ```c snprintf( mesg, sizeof(mesg), _("xnec2c[%d]: %s: Failed to open file: %s\n"), getpid(), fname, strerror(errno) ); ```
Thanks. I'll update the version. I don't remember exactly what I did, but now it is running!
Glad its working!
If you do antenna design you might check out https://github.com/KJ7LNW/xnec2c-optimize .
dpkg -l output : https://termbin.com/hlrq
Build failing at
./configure
step.