On Mon, 13 Jan 2020, Artur Tarassow wrote:
Am 13.01.20 um 19:51 schrieb Allin Cottrell:
> On Mon, 13 Jan 2020, Artur Tarassow wrote:
>
>> Hi all,
>>
>> I've compiled gretl using latest git version on an otherwise clean ubuntu
>> 19.10 system. Gretl works fine for most stuff I am doing there. However,
>> the "pca" command fails, and I guess there is some package dependency
>> which I am not fulfilling and which is not required for compiling gretl.
>>
>> <output>
>> /usr/local/lib/gretl-gtk2/pca.so: cannot open shared object file: No such
>> file or directory
>
> So the pca plugin was not built. It includes a GUI element and calls a
> LAPACK function so it depends on both GTK_LIBS and LAPACK_LIBS as well as
> libgretl -- but it's not alone in that respect, the same goes for the
> leverage plugin. And GTK_LIBS is required for the gretl GUI program, and
> LAPACK_LIBS for libgretl, so there's no real "extra" dependency.
>
> I suggest doing "make" in the plugin directory with "quiet_build"
turned
> off (if you have it on via configure), and seeing what goes on.
> (quiet_build is set to "yes" or "no" on line 19 of
plugin/Makefile.)
>
Thanks Allin. After installing the following packages, all went through fine:
libgtk-3-dev, libgtksourceview-3.0-dev
Ah, glad to hear it. Most of the gretl plugins have no graphical
interface elements but a few of them, including pca, do.
Allin