Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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.

    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 examining the Monastery: (7)
As of 2024-04-19 08:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found