[mapserver-users] python mapscript AGG problem
dzizes
dzizes451 at gmail.com
Wed Apr 22 01:00:40 PDT 2009
/tmp/mapserver-5.2.2/mapscript/python# swig -python -shadow -modern
-templatereduce -fastdispatch -fvirtual -fastproxy -modernargs -castmode
-dirvtable -fastinit -fastquery -noproxydel -nobuildnone -o mapscript_wrap.c
../mapscript.i
/tmp/mapserver-5.2.2/mapscript/python# sudo python setup.py install --force
python: can't open file 'setup.py': [Errno 2] No such file or directory
root at gislab:/tmp/mapserver-5.2.2/mapscript/python/tests/cases# cd ../..
root at gislab:/tmp/mapserver-5.2.2/mapscript/python# sudo python setup.py
install --force
running install
running build
running build_py
running build_ext
running install_lib
copying build/lib.linux-i686-2.5/_mapscript.so ->
/usr/lib/python2.5/site-packages
copying build/lib.linux-i686-2.5/mapscript.py ->
/usr/lib/python2.5/site-packages
copying build/lib.linux-i686-2.5/mapscript.pyc ->
/usr/lib/python2.5/site-packages
byte-compiling /usr/lib/python2.5/site-packages/mapscript.py to
mapscript.pyc
running install_egg_info
Removing /usr/lib/python2.5/site-packages/mapscript-5.2.2.egg-info
Writing /usr/lib/python2.5/site-packages/mapscript-5.2.2.egg-info
/tmp/mapserver-5.2.2/mapscript/python# python2.5
Python 2.5.2 (r252:60911, Jul 31 2008, 17:28:52)
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import mapscript
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "mapscript.py", line 6, in <module>
import _mapscript
ImportError: /usr/lib/python2.5/site-packages/_mapscript.so: undefined
symbol: _ZN3agg17g_elder_bit_tableE
aaaaaaaaaa :(
--
View this message in context: http://n2.nabble.com/python-mapscript-AGG-problem-tp2669010p2674827.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
More information about the MapServer-users
mailing list