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
------------------------------------------------------------------------------
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