From bug-octave-request at bevo dot che dot wisc dot edu Mon Aug 2 03:49:37 1999 Subject: Re: octave 2.0.14 make check From: Thomas Walter To: bpriest at comspacecorp dot com CC: bug-octave at bevo dot che dot wisc dot edu, bpriest@comspacecorp.com Date: Mon, 2 Aug 1999 10:49:12 +0200 >>>>> "Bill" == Bill Priest writes: Bill> All, Bill> From the "generic" GNU INSTALL file for octave 2.0.14 comes the Bill> following: Bill> 2. Type `make' to compile the package. If you want, you can override Bill> the `make' variables CXXFLAGS, CFLAGS, FFLAGS, and LDFLAGS like this: Bill> make CXXFLAGS=-O2 CFLAGS=-O2 FFLAGS=-O LDFLAGS=-s Bill> 3. If the package comes with self-tests and you want to run them, Bill> type `make check'. If you're not sure whether there are any, try it; Bill> if `make' responds with something like Bill> make: *** No way to make target `check'. Stop. Bill> then the package does not come with self-tests. Bill> 4. Type `make install' to install programs, data files, and Bill> documentation. Bill> Notice the order of operation is Bill> make;make check;make install Bill> Actually the order needs to be changed if shared libraries are Bill> used for libcruft.so, liboctave.so, and liboctinterp.so because Bill> old libraries would be used. If the generation of the libraries or Bill> contents of the libraries changes from version to version then Bill> incompatible libraries can be used. Using gcc-2.95 as small Bill> incompatible change was made and this caused 15 failures in Bill> octave make check whereas before there was only 1 failure. Bill> make; make install; make check Bill> I looked in INSTALL.OCTAVE and README and did not find a reference Bill> to this. Bill> This is a minor problem; but I didn't catch it and I have been Bill> building octave on Linux for an egcs regression test. You can solve this if 'octave' would use 'libtool', 'automake' and 'autoconf'. I investigated some time to add this to 'octave-2.1.14'. Currently I have the first versions of 'Makefile.am' in each directory, with some bugs in the dependencies I think. So far so good. The problem is: I don't know a way to build a library from a subdirectory tree. Either 'libtool' cannot do this or I do not understand the docs. Therefore the current state of my try to switch to the auto-stuff is: I have to build a library in every subdirectory which has sources, this means for example 'libcruft' is split in some parts. Hints are welcome. Bye Thomas -- Platzangst: Der dauerhafte Zustand eines Luftballons. ---------------------------------------------- Dipl. Phys. Thomas Walter Inst. f. Physiklische Chemie II Egerlandstr. 3 Tel.: ++9131-85 27326 / 27330 91058 Erlangen, Germany email: walter at pctc dot chemie dot uni-erlangen dot de --------------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. To ensure that development continues, see www.che.wisc.edu/octave/giftform.html Instructions for unsubscribing: www.che.wisc.edu/octave/archive.html ---------------------------------------------------------------------