Posted on 2008-01-03 20:11:38-08 by yang
install problem - Can't locate object method
Hi all, I installed WordNet::QueryData with no problems, but when i tried installing the WordNet-Similarity module "the computer said no!". Basically am having a problem with Makefile.PL and make won't run. Anyone please help. Here is the my output:
linux:/usr/local/WordNet-Similarity-0.03 # export WNHOME=/usr/local/WordNet-3.0 linux:/usr/local/WordNet-Similarity-0.03 # perl Makefile.PL Creating Makefile and datafiles for WordNet::Similarity. Generation of datafiles may take a few minutes. Loading sense indices ... done. Loading cntlist ... done. Mapping noun offsets to frequencies ... done. Mapping verb offsets to frequencies ... done. Cleaning junk from memory ... done. Loading WordNet ... done. Determining topmost nodes of all hierarchies ... done. Webcrawling through WordNet ... done. Writing infocontent file ... Can't locate object method "version" via package "WordNet::QueryData" +at Makefile.PL line 241, <GEN9> line 67632. You have mail in /var/spool/mail/root linux:/usr/local/WordNet-Similarity-0.03 # make make: *** No targets specified and no makefile found. Stop.
Direct Responses: 7613 | Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.