Hi, 1.5.1 has same problems. What seems to help is to insert our() statements like here:
===================================================================== diff -Naur cmds.orig/advanced_csr cmds/advanced_csr --- cmds.orig/advanced_csr 2011-02-14 22:45:41.000000000 +0100 +++ cmds/advanced_csr 2013-12-17 17:25:19.585667892 +0100 @@ -701,6 +701,7 @@ if ( ($STATUS eq "" ) or ( $query->param('status') eq "finished-client-filled-form") ) { + our ($DEBUG); my $dn = $query->param('dn'); my $keytype = $query->param('keytype'); diff -Naur cmds.orig/authenticated_csr cmds/authenticated_csr --- cmds.orig/authenticated_csr 2011-02-14 22:45:41.000000000 +0100 +++ cmds/authenticated_csr 2013-12-17 17:30:28.564947105 +0100 @@ -1238,6 +1238,8 @@ } sub checkLogin { + our ($query, $errval); + my $reqTwig = shift; my $username = $query->param('LOGIN_ATTRIBUTE_LOGIN'); ===================================================================== and so on... As I'm not a perl programmer, I do not really know what I'm doing. I simply guess that our() is required to access a global Variable. Maybe my perl version (v5.16.0) is more strict than the version you are using? I will continue inserting our() statements until "make test" passes ok. If I'm on the wrong way or someone knows a less tedious solution, please let me know... hd^2 On Fri, 13 Dec 2013 23:42:42 +0100, <blain...@gdls.com> wrote: > Download and compile 1.5.1 from ftp.openca.org. > > Dave > > > ----- Original Message ----- > From: "Hans-Dieter Doll" [hans-dieter.d...@drb.insel.de] > Sent: 12/13/2013 11:02 PM CET > To: openca-devel@lists.sourceforge.net > Subject: [OpenCA-Devel] Test fails with OpenCA 1.5.0 on openSUSE 12.2 > > > > Hi, > > I just now downloaded openca-tools-1.3.0 and openca-base-1.5.0 on my openSUSE > 12.2 (i386). > The Perl modules stated in the installation guide are all of a much newer > revision. > > The tools were installed without any problems at standard places (no > configure option given). > The base compiled successful with the following configure options: > ./configure --with-openca-user=openca --with-openca-group=openca \ > --with-module-prefix=/home/openca/perl \ > --with-openca-prefix=/home/openca \ > --with-web-host=hd2pc2.drb.insel.de \ > --with-httpd-user=wwwrun --with-httpd-group=www \ > --with-httpd-fs-prefix=/usr/share/apache2 \ > --with-cgi-fs-prefix=/srv/www/cgi-bin \ > --with-htdocs-fs-prefix=/srv/www/htdocs > > But "make test" gives dozens of errors, which look all very similar. > Some examples: > > Global symbol "$DEBUG" requires explicit package name at advanced_csr line > 815. > advanced_csr had compilation errors. > Variable "$query" is not imported at authenticated_csr line 1243. > Variable "$query" is not imported at authenticated_csr line 1244. > Variable "$query" is not imported at authenticated_csr line 1245. > Variable "$errval" is not imported at authenticated_csr line 1250. > Variable "$errval" is not imported at authenticated_csr line 1253. > Variable "$errval" is not imported at authenticated_csr line 1262. > Variable "$errval" is not imported at authenticated_csr line 1266. > Global symbol "$query" requires explicit package name at authenticated_csr > line 1243. > Global symbol "$query" requires explicit package name at authenticated_csr > line 1244. > Global symbol "$query" requires explicit package name at authenticated_csr > line 1245. > Global symbol "$errval" requires explicit package name at authenticated_csr > line 1250. > Global symbol "$errval" requires explicit package name at authenticated_csr > line 1253. > Global symbol "$errval" requires explicit package name at authenticated_csr > line 1262. > Global symbol "$errval" requires explicit package name at authenticated_csr > line 1266. > authenticated_csr had compilation errors. > [...] > Global symbol "$cryptoShell" requires explicit package name at crlList line > 32. > crlList had compilation errors. > [...] > Variable "$query" is not imported at genCACert line 194. > Variable "$query" is not imported at genCACert line 200. > Global symbol "$query" requires explicit package name at genCACert line 194. > Global symbol "$query" requires explicit package name at genCACert line 200. > genCACert had compilation errors. > > And so on... > > Unfortunately I'm not a perl programmer and have no idea, what's going on > here. > Any hints? > > hd^2 > -- Hans-Dieter Doll Dr. Brunthaler Industrielle Informationstechnik GmbH Motzstr. 5, D-10777 Berlin Fon: +49.30.215081-0, Fax: +49.30.215081-88 mailto:hans-dieter.d...@drb.insel.de http://www.brunthaler.de Geschäftsführer: Prof. Dr.-Ing. Stefan Brunthaler Sitz der Gesellschaft: Berlin Handelsregister: HRB 27 337 Amtsgericht Charlottenburg -- Wir sind Mitglied des inilog Netzwerks - www.inilog.de ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk _______________________________________________ OpenCA-Devel mailing list OpenCA-Devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openca-devel