System 1:
Solaris 7 system is a Sun Ultra 10.
Compiler is fully patched Sun WorkshopPro 5.0.
Because of previously reported OpenGL and glut problems,
I tried the ignore GL option to use tk graphics only.
python is 2.3.4 compiled with the modification to socketmodule.c
as noted on the sourceforge python bugtracker, item 972724 for lack
of AF_INET6 and INET_ADDRSTRLEN in the Solaris 7 headers. Note that
the suggestion for python 2.3.3c1, item 854823, does not produce
the same functionality. Numeric 23.3 is also present in this python.
tcl/tk is 8.3.5 with tix 8.1.4
X11 is in /usr/openwin
python, tcl, and tk are under /usr/local
System 2:
IRIX system is an SGI Octane running Irix 6.5.17 with MIPSpro 7.3
compiler and python 2.3.4 with numeric 23.1
SGI's OpenGL and glut just don't work well with python for some
reason. Therefore, I used the the ignore GL option for tk graphics
only.
X11 is in /usr
tcl8.3.5, tk 8.3.5, and python2.3.4 are all installed in /usr/local
On attempted compilation, I got the following messages with the start of
compilation:
cd memops/global; make
make[1]: Entering directory `/opt/ccpnmr/ccpnmr1.0/c/memops/global'
cc -c -I/usr/local/include/python2.3 -O python_util.c
cc -c -O utility.c
cc -c -O hash_list.c
cc -c -O hash_table.c
cc -c -O mem_cache.c
cc -c -O mutex.c
cc -c -I/usr/local/include/python2.3 -O py_mem_cache.c
cc -c -O block_file.c
cc -c -O int_array.c
cc -c -I/usr/local/include/python2.3 -O py_block_file.c
cc -G -o BlockFile.so python_util.o utility.o hash_list.o hash_table.o mem_cache.o mutex.o py_mem_cache.o block_file.o int_array.o py_block_file.o
cc -c -DIGNORE_GL -DUSE_GL_TRUE -I/usr/local/include/python2.3 -I/usr/openwin/include -I/usr/local/include -I/usr/local/include -O gl_handler.c
cc -c -DIGNORE_GL -I/usr/local/include/python2.3 -I/usr/openwin/include -I/usr/local/include -I/usr/local/include -O py_gl_handler.c
cc -G -o GlHandler.so -L/usr/openwin/lib -L/usr/local/lib -L/usr/local/lib \
python_util.o utility.o gl_handler.o py_gl_handler.o -framework GLUT -lGLU -lGL -ltk8.3 -ltcl8.3 -lX11 -lXext -lm
cc: Warning: illegal option -framework
ld: fatal: file GLUT: open failed: No such file or directory
ld: fatal: File processing errors. No output written to GlHandler.so
make[1]: *** [GlHandler.so] Error 1
make[1]: Leaving directory `/opt/ccpnmr/ccpnmr1.0/c/memops/global'
make: *** [global] Error 2
The -framework GLUT entry should not appear. It probably appears whenever
compilation without OpenGL graphics is arrempted and probably causes
compilation on any system other than Mac OSX to fail because of the
unrecognized Mac OSX specific option.
Sincerely,
--
Bruce D. Ray, Ph.D.
Associate Scientist, and Operations Director
NMR Center
IUPUI
Physics Dept.
402 N. Blackford St.
Indianapolis, IN 46202-3273
|