I have encountered an error on attempted compilation on a Mac
runing OS X 10.3.8. Despite setting compilation to not use
OpenGL, the linker still wants to find libglut.* which this
system does not have. How does one get around this demand for
a libglut.*? (For that matter, if one has specified not
to use OpenGL, should there be linking requirements for
OpenGL libraries and libglut.*?)
Fink binaries for TCL/TK 8.4 and Python 2.3 are in /sw.
X11 is in /usr/X11R6.
Compilation went as follows:
cd memops/global; make
cc -c -I/sw/include/python2.3 -O python_util.c
In file included from /sw/include/python2.3/Python.h:70,
from python_util.h:51,
from python_util.c:48:
/sw/include/python2.3/objimpl.h:255: warning: use of `long double' type; its size may change in a future release
/sw/include/python2.3/objimpl.h:255: warning: (Long double usage is reported only once for each file.
/sw/include/python2.3/objimpl.h:255: warning: To disable this warning, use -Wno-long-double.)
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/sw/include/python2.3 -O py_mem_cache.c
In file included from /sw/include/python2.3/Python.h:70,
from py_mem_cache.h:51,
from py_mem_cache.c:48:
/sw/include/python2.3/objimpl.h:255: warning: use of `long double' type; its size may change in a future release
/sw/include/python2.3/objimpl.h:255: warning: (Long double usage is reported only once for each file.
/sw/include/python2.3/objimpl.h:255: warning: To disable this warning, use -Wno-long-double.)
cc -c -O block_file.c
cc -c -O int_array.c
cc -c -I/sw/include/python2.3 -O py_block_file.c
In file included from /sw/include/python2.3/Python.h:70,
from py_block_file.h:51,
from py_block_file.c:48:
/sw/include/python2.3/objimpl.h:255: warning: use of `long double' type; its size may change in a future release
/sw/include/python2.3/objimpl.h:255: warning: (Long double usage is reported only once for each file.
/sw/include/python2.3/objimpl.h:255: warning: To disable this warning, use -Wno-long-double.)
cc -L/sw/lib -bundle -bundle_loader /sw/bin/python -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/sw/include/python2.3 -I/usr/X11R6/include -I/sw/include -I/sw/include -I/include -O gl_handler.c
cc -c -DIGNORE_GL -I/sw/include/python2.3 -I/usr/X11R6/include -I/sw/include -I/sw/include -I/include -O py_gl_handler.c
In file included from /sw/include/python2.3/Python.h:70,
from py_gl_handler.h:51,
from py_gl_handler.c:48:
/sw/include/python2.3/objimpl.h:255: warning: use of `long double' type; its size may change in a future release
/sw/include/python2.3/objimpl.h:255: warning: (Long double usage is reported only once for each file.
/sw/include/python2.3/objimpl.h:255: warning: To disable this warning, use -Wno-long-double.)
cc -L/sw/lib -bundle -bundle_loader /sw/bin/python -o GlHandler.so -L/usr/X11R6/lib -L/sw/lib -L/sw/lib -L/lib \
python_util.o utility.o gl_handler.o py_gl_handler.o -lglut -lGLU -lGL -ltk8.4 -ltcl8.4 -lX11 -lXext -lm
ld: warning -L: directory name (/lib) does not exist
ld: can't locate file for: -lglut
make[1]: *** [GlHandler.so] Error 1
make: *** [global] Error 2
Sincerely,
--
Bruce D. Ray, Ph.D.
Associate Scientist, and Operations Director
NMR Center
IUPUI
Physics Dept.
402 N. Blackford St.
Indianapolis, IN 46202-3273
|