bricoleurs / bricolage

Content management and publishing system
http://www.bricolagecms.org/
111 stars 51 forks source link

Error when running 'make dist' with perl-5.18.1 #44

Closed phillipadsmith closed 10 years ago

phillipadsmith commented 10 years ago

mv Makefile Makefile.old > /dev/null 2>&1 rm -rf bin/Makefile.old rm Makefile rm -rf bricolage-* rm -rf dist rm -f inst/_.sql /Users/phillipadsmith/perl5/perlbrew/perls/perl-5.18.1/bin/perl inst/distsql.pl sql/ "my" variable $type masks earlier declaration in same statement at inst/dist_sql.pl line 29. "my" variable $type masks earlier declaration in same statement at inst/dist_sql.pl line 31. "my" variable $dir masks earlier declaration in same statement at inst/dist_sql.pl line 32. "my" variable $rdbms masks earlier declaration in same statement at inst/dist_sql.pl line 32. "my" variable $type masks earlier declaration in same statement at inst/dist_sql.pl line 33. "my" variable $rdbms masks earlier declaration in same statement at inst/dist_sql.pl line 33. "my" variable $rdbms masks earlier declaration in same statement at inst/dist_sql.pl line 33. syntax error at inst/dist_sql.pl line 28, near "$type qw(sql val con)" syntax error at inst/dist_sql.pl line 35, near "}" Execution of inst/dist_sql.pl aborted due to compilation errors.

Works fine with perl-5.16.1

theory commented 10 years ago

Fixed in ba1cb6ffbf3811643f55da2934ef0d6fc637a005 and e6f7600117093c38a4a1c5aa9ccd0af26e6852fb.