Skip Menu |

This queue is for tickets about the UUID CPAN distribution.

Report information
The Basics
Id: 76126
Status: resolved
Priority: 0/
Queue: UUID

People
Owner: Nobody in particular
Requestors: aisarosenbaum [...] yahoo.com
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.02
Fixed in: (no value)



Subject: UUID Won't Install on Centos 6.0
I need to automate control of VMs via vSphere. UUID.pm is a required module for VMWare SDK's installation script, but it fails to install UUID.pm. I'm not good with C/XS, but I tried downloading uuid-dev and a tarball of the uuid source with no luck. Our host is a 64-bit Centos 6.0 server. We're running perl 5.14. A fix would be greatly appreciated, as would a workaround in the meantime. # Here's the error: cpan shell -- CPAN exploration and modules installation (v1.9600) Enter 'h' for help. cpan[1]> install UUID Going to read '/root/.cpan/Metadata' Database was generated on Tue, 27 Mar 2012 12:13:21 GMT Running install for module 'UUID' Running make for B/BR/BRAAM/UUID-0.02.tar.gz Checksum for /root/.cpan/sources/authors/id/B/BR/BRAAM/UUID-0.02.tar.gz ok Scanning cache /root/.cpan/build for sizes ............................................................................DONE CPAN.pm: Going to build B/BR/BRAAM/UUID-0.02.tar.gz Checking if your kit is complete... Looks good Writing Makefile for UUID Writing MYMETA.yml cp UUID.pm blib/lib/UUID.pm /usr/local/bin/perl /usr/local/lib/perl5/5.14.1/ExtUtils/xsubpp -typemap /usr/local/lib/perl5/5.14.1/ExtUtils/typemap UUID.xs > UUID.xsc && mv UUID.xsc UUID.c cc -c -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"0.02\" -DXS_VERSION=\"0.02\" -fPIC "-I/usr/local/lib/perl5/5.14.1/x86_64-linux/CORE" UUID.c UUID.xs:5:23: error: uuid/uuid.h: No such file or directory UUID.xs: In function âdo_generateâ: UUID.xs:13: error: âuuid_tâ undeclared (first use in this function) UUID.xs:13: error: (Each undeclared identifier is reported only once UUID.xs:13: error: for each function it appears in.) UUID.xs:13: error: expected â;â before âuuidâ UUID.xs:14: error: âuuidâ undeclared (first use in this function) UUID.xs: In function âdo_unparseâ: UUID.xs:20: error: âuuid_tâ undeclared (first use in this function) UUID.xs:20: error: expected â;â before âuuidâ UUID.xs: In function âdo_parseâ: UUID.xs:29: error: âuuid_tâ undeclared (first use in this function) UUID.xs:29: error: expected â;â before âuuidâ UUID.xs:33: error: âuuidâ undeclared (first use in this function) make: *** [UUID.o] Error 1 BRAAM/UUID-0.02.tar.gz /usr/bin/make -- NOT OK 'YAML' not installed, will not store persistent state Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible Failed during this command: BRAAM/UUID-0.02.tar.gz : make NO # Server details [root@oooatis vmware-vsphere-cli-distrib]# more /etc/centos-release CentOS Linux release 6.0 (Final) [root@oooatis vmware-vsphere-cli-distrib]# uname -a Linux oooatis.ocarina.local 2.6.32-71.el6.x86_64 #1 SMP Fri May 20 03:51:51 BST 2011 x86_64 x86_64 x86_64 GNU/Linux # Perl build [root@oooatis vmware-vsphere-cli-distrib]# perl -V Summary of my perl5 (revision 5 version 14 subversion 1) configuration: Platform: osname=linux, osvers=2.6.32-71.el6.x86_64, archname=x86_64-linux uname='linux oooatis.ocarina.local 2.6.32-71.el6.x86_64 #1 smp fri may 20 03:51:51 bst 2011 x86_64 x86_64 x86_64 gnulinux ' config_args='' hint=recommended, useposix=true, d_sigaction=define useithreads=undef, usemultiplicity=undef useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef use64bitint=define, use64bitall=define, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O2', cppflags='-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include' ccversion='', gccversion='4.4.4 20100726 (Red Hat 4.4.4-13)', gccosandvers='' intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='cc', ldflags =' -fstack-protector -L/usr/local/lib' libpth=/usr/local/lib /lib/../lib64 /usr/lib/../lib64 /lib /usr/lib /lib64 /usr/lib64 /usr/local/lib64 libs=-lnsl -ldb -ldl -lm -lcrypt -lutil -lc perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc libc=/lib/libc-2.12.so, so=so, useshrplib=false, libperl=libperl.a gnulibc_version='2.12' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E' cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib -fstack-protector' Characteristics of this binary (from libperl): Compile-time options: PERL_DONT_CREATE_GVSV PERL_MALLOC_WRAP PERL_PRESERVE_IVUV USE_64_BIT_ALL USE_64_BIT_INT USE_LARGE_FILES USE_PERLIO USE_PERL_ATOF Built under linux Compiled at Sep 26 2011 14:40:09 @INC: /usr/local/lib/perl5/site_perl/5.14.1/x86_64-linux /usr/local/lib/perl5/site_perl/5.14.1 /usr/local/lib/perl5/5.14.1/x86_64-linux /usr/local/lib/perl5/5.14.1 .
Please do this: # yum -y install libuuid-devel I just tested this on RHEL 6.3 64bits. After 10 years, I will release 0.05 version with all the changes made by J. Hall. Created new repository: https://github.com/lzap/cpan-uuid