Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^2: [Win32] Why did they add '-perlio'

by syphilis (Archbishop)
on Jun 23, 2022 at 08:19 UTC ( [id://11144972]=note: print w/replies, xml ) Need Help??


in reply to Re: [Win32] Why did they add '-perlio'
in thread [Win32] Why did they add '-perlio'

The problem was that the directory I specified for $(INST_ARCH) was different to $(ARCHNAME), as determined by the GNUmakefile.
I still don't know whether that *should* lead to @INC being empty ... but I know from experience that it certainly does.

If you're wondering what happens when such a mismatch occurs, gmake install puts the architecture-specific stuff into the directory specified by $(INST_ARCH), not the directory specified by $(ARCHNAME).

There's no problem if (and only if) either:
1) $(INST_ARCH) is unset (undef);
or
2) $(INST_ARCH) is set to $(ARCHNAME).

I don't really see why it should matter. Everything would be fine if @INC was set in accordance with $(INST_ARCH).
If it's so important that this not be allowed, then maybe it ought to be stated clearly that, when $(INST_ARCH) is set, it must be set to $(ARCHNAME).

Cheers,
Rob

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11144972]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2024-04-25 05:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found