in reply to Named Entity alternative to Lingua::EN::NamedEntity

The latest release of Lingua::EN::NamedEntity is from 2015, which isn't all too old. Plus, the issue in the thread you linked to seems to have been resolved in the latest version; CPAN Testers shows no install issues anywhere (including Windows) for the latest 1.93. Perhaps if you can tell us what problem you're having installing it, we can help - see How do I post a question effectively?

  • Comment on Re: Named Entity alternative to Lingua::EN::NamedEntity

Replies are listed 'Best First'.
Re^2: Named Entity alternative to Lingua::EN::NamedEntity
by Anonymous Monk on Aug 13, 2017 at 19:02 UTC

    This is the error I am getting (ActivePerl 5.16.3, Windows 10)

    Generating a dmake-style Makefile Writing Makefile for DB_File Writing MYMETA.yml and MYMETA.json cp DB_File.pm blib\lib\DB_File.pm Running Mkbootstrap for DB_File () "C:\Perl\bin\perl.exe" -MExtUtils::Command -e chmod -- 644 "DB_File.bs +" "C:\Perl\bin\perl.exe" -MExtUtils::Command::MM -e cp_nonempty -- DB_Fi +le.bs blib\arch\auto\DB_File\DB_File.bs 644 C:\Perl\site\bin\gcc.exe -c -I/usr/local/BerkeleyDB/include -DNDEB +UG -DWIN32 -D_CONSOLE -DNO_STRICT -DPERL_TEXTMODE_SCRIPTS -DUSE_SITEC +USTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -D_ +USE_32BIT_TIME_T -DHASATTRIBUTE -fno-strict-aliasing -mms-bitfields - +O2 -DVERSION=\"1.840\" -DXS_VERSION=\"1.84\" "-IC:\Perl\ +lib\CORE" -D_NOT_CORE -DmDB_Prefix_t=size_t -DmDB_Hash_t=u_int32_t +version.c version.c:30:16: db.h: No such file or directory dmake.exe: Error code 129, while making 'version.o' PMQS/DB_File-1.840.tar.gz C:\Perl\site\bin\dmake.exe -- NOT OK Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible Running make for R/RU/RUNARB/Lingua-EN-NamedEntity-1.93.tar.gz Has already been unwrapped into directory C:\Perl\cpan\build\Lingua- +EN-NamedEntity-1.93-SuGRqI CPAN.pm: Building R/RU/RUNARB/Lingua-EN-NamedEntity-1.93.tar.gz Warning: Prerequisite 'DB_File => 0' for 'RUNARB/Lingua-EN-NamedEntity +-1.93.tar.gz' failed when processing 'PMQS/DB_File-1.840.tar.gz' with + 'make => NO'. Continuing, but chances to succeed are limited. cp NamedEntity.pm blib\lib\Lingua\EN\NamedEntity.pm "C:\Perl\bin\perl.exe" ./data/mkdb.pl Can't locate DB_File.pm in @INC (@INC contains: C:/Perl/site/lib C:/Pe +rl/lib .) at ./data/mkdb.pl line 3. BEGIN failed--compilation aborted at ./data/mkdb.pl line 3. dmake.exe: Error code 130, while making 'database' RUNARB/Lingua-EN-NamedEntity-1.93.tar.gz C:\Perl\site\bin\dmake.exe -- NOT OK Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible

      That's a problem with the installation of DB_File, not Lingua::EN::NamedEntity. You said earlier you tried on Strawberry Perl, but the release notes indicate that DB_File is already included there as far back as 5.10.1, so what problem did you have there? As for ActivePerl, this page does seem to indicate that there are no PPMs available. It's been way too long since I last used ActivePerl to be able to help there, but I have had good experiences with Strawberry Perl so I would recommend that instead, because it includes all the build tools you need.

        thank you for your reply. I tried again with the latest release of Strawberry perl and it worked indeed! With ActivePerl (which is the main version of Perl I use for production) it doesn't install.