aanoaa / p5-hubot

hubot perl port
15 stars 3 forks source link

compile error? #27

Closed aanoaa closed 11 years ago

aanoaa commented 11 years ago
~/repo/aanoaa/p5-hubot $ perl -Ilib -c lib/Hubot/Robot.pm 
String found where operator expected at lib/Hubot/Robot.pm line 15, near "has 'name'"
    (Do you need to predeclare has?)
String found where operator expected at lib/Hubot/Robot.pm line 16, near "has 'alias'"
    (Do you need to predeclare has?)
String found where operator expected at lib/Hubot/Robot.pm line 17, near "has 'adapter'"
    (Do you need to predeclare has?)
String found where operator expected at lib/Hubot/Robot.pm line 18, near "has 'brain'"
    (Do you need to predeclare has?)
String found where operator expected at lib/Hubot/Robot.pm line 23, near "has '_commands'"
    (Do you need to predeclare has?)
String found where operator expected at lib/Hubot/Robot.pm line 33, near "has '_listeners'"
    (Do you need to predeclare has?)
Subroutine BUILD redefined at lib/Hubot/Robot.pm line 44.
Subroutine loadAdapter redefined at lib/Hubot/Robot.pm line 49.
Subroutine run redefined at lib/Hubot/Robot.pm line 61.
Subroutine userForId redefined at lib/Hubot/Robot.pm line 63.
Subroutine userForName redefined at lib/Hubot/Robot.pm line 80.
Subroutine usersForFuzzyRawName redefined at lib/Hubot/Robot.pm line 93.
Subroutine usersForFuzzyName redefined at lib/Hubot/Robot.pm line 106.
Subroutine shutdown redefined at lib/Hubot/Robot.pm line 117.
Subroutine loadHubotScripts redefined at lib/Hubot/Robot.pm line 123.
Subroutine loadFile redefined at lib/Hubot/Robot.pm line 132.
Subroutine parseHelp redefined at lib/Hubot/Robot.pm line 144.
Subroutine hear redefined at lib/Hubot/Robot.pm line 161.
Subroutine respond redefined at lib/Hubot/Robot.pm line 170.
Subroutine enter redefined at lib/Hubot/Robot.pm line 216.
Subroutine leave redefined at lib/Hubot/Robot.pm line 225.
Subroutine whisper redefined at lib/Hubot/Robot.pm line 234.
Subroutine catchAll redefined at lib/Hubot/Robot.pm line 243.
Subroutine receive redefined at lib/Hubot/Robot.pm line 256.
Subroutine http redefined at lib/Hubot/Robot.pm line 273.
syntax error at lib/Hubot/Robot.pm line 15, near "has 'name'"
lib/Hubot/Robot.pm had compilation errors.
aanoaa commented 11 years ago

5.16.1 에서는 error 5.14.2 에서는 OK

aanoaa commented 11 years ago

use perl-5.16.2