Hi,

I believe  "Building STAF Python Support" section in STAF Developer's Guide is 
incomplete:
http://staf.sourceforge.net/current/stafdg.html#Header_buildPython

I could only build STAF Python support with following environment settings (not 
just the ones listed above document):


# For building Python support
# OpenSolaris 2009.06, Sun CC 5.10, STAF 3.4.2, Python 2.7
#export PROJECTS=python
export PYTHON_ROOT=/stow/python-2.7
export PYTHON_INCLUDEDIRS=$PYTHON_ROOT/include/python2.7
export PYTHON_LIBDIRS=$PYTHON_ROOT/lib
export PYTHON_LIBS=python2.7

export PYTHON_BUILD_V22=0
export PYTHON_BUILD_V23=0
export PYTHON_BUILD_V24=0
export PYTHON_BUILD_V25=0
export PYTHON_BUILD_V26=1
export PYTHON_V26_ROOT=$PYTHON_ROOT
export PYTHON_V26_INCLUDEDIRS=$PYTHON_INCLUDEDIRS
export PYTHON_V26_LIBDIRS=$PYTHON_LIBDIRS
export PYTHON_V26_LIBS=$PYTHON_LIBS

In addition, TestPython.py reports following errors (which was also reported on 
4 Feb 2010):

$ python TestPython.py |grep ERROR
ERROR: removePrivacyDelimiters(!...@^^!!@a...@!!^^!!@b...@!!, 1) != 
^...@a@!!...@b@!!
ERROR: removePrivacyDelimiters(!...@^^!!@a...@!!^^!!@b...@!!, 0) != 
^...@a@!!...@b@!!
ERROR: removePrivacyDelimiters(!...@^@!!a...@b^@!!, 1) != @!!...@b@!!
ERROR: removePrivacyDelimiters(!...@^@!!a...@b^@!!, 0) != @!!...@b@!!
*** ERROR: 4 tests failed ***

I have following questions/requests to STAF development team:

a) Could Python 2.7 support be added and made as the default Python version to 
use instead of 2.2?
Most new Python development activity will use 2.7 or 3.1 branches.

b) Can the documentation of STAF be updated (regarding Python support)?

c) If errors reported by TestPython.py are not genuine, can they be disabled in 
the source tree? It is confusing for STAF users.

d) Lastly, is there any plan to support Python STAF services? (That is being 
able to write STAF services in Python). Has anyone attempted this in the past? 
Is there any code fragments available from the STAF community?


Thanks, regards
Semih Cemiloglu



------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share 
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to