|
List Info
Thread: installation meltdown on RHEL AS4.1
|
|
| installation meltdown on RHEL AS4.1 |

|
2006-09-22 02:56:41 |
|
Hi!
I've been fighting with this all day, please excuse any frustration that might filter through  I've been trying to build P4, and am being continually thwarted when i run make.
perforce version is R06.1
, so i'm attempting to compile the p4api from bin.linux26x86/ i have gcc3, and i have perl 5.8.5
since gcc2 seems to cause everyone else's problems here's a gcc-v:
[root vulcan P4-3.5313]# gcc -v Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.3/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-java-awt=gtk --host=i386-redhat-linux
Thread model: posix gcc version 3.4.3 20050227 (Red Hat 3.4.3-22.1)
here's what the compiler spits out when i run make (after perl Makefile.PL)
[root vulcan P4-3.5313]# make cd lib && make
make[1]: Entering directory `/root/P4-3.5313/lib' c++ -c -I/root/p4api -Ilib -D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC "-I/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE" -DOS_LINUX -Dconst_char='char' -D_BSD_SOURCE -D_SVID_SOURCE -DP4API_VERSION=513537
perlclientapi.cc In file included from perlclientapi.cc:56: perlclientuser.h:50: error: conflicting return type specified for `virtual void PerlClientUser::OutputText(char*, int)' /root/p4api/clientuser.h:160: error: overriding `virtual int ClientUser::OutputText(char*, int)'
perlclientuser.h:51: error: conflicting return type specified for `virtual void PerlClientUser::OutputInfo(char, char*)' /root/p4api/clientuser.h:156: error: overriding `virtual int ClientUser::OutputInfo(char, char*)'
perlclientuser.h:53: error: conflicting return type specified for `virtual void PerlClientUser::OutputBinary(char*, int)' /root/p4api/clientuser.h:158: error: overriding `virtual int ClientUser::OutputBinary(char*, int)'
make[1]: *** [perlclientapi.o] Error 1 make[1]: Leaving directory `/root/P4-3.5313/lib' make: *** [lib/libp4.a] Error 2
here's some other stuff about the system in question:
[root vulcan P4-3.5313
]# cat /etc/redhat-release Red Hat Enterprise Linux AS release 4 (Nahant Update 1)
[root vulcan P4-3.5313]# uname -a Linux vulcan 2.6.9-11.ELsmp #1 SMP Fri May 20 18:26:27 EDT 2005 i686 i686 i386 GNU/Linux
Summary of my perl5 (revision 5 version 8 subversion 5) configuration: Platform: osname=linux, osvers=2.4.21-25.elsmp, archname=i386-linux-thread-multi uname='linux
porky.build.redhat.com 2.4.21-25.elsmp #1 smp fri nov 12 21:34:51 est 2004 i686 i686 i386 gnulinux ' config_args='-des -Doptimize=-O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -Dversion=5.8.5 -Dmyhostname=localhost -Dperladmin=
root localhost -Dcc=gcc -Dcf_by=Red Hat, Inc. -Dinstallprefix=/usr -Dprefix=/usr -Darchname=i386-linux -Dvendorprefix=/usr -Dsiteprefix=/usr -Duseshrplib -Dusethreads -Duseithreads -Duselargefiles -Dd_dosuid -Dd_semctl_semun -Di_db -Ui_ndbm -Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio -Dinstallusrbinperl -Ubincompat5005 -Uversiononly -Dpager=/usr/bin/less -isr -Dinc_version_list=
5.8.4 5.8.3 5.8.2 5.8.1 5.8.0' hint=recommended, useposix=true, d_sigaction=define usethreads=define use5005threads=undef useithreads=define usemultiplicity=define useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',
optimize='-O2 -g -pipe -m32 -march=i386 -mtune=pentium4', cppflags='-D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/include/gdbm' ccversion='', gccversion='
3.4.3 20041212 (Red Hat 3.4.3-9.EL4)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off | |