Hi David,

I was able to build the project with the changes you mentioned.

I then reinstalled STAF to latest version (3.3.5), copied 
staf/rel/macosx/staf/retail/lib to /Library/staf/lib, and 
staf/rel/macosx/staf/retail/lib/python26/PYSTAF.so to /Library/staf/lib, and 
export PYTHONPATH=/Library/staf/lib.

However when I run the src/staf/lang/python/TestPython.py script, I get the 
following error:

office-dhcp-217:python admin$ python TestPython.py 
Traceback (most recent call last):
  File "TestPython.py", line 9, in <module>
    from PySTAF import *
  File "/Users/admin/Documents/staf/src/staf/lang/python/PySTAF.py", line 9, in 
<module>
    import PYSTAF
ImportError: dlopen(/Library/staf/lib/PYSTAF.so, 2): no suitable image found.  
Did find:
        /Library/staf/lib/PYSTAF.so: mach-o, but wrong architecture

I'm hoping there is some simple environment problem that can be easily 
resolved. Any suggestions? Thanks.

Kind regards,
Cynthia



Attachment: smime.p7s
Description: S/MIME cryptographic signature

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to