Skip Menu |

This queue is for tickets about the CtCmd CPAN distribution.

Report information
The Basics
Id: 49037
Status: resolved
Priority: 0/
Queue: CtCmd

People
Owner: RATL [...] cpan.org
Requestors: Mark.Romer [...] noaa.gov
Cc:
AdminCc:

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



Subject: ClearCase::CtCmd
Date: Wed, 26 Aug 2009 15:39:04 -0400
To: bug-CtCmd [...] rt.cpan.org
From: Mark Romer <Mark.Romer [...] noaa.gov>
I am having problems with the cpan module ClearCase::CtCmd I am trying to install it on a number of RedHat Linux 32 bit machines to no avail. It seems like someone got the gcc and ld options mixed up in the module. uname -r = 2.6.18-128.1.14.el5 Red Hat Enterprise Linux Client release 5.3 (Tikanga) Please let me know if you need any other information about the system. thanks Here is the cpan install failure. Show quoted text
cpan> install ClearCase::CtCmd
CPAN: Storable loaded ok Going to read /root/.cpan/Metadata Database was generated on Wed, 26 Aug 2009 04:28:15 GMT Running install for module ClearCase::CtCmd Running make for R/RA/RATL/CtCmd-1.06.tar.gz CPAN: Digest::MD5 loaded ok CPAN: Compress::Zlib loaded ok Checksum for /root/.cpan/sources/authors/id/R/RA/RATL/CtCmd-1.06.tar.gz ok Scanning cache /root/.cpan/build for sizes CtCmd/CtCmd.pm CtCmd/CtCmd.xs CtCmd/Makefile.PL CtCmd/SolarisInterposer CtCmd/Win32C_O CtCmd/aux_zuba.c CtCmd/proc_table.h CtCmd/t/t1_createArch.t CtCmd/t/t2_tstArch.t CtCmd/t/t3_cleanArch.t CtCmd/INSTALL CtCmd/MANIFEST CtCmd/LICENSE.TXT CtCmd/README CtCmd/ChangeLog CtCmd/CC/CC.pm CtCmd/CC/Activity.pm CtCmd/CC/Component.pm CtCmd/CC/Folder.pm CtCmd/CC/View.pm CtCmd/CC/AdminVob.pm CtCmd/CC/CompositeDiff.pm CtCmd/CC/Project.pm CtCmd/CC/Vob.pm CtCmd/CC/Baseline.pm CtCmd/CC/DiffBl.pm CtCmd/CC/Stream.pm CtCmd/CC/VobObject.pm CtCmd/CC/Element.pm CtCmd/CC/UCMObject.pm CtCmd/CC/CompHlink.pm CtCmd/CC/File.pm CtCmd/CC/Version.pm CtCmd/autoDef CtCmd/cmdsyn.conf CtCmd/ks.conf /bin/tar: Read 3072 bytes from - CtCmd/vob.conf CPAN.pm: Going to build R/RA/RATL/CtCmd-1.06.tar.gz Looking for version 2.7 Found 4.1 Looking for ClearCase version 4.1 Found 7.0 Checking if your kit is complete... Looks good Warning: -L. changed to -L/root/.cpan/build/CtCmd/. Note (probably harmless): No library found for -latriatirpc Writing Makefile for ClearCase::CtCmd cp CtCmd.pm blib/lib/ClearCase/CtCmd.pm AutoSplitting blib/lib/ClearCase/CtCmd.pm (blib/lib/auto/ClearCase/CtCmd) /usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap CtCmd.xs > CtCmd.xsc && mv CtCmd.xsc CtCmd.c gcc -c -I. -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -DVERSION=\"1.06\" -DXS_VERSION=\"1.06\" -fPIC "-I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE" -DATRIA_LINUX CtCmd.c In file included from CtCmd.xs:29: proc_table.h:15:1: warning: "NULL" redefined In file included from /usr/include/sys/sem.h:25, from /usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/perl.h:4486, from CtCmd.xs:23: /usr/lib/gcc/i386-redhat-linux/4.1.2/include/stddef.h:403:1: warning: this is the location of the previous definition In file included from CtCmd.xs:29: proc_table.h: In function 'client_meters_finish_program': proc_table.h:45: warning: unused variable 'empty' proc_table.h: In function 'client_meters_exit_region': proc_table.h:50: warning: unused variable 'empty' proc_table.h: In function 'client_meters_enter_region': proc_table.h:51: warning: unused variable 'empty' CtCmd.xs: In function 'XS_ClearCase__CtCmd_unsetview': CtCmd.xs:174: warning: implicit declaration of function 'view_set_current_view' CtCmd.xs: In function 'XS_ClearCase__CtCmd_exec': CtCmd.xs:280: warning: implicit declaration of function 'pfm_init' CtCmd.xs:196: warning: unused variable 'sv' CtCmd.c:226: warning: unused variable 'targ' CtCmd.c:225: warning: unused variable 'RETVAL' CtCmd.c: At top level: CtCmd.xs:39: warning: 'not_here' defined but not used CtCmd.c: In function 'XS_ClearCase__CtCmd_exec': CtCmd.xs:197: warning: 'myhash' may be used uninitialized in this function Running Mkbootstrap for ClearCase::CtCmd () chmod 644 CtCmd.bs rm -f blib/arch/auto/ClearCase/CtCmd/CtCmd.so ld -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -L/usr/local/lib CtCmd.o -ucmdsyn_proc_table -rpath /usr/atria/shlib:.:/usr/lib/perl5/5.8.8/i386-linux-thread-multi/auto/ClearCase::CtCmd -o blib/arch/auto/ClearCase/CtCmd/CtCmd.so \ -L/usr/lib -L/root/.cpan/build/CtCmd -L/usr/atria/shlib -latriacmdsyn -latriacmd -latriasumcmd -latriasum -latriamsadm -latriamntrpc -latriacm -latriavob -latriaview -latriacm -latriadbrpc -latriaxdr -latriamvfs -latriatbs -latriaadm -latriasplit -latriacredmap -latriaks -lezrpc -lrpcsvc -latriaccfs -latriasquidad -latriasquidcore -lc -lcurses -latriamsadm -latriamsinfobase -latriamsinfovob \ ld: unrecognised emulation mode: tune=generic Supported emulations: elf_i386 i386linux make: *** [blib/arch/auto/ClearCase/CtCmd/CtCmd.so] Error 1 /usr/bin/make -- NOT OK Running make test Can't test without successful make Running make install make had returned bad status, install seems impossible Show quoted text
cpan>
-- Mark Romer DOC/NOAA/NESDIS/STAR Linux/Unix Tech Support
I tested the latest CtCmd version 1.11 on a 32bit Red Hat Enterprise Linux Server release 5.5 (Tikanga). I didn't have the problem with ld being used as the linker. The generated Makefile used gcc as the linker instead of ld. Maybe RedHat fixed this in 5.5.