From bug-octave-request at bevo dot che dot wisc dot edu Fri Mar 24 14:07:30 2000 Subject: Comments on octave-2.0.16 From: "Nelson H. F. Beebe" To: bug-octave at bevo dot che dot wisc dot edu Cc: beebe at math dot utah dot edu Date: Fri, 24 Mar 2000 14:07:22 -0600 (CST) I attempted builds of octave-2.0.16 on these systems, with universal failure: Apple Macintosh PPC G3 Rhapsody 5.5 DEC Alpha OSF/1 4.0F HP 9000/735 HP-UX 10.01 IBM PowerPC AIX 4.2 Intel Pentium III GNU/Linux 2.2.12-20smp (Redhat 6.1) NeXT Turbostation Mach 3.3 SGI Indigo/2 IRIX 5.3 SGI Origin 200 IRIX 6.5 Sun SPARC GNU/Linux 2.2.12-42smp (Redhat 6.1) Sun SPARC Solaris 2.6 Sun SPARC Solaris 2.7 Compiler levels are gcc-2.95.2 on all but the NeXT and Apple systems. On most, the compilations completed, only to die with ./klibtool[615]: ../: cannot execute make[2]: *** [../kpathsea/libkpathsea.la] Error 126 make[1]: *** [kpathsea] Error 2 make: *** [all] Error 2 make[2]: Leaving directory `/local/build/octave-2.0.16/kpathsea' make[1]: Leaving directory `/local/build/octave-2.0.16' On the NeXT systems, configure would not complete; we will be retiring them in the next few weeks, so I'm not concerned about them. On the DEC Alpha, the build completed, but the tests failed with Native configuration is alpha-dec-osf4.0 === octave tests === ERROR: Couldn't find tool init file. make[2]: *** [check] Error 1 make[2]: Leaving directory `/export/home/0023/build-alpha-osf1/octave-2.0.16/test' On the Apple, configure reports checking host system type... configure: error: can not guess host type; you must specify one Rhapsody is a threadless, X11-less UNIX running on Macintosh PowerPC hardware; about 1/3 of the GNUware I try to build on it will not build. uname reports % uname -a Rhapsody rhapsody.math.utah.edu 5.5 Kernel Release 5.5: Fri Jul 2 13:10:26 PDT 1999; root(rcbuilder):Objects/kernel-154.14.obj~10/RELEASE_PPC Copyright (c) 1988-1995,1997-1999 Apple Computer, Inc. All Rights Reserved. Power Macintosh % uname -m Power Macintosh % uname -n rhapsody.math.utah.edu % uname -r 5.5 % uname -s Rhapsody % uname -v Kernel Release 5.5: Fri Jul 2 13:10:26 PDT 1999; root(rcbuilder):Objects/kernel-154.14.obj~10/RELEASE_PPC Copyright (c) 1988-1995,1997-1999 Apple Computer, Inc. All Rights Reserved. On the Sun Solaris systems, the build completed, but the checks failed with cd test; make check make[2]: Entering directory `/local/build/octave-2.0.16/test' wrong # args: should be "catch command ?varName?" while compiling "catch set logname [exec whoami] tmp" ("if" else script line 3) while compiling "if [info exists env(LOGNAME)] then { set logname $env(LOGNAME) } else { # try getting it with whoami catch set logname [exec whoami] t..." ("if" else script line 2) while compiling "if [info exists env(USER)] then { set logname $env(USER) } else { if [info exists env(LOGNAME)] then { set logname $env(LOGNAME) } else { ..." invoked from within "if [string match "" $logname] then { if [info exists env(USER)] then { set logname $env(USER) } else { if [info exists env(LOGNAME)] then { ..." (file "/usr/local/bin/../lib/dejagnu/runtest.exp" line 211) make[2]: *** [check] Error 1 make[2]: Leaving directory `/local/build/octave-2.0.16/test' We are running expect version 5.31.2. That is the latest version included in the tcl 8.2 and 8.3 distributions, from ftp://ftp.scriptics.com/pub/tcl/expect/expect5.31.tar.gz On the SGI IRIX 5.3 system, compilation failed like this: make[3]: Entering directory `/export/home/0021/build-indigo-irix5/octave-2.0.16/libcruft/amos' mkdir pic cat dgamln.f | f2c > dgamln.c dgamln: cc -ansi -mips2 -O2 -c -I. -I../.. -I../../liboctave -I../../src -I../../libcruft/misc -I../../glob -I../../glob -DHAVE_CONFIG_H -g dgamln.c cfe: Error: dgamln.c: 6: Cannot open file f2c.h for #include make[3]: *** [dgamln.o] Error 1 We DO have that header file, but it is in /usr/local/include, and the SGI compiler doesn't search that directory by default. Since f2c.h might change between releases, but is otherwise architecture independent, perhaps the best thing for octave is to include its own private copy that matches the C file(s) produced by f2c. ------------------------------------------------------------------------------- - Nelson H. F. Beebe Tel: +1 801 581 5254 - - Center for Scientific Computing FAX: +1 801 585 1640, +1 801 581 4148 - - University of Utah Internet e-mail: beebe at math dot utah dot edu - - Department of Mathematics, 322 INSCC beebe at acm dot org beebe@computer.org - - 155 S 1400 E RM 233 beebe at ieee dot org - - Salt Lake City, UT 84112-0090, USA URL: http://www.math.utah.edu/~beebe - ------------------------------------------------------------------------------- ----------------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.che.wisc.edu/octave/octave.html How to fund new projects: http://www.che.wisc.edu/octave/funding.html Subscription information: http://www.che.wisc.edu/octave/archive.html -----------------------------------------------------------------------