1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2012
    Rep Power

    Unhappy Subject trend from Pubmed

    Hi All

    I am trying to get the subject trend from pubmed for literature review. Doing this manually is turning out to be tedious. I came across a fellow R blogger who has provided with a solution using R and Perl for obtaining the subject trend from pubmed.

    I am totally new to Perl. I am not sure why I get this error.

    This is what I was asked to do.

    I downloaded the archive from a website (I am not allowed to post URL in this forum coz I am beginner) and ran those commands.

    tar -xzf TGen-EUtils-0.13.tar.gz
    cd TGen-EUtils-0.13
    ## instruction are in the INSTALL file
    perl Makefile.PL
    make test

    I use windows.

    I get the error:
    'make' is not recognized as an internal or external command.

    I have a file called Makefile in my directory.

    Could you kindly help me with is.

    Thank you.
  2. #2
  3. !~ /m$/
    Devshed Specialist (4000 - 4499 posts)

    Join Date
    May 2004
    Reno, NV
    Rep Power
    'make' is a program that usually comes with your compiler tools so that you can run a build routine. Windows doesn't provide a compiler by default. There are many differences between Windows and Unix tools such that it is difficult to have share code between them.

    For that reason, ActiveState perl provides ppm, which is a repository of pre-built modules for Windows you can download. The drawback is that only major modules are generally provided. It's unlikely the one you want will be available there.

    I know that Strawberry perl, which is a newer Windows perl version, includes build tools so that you might have better luck installing modules.

    It's also possible that the module you want is pure-perl, but you'd have to look at the manifest to see if it is. Pure perl modules can be installed manually without building.

    If you don't mind dual-booting, you could install Linux on a partition and have a no-compromise perl laboratory. It's fun too.
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Jun 2012
    Paris area, France
    Rep Power
    Originally Posted by keath
    If you don't mind dual-booting, you could install Linux on a partition and have a no-compromise perl laboratory. It's fun too.
    An alternative might be Cygwin, a Linux-like environment under Windows.
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Apr 2009
    Rep Power
    Another option would be to install the MinGW module which provides the required compiler so you can compile and install modules via cpan. MinGW is in ActiveState's repository.

IMN logo majestic logo threadwatch logo seochat tools logo