Open morrowc opened 9 years ago
I'm going to take a hack at the current 'git clone' and see if I can work out where/how to get it installed. If so I'll put together some changes to be committed.
Ok there are a few problems I've found so far, with perl modules which were required/installed: o we forgot libtest-use-ok-perl (on this set of systems) o there's a syntax error in the module: Net-OpenID-JanRain-0.9.6.tar.gz "use" not allowed in expression at /usr/local/share/perl/5.14.2/Net/OpenID/JanRain/Util.pm line 5, at end of line (the previous line, VERSION, is missing it's trailing ; ... ) o missing Digest/SHA1.pm which (as near as I can tell) doesn't exist anymore... this error is from: /usr/local/share/perl/5.14.2/Net/OpenID/JanRain/CryptUtil.pm line 12: use Digest::SHA1;
I changed that to Digest::SHA;
and...fcgi starts.
(clearly I hand-fixed this on the main deployments... joy)
/proj/ops-trust/logs/ - needs to be writable by www-data ....
Working on installing openid on a client system and running into inconsistent expectations for siteconfig template data and reality.
Each config line should have documentation for what it is, where it's going to be used and an example value.
For example:
Paths to the running code once installed.
portal='/proj/ops-trust' library='/proj/ops-trust/library' webroot='/proj/ops-trust/webroot' sitedir='/proj/ops-trust/webroot/site' mechdir='/proj/ops-trust/webroot/mech' webvar='/proj/ops-trust/webvar'
but... none of these seem to be used, at least in openid_fastcgi.pl: root@openid:~/openid# more script/openid_fastcgi.pl.template
!/usr/bin/env perl
use Catalyst::ScriptRunner; use lib "!portal!/ops-trust/openid/lib"; Catalyst::ScriptRunner->run('openid', 'FastCGI');
err... what? portal is used there? and the lib path won't work out very well... 'basedir' maybe not 'portal'? If I set 'portal' from '/proj/ops-trust' I get: use lib "/proj/ops-trust/ops-trust/openid/lib";
and everything installs in /proj/openid
the install fails.