I've just installed version 1.10, which looks good, but I'm having problems with displaying barrel-turnpoints. This is probably due to a bug in GPLIGCfunctions.pm because hitting 'c' to draw turnpoints causes a whole series of the following line pairs to be written to the console when gpligc has been started from the command line:
Use of uninitialized value $gpx in multiplication () at
/usr/local/share/gpligc/GPLIGCfunctions.pm line 476.
Use of uninitialized value $gpx in multiplication () at
/usr/local/share/gpligc/GPLIGCfunctions.pm line 477.
The line numbers are always 476 and 477. They are always output when turnpoints should be drawn. They are not output when 'c' is hit again to hide turnpoints and they are not output when the task is being drawn or erased. Barrel-type turnpoints are never displayed and FAI sectors only appear as a set of straight lines: there are no arcs shown to delimit the sector.
Please check whether you're using the correct GPLIGCfunctions.pm file.
The 1.10 version shouldn't have $gpx's in the stated lines...
A possible explanation is, that you've changed the installation path, and .gpligcrc still includes an old path directing to an old GPLIGCfunction.pm.
I haven't changed the installation path, but it did install over the top of 1.07.
Since then I've cleaned up the installation by deleting anything gpligc-related
outside the untarred directory structure, run 'make clean' and then done a from-scratch configure, build and install from README. All worked without complaining, but there was still one problem:
$ gpligc
Can't locate GPLIGCfunctions.pm in @INC (you may need to install the GPLIGCfunctions module) (@INC contains: . /usr/local/bin/ /usr/local/share/gpligc/ /usr/local/lib/perl5 /usr/local/share/perl5 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5 /usr/share/perl5 .) at /usr/local/bin/gpligc line 305
It turned out the this time GPLIGCfunctions.pm wasn't found because it was installed as
/usr/local/lib/gpligc/GPLIGCfunctions.pm which is not included in @INC so, as a quick kludge I copied it to /usr/local/share/gpligc/ and everything is now working as expected.
Many thanks for your help.
The GPLIGCfunction.pm file is read from a path which is set during the installation.
The default is /usr/local/lib/gpligc. The prefix (/usr/local) may be changed with the --prefix option to ./configure.
However, the user configuration file (~/.gpligcrc) provides a way to override the 'hard-coded' path. As this file is written with gpligc's option 'save configuration' it is quite possible that an old path (e.g. as likely in your case the old default path, which was /usr/local/share/gpligc) is still in .gpligcrc and overrides the new default path.
Solution:
rm ~/.gpligcrc
or edit ~/.gpligcrc and delete the lines with 'libdir' and 'datadir'
However, as this feature isn't quite useful for end users, I'll try to find a better solution for the next release.