[vtkusers] failure of compile VTK with activestate python 2.3

Dr. Daniel James White PhD dan at chalkie.org.uk
Tue May 25 13:40:44 EDT 2004


Dear All,

(I am new to the active state python list., but bot the VTK list)

I am compiling VTK with Activestate Tcl/tk 8.4 and Activestate python  
2.3 (new downloads today), due to stuff missing from fedora core 2.
(no Tkinter and other missing headers)

I have set the correct paths in cmake to point the installations of  
active state python and tcl under /usr/local/
and they are found ok during make


However there seems to be a problem when building the vtkpython  
executable, and the error output is below.

I have built VTK before with red hat releases of python 2.2 and tcltk  
8.3,  as have many others.

Does anyone know what my problem is? Will have to compile and install  
python and tcltk from sources to get around this, or should cative  
state Python work for VTK?

cheers

Dan


Building executable /root/Desktop/VTK/VTK/bin/vtkpython...
/usr/local/ActivePython-2.3/lib/python2.3/config/ 
libpython2.3.a(posixmodule.o)(. text+0x4088): In function  
`posix_tmpnam':
/home/trentm/main/Apps/ActivePython-2_3/src/Core/./Modules/ 
posixmodule.c:5781: w arning: the use of `tmpnam_r' is dangerous,  
better use `mkstemp'
/usr/local/ActivePython-2.3/lib/python2.3/config/ 
libpython2.3.a(posixmodule.o)(. text+0x3fea): In function  
`posix_tempnam':
/home/trentm/main/Apps/ActivePython-2_3/src/Core/./Modules/ 
posixmodule.c:5736: w arning: the use of `tempnam' is dangerous, better  
use `mkstemp'
/usr/local/ActivePython-2.3/lib/python2.3/config/ 
libpython2.3.a(longobject.o)(.t ext+0x1216): In function  
`PyLong_FromString':
/home/trentm/main/Apps/ActivePython-2_3/src/Core/Objects/longobject.c: 
1249: unde fined reference to `__ctype_b'
/usr/local/ActivePython-2.3/lib/python2.3/config/ 
libpython2.3.a(longobject.o)(.t  
ext+0x1250):/home/trentm/main/Apps/ActivePython-2_3/src/Core/Objects/ 
longobject. c:1256: undefined reference to `__ctype_b'
/usr/local/ActivePython-2.3/lib/python2.3/config/ 
libpython2.3.a(longobject.o)(.t  
ext+0x148e):/home/trentm/main/Apps/ActivePython-2_3/src/Core/Objects/ 
longobject. c:1298: undefined reference to `__ctype_b'
/usr/local/ActivePython-2.3/lib/python2.3/config/ 
libpython2.3.a(stringobject.o)( .text+0x212): In function  
`PyString_FromFormatV':
/home/trentm/main/Apps/ActivePython-2_3/src/Core/Objects/ 
stringobject.c:180: und efined reference to `__ctype_b'
/usr/local/ActivePython-2.3/lib/python2.3/config/ 
libpython2.3.a(stringobject.o)(  
text+0x34b):/home/trentm/main/Apps/ActivePython-2_3/src/Core/Objects/ 
stringobje ct.c:247: undefined reference to `__ctype_b'
/usr/local/ActivePython-2.3/lib/python2.3/config/ 
libpython2.3.a(stringobject.o)(  
text+0xa0d):/home/trentm/main/Apps/ActivePython-2_3/src/Core/Objects/ 
stringobje ct.c:608: more undefined references to `__ctype_b' follow
/usr/local/ActivePython-2.3/lib/python2.3/config/ 
libpython2.3.a(stringobject.o)( .text+0x21ee): In function  
`string_lower':
/usr/include/ctype.h:170: undefined reference to `__ctype_tolower'
/usr/local/ActivePython-2.3/lib/python2.3/config/ 
libpython2.3.a(stringobject.o)( .text+0x2288): In function  
`string_upper':
/home/trentm/main/Apps/ActivePython-2_3/src/Core/Objects/ 
stringobject.c:1870: un defined reference to `__ctype_b'
/usr/local/ActivePython-2.3/lib/python2.3/config/ 
libpython2.3.a(stringobject.o)( .text+0x22a2): In function  
`string_upper':
/usr/include/ctype.h:176: undefined reference to `__ctype_toupper'
/usr/local/ActivePython-2.3/lib/python2.3/config/ 
libpython2.3.a(stringobject.o)( .text+0x2347): In function  
`string_title':
/home/trentm/main/Apps/ActivePython-2_3/src/Core/Objects/ 
stringobject.c:1900: un defined reference to `__ctype_b'
/usr/local/ActivePython-2.3/lib/python2.3/config/ 
libpython2.3.a(stringobject.o)( .text+0x2368): In function  
`string_title':
/usr/include/ctype.h:176: undefined reference to `__ctype_toupper'
/usr/local/ActivePython-2.3/lib/python2.3/config/ 
libpython2.3.a(stringobject.o)( .text+0x238d):/usr/include/ctype.h:170:  
undefined reference to `__ctype_tolower'
/usr/local/ActivePython-2.3/lib/python2.3/config/ 
libpython2.3.a(stringobject.o)( .text+0x242f): In function  
`string_capitalize':
/home/trentm/main/Apps/ActivePython-2_3/src/Core/Objects/ 
stringobject.c:1934: un defined reference to `__ctype_b'
/usr/local/ActivePython-2.3/lib/python2.3/config/ 
libpython2.3.a(stringobject.o)( .text+0x2449): In function  
`string_capitalize':
/usr/include/ctype.h:176: undefined reference to `__ctype_toupper'
/usr/local/ActivePython-2.3/lib/python2.3/config/ 
libpython2.3.a(stringobject.o)( .text+0x246c): In function  
`string_capitalize':
/home/trentm/main/Apps/ActivePython-2_3/src/Core/Objects/ 
stringobject.c:1942: un defined reference to `__ctype_b'
/usr/local/ActivePython-2.3/lib/python2.3/config/ 
libpython2.3.a(stringobject.o)( .text+0x2486): In function  
`string_capitalize':
/usr/include/ctype.h:170: undefined reference to `__ctype_tolower'
/usr/local/ActivePython-2.3/lib/python2.3/config/ 
libpython2.3.a(stringobject.o)( .text+0x26d8): In function  
`string_swapcase':
/home/trentm/main/Apps/ActivePython-2_3/src/Core/Objects/ 
stringobject.c:2027: un defined reference to `__ctype_b'
/usr/local/ActivePython-2.3/lib/python2.3/config/ 
libpython2.3.a(stringobject.o)( .text+0x26f6): In function  
`string_swapcase':
/usr/include/ctype.h:176: undefined reference to `__ctype_toupper'
/usr/local/ActivePython-2.3/lib/python2.3/config/ 
libpython2.3.a(stringobject.o)( .text+0x2715):/usr/include/ctype.h:170:  
undefined reference to `__ctype_tolower'
/usr/local/ActivePython-2.3/lib/python2.3/config/ 
libpython2.3.a(stringobject.o)( .text+0x3508): In function  
`string_istitle':
/home/trentm/main/Apps/ActivePython-2_3/src/Core/Objects/ 
stringobject.c:2944: un defined reference to `__ctype_b'
/usr/local/ActivePython-2.3/lib/python2.3/config/ 
libpython2.3.a(stringobject.o)(  
text+0x3549):/home/trentm/main/Apps/ActivePython-2_3/src/Core/Objects/ 
stringobj ect.c:2953: undefined reference to `__ctype_b'
/usr/local/ActivePython-2.3/lib/python2.3/config/ 
libpython2.3.a(stringobject.o)( .text+0x40d7): In function  
`PyString_Format':
/home/trentm/main/Apps/ActivePython-2_3/src/Core/Objects/ 
stringobject.c:3787: un defined reference to `__ctype_b'
/usr/local/ActivePython-2.3/lib/python2.3/config/ 
libpython2.3.a(stringobject.o)(  
text+0x4257):/home/trentm/main/Apps/ActivePython-2_3/src/Core/Objects/ 
stringobj ect.c:3822: undefined reference to `__ctype_b'
/usr/local/ActivePython-2.3/lib/python2.3/config/ 
libpython2.3.a(stringobject.o)( .text+0x5cf3): In function  
`string_strip':
/home/trentm/main/Apps/ActivePython-2_3/src/Core/Objects/ 
stringobject.c:1710: un defined reference to `__ctype_b'
/usr/local/ActivePython-2.3/lib/python2.3/config/ 
libpython2.3.a(stringobject.o)(  
text+0x5d14):/home/trentm/main/Apps/ActivePython-2_3/src/Core/Objects/ 
stringobj ect.c:1717: more undefined references to `__ctype_b' follow
/usr/local/ActivePython-2.3/lib/python2.3/config/ 
libpython2.3.a(codecs.o)(.text+ 0x70): In function `normalizestring':
/home/trentm/main/Apps/ActivePython-2_3/src/Core/Python/codecs.c:74:  
undefined r eference to `__ctype_tolower'
/usr/local/ActivePython-2.3/lib/python2.3/config/ 
libpython2.3.a(getargs.o)(.text +0x10e): In function `vgetargs1':
/home/trentm/main/Apps/ActivePython-2_3/src/Core/Python/getargs.c:166:  
undefined  reference to `__ctype_b'
/usr/local/ActivePython-2.3/lib/python2.3/config/ 
libpython2.3.a(getargs.o)(.text  
+0x4fa):/home/trentm/main/Apps/ActivePython-2_3/src/Core/Python/ 
getargs.c:255: u ndefined reference to `__ctype_b'
/usr/local/ActivePython-2.3/lib/python2.3/config/ 
libpython2.3.a(getargs.o)(.text +0x754): In function `converttuple':
/home/trentm/main/Apps/ActivePython-2_3/src/Core/Python/getargs.c:332:  
undefined  reference to `__ctype_b'
/usr/local/ActivePython-2.3/lib/python2.3/config/ 
libpython2.3.a(getargs.o)(.text +0x227e): In function  
`vgetargskeywords':
/home/trentm/main/Apps/ActivePython-2_3/src/Core/Python/getargs.c:1188:  
undefine d reference to `__ctype_b'
/usr/local/ActivePython-2.3/lib/python2.3/config/ 
libpython2.3.a(mystrtoul.o)(.te xt+0x43): In function `PyOS_strtoul':
/home/trentm/main/Apps/ActivePython-2_3/src/Core/Python/mystrtoul.c:57:  
undefine d reference to `__ctype_b'
/usr/local/ActivePython-2.3/lib/python2.3/config/ 
libpython2.3.a(mystrtoul.o)(.te  
xt+0xb7):/home/trentm/main/Apps/ActivePython-2_3/src/Core/Python/ 
mystrtoul.c:86:  undefined reference to `__ctype_tolower'
/usr/local/ActivePython-2.3/lib/python2.3/config/ 
libpython2.3.a(mystrtoul.o)(.te  
xt+0xbd):/home/trentm/main/Apps/ActivePython-2_3/src/Core/Python/ 
mystrtoul.c:86:  undefined reference to `__ctype_b'
/usr/local/ActivePython-2.3/lib/python2.3/config/ 
libpython2.3.a(mystrtoul.o)(.te xt+0x17f): In function `PyOS_strtol':
/home/trentm/main/Apps/ActivePython-2_3/src/Core/Python/mystrtoul.c: 
133: undefin ed reference to `__ctype_b'
/usr/local/ActivePython-2.3/lib/python2.3/config/ 
libpython2.3.a(_sre.o)(.text+0x f7): In function `sre_category':
/home/trentm/main/Apps/ActivePython-2_3/src/Core/./Modules/_sre.c:232:  
undefined  reference to `__ctype_b'
/usr/local/ActivePython-2.3/lib/python2.3/config/ 
libpython2.3.a(_sre.o)(.text+0x  
113):/home/trentm/main/Apps/ActivePython-2_3/src/Core/./Modules/_sre.c: 
234: unde fined reference to `__ctype_b'
/usr/local/ActivePython-2.3/lib/python2.3/config/ 
libpython2.3.a(_sre.o)(.text+0x 3d5): In function `sre_at':
/home/trentm/main/Apps/ActivePython-2_3/src/Core/Modules/_sre.c:453:  
undefined r eference to `__ctype_b'
/usr/local/ActivePython-2.3/lib/python2.3/config/ 
libpython2.3.a(_sre.o)(.text+0x  
3fe):/home/trentm/main/Apps/ActivePython-2_3/src/Core/Modules/_sre.c: 
455: more u ndefined references to `__ctype_b' follow
/usr/local/ActivePython-2.3/lib/python2.3/config/ 
libpython2.3.a(_sre.o)(.text+0x 3292): In function `sre_getlower':
/usr/include/ctype.h:170: undefined reference to `__ctype_tolower'
/usr/local/ActivePython-2.3/lib/python2.3/config/ 
libpython2.3.a(_sre.o)(.text+0x 5ba8): In function `sre_lower_locale':
/usr/include/ctype.h:170: undefined reference to `__ctype_tolower'
/usr/local/ActivePython-2.3/lib/python2.3/config/ 
libpython2.3.a(tokenizer.o)(.te xt+0x1d): In function  
`get_normal_name':
/home/trentm/main/Apps/ActivePython-2_3/src/Core/Parser/tokenizer.c: 
189: undefin ed reference to `__ctype_tolower'
/usr/local/ActivePython-2.3/lib/python2.3/config/ 
libpython2.3.a(tokenizer.o)(.te xt+0x1c2): In function  
`get_coding_spec':
/home/trentm/main/Apps/ActivePython-2_3/src/Core/Parser/tokenizer.c: 
232: undefin ed reference to `__ctype_b'
/usr/local/ActivePython-2.3/lib/python2.3/config/ 
libpython2.3.a(tokenizer.o)(.te xt+0x1396): In function `tok_get':
/home/trentm/main/Apps/ActivePython-2_3/src/Core/Parser/tokenizer.c: 
1150: undefi ned reference to `__ctype_b'
/usr/local/ActivePython-2.3/lib/python2.3/config/ 
libpython2.3.a(tokenizer.o)(.te  
xt+0x1408):/home/trentm/main/Apps/ActivePython-2_3/src/Core/Parser/ 
tokenizer.c:1 167: undefined reference to `__ctype_b'
/usr/local/ActivePython-2.3/lib/python2.3/config/ 
libpython2.3.a(tokenizer.o)(.te  
xt+0x1422):/home/trentm/main/Apps/ActivePython-2_3/src/Core/Parser/ 
tokenizer.c:1 170: undefined reference to `__ctype_b'
/usr/local/ActivePython-2.3/lib/python2.3/config/ 
libpython2.3.a(tokenizer.o)(.te  
xt+0x14f3):/home/trentm/main/Apps/ActivePython-2_3/src/Core/Parser/ 
tokenizer.c:1 200: undefined reference to `__ctype_b'
/usr/local/ActivePython-2.3/lib/python2.3/config/ 
libpython2.3.a(tokenizer.o)(.te  
xt+0x15b2):/home/trentm/main/Apps/ActivePython-2_3/src/Core/Parser/ 
tokenizer.c:1 226: more undefined references to `__ctype_b' follow
collect2: ld returned 1 exit status
make[3]: *** [/root/Desktop/VTK/VTK/bin/vtkpython] Error 1
make[2]: *** [default_target] Error 2
make[1]: *** [default_target_Wrapping_Python] Error 2
make: *** [default_target] Error 2
[root at modeling VTK]#

Dr. Daniel James White BSc. (Hons.) PhD
Cell Biology
Department of biological and environmental science
PO Box  35
University of Jyväskylä
Jyväskylä FIN 40014
Finland
+358 14 260 4183 (work)
+358 468102840 (new mobile)
NEW PHONE NUMBER!!!

http://www.chalkie.org.uk
dan at chalkie.org.uk
white at cc.jyu.fi

_______________________________________________
ActivePython mailing list
ActivePython at listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Other options: http://listserv.ActiveState.com/mailman/listinfo/ActivePython




More information about the vtkusers mailing list