[freeside] Ack: Problem with current CVS tree

Ivan Kohler ivan at sisd.com
Tue Jul 20 23:36:00 PDT 1999


Interesting.

ivan at rootwood:~$ perl5.00503 -cTw freeside_current/site_perl/agent_type.pm 
freeside_current/site_perl/agent_type.pm syntax OK

ivan at rootwood:~$ perl5.00405 -cTw freeside_current/site_perl/agent_type.pm 
freeside_current/site_perl/agent_type.pm syntax OK

ivan at pouncequick:~$ perl5.00404 -cTw freeside_current/site_perl/agent_type.pm 
syntax error at site_perl/agent_type.pm line 120, near "++ foreach "
site_perl/agent_type.pm had compilation errors.

In the future, please report the version of Perl you are using, with 
`perl -V'.

I've changed that to be compatible with the depriciated Perl versions. 
I'll probably change it back sooner or later.  The currently supported
Perl versions are 5.004_05 and 5.005_03 (unthreaded). 

On Tue, Jul 20, 1999 at 09:42:28PM -0600, Ben Leibig wrote:
> I just upgraded to the current CVS tree, tried to add a new customer, and
> hark:
> 
> Software error:
> 
> syntax error at /usr/local/lib/site_perl/FS/agent_type.pm line 120, near "++
> foreach "
> 
> Please send mail to this site's webmaster for help. Content-type: text/html
> 
> Software error:
> 
> [Tue Jul 20 23:13:39 1999] agent_type.pm: syntax error at
> /usr/local/lib/site_perl/FS/agent_type.pm line 120, near "++ foreach " BEGIN
> failed--compilation aborted at /usr/local/lib/site_perl/FS/type_pkgs.pm line
> 6.
> 
> Please send mail to this site's webmaster for help. Content-type: text/html
> 
> Software error:
> 
> [Tue Jul 20 23:13:39 1999] type_pkgs.pm: [Tue Jul 20 23:13:39 1999]
> agent_type.pm: syntax error at /usr/local/lib/site_perl/FS/agent_type.pm
> line 120, near "++ foreach " [Tue Jul 20 23:13:39 1999] type_pkgs.pm: BEGIN
> failed--compilation aborted at
> /usr/local/lib/site_perl/FS/type_pkgs.pm line 6.
> 
> Please send mail to this site's webmaster for help. Content-type: text/html
> 
> Software error:
> 
> [Tue Jul 20 23:13:39 1999] type_pkgs.pm: [Tue Jul 20 23:13:39 1999]
> type_pkgs.pm: [Tue Jul 20 23:13:39 1999] agent_type.pm: syntax error at
> /usr/local/lib/site_perl/FS/agent_type.pm line 120, near "++ foreach " [Tue
> Jul 20 23:13:39 1999] type_pkgs.pm: [Tue Jul 20 23:13:39 1999]
> type_pkgs.pm: BEGIN failed--compilation aborted at
> /usr/local/lib/site_perl/FS/type_pkgs.pm line 6. BEGIN failed--compilation
> aborted at
> /usr/local/lib/site_perl/FS/cust_pkg.pm line 10.
> 
> Please send mail to this site's webmaster for help. Content-type: text/html
> 
> Software error:
> 
> [Tue Jul 20 23:13:39 1999] cust_pkg.pm: [Tue Jul 20 23:13:39 1999]
> type_pkgs.pm: [Tue Jul 20 23:13:39 1999] type_pkgs.pm: [Tue Jul 20
> 23:13:39 1999] agent_type.pm: syntax error at
> /usr/local/lib/site_perl/FS/agent_type.pm line 120, near "++ foreach " [Tue
> Jul 20 23:13:39
> 1999] cust_pkg.pm: [Tue Jul 20 23:13:39 1999] type_pkgs.pm: [Tue Jul 20
> 23:13:39 1999] type_pkgs.pm: BEGIN failed--compilation aborted at
> /usr/local/lib/site_perl/FS/type_pkgs.pm line 6. [Tue Jul 20 23:13:39 1999]
> cust_pkg.pm: BEGIN failed--compilation aborted at
> /usr/local/lib/site_perl/FS/cust_pkg.pm line 10.
> 
> Please send mail to this site's webmaster for help. Content-type: text/html
> 
> Software error:
> 
> [Tue Jul 20 23:13:39 1999] cust_pkg.pm: [Tue Jul 20 23:13:39 1999]
> cust_pkg.pm: [Tue Jul 20 23:13:39 1999] type_pkgs.pm: [Tue Jul 20
> 23:13:39 1999] type_pkgs.pm: [Tue Jul 20 23:13:39 1999] agent_type.pm:
> syntax error at /usr/local/lib/site_perl/FS/agent_type.pm line 120,
> near "++ foreach " [Tue Jul 20 23:13:39 1999] cust_pkg.pm: [Tue Jul 20
> 23:13:39 1999] cust_pkg.pm: [Tue Jul 20 23:13:39 1999] type_pkgs.pm:
> [Tue Jul 20 23:13:39 1999] type_pkgs.pm: BEGIN failed--compilation aborted
> at /usr/local/lib/site_perl/FS/type_pkgs.pm line 6. [Tue Jul 20
> 23:13:39 1999] cust_pkg.pm: [Tue Jul 20 23:13:39 1999] cust_pkg.pm: BEGIN
> failed--compilation aborted at
> /usr/local/lib/site_perl/FS/cust_pkg.pm line 10. BEGIN failed--compilation
> aborted at /usr/local/lib/site_perl/FS/cust_main.pm line 20.
> 
> Please send mail to this site's webmaster for help. Content-type: text/html
> 
> Software error:
> 
> [Tue Jul 20 23:13:39 1999] cust_main.pm: [Tue Jul 20 23:13:39 1999]
> cust_pkg.pm: [Tue Jul 20 23:13:39 1999] cust_pkg.pm: [Tue Jul 20
> 23:13:39 1999] type_pkgs.pm: [Tue Jul 20 23:13:39 1999] type_pkgs.pm: [Tue
> Jul 20 23:13:39 1999] agent_type.pm: syntax error at
> /usr/local/lib/site_perl/FS/agent_type.pm line 120, near "++ foreach " [Tue
> Jul 20 23:13:39 1999] cust_main.pm: [Tue Jul 20 23:13:39 1999]
> cust_pkg.pm: [Tue Jul 20 23:13:39 1999] cust_pkg.pm: [Tue Jul 20 23:13:39
> 1999] type_pkgs.pm: [Tue Jul 20 23:13:39 1999] type_pkgs.pm: BEGIN
> failed--compilation aborted at /usr/local/lib/site_perl/FS/type_pkgs.pm line
> 6. [Tue Jul 20 23:13:39 1999] cust_main.pm: [Tue Jul 20
> 23:13:39 1999] cust_pkg.pm: [Tue Jul 20 23:13:39 1999] cust_pkg.pm: BEGIN
> failed--compilation aborted at
> /usr/local/lib/site_perl/FS/cust_pkg.pm line 10. [Tue Jul 20 23:13:39 1999]
> cust_main.pm: BEGIN failed--compilation aborted at
> /usr/local/lib/site_perl/FS/cust_main.pm line 20.
> 
> Please send mail to this site's webmaster for help. Content-type: text/html
> 
> Software error:
> 
> [Tue Jul 20 23:13:39 1999] cust_main.pm: [Tue Jul 20 23:13:39 1999]
> cust_main.pm: [Tue Jul 20 23:13:39 1999] cust_pkg.pm: [Tue Jul 20
> 23:13:39 1999] cust_pkg.pm: [Tue Jul 20 23:13:39 1999] type_pkgs.pm: [Tue
> Jul 20 23:13:39 1999] type_pkgs.pm: [Tue Jul 20 23:13:39 1999]
> agent_type.pm: syntax error at /usr/local/lib/site_perl/FS/agent_type.pm
> line 120, near "++ foreach " [Tue Jul 20 23:13:39 1999]
> cust_main.pm: [Tue Jul 20 23:13:39 1999] cust_main.pm: [Tue Jul 20 23:13:39
> 1999] cust_pkg.pm: [Tue Jul 20 23:13:39 1999] cust_pkg.pm: [Tue
> Jul 20 23:13:39 1999] type_pkgs.pm: [Tue Jul 20 23:13:39 1999] type_pkgs.pm:
> BEGIN failed--compilation aborted at
> /usr/local/lib/site_perl/FS/type_pkgs.pm line 6. [Tue Jul 20 23:13:39 1999]
> cust_main.pm: [Tue Jul 20 23:13:39 1999] cust_main.pm: [Tue Jul
> 20 23:13:39 1999] cust_pkg.pm: [Tue Jul 20 23:13:39 1999] cust_pkg.pm: BEGIN
> failed--compilation aborted at
> /usr/local/lib/site_perl/FS/cust_pkg.pm line 10. [Tue Jul 20 23:13:39 1999]
> cust_main.pm: [Tue Jul 20 23:13:39 1999] cust_main.pm: BEGIN
> failed--compilation aborted at /usr/local/lib/site_perl/FS/cust_main.pm line
> 20. BEGIN failed--compilation aborted at
> /home/httpd/html/freeside/edit/cust_main.cgi line 97.
> 
> Wow, what a lot of junk :)
> 
> 
> 	Ben
> 

-- 
Ivan Kohler <ivan at sisd.com> - finger for PGP key - <moc.dsis at navi> Relhok Navi
Open-source billing and administration for ISPs - http://www.sisd.com/freeside
20 4,16 * * * saytime # please don't be surprised if you find me dreaming too



More information about the freeside-users mailing list