As with my previous note on compilation of analysis1.0b10, I am using
Irix 6.5.17 with MIPSpro 7.3 compile and python 2.3
The same modifications to installCode.py as I noted previously
were required this time as well. These are:
1. Change all references from python 2.2 to python 2.3
2. Change library references to read as follows:
X11_LIB_FLAGS = -L$(X11_DIR)/lib32
GL_LIB_FLAGS = -L$(GL_DIR)/lib32
As before, X11 and OpenGL are under /usr while tcl8.3.5
tk 8.3.5 and python2.3 are all installed in /usr/local
The following compilation warnings are given for mutex.c:
cc-1047 cc: WARNING File = /usr/include/sys/param.h, Line = 371
Macro "MIN" (declared at line 123 of "macros.h") has an incompatible
redefinition.
#define MIN(a,b) (((a)<(b))?(a):(b))
^
cc-1047 cc: WARNING File = /usr/include/sys/param.h, Line = 372
Macro "MAX" (declared at line 126 of "macros.h") has an incompatible
redefinition.
#define MAX(a,b) (((a)>(b))?(a):(b))
^
The following ld32 loader warnings are given:
cc -shared -o GlHandler.so -L/usr/lib32 -L/usr/local/lib -L/usr/local/lib -L/usr/lib32 \
python_util.o utility.o gl_handler.o py_gl_handler.o -lglut -lGLU -lGL -ltk8.3 -ltcl8.3 -lX11 -lXext -lm
ld32: WARNING 84 : /usr/lib32/libGLU.so is not used for resolving any symbol.
cc -shared -o ContourFile.so -L/usr/lib32 -L/usr/local/lib -L/usr/local/lib -L/usr/lib32 \
contour_data.o contour_levels.o contour_style.o contour_file.o py_contour_levels.o py_contour_style.o py_contour_file.o ../global/python_util.o ../global/utility.o ../global/hash_list.o ../global/hash_table.o ../global/mem_cache.o ../global/mutex.o ../global/py_mem_cache.o ../global/block_file.o ../global/int_array.o ../global/py_block_file.o \
../global/contour.o ../global/list.o ../global/gl_handler.o ../global/pdf_handler.o ../global/ps_handler.o ../global/py_gl_handler.o ../global/py_pdf_handler.o ../global/py_ps_handler.o -lglut -lGLU -lGL -ltk8.3 -ltcl8.3 -lX11 -lXext -lm
ld32: WARNING 84 : /usr/lib32/libGLU.so is not used for resolving any symbol.
cc -shared -o SliceFile.so -L/usr/lib32 -L/usr/local/lib -L/usr/local/lib -L/usr/lib32 \
slice_file.o py_slice_file.o ../global/python_util.o ../global/utility.o ../global/hash_list.o ../global/hash_table.o ../global/mem_cache.o ../global/mutex.o ../global/py_mem_cache.o ../global/block_file.o ../global/int_array.o ../global/py_block_file.o \
../global/gl_handler.o ../global/pdf_handler.o ../global/ps_handler.o ../global/py_gl_handler.o ../global/py_pdf_handler.o ../global/py_ps_handler.o -lglut -lGLU -lGL -ltk8.3 -ltcl8.3 -lX11 -lXext -lm
ld32: WARNING 84 : /usr/lib32/libGLU.so is not used for resolving any symbol.
cc -shared -o WinPeakList.so -L/usr/lib32 -L/usr/local/lib -L/usr/local/lib -L/usr/lib32 \
method.o peak.o peak_list.o symbol.o win_peak_list.o py_peak.o py_peak_list.o py_win_peak_list.o ../global/python_util.o ../global/utility.o ../global/hash_list.o ../global/hash_table.o ../global/mem_cache.o ../global/mutex.o ../global/py_mem_cache.o ../global/block_file.o ../global/int_array.o ../global/py_block_file.o \
../global/gl_handler.o ../global/pdf_handler.o ../global/ps_handler.o ../global/py_gl_handler.o ../global/py_pdf_handler.o ../global/py_ps_handler.o -lglut -lGLU -lGL -ltk8.3 -ltcl8.3 -lX11 -lXext -lm
ld32: WARNING 84 : /usr/lib32/libGLU.so is not used for resolving any symbol.
As before, analysis presents its initial menu properly. I haven't tested beyond this
because both the NMRPipe data and the VNMR data I have available were 32 bit complex
in both dimensions which formatconvertor does not accept. However, release of the
tutorial allowed me to do further testing. There seems to be a problem with generation
of a spectrum window. Apparently there are some differences between what SGI calls
OpenGL under IRIX 6.5.17 and what is used elsewhere. This may be related to error
messages I got under Solaris 7 which I will detail in a following message.
The following is the entire console output from an attempt to open spc.5:
CCPNMR Analysis Version 1.0.b Release 11 (Copyright 2003-2004 CCPN)
Distribution created Fri May 28 13:16:10 2004
>>> start generating ccp.Nmr output
start generating ccp.Method output
start generating ccpnmr.Analysis output
start generating memops.Implementation output
Spectrum successfully opened
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 146 (GLX)
Minor opcode of failed request: 17 (X_GLXVendorPrivateWithReply)
Serial number of failed request: 14616
Current serial number in output stream: 14616
I hope this is helpful.
Bruce D. Ray
|