From: Alan W. I. <ir...@be...> - 2014-08-26 20:21:54
|
On 2014-08-26 14:35-0400 Irena Johnson wrote: > Hello, > > I am trying to compile plplot-5.10.0 for PGF-13.6 and am getting the > following error: > > $ make 2>&1 |tee log.make > [ 0%] Built target deltaT-gen > [ 1%] Built target deltaT.h_built > [ 2%] Built target tai-utc-gen > [ 2%] Built target tai-utc.h_built > [ 2%] Built target qsastime > [ 2%] Built target plhershey-unicode-gen > [ 2%] Built target plhershey-unicode.h_built > [ 3%] Building C object > src/CMakeFiles/plplotd.dir/__/bindings/tcl/tclAPI.c.o > PGC-F-0223-String too long > (/pfs/tmp/ijohnson/plplot-5.10.0/bindings/tcl/plplot_parameters.h: 15) > PGC/x86-64 Linux 13.6-0: compilation aborted > make[2]: *** [src/CMakeFiles/plplotd.dir/__/bindings/tcl/tclAPI.c.o] Error 2 > make[1]: *** [src/CMakeFiles/plplotd.dir/all] Error 2 > make: *** [all] Error 2 > > > Could you please advise? Thank you! Hi Irena: I have changed the subject line to something more appropriate. Note, a quick workaround for any problem like this is to disable the relevant PLplot component. So I suggest trying the cmake option -DENABLE_tcl=OFF to avoid compiling anything to do with Tcl including bindings/tcl/tclAPI.c. (For quick one-line annotation of each of the PLplot components look for the string ENABLE in CMakeCache.txt.) Getting back to the principal issue, it appears to me that gcc is accepting all those "\n\" continuation lines in bindings/tcl/plplot_parameters.h, but your Portland Group compiler is not. We will look further at this. Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); the Time Ephemerides project (timeephem.sf.net); PLplot scientific plotting software package (plplot.sf.net); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ |