From: Don S. <sp...@or...> - 2003-08-22 15:13:58
|
Using the latest MacOS version of X11 (beta 3), I seem to have problems with choosing the X-Window option on plplot, resulting in the following error messages: Enter device number or keyword: 1 X protocol error: error=8 request=1 minor=0 X protocol error: error=3 request=18 minor=0 X protocol error: error=3 request=18 minor=0 X protocol error: error=3 request=18 minor=0 X protocol error: error=3 request=2 minor=0 X protocol error: error=9 request=55 minor=0 X protocol error: error=9 request=55 minor=0 X protocol error: error=9 request=14 minor=0 Error in XCreatePixmap: BadDrawable (invalid Pixmap or Window parameter). X protocol error: error=3 request=2 minor=0 X protocol error: error=3 request=2 minor=0 X protocol error: error=3 request=12 minor=0 X protocol error: error=3 request=8 minor=0 If I choose the xterm option, the plot displays okay, but it only comes up in black and white. This is based on plplot-5.0.4 which I think was the last version I was able to successfully install under MacOSX. I just downloaded plplot-5.2.1 and tried to install it. I ran into the following errors under the make step: make make all-recursive Making all in libltdl /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c ltdl.c mkdir .libs gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c ltdl.c -fno-common -DPIC -o .libs/ltdl.lo gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c ltdl.c -o ltdl.o >/dev/null 2>&1 mv -f .libs/ltdl.lo ltdl.lo /bin/sh ./libtool --mode=link gcc -g -O2 -o libltdlc.la ltdl.lo -ldl rm -fr .libs/libltdlc.la .libs/libltdlc.* .libs/libltdlc.* ar cru .libs/libltdlc.al ltdl.lo ranlib .libs/libltdlc.al creating libltdlc.la (cd .libs && rm -f libltdlc.la && ln -s ../libltdlc.la libltdlc.la) Making all in lib Making all in csa source='csa.c' object='csa.lo' libtool=yes \ depfile='.deps/csa.Plo' tmpdepfile='.deps/csa.TPlo' \ depmode=gcc /bin/sh ../../depcomp \ /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../include -I. -g -O2 -c -o csa.lo `test -f 'csa.c' || echo './'`csa.c mkdir .libs gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../include -I. -g -O2 -c csa.c -Wp,-MD,.deps/csa.TPlo -fno-common -DPIC -o .libs/csa.lo gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../include -I. -g -O2 -c csa.c -Wp,-MD,.deps/csa.TPlo -o csa.o >/dev/null 2>&1 mv -f .libs/csa.lo csa.lo /bin/sh ../../libtool --mode=link gcc -g -O2 -o libcsa.la -rpath /Applications/plplot_install-5.2.1/lib -version 0:0:0 -lm csa.lo rm -fr .libs/libcsa.la .libs/libcsa.* .libs/libcsa.* gcc -r -keep_private_externs -nostdlib -o .libs/libcsa.0.0.0.dylib-master.o csa.lo && gcc -dynamiclib -flat_namespace -undefined suppress -o .libs/libcsa.0.0.0.dylib .libs/libcsa.0.0.0.dylib-master.o -lm -lc -install_name /Applications/plplot_install-5.2.1/lib/libcsa.0.dylib -compatibility_version 1 -current_version 1.0 (cd .libs && rm -f libcsa.0.dylib && ln -s libcsa.0.0.0.dylib libcsa.0.dylib) (cd .libs && rm -f libcsa.dylib && ln -s libcsa.0.0.0.dylib libcsa.dylib) ar cru .libs/libcsa.a csa.o ranlib .libs/libcsa.a creating libcsa.la (cd .libs && rm -f libcsa.la && ln -s ../libcsa.la libcsa.la) make[3]: Nothing to be done for `all-am'. Making all in src source='pdfutils.c' object='pdfutils.lo' libtool=yes \ depfile='.deps/pdfutils.Plo' tmpdepfile='.deps/pdfutils.TPlo' \ depmode=gcc /bin/sh ../depcomp \ /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I../libltdl -g -O2 -c -o pdfutils.lo `test -f 'pdfutils.c' || echo './'`pdfutils.c mkdir .libs gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I../libltdl -g -O2 -c pdfutils.c -Wp,-MD,.deps/pdfutils.TPlo -fno-common -DPIC -o .libs/pdfutils.lo /usr/include/sys/dirent.h:73: undefined type, found `u_int32_t' /usr/include/sys/dirent.h:74: undefined type, found `u_int16_t' /usr/include/sys/dirent.h:75: undefined type, found `u_int8_t' /usr/include/sys/dirent.h:76: undefined type, found `u_int8_t' cpp-precomp: warning: errors during smart preprocessing, retrying in basic mode In file included from /usr/include/dirent.h:64, from ../include/plplotP.h:101, from pdfutils.c:30: /usr/include/sys/dirent.h:73: parse error before "u_int32_t" /usr/include/sys/dirent.h:75: parse error before "d_type" /usr/include/sys/dirent.h:76: parse error before "d_namlen" /usr/include/sys/dirent.h:83: parse error before '}' token make[2]: *** [pdfutils.lo] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Any suggestions? -Thanks, Don -- _________________________________________________________ Donald A. Spong, Fusion Energy Theory, ORNL Snail-mail: P. O. Box 2009 Oak Ridge, Tennessee 37831-8071 Phone: (865) 574-1304 FAX: (865) 576-7926 E-mail: sp...@or... web page: http://www.ornl.gov/fed/Theory/stci/stellarator_theory.html _________________________________________________________ |