Bug 66053

Summary: Smoke and Kalyptus are missing a perl version check?
Product: [Developer tools] bindings Reporter: Neil Stevens <neil>
Component: generalAssignee: kde-bindings
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: groot
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: FreeBSD   
Latest Commit: Version Fixed In:

Description Neil Stevens 2003-10-15 07:57:16 UTC
Version:            (using KDE KDE 3.1.92)
Installed from:    Compiled From Sources
Compiler:          Perl version 5.005_03 
OS:          FreeBSD

Smoke's qtguess.pl and generate.pl seem to require a version of perl other than the one I have.  At the end of my kdebindings configure I get these errors:

Operator or semicolon missing before %tests at qtguess.pl line 250.
Ambiguous use of % resolved as operator % at qtguess.pl line 250.
Illegal modulus zero at qtguess.pl line 250.
Not enough arguments for mkdir at generate.pl line 24, near "$outdir;"
Not enough arguments for mkdir at generate.pl line 26, near "$finaloutdir unless"
Execution of generate.pl aborted due to compilation errors.

Now I don't really use perl much, and I'm trying to install the ruby bindings here, but I was able to do some poking around:  Removing the "our" in qtguess.pl line 250 seems to make that run, and turning the mkdir calls into system calls in generate.pl seems to work around those errors, but after that I get more problems:

Writing x_*.cpp...
Can't use an undefined value as a symbol reference at kalyptusCxxToSmoke.pm line 600.

I hope the above is useful.  I have perl 5.005_03, so if the problem is that this stuff requires a newer perl than, I would suggest that there should be a configure check for that newer perl and a warning if the installed perl is too old.
Comment 1 groot 2009-07-08 18:04:11 UTC
KDE3 on FreeBSD (any version) and FreeBSD versions < 7-STABLE are no longer supported.