Bug 66053 - Smoke and Kalyptus are missing a perl version check?
Summary: Smoke and Kalyptus are missing a perl version check?
Status: RESOLVED UNMAINTAINED
Alias: None
Product: bindings
Classification: Developer tools
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources FreeBSD
: NOR normal
Target Milestone: ---
Assignee: kde-bindings
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-15 07:57 UTC by Neil Stevens
Modified: 2009-07-08 18:04 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.