Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Build Perl win32 with a ' ' in install dir

by syphilis (Archbishop)
on Jan 07, 2020 at 00:39 UTC ( [id://11111091]=note: print w/replies, xml ) Need Help??


in reply to Build Perl win32 with a ' ' in install dir

It compiles OK, runs tests OK but won't install at all

I find the same problem - not because of the ' ', but because make install is unable to create new directories in C:\Program Files - even when I'm running as Owner.
That is, I get "Access is denied" error.
I don't know how to work around that.

However, when I switch to attempting to install into a location that does allow me to create new directories (eg C:\_64\Program Files\perl), then the space between 'Program' and 'Files' creates problems.
The only workaround I came up with (drawing on earlier posts in this thread) was to:
1) Create C:\_64\Program Files directory (unless it already exists);
2) set INST_TOP to $(INST_DRV)\_64\PROGRA~1\perl

But if you're intent on installing perl into C:\Program Files and you're hitting the "Access is denied" error, then I can't really help.

Cheers,
Rob

Replies are listed 'Best First'.
Re^2: Build Perl win32 with a ' ' in install dir
by GrandFather (Saint) on Jan 07, 2020 at 01:08 UTC

    It may be it will work if you run the install under an administrative command window. Create a command window by right click / Run as Administrator from the Windows 10 search window (Windows key - s, then type cmd).

    Optimising for fewest key strokes only makes sense transmitting to Pluto or beyond
      It may be it will work if you run the install under an administrative command window

      That is indeed all it takes. Good catch !
      Funny ... I was assuming that "Owner" was synonymous with "Administrator" ... but apparently not.

      Cheers,
      Rob

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (6)
As of 2024-04-26 09:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found