You should install linux-amd64. The uname output shows x86_64
architecture which is AMD64.
Note that on the "STAF Download" web page at
http://staf.sourceforge.net/getcurrent.php, it says "Linux (AMD64, aka
x86-64)" as follows:
Operating System (Architecture) | Java Support | Release | File |
File format
Linux (AMD64, aka x86-64) | 64-bit | 3.4.5 |
STAF345-setup-linux-amd64.bin | InstallAnywhere (Bundled
JVM)
Linux (AMD64, aka x86-64) | 64-bit | 3.4.5 |
STAF345-setup-linux-amd64-NoJVM.bin | InstallAnywhere (No JVM)
Linux (AMD64, aka x86-64) | 64-bit | 3.4.5 |
STAF345-linux-amd64.tar.gz | GNU zipped tar
--------------------------------------------------------------
Sharon Lucas
IBM Austin, luc...@us.ibm.com
(512) 286-7313 or Tieline 363-7313
From: Swapna <skris...@redhat.com>
To: Sharon Lucas/Austin/IBM@IBMUS
Cc: staf-users@lists.sourceforge.net
Date: 06/07/2011 02:42 PM
Subject: Re: [staf-users] PySTAF for 64-bit hosts
I tried to install 64-bit STAF now but I'm not able to execute STAFProc.
# STAFProc &
# bash: /usr/local/staf/bin/STAFProc: cannot execute binary file
This is my machine information.
# uname -a
Linux skrishna-dev 2.6.32-131.0.15.el6.x86_64 #1 SMP Tue May 10 15:42:40
EDT 2011 x86_64 x86_64 x86_64 GNU/Linux
#
# cat /usr/local/staf/install.properties
version=3.4.1
platform=linux-ia64
architecture=64-bit
installer=STAFInst
file=STAF341-linux-ia64.tar
osname=Linux
osversion=*
osarch=ia64
Should I use amd64 version? My processor is Intel Core i7 though.
Thanks,
- Swapna
On 06/07/2011 03:07 PM, Sharon Lucas wrote:
The 64-bit version of STAF for Linux (e.g. STAF 3.4.5 for Linux AMD64)
provides support for 64-bit Python. It would appear that you have the
32-bit version of STAF 3.4.5 for Linux (i386) installed instead which
provides support for 32-bit Python. You can check whether the 32-bit or
64-bit version of STAF was installed on your Linux 64-bit machine by
running the following command:
STAF local MISC LIST PROPERTIES
For example, if the 64-bit version of STAF for Linux is installed you
would see something like the following where the architecture is 64-bit:
# STAF local MISC LIST PROPERTIES
Response
--------
version : 3.4.5
platform : linux-amd64
architecture: 64-bit
installer : IA
file : STAF345-setup-linux-amd64.bin
osname : Linux
osversion : *
osarch : amd64
Note that section "2.0 Supported Platforms and Python Versions" in the
Python User Guide for STAF at
http://staf.sourceforge.net/current/STAFPython.htm#Header_PlatformsVersions
lists the operating systems and Python versions that STAF supports. You
can select STAF support for a particular version of Python during the STAF
install (default is Python 2.2 but you can specify STAF support for Python
2.3 through 3.1 instead) or have the STAF install choose which Python
version to support based on which Python is in the system PATH. (as shown
in Figure 10 in the STAF Installation Guide at
http://staf.sourceforge.net/current/STAFInstall.pdf) for the GUI install
and in section "4.3 InstallAnywhere Silent Install".
--------------------------------------------------------------
Sharon Lucas
IBM Austin, luc...@us.ibm.com
(512) 286-7313 or Tieline 363-7313
From: Swapna <skris...@redhat.com>
To: staf-users@lists.sourceforge.net
Date: 06/07/2011 01:33 PM
Subject: [staf-users] PySTAF for 64-bit hosts
Hi,
I'm running RHEL 6.1 on a 64-bit host and have STAF 3.4.5 for Linux
installed. I was trying to use PySTAF but I'm getting an error when
trying to import PySTAF
>>> import PySTAF
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/staf/lib/PySTAF.py", line 9, in <module>
import PYSTAF
ImportError: /usr/local/staf/lib/PYSTAF.so: wrong ELF class: ELFCLASS32
>>>
Is there a 64-bit version of PySTAF somewhere that I could use? Or do I
need to build PySTAF for 64-bit hosts?
--
Thanks,
- Swapna
(978)392-3958
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users
--
Thanks,
- Swapna
(978)392-3958
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users