Skip to content

Cannot perl Makefile.PL, always ask EXPATLIBPATH= EXPATINCPATH= #83

@aptxinc

Description

@aptxinc

Hello,

I try to install XML::Parser from CPAN. I have installed expat-win32bin-2.2.9.exe and when I do the command perl Makefile.PL EXPATLIBPATH="C:\Expat\Bin" EXPATINCPATH="C:\Expat\Source\lib", always ce message :

Expat must be installed prior to building XML::Parser and I can't find
it in the standard library directories. Install 'expat-devel' (or
'libexpat1-dev') package with your OS package manager. See 'README'.

Or you can download expat from:

http://sourceforge.net/projects/expat/

If expat is installed, but in a non-standard directory, then use the
following options to Makefile.PL:

    EXPATLIBPATH=...  To set the directory in which to find libexpat

    EXPATINCPATH=...  To set the directory in which to find expat.h

For example:

    perl Makefile.PL EXPATLIBPATH=/home/me/lib EXPATINCPATH=/home/me/include

Note that if you build against a shareable library in a non-standard location
you may (on some platforms) also have to set your LD_LIBRARY_PATH environment
variable at run time for perl to find the library.

Perl building on Windows 10 with Visual Studio 2019.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions