From: Arjen M. <arj...@wl...> - 2003-10-28 07:56:07
|
Rafael Laboissiere wrote: > > * Arjen Markus <arj...@wl...> [2003-10-27 14:06]: > > > I took this snapshot and created a whole new installation. But when I > > run the > > C and FORTRAN examples with xwin as the driver, I get the message: > > > > X Error of failed request: BadMatch (invalid parameter attributes) > > Major opcode of failed request: 1 (X_CreateWindow) > > Serial number of failed request: 10 > > Current serial number in output stream: 14 > > Very strange, indeed. Have any previous tarball worked for you? Could you > give more informations on your system and also on your configuration > options? > > -- > Rafael I do not quite remember - I took the official release of PLplot 5.2.1 when I started with this and I am not sure whether the examples worked correctly with the X Window driver (I messed around with the installation so I can not check this anymore). What I do know is that in order to make it work in my own application I had to fiddle a bit with the X Window driver. It turned out that at some deep level the plsc stream was doubly defined - it took me several hours to find this out and it still frightens me at night :D The changes I had to make were: plP_setpxl() and plP_setphy() take an argument pls (instead implicitly using plsc) I will try to see if this is a solution now too. Well, here is the summary: Configure results: command: ./configure --prefix=/p/delft3d/users/markus/plplot-new/plplot-5.2.1 system: i686-pc-linux-gnu have_x: yes prefix: /p/delft3d/users/markus/plplot-new/plplot-5.2.1 CC: gcc CXX: g++ F77: g77 LIB_TAG: d devices: dg300 png jpeg hp7470 hp7580 lj_hpgl imp ljii ljiip mem ntk null pbm plmeta ps psc pstex xterm tek4010 tek4107 mskermit versaterm vlt conex tek4010f tek4107f tk xfig xwin Available device drivers: static: dynamic: dg300.la gd.la hpgl.la impress.la ljii.la ljiip.la mem.la ntk.la null.la pbm.la plmeta.la ps.la pstex.la tek.la tk.la xfig.la xwin.la Compilation options: with_debug: no with_opt: yes with_warn: no with_profile: no Library options: enable_shared: yes enable_static: yes with_rpath: yes with_double: yes Optional libraries: with_qhull: no with_csa: yes with_freetype: yes with_pthreads: no Language Bindings: enable_tcl: yes enable_itcl: yes enable_cxx: yes enable_f77: yes enable_java: no enable_python: no enable_octave: yes Here is the output from uname -a: Linux hydrax 2.4.20 #10 SMP Wed May 14 17:26:48 CEST 2003 i686 unknown glibc: /lib/libc-2.2.5.so gcc: gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-113) Regards, Arjen |