Date: Thu, 18 Dec 2003 00:04:05 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 272 ************************************************** Wednesday 17 December 2003 Number 272 ************************************************** Subjects for today 1 Re: Re: problems compiling gnuplot : Franz Bakan" 2 Re: Re: problems compiling gnuplot : Dave and Natalie" 3 Re: Make bugs? : Dave and Natalie" 4 Re: Re: problems compiling gnuplot : Dave and Natalie" 5 Re: problems compiling gnuplot : Franz Bakan" **= Email 1 ==========================** Date: Tue, 16 Dec 2003 17:01:37 +0100 (CET) From: "Franz Bakan" Subject: Re: Re: problems compiling gnuplot On Tue, 16 Dec 2003 10:10:39 +0100 (CET), Franz Bakan wrote: >>doc2gih.exe crashes and kills make (any version) > >that's because of an empty allterm.h file >(caused by sed crash with newer make.exes) > >delete this file and run again the make-version, update: be shure you have gsort.exe (just a copy of sort.exe) in your path. Without this generating allterm.h also fails. Franz **= Email 2 ==========================** Date: Tue, 16 Dec 2003 08:00:47 -0800 From: "Dave and Natalie" Subject: Re: Re: problems compiling gnuplot On Tue, 16 Dec 2003 10:10:39 +0100 (CET), Franz Bakan wrote: >On Mon, 15 Dec 2003 21:36:07 -0800, Dave and Natalie wrote: > >>doc2gih.exe crashes and kills make (any version) > >that's because of an empty allterm.h file >(caused by sed crash with newer make.exes) > >delete this file and run again the make-version, >that works for you. Actually the problem was a lack of gsort.exe fixed by copying sort.exe to gsort.exe Dave New Email Address - please update your Address book dave_yeo at paralynx.com **= Email 3 ==========================** Date: Tue, 16 Dec 2003 08:13:14 -0800 From: "Dave and Natalie" Subject: Re: Make bugs? On Tue, 16 Dec 2003 10:02:45 +0100 (CET), Franz Bakan wrote: >On Mon, 15 Dec 2003 23:28:18 -0800, Dave and Natalie wrote: > >>Seems make 3.76 to make 3.79.2a1r2 (newest I have) have >>problems with capital letters in a cmd.exe as shell setting > >As allready told I see the same problems with >newer make-versions, but 3.76.1 (the version that >comes with UX2BS) works here. Using the make included with UX2BS X:\usr\src\gnuplot\src >make -v GNU Make version 3.76.1, by Richard Stallman and Roland McGrath. I get X:\usr\src\gnuplot\src >make -f ../config/makefile.os2 IF EXIST config.h DEL config.h IF: No such file or directory make: *** [config.h] Error 127 Whereas using X:\usr\src\gnuplot\src >make3_75 -v GNU Make version 3.75, by Richard Stallman and Roland McGrath. and copying sort.exe to gsort.exe I get X:\usr\src\gnuplot\src >make3_75 -f ../config/makefile.os2 IF EXIST config.h DEL config.h copy ..\config\config.os2 config.h 1 file(s) copied. and the compile finishes, no sed problems etc. I also did the configure and make thing and ended up with binaries (needed 2 small changes) for PM and Xfree86. The X version crashed much the same. Dave New Email Address - please update your Address book dave_yeo at paralynx.com **= Email 4 ==========================** Date: Tue, 16 Dec 2003 08:16:02 -0800 From: "Dave and Natalie" Subject: Re: Re: problems compiling gnuplot On Tue, 16 Dec 2003 17:01:37 +0100 (CET), Franz Bakan wrote: >update: > >be shure you have gsort.exe (just a copy of sort.exe) >in your path. Without this generating allterm.h also >fails. (Laughing) sent 50 seconds after my mail saying basically the same thing Dave New Email Address - please update your Address book dave_yeo at paralynx.com **= Email 5 ==========================** Date: Tue, 16 Dec 2003 17:19:05 +0100 (CET) From: "Franz Bakan" Subject: Re: problems compiling gnuplot Hi Petr, Hi list, On Mon, 15 Dec 2003 16:23:44 +0100 (CET), Petr Mikulik wrote: >> I tried a little bit now and x11 works very limited: >> >> Within HOBX11 it works like this: >> >> gnuplot>set term x11 >> gnuplot> plot sin(x) >> >> X11-window opens and the x11-clock-cursor appears but no plot. >> When I now press 'return' in the gnuplot-VIO window the plot appears in >> the X11-Winwow. > >Ok, I see them same problems too (with XFree86 as well as with PMX). >If I recompile gnuplot without MOUSE, then it works OK. > >One guess: there is somewhere code using PIPE_IPC (and thus stdin/stdout of >gnuplot_x11) which is not encapsulated by #ifdef PIPE_IPC ... #endif. > >Note that PIPE_IPC is unixish communication gnuplot_x11 => gnuplot, while >OS/2 is using OS2_IPC for this. > > >> Because your binaries from May 2003 work without such problems with HOBX11 > >Maybe you could try to download some later version of gnuplot, by a command >like > cvs -z3 -D "June 1, 2003" checkout -P gnuplot cvs -z3 -d:pserver:anonymous at cvs.sourceforge.net:/cvsroot/gnuplot checkout -D "June 21, 2003" -P -d gnuplot-2003-06-21 is the working syntax. >and see where it was still working => thus figure out which patch made >the problem ... if my guess is OK. done and now I can tell you that 20. June 2003 works and 21. June 2003 doesn't. So one of these patches are the culprit: From Changelog: 2003-06-20 Ethan Merritt * src/gplt_x11.c: It turns out that yesterday's patch breaks the "pause -1" command (it always returns immediately). I have temporarily disabled the new code while I track down the problem. The offending line is now protected by #ifdef X11_FONT_UPDATE. * term/x11.trm: Add an interlock so that the gnuplot_x11<->x11.trm font info exchange is only performed once per splot, rather than every time the view is changed using the mouse. 2003-06-19 Ethan Merritt * src/gplt_x11.c src/graphics.c src/mouse.c src/mousecmn.h term/x11.trm Use existing mouse communication pipe to send X11 font characteristics back from gnuplot_x11 to x11.trm. This allows gnuplot to lay out the plot with v_char and h_char sizes that are correct for the current default X11 font. This patch slightly changes the timing of initial operations over the pipe, and adds a FFLUSH(), so there is a remote possibility that it also fixes a reported problem in which gnuplot_x11 eats CPU cycles while supposedly idle. This patch should have no effect if gnuplot is configured with --disable-mouse. * term/pslatex.trm: Escape % to %% inside printf() statement. .... >> >> 6. make >> >> IF EXIST config.h DEL config.h >> >> make: IF: Command not found >> > >> >would lowercase letters help? >> > e.g. if exist ... >> >> Yes, it helps with IF EXIST (good idea !) >> but the build-process then fails later with: > >Fine, I'm changing this in cvs. thanks >> G:\src\gnuplot\src>make -f ..\config\makefile.os2 >> Building allterm.h >> echo T=..\term\ | tr \\ / >4alltrm.sh >> grep "(T)" makefile.all | \ >> sed "s/CORETERM = /CORETERM=%/;s/xlib.trm/xlib.trm%/" | \ >> sed "s/%/\""/g;s/(/{/g;s/)/}/g" >>4alltrm.sh >> sed: -e expression #1, char 11: Unknown option to `s' >> >> Process terminated by SIGPIPE >> make.exe: *** [..\docs\allterm.h] Error 1 > >My sed is 3.02.80 (from April 2000) and it accepts the command OK. > >And my make is 3.76.1 (Sept 2000). the newer makes > 3.76.1 are also the culprit for this. with make 3.76.1 I also don't see this 'sed-error' Bye Franz