Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Cannot install UUID Module

by AndyR (Initiate)
on Dec 16, 2019 at 09:24 UTC ( [id://11110225]=perlquestion: print w/replies, xml ) Need Help??

AndyR has asked for the wisdom of the Perl Monks concerning the following question:

Hi
I'm new to this site and not sure if this is the correct place for this question but here goes:

I'm running on Windows 10 64-bit OS

I'm getting an error when I try to install the UUID modeule:

cpanm (App::cpanminus) 1.7044 on perl 5.030001 built for MSWin32-x64-m +ulti-thread Work directory is C:\Users\<USER>/.cpanm/work/1576056528.5400 You have make C:\Strawberry\c\bin\gmake.exe You have LWP 6.43 Falling back to Archive::Tar 2.32 Searching UUID () on cpanmetadb ... --> Working on UUID Fetching http://www.cpan.org/authors/id/J/JR/JRM/UUID-0.28.tar.gz -> OK Unpacking UUID-0.28.tar.gz Entering UUID-0.28 Checking configure dependencies from META.json Checking if you have Devel::CheckLib 1.02 ... Yes (1.14) Configuring UUID-0.28 Running Makefile.PL ###################################################################### +# # # Bailing out. Can't continue. # # ** No interface found. # # It's likely the UUID prerequisite library isn't installed. # # On some platforms you can use your package manager to install these. # In particular, the uuid-dev, libuuid-devel, or uuid-devel packages # on Linux. # # More information about this failure can be found with the UUID_DEBUG # flag. # # perl Makefile.PL UUID_DEBUG=1 # ###################################################################### +# -> N/A -> FAIL Configure failed for UUID-0.28. See C:\Users\<USER>\.cpanm\wor +k\1576056528.5400\build.log for details.

When I set the UUID_DEBUG=1 I get the following:

# # ===> Checking for #include <uuid/uuid.h> # Compiler seems to be C:\MinGW\bin\gcc.exe # C:\MinGW\bin\gcc.exe -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -D__USE_M +INGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPER +L_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfiel +ds assertlibUP8ys4M2.c -s -L"C:\STRAWB~1\perl\lib\CORE" -L"C:\STRAWB~ +1\c\lib" -o assertlibobXVJLsD.exe assertlibUP8ys4M2.c:1:23: fatal error: uuid/uuid.h: No such file or di +rectory compilation terminated. # # ===> Checking for #include <uuid.h> # Compiler seems to be C:\MinGW\bin\gcc.exe # C:\MinGW\bin\gcc.exe -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -D__USE_M +INGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPER +L_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfiel +ds assertlibgdlcPAsl.c -s -L"C:\STRAWB~1\perl\lib\CORE" -L"C:\STRAWB~ +1\c\lib" -o assertlib17NRWYmm.exe assertlibgdlcPAsl.c:1:18: fatal error: uuid.h: No such file or directo +ry compilation terminated. # # ===> Checking for #include <rpc.h> # Compiler seems to be C:\MinGW\bin\gcc.exe # C:\MinGW\bin\gcc.exe -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -D__USE_M +INGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPER +L_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfiel +ds assertlib9OuSHHdK.c -s -L"C:\STRAWB~1\perl\lib\CORE" -L"C:\STRAWB~ +1\c\lib" -o assertlibJYsH6usC.exe # ===> Found! # # ===> Checking for RPC interface in rpc.h with -lrpcrt4 # Compiler seems to be C:\MinGW\bin\gcc.exe # C:\MinGW\bin\gcc.exe -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -D__USE_M +INGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPER +L_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfiel +ds assertlib1SlV3VhK.c -s -L"C:\STRAWB~1\perl\lib\CORE" -L"C:\STRAWB~ +1\c\lib" -o assertlibZENVTjGV.exe # C:\MinGW\bin\gcc.exe -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -D__USE_M +INGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPER +L_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfiel +ds assertlibMMBQcPYI.c -L/lib64 /usr/lib64 -lrpcrt4 -s -L"C:\STRAWB~1 +\perl\lib\CORE" -L"C:\STRAWB~1\c\lib" -o assertlibtKIwXm8r.exe assertlibMMBQcPYI.c: In function 'main': assertlibMMBQcPYI.c:5:13: error: 'int32_t' undeclared (first use in th +is function) assertlibMMBQcPYI.c:5:13: note: each undeclared identifier is reported + only once for each function it appears in assertlibMMBQcPYI.c:5:21: error: expected ';' before 'r' assertlibMMBQcPYI.c:7:30: error: 's' undeclared (first use in this fun +ction) assertlibMMBQcPYI.c:11:13: error: 'r' undeclared (first use in this fu +nction) # ===> Err(49): "Can't link/include C library 'rpcrt4', aborting. " # ===> Checking for e2fs interface in rpc.h with -lrpcrt4 # Compiler seems to be C:\MinGW\bin\gcc.exe # C:\MinGW\bin\gcc.exe -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -D__USE_M +INGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPER +L_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfiel +ds assertlibs9BwfguN.c -s -L"C:\STRAWB~1\perl\lib\CORE" -L"C:\STRAWB~ +1\c\lib" -o assertlib3OZ63SbX.exe # C:\MinGW\bin\gcc.exe -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -D__USE_M +INGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPER +L_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfiel +ds assertlibVEV9V1GS.c -L/lib64 /usr/lib64 -lrpcrt4 -s -L"C:\STRAWB~1 +\perl\lib\CORE" -L"C:\STRAWB~1\c\lib" -o assertlibmxKYX50t.exe C:\Users\OVERNI~1\AppData\Local\Temp\ccyRp5Eh.o:assertlibVEV9V1GS.c:(. +text+0x1f): undefined reference to `uuid_generate' C:\Users\OVERNI~1\AppData\Local\Temp\ccyRp5Eh.o:assertlibVEV9V1GS.c:(. +text+0x31): undefined reference to `uuid_generate_random' C:\Users\OVERNI~1\AppData\Local\Temp\ccyRp5Eh.o:assertlibVEV9V1GS.c:(. +text+0x43): undefined reference to `uuid_generate_time' C:\Users\OVERNI~1\AppData\Local\Temp\ccyRp5Eh.o:assertlibVEV9V1GS.c:(. +text+0x5d): undefined reference to `uuid_unparse' C:\Users\OVERNI~1\AppData\Local\Temp\ccyRp5Eh.o:assertlibVEV9V1GS.c:(. +text+0x74): undefined reference to `uuid_parse' C:\Users\OVERNI~1\AppData\Local\Temp\ccyRp5Eh.o:assertlibVEV9V1GS.c:(. +text+0x86): undefined reference to `uuid_clear' C:\Users\OVERNI~1\AppData\Local\Temp\ccyRp5Eh.o:assertlibVEV9V1GS.c:(. +text+0xa4): undefined reference to `uuid_copy' C:\Users\OVERNI~1\AppData\Local\Temp\ccyRp5Eh.o:assertlibVEV9V1GS.c:(. +text+0xc2): undefined reference to `uuid_compare' C:\Users\OVERNI~1\AppData\Local\Temp\ccyRp5Eh.o:assertlibVEV9V1GS.c:(. +text+0xd4): undefined reference to `uuid_is_null' collect2: ld returned 1 exit status # ===> Err(49): "Can't link/include C library 'rpcrt4', aborting. " # ===> Checking for ossp interface in rpc.h with -lrpcrt4 # Compiler seems to be C:\MinGW\bin\gcc.exe # C:\MinGW\bin\gcc.exe -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -D__USE_M +INGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPER +L_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfiel +ds assertlib36qkmybg.c -s -L"C:\STRAWB~1\perl\lib\CORE" -L"C:\STRAWB~ +1\c\lib" -o assertlibJmHUSXtq.exe # C:\MinGW\bin\gcc.exe -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -D__USE_M +INGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPER +L_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfiel +ds assertlibPRfLlTX_.c -L/lib64 /usr/lib64 -lrpcrt4 -s -L"C:\STRAWB~1 +\perl\lib\CORE" -L"C:\STRAWB~1\c\lib" -o assertlibJV9VbqNF.exe assertlibPRfLlTX_.c: In function 'main': assertlibPRfLlTX_.c:5:13: error: 'uuid_rc_t' undeclared (first use in +this function) assertlibPRfLlTX_.c:5:13: note: each undeclared identifier is reported + only once for each function it appears in assertlibPRfLlTX_.c:5:23: error: expected ';' before 'rc' assertlibPRfLlTX_.c:10:13: error: 'rc' undeclared (first use in this f +unction) assertlibPRfLlTX_.c:10:30: error: 'UUID_MAKE_V1' undeclared (first use + in this function) assertlibPRfLlTX_.c:10:43: error: 'UUID_MAKE_MC' undeclared (first use + in this function) assertlibPRfLlTX_.c:12:30: error: 'UUID_MAKE_V4' undeclared (first use + in this function) assertlibPRfLlTX_.c:14:27: error: 'UUID_FMT_STR' undeclared (first use + in this function) # ===> Err(49): "Can't link/include C library 'rpcrt4', aborting. " # ===> Checking for Win interface in rpc.h with -lrpcrt4 # Compiler seems to be C:\MinGW\bin\gcc.exe # C:\MinGW\bin\gcc.exe -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -D__USE_M +INGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPER +L_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfiel +ds assertlibXpncgLdt.c -s -L"C:\STRAWB~1\perl\lib\CORE" -L"C:\STRAWB~ +1\c\lib" -o assertlibFUmcip9L.exe # C:\MinGW\bin\gcc.exe -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -D__USE_M +INGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPER +L_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfiel +ds assertlibkPI6ZKyk.c -s -L"C:\STRAWB~1\perl\lib\CORE" -L"C:\STRAWB~ +1\c\lib" -o assertlibOKqyEGJf.exe # C:\MinGW\bin\gcc.exe -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -D__USE_M +INGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPER +L_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfiel +ds assertlibPld1T_re.c -L/lib64 /usr/lib64 -lrpcrt4 -s -L"C:\STRAWB~1 +\perl\lib\CORE" -L"C:\STRAWB~1\c\lib" -o assertlibQVXE3KTl.exe assertlibPld1T_re.c: In function 'main': assertlibPld1T_re.c:6:13: error: 'RPC_CSTR' undeclared (first use in t +his function) assertlibPld1T_re.c:6:13: note: each undeclared identifier is reported + only once for each function it appears in assertlibPld1T_re.c:6:22: error: expected ';' before 'cs' assertlibPld1T_re.c:14:33: error: 'cs' undeclared (first use in this f +unction) # ===> Err(49): "Can't link/include C library 'rpcrt4', aborting. " # ===> Checking for RPC interface in rpc.h with -luuid # Compiler seems to be C:\MinGW\bin\gcc.exe # C:\MinGW\bin\gcc.exe -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -D__USE_M +INGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPER +L_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfiel +ds assertlibaD8KBbQe.c -s -L"C:\STRAWB~1\perl\lib\CORE" -L"C:\STRAWB~ +1\c\lib" -o assertlib_F9eZ2AG.exe # C:\MinGW\bin\gcc.exe -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -D__USE_M +INGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPER +L_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfiel +ds assertlibe300rVPX.c -L/lib64 /usr/lib64 -luuid -s -L"C:\STRAWB~1\p +erl\lib\CORE" -L"C:\STRAWB~1\c\lib" -o assertlib7uQ3RLvL.exe assertlibe300rVPX.c: In function 'main': assertlibe300rVPX.c:5:13: error: 'int32_t' undeclared (first use in th +is function) assertlibe300rVPX.c:5:13: note: each undeclared identifier is reported + only once for each function it appears in assertlibe300rVPX.c:5:21: error: expected ';' before 'r' assertlibe300rVPX.c:7:30: error: 's' undeclared (first use in this fun +ction) assertlibe300rVPX.c:11:13: error: 'r' undeclared (first use in this fu +nction) # ===> Err(47): "Can't link/include C library 'uuid', aborting. " # ===> Checking for e2fs interface in rpc.h with -luuid # Compiler seems to be C:\MinGW\bin\gcc.exe # C:\MinGW\bin\gcc.exe -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -D__USE_M +INGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPER +L_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfiel +ds assertlibFebx6FH4.c -s -L"C:\STRAWB~1\perl\lib\CORE" -L"C:\STRAWB~ +1\c\lib" -o assertlibiioJ7yUQ.exe # C:\MinGW\bin\gcc.exe -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -D__USE_M +INGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPER +L_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfiel +ds assertlibIBjYQzZv.c -L/lib64 /usr/lib64 -luuid -s -L"C:\STRAWB~1\p +erl\lib\CORE" -L"C:\STRAWB~1\c\lib" -o assertlibNL9RPo0t.exe C:\Users\OVERNI~1\AppData\Local\Temp\ccCB3O6I.o:assertlibIBjYQzZv.c:(. +text+0x1f): undefined reference to `uuid_generate' C:\Users\OVERNI~1\AppData\Local\Temp\ccCB3O6I.o:assertlibIBjYQzZv.c:(. +text+0x31): undefined reference to `uuid_generate_random' C:\Users\OVERNI~1\AppData\Local\Temp\ccCB3O6I.o:assertlibIBjYQzZv.c:(. +text+0x43): undefined reference to `uuid_generate_time' C:\Users\OVERNI~1\AppData\Local\Temp\ccCB3O6I.o:assertlibIBjYQzZv.c:(. +text+0x5d): undefined reference to `uuid_unparse' C:\Users\OVERNI~1\AppData\Local\Temp\ccCB3O6I.o:assertlibIBjYQzZv.c:(. +text+0x74): undefined reference to `uuid_parse' C:\Users\OVERNI~1\AppData\Local\Temp\ccCB3O6I.o:assertlibIBjYQzZv.c:(. +text+0x86): undefined reference to `uuid_clear' C:\Users\OVERNI~1\AppData\Local\Temp\ccCB3O6I.o:assertlibIBjYQzZv.c:(. +text+0xa4): undefined reference to `uuid_copy' C:\Users\OVERNI~1\AppData\Local\Temp\ccCB3O6I.o:assertlibIBjYQzZv.c:(. +text+0xc2): undefined reference to `uuid_compare' C:\Users\OVERNI~1\AppData\Local\Temp\ccCB3O6I.o:assertlibIBjYQzZv.c:(. +text+0xd4): undefined reference to `uuid_is_null' collect2: ld returned 1 exit status # ===> Err(47): "Can't link/include C library 'uuid', aborting. " # ===> Checking for ossp interface in rpc.h with -luuid # Compiler seems to be C:\MinGW\bin\gcc.exe # C:\MinGW\bin\gcc.exe -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -D__USE_M +INGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPER +L_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfiel +ds assertlibUe3PB0C5.c -s -L"C:\STRAWB~1\perl\lib\CORE" -L"C:\STRAWB~ +1\c\lib" -o assertlib7UTnK60y.exe # C:\MinGW\bin\gcc.exe -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -D__USE_M +INGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPER +L_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfiel +ds assertlibeFrhJg1E.c -L/lib64 /usr/lib64 -luuid -s -L"C:\STRAWB~1\p +erl\lib\CORE" -L"C:\STRAWB~1\c\lib" -o assertlibf50FgDkC.exe assertlibeFrhJg1E.c: In function 'main': assertlibeFrhJg1E.c:5:13: error: 'uuid_rc_t' undeclared (first use in +this function) assertlibeFrhJg1E.c:5:13: note: each undeclared identifier is reported + only once for each function it appears in assertlibeFrhJg1E.c:5:23: error: expected ';' before 'rc' assertlibeFrhJg1E.c:10:13: error: 'rc' undeclared (first use in this f +unction) assertlibeFrhJg1E.c:10:30: error: 'UUID_MAKE_V1' undeclared (first use + in this function) assertlibeFrhJg1E.c:10:43: error: 'UUID_MAKE_MC' undeclared (first use + in this function) assertlibeFrhJg1E.c:12:30: error: 'UUID_MAKE_V4' undeclared (first use + in this function) assertlibeFrhJg1E.c:14:27: error: 'UUID_FMT_STR' undeclared (first use + in this function) # ===> Err(47): "Can't link/include C library 'uuid', aborting. " # ===> Checking for Win interface in rpc.h with -luuid # Compiler seems to be C:\MinGW\bin\gcc.exe # C:\MinGW\bin\gcc.exe -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -D__USE_M +INGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPER +L_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfiel +ds assertlib6S5aSzmK.c -s -L"C:\STRAWB~1\perl\lib\CORE" -L"C:\STRAWB~ +1\c\lib" -o assertlibBHCY2mC8.exe # C:\MinGW\bin\gcc.exe -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -D__USE_M +INGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPER +L_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfiel +ds assertlibdAwAVXWM.c -s -L"C:\STRAWB~1\perl\lib\CORE" -L"C:\STRAWB~ +1\c\lib" -o assertlibM8rxFrXo.exe # C:\MinGW\bin\gcc.exe -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -D__USE_M +INGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPER +L_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfiel +ds assertlibu0hGWfp6.c -L/lib64 /usr/lib64 -luuid -s -L"C:\STRAWB~1\p +erl\lib\CORE" -L"C:\STRAWB~1\c\lib" -o assertlibbXMpZ18w.exe assertlibu0hGWfp6.c: In function 'main': assertlibu0hGWfp6.c:6:13: error: 'RPC_CSTR' undeclared (first use in t +his function) assertlibu0hGWfp6.c:6:13: note: each undeclared identifier is reported + only once for each function it appears in assertlibu0hGWfp6.c:6:22: error: expected ';' before 'cs' assertlibu0hGWfp6.c:14:33: error: 'cs' undeclared (first use in this f +unction) # ===> Err(47): "Can't link/include C library 'uuid', aborting. " # ===> Checking for RPC interface in rpc.h with -lossp-uuid # Compiler seems to be C:\MinGW\bin\gcc.exe # C:\MinGW\bin\gcc.exe -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -D__USE_M +INGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPER +L_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfiel +ds assertlibFLYpK2QL.c -s -L"C:\STRAWB~1\perl\lib\CORE" -L"C:\STRAWB~ +1\c\lib" -o assertliby2c38hK5.exe # C:\MinGW\bin\gcc.exe -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -D__USE_M +INGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPER +L_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfiel +ds assertlib_2WmjZVu.c -L/lib64 /usr/lib64 -lossp-uuid -s -L"C:\STRAW +B~1\perl\lib\CORE" -L"C:\STRAWB~1\c\lib" -o assertlibbKMBz3eS.exe assertlib_2WmjZVu.c: In function 'main': assertlib_2WmjZVu.c:5:13: error: 'int32_t' undeclared (first use in th +is function) assertlib_2WmjZVu.c:5:13: note: each undeclared identifier is reported + only once for each function it appears in assertlib_2WmjZVu.c:5:21: error: expected ';' before 'r' assertlib_2WmjZVu.c:7:30: error: 's' undeclared (first use in this fun +ction) assertlib_2WmjZVu.c:11:13: error: 'r' undeclared (first use in this fu +nction) # ===> Err(52): "Can't link/include C library 'ossp-uuid', aborting. " # ===> Checking for e2fs interface in rpc.h with -lossp-uuid # Compiler seems to be C:\MinGW\bin\gcc.exe # C:\MinGW\bin\gcc.exe -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -D__USE_M +INGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPER +L_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfiel +ds assertlibJTwdg5_B.c -s -L"C:\STRAWB~1\perl\lib\CORE" -L"C:\STRAWB~ +1\c\lib" -o assertlibArlsYRla.exe # C:\MinGW\bin\gcc.exe -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -D__USE_M +INGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPER +L_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfiel +ds assertlibNejG_Q6U.c -L/lib64 /usr/lib64 -lossp-uuid -s -L"C:\STRAW +B~1\perl\lib\CORE" -L"C:\STRAWB~1\c\lib" -o assertlibBYZoj5wG.exe c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: +cannot find -lossp-uuid collect2: ld returned 1 exit status # ===> Err(52): "Can't link/include C library 'ossp-uuid', aborting. " # ===> Checking for ossp interface in rpc.h with -lossp-uuid # Compiler seems to be C:\MinGW\bin\gcc.exe # C:\MinGW\bin\gcc.exe -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -D__USE_M +INGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPER +L_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfiel +ds assertlibCfmRSRe2.c -s -L"C:\STRAWB~1\perl\lib\CORE" -L"C:\STRAWB~ +1\c\lib" -o assertlibajJRzKV2.exe # C:\MinGW\bin\gcc.exe -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -D__USE_M +INGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPER +L_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfiel +ds assertlibNI7D5xYQ.c -L/lib64 /usr/lib64 -lossp-uuid -s -L"C:\STRAW +B~1\perl\lib\CORE" -L"C:\STRAWB~1\c\lib" -o assertlibss84a6Uw.exe assertlibNI7D5xYQ.c: In function 'main': assertlibNI7D5xYQ.c:5:13: error: 'uuid_rc_t' undeclared (first use in +this function) assertlibNI7D5xYQ.c:5:13: note: each undeclared identifier is reported + only once for each function it appears in assertlibNI7D5xYQ.c:5:23: error: expected ';' before 'rc' assertlibNI7D5xYQ.c:10:13: error: 'rc' undeclared (first use in this f +unction) assertlibNI7D5xYQ.c:10:30: error: 'UUID_MAKE_V1' undeclared (first use + in this function) assertlibNI7D5xYQ.c:10:43: error: 'UUID_MAKE_MC' undeclared (first use + in this function) assertlibNI7D5xYQ.c:12:30: error: 'UUID_MAKE_V4' undeclared (first use + in this function) assertlibNI7D5xYQ.c:14:27: error: 'UUID_FMT_STR' undeclared (first use + in this function) # ===> Err(52): "Can't link/include C library 'ossp-uuid', aborting. " # ===> Checking for Win interface in rpc.h with -lossp-uuid # Compiler seems to be C:\MinGW\bin\gcc.exe # C:\MinGW\bin\gcc.exe -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -D__USE_M +INGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPER +L_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfiel +ds assertlibopIFgDxL.c -s -L"C:\STRAWB~1\perl\lib\CORE" -L"C:\STRAWB~ +1\c\lib" -o assertlibOS_xP1eH.exe # C:\MinGW\bin\gcc.exe -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -D__USE_M +INGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPER +L_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfiel +ds assertlib3KuYPAm3.c -s -L"C:\STRAWB~1\perl\lib\CORE" -L"C:\STRAWB~ +1\c\lib" -o assertlibvH3v6BNl.exe # C:\MinGW\bin\gcc.exe -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -D__USE_M +INGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPER +L_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfiel +ds assertlibaCKLsvWe.c -L/lib64 /usr/lib64 -lossp-uuid -s -L"C:\STRAW +B~1\perl\lib\CORE" -L"C:\STRAWB~1\c\lib" -o assertlibVvV_YGNw.exe assertlibaCKLsvWe.c: In function 'main': assertlibaCKLsvWe.c:6:13: error: 'RPC_CSTR' undeclared (first use in t +his function) assertlibaCKLsvWe.c:6:13: note: each undeclared identifier is reported + only once for each function it appears in assertlibaCKLsvWe.c:6:22: error: expected ';' before 'cs' assertlibaCKLsvWe.c:14:33: error: 'cs' undeclared (first use in this f +unction) # ===> Err(52): "Can't link/include C library 'ossp-uuid', aborting. " # ===> Checking for RPC interface in rpc.h with -lc # Compiler seems to be C:\MinGW\bin\gcc.exe # C:\MinGW\bin\gcc.exe -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -D__USE_M +INGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPER +L_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfiel +ds assertlib98ivWOhx.c -s -L"C:\STRAWB~1\perl\lib\CORE" -L"C:\STRAWB~ +1\c\lib" -o assertlib_L5W1byI.exe # C:\MinGW\bin\gcc.exe -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -D__USE_M +INGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPER +L_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfiel +ds assertlibrJko4Ut7.c -L/lib64 /usr/lib64 -lc -s -L"C:\STRAWB~1\perl +\lib\CORE" -L"C:\STRAWB~1\c\lib" -o assertlibsVlMEqR3.exe assertlibrJko4Ut7.c: In function 'main': assertlibrJko4Ut7.c:5:13: error: 'int32_t' undeclared (first use in th +is function) assertlibrJko4Ut7.c:5:13: note: each undeclared identifier is reported + only once for each function it appears in assertlibrJko4Ut7.c:5:21: error: expected ';' before 'r' assertlibrJko4Ut7.c:7:30: error: 's' undeclared (first use in this fun +ction) assertlibrJko4Ut7.c:11:13: error: 'r' undeclared (first use in this fu +nction) # ===> Err(44): "Can't link/include C library 'c', aborting. " # ===> Checking for e2fs interface in rpc.h with -lc # Compiler seems to be C:\MinGW\bin\gcc.exe # C:\MinGW\bin\gcc.exe -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -D__USE_M +INGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPER +L_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfiel +ds assertliblWAbAWyr.c -s -L"C:\STRAWB~1\perl\lib\CORE" -L"C:\STRAWB~ +1\c\lib" -o assertlibAvviQTqR.exe # C:\MinGW\bin\gcc.exe -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -D__USE_M +INGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPER +L_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfiel +ds assertlib53u41_ue.c -L/lib64 /usr/lib64 -lc -s -L"C:\STRAWB~1\perl +\lib\CORE" -L"C:\STRAWB~1\c\lib" -o assertlib78kSuw5S.exe c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: +cannot find -lc collect2: ld returned 1 exit status # ===> Err(44): "Can't link/include C library 'c', aborting. " # ===> Checking for ossp interface in rpc.h with -lc # Compiler seems to be C:\MinGW\bin\gcc.exe # C:\MinGW\bin\gcc.exe -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -D__USE_M +INGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPER +L_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfiel +ds assertlib4xfgkFU_.c -s -L"C:\STRAWB~1\perl\lib\CORE" -L"C:\STRAWB~ +1\c\lib" -o assertlibFk_gxKI4.exe # C:\MinGW\bin\gcc.exe -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -D__USE_M +INGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPER +L_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfiel +ds assertlibWzVeJ0L3.c -L/lib64 /usr/lib64 -lc -s -L"C:\STRAWB~1\perl +\lib\CORE" -L"C:\STRAWB~1\c\lib" -o assertlibMT0S4xoB.exe assertlibWzVeJ0L3.c: In function 'main': assertlibWzVeJ0L3.c:5:13: error: 'uuid_rc_t' undeclared (first use in +this function) assertlibWzVeJ0L3.c:5:13: note: each undeclared identifier is reported + only once for each function it appears in assertlibWzVeJ0L3.c:5:23: error: expected ';' before 'rc' assertlibWzVeJ0L3.c:10:13: error: 'rc' undeclared (first use in this f +unction) assertlibWzVeJ0L3.c:10:30: error: 'UUID_MAKE_V1' undeclared (first use + in this function) assertlibWzVeJ0L3.c:10:43: error: 'UUID_MAKE_MC' undeclared (first use + in this function) assertlibWzVeJ0L3.c:12:30: error: 'UUID_MAKE_V4' undeclared (first use + in this function) assertlibWzVeJ0L3.c:14:27: error: 'UUID_FMT_STR' undeclared (first use + in this function) # ===> Err(44): "Can't link/include C library 'c', aborting. " # ===> Checking for Win interface in rpc.h with -lc # Compiler seems to be C:\MinGW\bin\gcc.exe # C:\MinGW\bin\gcc.exe -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -D__USE_M +INGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPER +L_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfiel +ds assertlibP0vnUUfg.c -s -L"C:\STRAWB~1\perl\lib\CORE" -L"C:\STRAWB~ +1\c\lib" -o assertlibbKeYT73I.exe # C:\MinGW\bin\gcc.exe -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -D__USE_M +INGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPER +L_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfiel +ds assertlibk7G7OOAV.c -s -L"C:\STRAWB~1\perl\lib\CORE" -L"C:\STRAWB~ +1\c\lib" -o assertlibWpk7xuUP.exe # C:\MinGW\bin\gcc.exe -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -D__USE_M +INGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPER +L_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfiel +ds assertlibwTazJiN6.c -L/lib64 /usr/lib64 -lc -s -L"C:\STRAWB~1\perl +\lib\CORE" -L"C:\STRAWB~1\c\lib" -o assertlibFtU606KQ.exe assertlibwTazJiN6.c: In function 'main': assertlibwTazJiN6.c:6:13: error: 'RPC_CSTR' undeclared (first use in t +his function) assertlibwTazJiN6.c:6:13: note: each undeclared identifier is reported + only once for each function it appears in assertlibwTazJiN6.c:6:22: error: expected ';' before 'cs' assertlibwTazJiN6.c:14:33: error: 'cs' undeclared (first use in this f +unction) # ===> Err(44): "Can't link/include C library 'c', aborting. " ###################################################################### +# # # Bailing out. Can't continue. # # ** No interface found. # ###################################################################### +#

Any help would be greatly received, thanks.

2019-12-16 Athanasius added code and readmore tags.

Replies are listed 'Best First'.
Re: Cannot install UUID Module
by pryrt (Abbot) on Dec 16, 2019 at 14:26 UTC

    The CPAN Testers report says UUID-0.28 can successfully install on Win 10, Strawberry Perl v5.30.1; unfortunately, I don't know why they didn't have problems with the library when you did

    Do you absolutely need UUID? Or could you use Data::UUID instead? That one installed for me with 5.30.0 with no problem (though you might need to create c:\tmp)

    I decided to see whether UUID worked for me, using the cpanm client to --look inside the distribution to manually do the build, test, and install steps separately. I didn't install any separate libraries before running this. I included my perl -V, in case that will help you. I did not have any problems; maybe this will give some hints as to what's different.

    C:\usr\local\share\PassThru\perl>cpanm --look UUID --> Working on UUID Fetching http://www.cpan.org/authors/id/J/JR/JRM/UUID-0.28.tar.gz ... +OK Entering C:/pryrt/.cpanm/work/1576505841.9756/UUID-0.28 with C:\Window +s\system32\cmd.exe Microsoft Windows [Version 10.0.18362.535] (c) 2019 Microsoft Corporation. All rights reserved. C:\pryrt\.cpanm\work\1576505841.9756\UUID-0.28>ls -latr total 80 -rw-rw-rw- 1 peter.jones 0 183 2018-12-28 21:50 MANIFEST -rw-rw-rw- 1 peter.jones 0 9040 2018-12-28 21:50 License -rw-rw-rw- 1 peter.jones 0 14747 2018-12-28 21:56 UUID.xs -rw-rw-rw- 1 peter.jones 0 5760 2018-12-28 22:26 Changes -rw-rw-rw- 1 peter.jones 0 7014 2018-12-31 13:39 UUID.pm -rwxrwxrwx 1 peter.jones 0 9572 2018-12-31 13:45 Makefile.PL -rw-rw-rw- 1 peter.jones 0 6356 2018-12-31 13:48 README -rw-rw-rw- 1 peter.jones 0 594 2018-12-31 13:49 META.yml -rw-rw-rw- 1 peter.jones 0 985 2018-12-31 13:49 META.json drw-rw-rw- 3 peter.jones 0 0 2019-12-16 06:17 .. drw-rw-rw- 2 peter.jones 0 0 2019-12-16 06:17 t drw-rw-rw- 3 peter.jones 0 4096 2019-12-16 06:17 . C:\pryrt\.cpanm\work\1576505841.9756\UUID-0.28>perl Makefile.PL Checking if your kit is complete... Looks good Generating a gmake-style Makefile Writing Makefile for UUID Writing MYMETA.yml and MYMETA.json C:\pryrt\.cpanm\work\1576505841.9756\UUID-0.28>ls -latr total 132 -rw-rw-rw- 1 peter.jones 0 183 2018-12-28 21:50 MANIFEST -rw-rw-rw- 1 peter.jones 0 9040 2018-12-28 21:50 License -rw-rw-rw- 1 peter.jones 0 14747 2018-12-28 21:56 UUID.xs -rw-rw-rw- 1 peter.jones 0 5760 2018-12-28 22:26 Changes -rw-rw-rw- 1 peter.jones 0 7014 2018-12-31 13:39 UUID.pm -rwxrwxrwx 1 peter.jones 0 9572 2018-12-31 13:45 Makefile.PL -rw-rw-rw- 1 peter.jones 0 6356 2018-12-31 13:48 README -rw-rw-rw- 1 peter.jones 0 594 2018-12-31 13:49 META.yml -rw-rw-rw- 1 peter.jones 0 985 2018-12-31 13:49 META.json drw-rw-rw- 3 peter.jones 0 0 2019-12-16 06:17 .. drw-rw-rw- 2 peter.jones 0 0 2019-12-16 06:17 t -rw-rw-rw- 1 peter.jones 0 41075 2019-12-16 06:17 Makefile -rw-rw-rw- 1 peter.jones 0 1127 2019-12-16 06:17 MYMETA.json drw-rw-rw- 3 peter.jones 0 4096 2019-12-16 06:17 . -rw-rw-rw- 1 peter.jones 0 658 2019-12-16 06:17 MYMETA.yml C:\pryrt\.cpanm\work\1576505841.9756\UUID-0.28>gmake cp UUID.pm blib\lib\UUID.pm Running Mkbootstrap for UUID () "C:\USR\LOCAL\APPS\BERRYBREW\PERLS\SYSTEM\PERL\BIN\perl.exe" -MExtUtil +s::Command -e chmod -- 644 "UUID.bs" "C:\USR\LOCAL\APPS\BERRYBREW\PERLS\SYSTEM\PERL\BIN\perl.exe" -MExtUtil +s::Command::MM -e cp_nonempty -- UUID.bs blib\arch\auto\UUID\UUID.bs +644 "C:\USR\LOCAL\APPS\BERRYBREW\PERLS\SYSTEM\PERL\BIN\perl.exe" "C:\usr\l +ocal\apps\BERRYBREW\perls\system\perl\lib\ExtUtils/xsubpp" -typemap +C:\USR\LOCAL\APPS\BERRYBREW\PERLS\SYSTEM\ perl\lib\ExtUtils\typemap UUID.xs > UUID.xsc "C:\USR\LOCAL\APPS\BERRYBREW\PERLS\SYSTEM\PERL\BIN\perl.exe" -MExtUtil +s::Command -e mv -- UUID.xsc UUID.c gcc -c -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -D__USE_MINGW_ANSI_STDI +O -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS + -DUSE_PERLIO -fwrapv -fno-strict-aliasin g -mms-bitfields -s -O2 -DVERSION=\"0.28\" -DXS_VERSION=\"0.28\" "- +IC:\USR\LOCAL\APPS\BERRYBREW\PERLS\SYSTEM\perl\lib\CORE" -DPERL__UUI +D__WIN_INT -DPERL__UUID__STRUCT_SZ=16 -DP ERL__UUID__RPC_H UUID.c "C:\USR\LOCAL\APPS\BERRYBREW\PERLS\SYSTEM\PERL\BIN\perl.exe" -MExtUtil +s::Mksymlists \ -e "Mksymlists('NAME'=>\"UUID\", 'DLBASE' => 'UUID', 'DL_FUNCS' = +> { }, 'FUNCLIST' => [], 'IMPORTS' => { }, 'DL_VARS' => []);" g++.exe UUID.def -o blib\arch\auto\UUID\UUID.xs.dll -mdll -s -L"C:\USR +\LOCAL\APPS\BERRYBREW\PERLS\SYSTEM\perl\lib\CORE" -L"C:\USR\LOCAL\APP +S\BERRYBREW\PERLS\SYSTEM\c\lib" UUID.o "C:\USR\LOCAL\APPS\BERRYBREW\PERLS\SYSTEM\perl\lib\CORE\libperl530.a" +"C:\USR\LOCAL\APPS\BERRYBREW\PERLS\SYSTEM\c\x86_64-w64-mingw32\lib\li +brpcrt4.a" "C:\USR\LOCAL\APPS\BERRYBREW\P ERLS\SYSTEM\c\x86_64-w64-mingw32\lib\libmoldname.a" "C:\USR\LOCAL\APPS +\BERRYBREW\PERLS\SYSTEM\c\x86_64-w64-mingw32\lib\libkernel32.a" "C:\U +SR\LOCAL\APPS\BERRYBREW\PERLS\SYSTEM\c\x8 6_64-w64-mingw32\lib\libuser32.a" "C:\USR\LOCAL\APPS\BERRYBREW\PERLS\S +YSTEM\c\x86_64-w64-mingw32\lib\libgdi32.a" "C:\USR\LOCAL\APPS\BERRYBR +EW\PERLS\SYSTEM\c\x86_64-w64-mingw32\lib\ libwinspool.a" "C:\USR\LOCAL\APPS\BERRYBREW\PERLS\SYSTEM\c\x86_64-w64- +mingw32\lib\libcomdlg32.a" "C:\USR\LOCAL\APPS\BERRYBREW\PERLS\SYSTEM\ +c\x86_64-w64-mingw32\lib\libadvapi32.a" " C:\USR\LOCAL\APPS\BERRYBREW\PERLS\SYSTEM\c\x86_64-w64-mingw32\lib\libs +hell32.a" "C:\USR\LOCAL\APPS\BERRYBREW\PERLS\SYSTEM\c\x86_64-w64-ming +w32\lib\libole32.a" "C:\USR\LOCAL\APPS\BE RRYBREW\PERLS\SYSTEM\c\x86_64-w64-mingw32\lib\liboleaut32.a" "C:\USR\L +OCAL\APPS\BERRYBREW\PERLS\SYSTEM\c\x86_64-w64-mingw32\lib\libnetapi32 +.a" "C:\USR\LOCAL\APPS\BERRYBREW\PERLS\SY STEM\c\x86_64-w64-mingw32\lib\libuuid.a" "C:\USR\LOCAL\APPS\BERRYBREW\ +PERLS\SYSTEM\c\x86_64-w64-mingw32\lib\libws2_32.a" "C:\USR\LOCAL\APPS +\BERRYBREW\PERLS\SYSTEM\c\x86_64-w64-ming w32\lib\libmpr.a" "C:\USR\LOCAL\APPS\BERRYBREW\PERLS\SYSTEM\c\x86_64-w +64-mingw32\lib\libwinmm.a" "C:\USR\LOCAL\APPS\BERRYBREW\PERLS\SYSTEM\ +c\x86_64-w64-mingw32\lib\libversion.a" "C :\USR\LOCAL\APPS\BERRYBREW\PERLS\SYSTEM\c\x86_64-w64-mingw32\lib\libod +bc32.a" "C:\USR\LOCAL\APPS\BERRYBREW\PERLS\SYSTEM\c\x86_64-w64-mingw3 +2\lib\libodbccp32.a" "C:\USR\LOCAL\APPS\B ERRYBREW\PERLS\SYSTEM\c\x86_64-w64-mingw32\lib\libcomctl32.a" -Wl,--en +able-auto-image-base "C:\USR\LOCAL\APPS\BERRYBREW\PERLS\SYSTEM\PERL\BIN\perl.exe" -MExtUtil +s::Command -e chmod -- 755 blib\arch\auto\UUID\UUID.xs.dll C:\pryrt\.cpanm\work\1576505841.9756\UUID-0.28>gmake test "C:\USR\LOCAL\APPS\BERRYBREW\PERLS\SYSTEM\PERL\BIN\perl.exe" -MExtUtil +s::Command::MM -e cp_nonempty -- UUID.bs blib\arch\auto\UUID\UUID.bs +644 "C:\USR\LOCAL\APPS\BERRYBREW\PERLS\SYSTEM\PERL\BIN\perl.exe" "-MExtUti +ls::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switch +es; test_harness(0, 'blib\lib', 'blib\arc h')" t/*.t t/test.t .. ok All tests successful. Files=1, Tests=38, 1 wallclock secs ( 0.02 usr + 0.05 sys = 0.06 CP +U) Result: PASS C:\pryrt\.cpanm\work\1576505841.9756\UUID-0.28>perl -V Summary of my perl5 (revision 5 version 30 subversion 0) configuration +: Platform: osname=MSWin32 osvers=10.0.17763.529 archname=MSWin32-x64-multi-thread uname='Win32 strawberry-perl 5.30.0.1 #1 Thu May 23 12:20:46 2019 +x64' config_args='undef' hint=recommended useposix=true d_sigaction=undef useithreads=define usemultiplicity=define use64bitint=define use64bitall=undef uselongdouble=undef usemymalloc=n default_inc_excludes_dot=define bincompat5005=undef Compiler: cc='gcc' ccflags =' -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -D__USE_MINGW_ANS +I_STDIO -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLIC +IT_SYS -DUSE_PERLIO -fwrapv -fno-strict-a liasing -mms-bitfields' optimize='-s -O2' cppflags='-DWIN32' ccversion='' gccversion='8.3.0' gccosandvers='' intsize=4 longsize=4 ptrsize=8 doublesize=8 byteorder=12345678 doublekind=3 d_longlong=define longlongsize=8 d_longdbl=define longdblsize=16 longdblkind=3 ivtype='long long' ivsize=8 nvtype='double' nvsize=8 Off_t='long long' lseeksize=8 alignbytes=8 prototype=define Linker and Libraries: ld='g++.exe' ldflags ='-s -L"C:\USR\LOCAL\APPS\BERRYBREW\PERLS\SYSTEM\perl\lib\ +CORE" -L"C:\USR\LOCAL\APPS\BERRYBREW\PERLS\SYSTEM\c\lib"' libpth=C:\USR\LOCAL\APPS\BERRYBREW\PERLS\SYSTEM\c\lib C:\USR\LOCAL +\APPS\BERRYBREW\PERLS\SYSTEM\c\x86_64-w64-mingw32\lib C:\USR\LOCAL\AP +PS\BERRYBREW\PERLS\SYSTEM\c\lib\gcc\x86_6 4-w64-mingw32\8.3.0 libs= -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 + -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 - +lmpr -lwinmm -lversion -lodbc32 -lodbccp3 2 -lcomctl32 perllibs= -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomd +lg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_ +32 -lmpr -lwinmm -lversion -lodbc32 -lodb ccp32 -lcomctl32 libc= so=dll useshrplib=true libperl=libperl530.a gnulibc_version='' Dynamic Linking: dlsrc=dl_win32.xs dlext=xs.dll d_dlsymun=undef ccdlflags=' ' cccdlflags=' ' lddlflags='-mdll -s -L"C:\USR\LOCAL\APPS\BERRYBREW\PERLS\SYSTEM\pe +rl\lib\CORE" -L"C:\USR\LOCAL\APPS\BERRYBREW\PERLS\SYSTEM\c\lib"' Characteristics of this binary (from libperl): Compile-time options: HAS_TIMES HAVE_INTERP_INTERN MULTIPLICITY PERLIO_LAYERS PERL_COPY_ON_WRITE PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS PERL_MALLOC_WRAP PERL_OP_PARENT PERL_PRESERVE_IVUV USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_LOCALE_TIME USE_PERLIO USE_PERL_ATOF Built under MSWin32 Compiled at May 23 2019 12:26:54 @INC: C:/usr/local/apps/BERRYBREW/perls/system/perl/site/lib/MSWin32-x64 +-multi-thread C:/usr/local/apps/BERRYBREW/perls/system/perl/site/lib C:/usr/local/apps/BERRYBREW/perls/system/perl/vendor/lib C:/usr/local/apps/BERRYBREW/perls/system/perl/lib C:\pryrt\.cpanm\work\1576505841.9756\UUID-0.28>gmake install "C:\USR\LOCAL\APPS\BERRYBREW\PERLS\SYSTEM\PERL\BIN\perl.exe" -MExtUtil +s::Command::MM -e cp_nonempty -- UUID.bs blib\arch\auto\UUID\UUID.bs +644 Files found in blib\arch: installing files in blib\lib into architectu +re dependent library tree Installing C:\USR\LOCAL\APPS\BERRYBREW\PERLS\SYSTEM\perl\site\lib\auto +\UUID\UUID.xs.dll Installing C:\USR\LOCAL\APPS\BERRYBREW\PERLS\SYSTEM\perl\site\lib\UUID +.pm Appending installation info to C:\USR\LOCAL\APPS\BERRYBREW\PERLS\SYSTE +M\perl\lib/perllocal.pod

    update

    Wait, re-reading your error messages, # Compiler seems to be C:\MinGW\bin\gcc.exe. That's not normal if you're using Strawberry perl. Before trying to use the toolchain to build non-pure-perl modules, it's best to make sure that all the strawberry paths are before any other compilers in your path. If you were using portable strawberry, you could just run portableperl.bat portableshell.bat. Otherwise, run PATH=c:\strawberry\c\bin;c:\strawberry\perl\bin;c:\strawberry\perl\site\bin;%PATH% before trying to install using cpanm UUID.

Re: Cannot install UUID Module
by Corion (Patriarch) on Dec 16, 2019 at 09:44 UTC

    The salient part is:

    # It's likely the UUID prerequisite library isn't installed. # # On some platforms you can use your package manager to install these. # In particular, the uuid-dev, libuuid-devel, or uuid-devel packages # on Linux.

    So, did you install uuid/uuid.h or any of the other fallback C libraries needed for the UUID module? If so, where?

    <pIf you didn't install it, maybe it can simply be copied from https://github.com/cloudbase/libuuid, but I'm not sure that this is the canonical source for it.

      Thanks for responding so quickly.

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

        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.

        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
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://11110225]
Approved by marto
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2024-04-23 23:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found