Installation

installing 2.19 in directory different from /opt

installing 2.19 in directory different from /opt

by Andras Balogh -
Number of replies: 4

check_latex complains about not finding pg.sty when I try to install  2.19 on Ubuntu 24.04  in directory other than /opt.

I used to be able to install other versions of WeBWorK in directories other than /opt.


Andras
In reply to Andras Balogh

Re: installing 2.19 in directory different from /opt

by Glenn Rice -

You should be able to install in a directory other than /opt.  The check_latex script uses the settings from your configuration.  So check you your conf files are all set up correctly.  Make sure that you have pg_dir set correctly in the conf/webwork2.mojolicious.yml file.  Also make sure that you do NOT have an override of $pg{directories}{root} set in either localOverrides.conf or site.conf.  The default value from defaults.conf should always be used (which gets the value from the webwork2.mojolicious.conf file).

In reply to Glenn Rice

Re: installing 2.19 in directory different from /opt

by Andras Balogh -
check_latex is done before setting up the server. Does it read the webwork2.mojolicious.yml file? I only checked the .conf files for /opt/ references.
In reply to Andras Balogh

Re: installing 2.19 in directory different from /opt

by Glenn Rice -
Yes, it reads the webwork2.mojolicious.yml file. The only setting that it gets is the pg_root location. It also gets other directory locations from the settings in the course environment which is built from defaults.config, site.conf, and localOverrides.conf. Most importantly it gets the $ce->{pg}{directories}{assetsTex} location which contains the pg.sty file.