rjust / defects4j

A Database of Real Faults and an Experimental Infrastructure to Enable Controlled Experiments in Software Engineering Research
MIT License
684 stars 297 forks source link

Uninstalled Perl package #557

Closed bkushigian closed 3 months ago

bkushigian commented 3 months ago

I ran the instructions from the README and got the following error:

➜  defects4j git:(master) defects4j
Can't locate Constants.pm in @INC (you may need to install the Constants module) (@INC contains: /$HOME/core /Library/Perl/5.30/darwin-thread-multi-2level /Library/Perl/5.30 /Network/Library/Perl/5.30/darwin-thread-multi-2level /Network/Library/Perl/5.30 /Library/Perl/Updates/5.30.3/darwin-thread-multi-2level /Library/Perl/Updates/5.30.3 /System/Library/Perl/5.30/darwin-thread-multi-2level /System/Library/Perl/5.30 /System/Library/Perl/Extras/5.30/darwin-thread-multi-2level /System/Library/Perl/Extras/5.30) at $HOME/bin/defects4j line 33.
BEGIN failed--compilation aborted at $HOME/bin/defects4j line 33.

I'm assuming this is just a package that needs to be listed in cpanfile?

bkushigian commented 3 months ago

Okay, resolved: this is because I symlinked the defects4j binary

ln -s $HOME/defects4j/framework/bin/defects4j $HOME/bin/defects4j