Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: Cannot install UUID Module

by AndyR (Initiate)
on Dec 16, 2019 at 10:27 UTC ( #11110231=note: print w/replies, xml ) Need Help??


in reply to Re: Cannot install UUID Module
in thread Cannot install UUID Module

Thanks for responding so quickly.

I've downloaded the uuid.h but not sure where it should go?

Replies are listed 'Best First'.
Re^3: Cannot install UUID Module
by Corion (Pope) on Dec 16, 2019 at 10:32 UTC

    I think you will need all files from that repository. If you're manually downloading them, I think you can put them into C:\StrawberryPerl\c\include and c:\StrawberryPerl\c\lib, but I'm not sure. Look at the directories where the Makefile.PL run looks and put them somewhere there maybe.

    This is somewhat out of my comfort zone for giving advice.

Re^3: Cannot install UUID Module
by roboticus (Chancellor) on Dec 16, 2019 at 13:26 UTC

    AndyR:

    I'm not familiar with the UUID module, so I can't provide you a simple answer. Looking over the debug log you'll see several messages starting with "# ===> Checking for" that tells you what the module needs in order to compile and link. Since Strawberry is using MinGW, I think Corion pointed you to a suitable library. I can't be sure, though, as I'm not using Strawberry Perl nor Windows 10.

    I was able to install UUID on my Windows machine (Windows 8, cygwin perl 5.26) and it used libuuid, so I think there's a chance you can download, compile and install that library. After that it should be possible to try the UUID install again. (I've (briefly) looked at the source code for the module, and it looks like it can use the Windows UUID calls, so I'm not sure why it's not trying to use those.)

    If you're not tied to that particular UUID module, you might try another, as there are several UUID modules available on cpan, including UUID::Tiny which (since it's pure perl) should install easily. Be sure to check the description of other UUID modules if you consider them, though, as they may have tradeoffs that you don't meet your requirements. UUID::Tiny, for example, mentions that it doesn't support "real MAC address in version 1 UUIDs, or an OO interface".

    ...roboticus

    When your only tool is a hammer, all problems look like your thumb.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2021-04-18 16:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?