From: <jc...@fe...> - 2003-01-24 20:10:46
|
On Friday 24 January 2003 19:15, Alan W. Irwin wrote: | On Fri, 24 Jan 2003, [iso-8859-1] Jo=E3o Cardoso wrote: | > Nope, it still gives the same error, described in my first e-mail. | > Even if configured with a plain: | > ./configure --prefix /home/jcard --enable-dyndrivers | > | > For completeness, I tried the same in Suse-8.1, and the problem is | > exactly the same as in the Red-Hat-8.0. I used several configure | > options, even a plain ./configure, all with the same result. | | So therefore this is a general problem with the PLplot-5.2.0 | tarball not limited to just octave. UGH. | | To add information, please also check your CVS build with your own | autotools. Is 'missing --run autoheader' invoked after | ./bootstrap.sh in that case as well? Not exactly. 'configure' runs OK in all platforms, and 'make' also=20 compiles many sources. It's only when 'make' finish building the plplot=20 library that it cd to the include directory and fails. (Notice, at the=20 end of this mail there is a clue to solve the problem) With my cvs tree the same happens: (...) meta ps psc pstex xterm tek4010 tek4107 mskermit versaterm vlt conex=20 tek4010f te(cd .libs && rm -f libplplot.la && ln -s ../libplplot.la=20 libplplot.la) make[1]: Leaving directory `/home/jcard/plplot/src' Making all in include make[1]: Entering directory `/home/jcard/plplot/include' cd .. && /bin/sh /home/jcard/plplot/missing --run autoheader WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot' WARNING: and `config.h.top', to define templates for `config.h.in' WARNING: is deprecated and discouraged. WARNING: Using the third argument of `AC_DEFINE' and WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without WARNING: `acconfig.h': WARNING: AC_DEFINE([NEED_MAIN], 1, WARNING: [Define if a function `main' is needed.]) WARNING: More sophisticated templates can also be produced, see the WARNING: documentation. autoheader: `include/plConfig.h.in' is unchanged touch ./plDevs.h.in cd .. && /bin/sh ./config.status include/plDevs.h config.status: creating include/plDevs.h config.status: include/plDevs.h is unchanged make all-am make[2]: Entering directory `/home/jcard/plplot/include' make[2]: Leaving directory `/home/jcard/plplot/include' make[1]: Leaving directory `/home/jcard/plplot/include' Making all in lib (...) Meanwhile, I tried it again in the OSF machine, removing the plplot=20 directory, unpacking, configuring and make, and it failed again, so it=20 seems that subsequent configure/make "solves" the problem? Odd. uhmm, under OSF the problem is another one, its '/bin/bash=20 =2E/config.status include/plDevs.h' that fails: WARNING: `autoheader' is missing on your system. You should only need=20 it if you modified `acconfig.h' or `configure.ac'. You might want to install the `Autoconf' and `GNU m4' packages. Grab them from any GNU archive site. touch ./plDevs.h.in cd .. && /bin/bash ./config.status include/plDevs.h make[1]: *** [stamp-h2] Error 139 make[1]: Leaving directory `/usr/users1/deec/jcard/plplot-5.2.0/include' make: *** [all-recursive] Error 1 bash-2.01$ /bin/bash ./config.status include/plDevs.h Segmentation fault <------------------------------------------------- bash-2.01$ /bin/sh ./config.status include/plDevs.h config.status: creating include/plDevs.h config.status: include/plDevs.h is unchanged And now a 'make -i' goes through the end, then make -i install, make -i=20 check, etc run OK. So, lets forget the OSF machine where *another* problem is breaking the=20 make. But it gives clues to solve the other systems problem. In OSF, as=20 autotools does not exists, the make continues after the warning (but=20 stops afterwards because of the *other*, not plplot related problem). In the platforms that have autotools, the problem arises because of a=20 version conflict. Just that. Joao | Of course it will work in that | case since your autotools will be self-consistent, but I don't think | missing should be invoked at all. | | Maurice, will you please take over as the leader of this debugging | effort? I just don't have the autoconf background that you do, and | this weekend is already solidly booked by my job to make up for the | time I have already spent on the PLplot release. | | Also, Maurice, if you confirm the problem, I will send out a notice | on PLplot general that we have found a problem with the tarball that | makes it not build on a number of platforms, and we are working to | resolve the problem. | | 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 Canadian Centre for Climate | Modelling and Analysis (www.cccma.bc.ec.gc.ca) and the PLplot | scientific plotting software package (plplot.org). | | __________________________ | | Linux-powered Science | __________________________ |