|
From: Joao C. <jc...@fe...> - 2002-01-21 17:10:15
|
On Monday 21 January 2002 7:28 am, Alan W. Irwin wrote:
> On Mon, 21 Jan 2002, [iso-8859-1] Jo=E3o Cardoso wrote:
> > On Sunday 20 January 2002 16:59, Alan W. Irwin wrote:
> > | [...]But you may have some different configuration
> > | that did not work as expected or there may be something wrong with
> > | the m4 pre-processing that occurs on your machine.
In the x06f.f file, after m4 processing, appears indeed a very long line =
as=20
the first fortran source line:
! Displays the plotter=20
AND,CMP,COMPLEX,DREAL,FALSE,IMAG,IMPLICIT_REAL,INCLUDED_FMACS,NO,OFF,ON,O=
R,REAL,REAL_FUN,SYSTEM,TRUE,YES,__file__,__gnu__,__line__,__m4_version__,=
__unix__,builtin,cdefine,cexpand,changecom,changequote,changesyntax,conca=
t,debugfile,debugmode,decr,define,defn,divert,divnum,dnl,dumpdef,errprint=
,esyscmd,eval,format,getstring,if_aix,if_bsd,if_dbl,if_dgux,if_false,if_h=
pux,if_linux,if_sunos,if_sx,if_sysv,if_true,if_ultrix,ifdef,ifelse,ifndef=
,ignore,implicit_none,include,incr,index,indir,len,m4exit,m4wrap,macro_do=
,maketemp,patsubst,popdef,pushdef,regexp,shift,sinclude,substr,symbols,sy=
ncoutput,syscmd,sysval,traceoff,traceon,translit,undef,undefine,undivert=20
for PLPOIN <--- from the comment until here is a one comment line!
implicit none <--- this is another line
integer i, j, k
real*4 x, y
character*3 text
! Full sized page for display
So it seems that this is a m4 problem. But suse-7.2 is not that old, and =
my=20
suse system is updated with the last changes... (rpm says that m4 was "Bu=
ild=20
Date: Fri 11 May 2001")
The problem seem to be the word "symbols" in the comments and in the last=
=20
plmtex() arguments of file x06f.fm4; if I remove the word "symbols" from =
the=20
comments, the lines will be no more expanded by m4 as above. What is the =
real=20
cure for this?
Joao
> > jcard@rick:~/tmp/plplot/tmp > g77 --version
> > GNU Fortran 0.5.25 19991024 (release)
> >
> > jcard@rick:~/tmp/plplot/tmp > m4 --version
> > GNU m4 1.4o
>
> Again, I cannot reproduce the problem you have reported. I configured
> exactly as you above on a clean checkout. All the major flags at the e=
nd
> of config message were identical to yours. The driver lists looked the
> same (although that should not matter). My system found f77 rather than
> g77, but on Debian woody that is a symlink to g77.
>
> I get the following:
>
> f77 --version
> GNU Fortran 0.5.25 20010319 (prerelease)
> [+ lots of stuff about the lack of warranty, etc.]
>
> m4 --version
> GNU m4 1.4
>
> make fdemos works like a charm, and I even tried x06f and x07f and they
> produced the same boring (;-) results as always.
>
> I can think of two possibilities.
>
> (1) Somehow your plplot system is confused by
> a mix of old and new results. Please try again with a clean checkout (=
if
> you didn't have that already).
>
> (2) I am also somewhat concerned about the two-yr old date on your g77
> compiler compared to mine. Maybe there is too long a line (as mentione=
d in
> one of your error messages) for your old compiler. In that case, find =
the
> longest line in your x06f.f source, find the equivalent line in x06f.fm=
4
> and split it into two lines (by using almost any character in the 6th
> column for the continued line as you can see from other *.fm4 files tha=
t
> have continuations) and try again. If a line split solves the problem,=
go
> ahead and commit the modified x06f.fm4 results. And similarly for x07f=
=2Efm4
> assuming that problem is due to the same cause.
>
> I don't want this to drag on so while Joao is doing further tests with
> clean checkouts/and or line splitting will others please take a few
> minutes to try to reproduce the bug? We may need more eyeballs on this
> one to solve it, and I am hamstrung because I cannot reproduce it.
>
> Thanks in advance.
>
> Alan
>
>
> _______________________________________________
> Plplot-devel mailing list
> Plp...@li...
> https://lists.sourceforge.net/lists/listinfo/plplot-devel
|