[cvsnt] cvsnt for 64-bit Red Hat 5.1

Wolf-Dietrich Filss w.filss at epages.de
Tue Apr 15 07:56:38 BST 2008


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


Hello,

I'm running cvsnt from cvsnt-2.5.03.2382-rh9-rpm on RHEL 3 32-bit and
this works very well.
Now I'm switching to RHEL 5 64-bit, and cvsnt doesn't work anymore.
The reason is that a 32-bit cvsnt won't cooperate with my 64-bit
winbindd, the issue is in the PAM module.

Hence, I compiled (64-bit) and installed cvsnt-2.5.04.2980.tar.gz on RHEL
5.1. Unluckily, cvsnt sometimes crashes with segmentation fault if used
from outside with :pserver: when a diff/merge is executed (e.g.
"cvs update -j M_patch_5_0_4 -j B_patch_5_0_4"). On the other hand, it
works with :local: access.

The same for 64-bit compiled cvsnt-2.5.03.2382.

compilation was:

wget -nv http://www.cvsnt.org/archive/cvsnt-2.5.04.2980.tar.gz
tar zxvf cvsnt-2.5.04.2980.tar.gz
cd cvsnt-2.5.04.2980
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --enable-64bit --disable-sqlite --disable-mysql --disable-odbc --disable-oracle --disable-postgres
make install
cd /usr/lib64
for i in /usr/lib/*2.5.04.2980* ; do ln -s $i . ; done

the only warning i got while compiling was:

make[2]: Entering directory `/var/share/tmp/cvsnt-2.5.04.2980/ufc-crypt'
gcc -g -O2  -fPIC -DPIC   -c -o crypt_util.o crypt_util.c
crypt_util.c: In function 'ufc_crypt':
crypt_util.c:664: warning: passing argument 1 of 'setup_salt' discards qualifiers from pointer target type
crypt_util.c:682: warning: passing argument 3 of 'output_conversion' discards qualifiers from pointer target type

...

/bin/sh ../libtool --tag=CXX   --mode=link g++  -g -O2  -release 2.5.04.2980 -L//usr/lib  -o libcvsapi.la -rpath /usr/lib Codepage.lo crypt.lo cvs_string.lo DiffBase.lo StringDiff.lo GetOptions.lo md5calc.lo mdns.lo rpcBase.lo ServerIO.lo SqlConnection.lo SqlConnectionInformation.lo SqlRecordset.lo SqlVariant.lo TagDate.lo TokenLine.lo XmlNode.lo XmlTree.lo Zeroconf.lo fncmp.lo fnmatch.lo getdate.lo getmode.lo md5.lo md5crypt.lo timegm.lo DirectoryAccess.lo DnsApi.lo FileAccess.lo HttpSocket.lo LibraryAccess.lo RunFile.lo SocketIO.lo SSPIHandler.lo -lxml2 -lz -lm   ../libltdl/libltdlc.la ../ufc-crypt/libufc.a -lresolv 

*** Warning: Linking the shared library libcvsapi.la against the
*** static library ../ufc-crypt/libufc.a is not portable!
g++ -shared -nostdlib /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/crti.o /usr/lib/gcc/x86_64-redhat-linux/4.1.2/crtbeginS.o  .libs/Codepage.o .libs/crypt.o .libs/cvs_string.o .libs/DiffBase.o .libs/StringDiff.o .libs/GetOptions.o .libs/md5calc.o .libs/mdns.o .libs/rpcBase.o .libs/ServerIO.o .libs/SqlConnection.o .libs/SqlConnectionInformation.o .libs/SqlRecordset.o .libs/SqlVariant.o .libs/TagDate.o .libs/TokenLine.o .libs/XmlNode.o .libs/XmlTree.o .libs/Zeroconf.o .libs/fncmp.o .libs/fnmatch.o .libs/getdate.o .libs/getmode.o .libs/md5.o .libs/md5crypt.o .libs/timegm.o .libs/DirectoryAccess.o .libs/DnsApi.o .libs/FileAccess.o .libs/HttpSocket.o .libs/LibraryAccess.o .libs/RunFile.o .libs/SocketIO.o .libs/SSPIHandler.o -Wl,--whole-archive ../libltdl/.libs/libltdlc.a -Wl,--no-whole-archive  -L//usr/lib -lxml2 -lz -ldl ../ufc-crypt/libufc.a -lresolv -L/usr/lib/gcc/x86_64-redhat-linux/4.1.2 -L/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-redhat-linux/4.1.2/crtendS.o /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/crtn.o  -Wl,-soname -Wl,libcvsapi-2.5.04.2980.so -o .libs/libcvsapi-2.5.04.2980.so
/usr/bin/ld: skipping incompatible //usr/lib/libxml2.so when searching for -lxml2
/usr/bin/ld: skipping incompatible //usr/lib/libxml2.a when searching for -lxml2
/usr/bin/ld: skipping incompatible //usr/lib/libz.so when searching for -lz
/usr/bin/ld: skipping incompatible //usr/lib/libz.a when searching for -lz
/usr/bin/ld: skipping incompatible //usr/lib/libdl.so when searching for -ldl
/usr/bin/ld: skipping incompatible //usr/lib/libdl.a when searching for -ldl
/usr/bin/ld: skipping incompatible //usr/lib/libresolv.so when searching for -lresolv
/usr/bin/ld: skipping incompatible //usr/lib/libresolv.a when searching for -lresolv
/usr/bin/ld: skipping incompatible //usr/lib/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible //usr/lib/libm.a when searching for -lm
/usr/bin/ld: skipping incompatible //usr/lib/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible //usr/lib/libc.a when searching for -lc

any help is really appreciated!

greetings, wolf.


More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook