From: Sharon L. <lu...@us...> - 2005-01-28 19:11:30
|
Is there a particular reason that you're not simply using the binaries provided for STAF (instead of building it yourself)? Unless you have some reason to build STAF yourself, you should use the binaries provided. If using STAF 3.0.0 Beta 7, they can be downloaded via http://staf.sourceforge.net/getcurrent30.php. For example, to install STAF V3.0.0 Beta 7 for a Linux system, you can choose to download either STAF300Beta7-setup-linux.bin, STAF300Beta7-setup-linux.jar, or STAF300Beta7-linux.tar.gz. The first two files use InstallShield to install STAF. The tar.gz file uses a simple STAFInst executable to install STAF. See the STAF User's Guide for more information. -------------------------------------------------------------- Sharon Lucas IBM Austin, lu...@us... (512) 838-8347 or Tieline 678-8347 Martin Jenner <mj...@re...> Sent by: sta...@li... 01/28/2005 09:10 AM To sta...@li... cc jen...@ho... Subject [staf-users] STAF fails to start on Red Hat RHEL3 I am doing a review of STAF so I am new to it; however after building STAF300Beta7 from source I am unable to start the STAFProc process on a Red Hat Enterprise Linux 3 AS system. The procedure I used is listed below. I built with -g so as to run with gdb. Is this something that is already known is there a workaround or patch for STAF ? I am not signed up to the users email list but would be willing to try any patches. How I built staf: staf=STAF300Beta7-src.tar.gz # cleanup any old install. cd /tmp rm -rf src rel obj tar xzvf $staf export PROJECTS="staf connprov*" export OS_NAME=linux export BUILD_TYPE=retail (cd src/staf; make CFLAGS=-g) chmod 755 rel/linux/staf/retail/STAFInst # install staf. cd rel/linux/staf/retail ./STAFInst -bin /usr/local/bin -lib /usr/local/lib -type fs Problems running staf: export LD_LIBRARY_PATH=/usr/local/staf/lib export PATH=/usr/local/staf/bin:$PATH export STAFCONVDIR=/usr/local/staf/codepage # gdb STAFProc GNU gdb Red Hat Linux (6.1post-1.20040607.17rh) Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-redhat-linux-gnu"...Using host libthread_db library "/lib/tls/libthread_db.so.1". (gdb) run Starting program: /usr/local/staf/bin/STAFProc [Thread debugging using libthread_db enabled] [New Thread -1218572160 (LWP 20525)] [New Thread -1220670544 (LWP 20534)] [New Thread -1231160400 (LWP 20535)] [New Thread -1241654352 (LWP 20536)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1218572160 (LWP 20525)] 0x0054f1d3 in STAFStringConstructCopy (pString=0x98af2f8, aString=0x13881964, osRC=0xbfffc1f0) at /tmp/src/staf/stafif/STAFString.cpp:198 198 if (aString == 0 || aString->fByteLen == 0) (gdb) list 193 STAFStringConst_t aString, 194 unsigned int *osRC) 195 { 196 if (pString == 0) return kSTAFInvalidObject; 197 198 if (aString == 0 || aString->fByteLen == 0) 199 return STAFStringConstruct(pString, 0, 0, osRC); 200 201 return STAFStringConstruct(pString, aString->pBuffer, 202 aString->fByteLen, osRC); (gdb) quit ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ staf-users mailing list sta...@li... https://lists.sourceforge.net/lists/listinfo/staf-users |