From: Vinod G. <vi...@Pr...> - 2005-07-07 03:23:14
|
I downloaded plplot-5.5.3 source, unpaked it on REHL3 machine, saw no error in doing ./configure but make returned the following errors at the end: ... gcw.c: In function `proc_str': gcw.c:1023: `FontLookup' undeclared (first use in this function) gcw.c:1023: (Each undeclared identifier is reported only once gcw.c:1023: for each function it appears in.) gcw.c:1023: `N_TrueTypeLookup' undeclared (first use in this function) gcw.c:1029: warning: assignment makes pointer from integer without a cast gcw.c:1055: warning: assignment makes pointer from integer without a cast make[2]: *** [gcw_la-gcw.lo] Error 1 make[2]: Leaving directory `/tmp/plplot-5.5.3/drivers' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/plplot-5.5.3' make: *** [all] Error 2 Any help? Vinod |
From: Alan W. I. <ir...@be...> - 2005-07-07 15:14:18
|
On 2005-07-06 23:23-0400 Vinod Gupta wrote: > I downloaded plplot-5.5.3 source, unpaked it on REHL3 machine, saw no error > in doing ./configure but make returned the following errors at the end: > > ... > gcw.c: In function `proc_str': > gcw.c:1023: `FontLookup' undeclared (first use in this function) > gcw.c:1023: (Each undeclared identifier is reported only once > gcw.c:1023: for each function it appears in.) > gcw.c:1023: `N_TrueTypeLookup' undeclared (first use in this function) > gcw.c:1029: warning: assignment makes pointer from integer without a cast > gcw.c:1055: warning: assignment makes pointer from integer without a cast > make[2]: *** [gcw_la-gcw.lo] Error 1 > make[2]: Leaving directory `/tmp/plplot-5.5.3/drivers' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/tmp/plplot-5.5.3' > make: *** [all] Error 2 > > Any help? You have not given us enough information. At minimum please give us _all_ the output from the compilation of gcw.c. Start with the previous libtool command that starts with "if /bin/sh ../../../libtool" The full ./configure output (captured using "./configure --YOUROPTIONS >& configure.out" and sent as an attachment) would be useful as well. Alan __________________________ Alan W. Irwin email: ir...@be... phone: 250-727-2902 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); PLplot scientific plotting software package (plplot.org); the Yorick front-end to PLplot (yplot.sf.net); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ |
From: Vinod G. <vi...@Pr...> - 2005-07-07 15:38:44
Attachments:
configure.out
make.out
|
On 07/07/2005 11:13 AM, Alan W. Irwin wrote: > On 2005-07-06 23:23-0400 Vinod Gupta wrote: > >> I downloaded plplot-5.5.3 source, unpaked it on REHL3 machine, saw no >> error in doing ./configure but make returned the following errors at >> the end: >> >> ... >> gcw.c: In function `proc_str': >> gcw.c:1023: `FontLookup' undeclared (first use in this function) >> gcw.c:1023: (Each undeclared identifier is reported only once >> gcw.c:1023: for each function it appears in.) >> gcw.c:1023: `N_TrueTypeLookup' undeclared (first use in this function) >> gcw.c:1029: warning: assignment makes pointer from integer without a >> cast >> gcw.c:1055: warning: assignment makes pointer from integer without a >> cast >> make[2]: *** [gcw_la-gcw.lo] Error 1 >> make[2]: Leaving directory `/tmp/plplot-5.5.3/drivers' >> make[1]: *** [all-recursive] Error 1 >> make[1]: Leaving directory `/tmp/plplot-5.5.3' >> make: *** [all] Error 2 >> >> Any help? > > > You have not given us enough information. > > At minimum please give us _all_ the output from the compilation of gcw.c. > Start with the previous libtool command that starts with "if /bin/sh > ../../../libtool" > > The full ./configure output (captured using "./configure --YOUROPTIONS >& > configure.out" and sent as an attachment) would be useful as well. > > Alan > __________________________ > Alan W. Irwin > email: ir...@be... > phone: 250-727-2902 Sure, the stdout and stderr output of configure and make are attached in two files. I did not use any command line options for configure or make. Vinod |
From: Alan W. I. <ir...@be...> - 2005-07-07 16:38:57
|
On 2005-07-07 11:38-0400 Vinod Gupta wrote: > Sure, the stdout and stderr output of configure and make are attached in two > files. > I did not use any command line options for configure or make. > > Vinod Thanks, Vinod, for that full information. You have found a bug in our gcw.c device driver. To work around it, turn off the gcw device by using the configure option --disable-gcw. (BTW, you should probably also specify the ./configure --prefix=whatever option. See "./configure --help" for more information.) To the developers lurking on list. I replicated the bug by the following combination of ./configure options (a corner case Vinod tripped over because he didn't have certain fonts installed.) ./configure --prefix=/usr/local/plplot --disable-static --without-freetype Tom, I recall similar errors with ps.c in the past, but I cannot recall how we fixed it. I think we had to change the ps configuration, some conditional compilation flags, or we may have had to move some code to a better file location that was not affected by #ifdef HAVE_FREETYPE. I also tried the additional --disable-gcw option above to make sure ps.c worked with the --without-freetype option, and it does. So Tom, if for gcw.c you follow what is done for the ps.c case for font lookup functions, you should be all right. Alan __________________________ Alan W. Irwin email: ir...@be... phone: 250-727-2902 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); PLplot scientific plotting software package (plplot.org); the Yorick front-end to PLplot (yplot.sf.net); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ |
From: Vinod G. <vi...@Pr...> - 2005-07-07 17:36:21
Attachments:
make-install.out
|
On 07/07/2005 12:37 PM, Alan W. Irwin wrote: > On 2005-07-07 11:38-0400 Vinod Gupta wrote: > >> Sure, the stdout and stderr output of configure and make are attached >> in two files. >> I did not use any command line options for configure or make. >> >> Vinod > > > Thanks, Vinod, for that full information. You have found a bug in our > gcw.c > device driver. To work around it, turn off the gcw device by using the > configure option --disable-gcw. (BTW, you should probably also > specify the > ./configure --prefix=whatever option. See "./configure --help" for more > information.) > > To the developers lurking on list. I replicated the bug by the following > combination of ./configure options (a corner case Vinod tripped over > because > he didn't have certain fonts installed.) > > ./configure --prefix=/usr/local/plplot --disable-static > --without-freetype > > Tom, I recall similar errors with ps.c in the past, but I cannot > recall how > we fixed it. I think we had to change the ps configuration, some > conditional compilation flags, or we may have had to move some code to a > better file location that was not affected by #ifdef HAVE_FREETYPE. > > I also tried the additional --disable-gcw option above to make sure ps.c > worked with the --without-freetype option, and it does. So Tom, if for > gcw.c > you follow what is done for the ps.c case for font lookup functions, you > should be all right. > > Alan > __________________________ Thanks Alan. Now make works but make install returns a couple of errors. make-install.out is attached. Vinod |
From: Alan W. I. <ir...@be...> - 2005-07-07 19:19:01
|
On 2005-07-07 13:36-0400 Vinod Gupta wrote: > Thanks Alan. Now make works but make install returns a couple of errors. > make-install.out is attached. > > Vinod Sorry, Vinod, I cannot reproduce this problem on my Debian stable system so we are going to need a lot more detail to figure out what is wrong with the way that libcsirocsa and/or libplplotd are configured and built on your RHEL3 system. So please start fresh again (starting with a fresh unpack of the tarball with everything removed from the prefix area that was installed before). Then give us the *.out files generated by ./configure --your options >& configure.out make >& make.out make install >& make_install.out Some of this may seem repetitive, but we may get some significant changes (or the install might even work) when you do everything from a fresh start. Also, a fresh start means we will see every step in the configuration, build, and install process rather than just the previous partial results, and the full results will make this easier for us to figure this out. Rafael, I am sure it is something in our Makefile.am files that needs to be changed to more standard form for the csiro libraries, but unless you can spot something by quick visual inspection, I believe the requested extra details from Vinod (see above) will be necessary for one of us to figure this out. Alan __________________________ Alan W. Irwin email: ir...@be... phone: 250-727-2902 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); PLplot scientific plotting software package (plplot.org); the Yorick front-end to PLplot (yplot.sf.net); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ |
From: Rafael L. <rla...@us...> - 2005-07-07 19:38:21
|
* Alan W. Irwin <ir...@be...> [2005-07-07 12:17]: > Rafael, I am sure it is something in our Makefile.am files that needs to be > changed to more standard form for the csiro libraries, but unless you can > spot something by quick visual inspection, I believe the requested extra > details from Vinod (see above) will be necessary for one of us to figure > this out. I do not think that the problem is on our side. It may be that Vinod is doing something non-conventional with --prefix and DESTDIR. Vinod: we need to know *_exactly_* the commands that you issued for configure, make, and make install (i.e. we need all the arguments you gave in the command line), as well as the full output of the commands. -- Rafael |