Hi All,
It's been a long time since I used NCAR graphics for anything. But I just
came across a reason why I might need it again. I downloaded the current
source tarball and tried to build it on my new laptop, which is running
Debian testing.
Gack! It barfs at the first stage! [1] Now since Configure and ymake use
the C preprocessor a lot, and since gcc has gone from 2.95 to 3.3 since I
last used NCAR graphics, I wondered if there has been some change in cpp
that breaks the Configure script. Debian's gcc and cpp are links to
gcc-3.3 and cpp-3.3 and I have gcc-2.95 installed as a backup, so I
switched the links over to the 2.95 versions and tried again. Bingo. It
has not finished building yet, but it is making an honest attempt.
Hopefully this info will be of use to someone. Does anyone have a better
work-around for compiling with gcc-3.3 ?
All the best
Hugh
[1] The failure looks like this -- it is apparently caused by comments in
yMakefile that begin with # . Adding a space to the beginning of the
offending 12 lines fixes _this_ yMakefile, but there are many others with
the same problem.
lap1-pc:/usr/local/src/ncarg-4.3.1# ./Configure -v
Building top-level Makefile to determine System defaults
Making ymake from Makefile.ini in ./config first
cc -O -c -o ymake-filter.o ymake-filter.c
cc -O -o ymake-filter ymake-filter.o
continuing in /usr/local/src/ncarg-4.3.1
In file included from config/Template:843,
from <stdin>:1:
ymake.tmp13503:58: invalid preprocessing directive #The
ymake.tmp13503:59: invalid preprocessing directive #all
ymake.tmp13503:60: invalid preprocessing directive #It
ymake.tmp13503:61: invalid preprocessing directive #rebuilding
ymake.tmp13503:76: invalid preprocessing directive #The
ymake.tmp13503:77: invalid preprocessing directive #are
ymake.tmp13503:78: invalid preprocessing directive #code
ymake.tmp13503:79: invalid preprocessing directive #are
ymake.tmp13503:95: invalid preprocessing directive #The
ymake.tmp13503:96: invalid preprocessing directive #are
ymake.tmp13503:97: invalid preprocessing directive #code
ymake.tmp13503:98: invalid preprocessing directive #are
Error in <ymake>: Interrupted in /usr/local/src/ncarg-4.3.1
- restoring Makefile
cp: cannot stat Makefile.bak': No such file or directory
Unable to build Makefile - fix above errors and re-run.
Terminating configuration procedure
lap1-pc:/usr/local/src/ncarg-4.3.1#
============S=u=p=p=o=r=t===D=e=b=i=a=n===http://www.debian.org =========
Dr. Hugh C. Pumphrey | Tel. 0131-650-6026,Fax:0131-650-5780
School of GeoSciences | Replace 0131 with +44-131 if outside UK
The University of Edinburgh | Email: hcp@staffmail.ed.ac.uk
EDINBURGH EH9 3JZ, Scotland | web: www.geos.ed.ac.uk/contacts/homes/hcp
==========P=l=e=a=s=e==N=o=t=e==N=e=w==E=m=a=i=l==A=d=d=r=e=s=s==========
_______________________________________________
ncarg-talk mailing list
ncarg-talk@ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncarg-talk
This archive was generated by hypermail 2b29 : Thu Nov 13 2003 - 16:41:22 MST