-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot perl Makefile.PL, always ask EXPATLIBPATH= EXPATINCPATH= #83
Comments
this worked for me:
this didn't work for me, what
|
I am having a similar problem on an old Mac with Perl 5.34, using the MacPorts package manager. It is able to step through the stages of building and installing an Open Source Software. Extracting and possibly patching the source are trivial. For configuration step this is being used as invocation:
which then leads to:
The variables are set via this recipe:
This scheme obviously works on most versions of macOS or Mac OS X. A similar recipe is used for Template::Toolkit and Image::PNG::Libpng – which both build and install without problems. On my old Mac… glensc solves the problem by setting environment variables instead of passing arguments to the configuration process. So I did the same, using this recipe:
And I had success too, XML::Parse built, installed, and even tested fine! |
@aptxinc Are you sure those are the correct directories? I tried installing expat-win32bin-2.2.9.exe and by default it installs to C:\Program Files (x86)\Expat 2.2.9. But the above could be correct if you changed the installation directory to C:\Expat. @glensc I do not believe what you're reporting has anything to do with what @aptxinc was experiencing.
Great. Specifying
Specifying The developer of XML::Parser has no influence over the notes that Homebrew prints out when you install expat. If you believe Homebrew should print different information, you'll have to discuss that with the developers of Homebrew, but I guess they will say that the information it currently prints is exactly what they want it to print and they won't make any changes. They probably will not feel it necessary to change what the expat install prints just to accommodate the unique expectations of XML::Parser.
@ballapete I am able to reproduce this issue on PowerPC Mac OS X 10.4 but I do not believe that your problem is at all related to either of the previous two issues. We can deal with it in the MacPorts ticket you filed about it: https://trac.macports.org/ticket/69245.
@glensc didn't mention having tried arguments instead of environment variables. The code clearly allows |
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 :
Perl building on Windows 10 with Visual Studio 2019.
Thanks.
The text was updated successfully, but these errors were encountered: