From bug-request at octave dot org Mon Sep 27 08:38:42 2004 Subject: Make V2.1.60 under gcc 3.3.3 and gcc 3.4.1 fail (Cygwin) From: Fabian at isas-berlin dot de To: bug at octave dot org Date: Mon, 27 Sep 2004 06:07:53 -0500 Last week, I've already reported failure of successful compilation of Octave V2.1.59 on a Cygwin System. See . In that approach, I have used compiler versions gcc (GCC) 3.2 20020927 (prerelease) g++ (GCC) 3.2 20020927 (prerelease) . Your replies told me, that gcc version 3.2 might be too old. So I made a completely NEW installation of Cygwin last week, updating it to Cygwin Version 1.5.19 ( 2004-Sep-5 Release ). Here is an excerpt of what '$ cygcheck -s' reports about my Cygwin setup: Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 4 ... MAKE_MODE = `unix' ... Cygwin DLL version info: DLL version: 1.5.11 DLL epoch: 19 DLL identifier: cygwin1 Build date: Sat Sep 4 23:17:09 EDT 2004 ... I've installed gcc (GCC) 3.3.3 (cygwin special) g++ (GCC) 3.3.3 (cygwin special) even though a newer Compiler version is also vailable ( see below close to end of this message ). then downloaded latest Octave sources V2.1.60, and tried to compile it, configured as usual: './configure --enable-shared --disable-static'. Unfortunately '$ make' still stops with the following message while builing some documentation: --- snip --- making doc-files DOC_FILES = balance.df besselj.df betainc.df ...(long list)... toplev.df utils.df variables.df making gendoc.cc g++ -g -O2 -o gendoc.exe gendoc.cc ./gendoc > DOCSTRINGS-t mv DOCSTRINGS-t DOCSTRINGS make[4]: Leaving directory `/cygdrive/c/.../Octave-2.1.60/src' make -C ../../scripts DOCSTRINGS make[4]: Entering directory `/cygdrive/c/.../Octave-2.1.60/scripts' make[4]: `DOCSTRINGS' is up to date. make[4]: Leaving directory `/cygdrive/c/.../Octave-2.1.60/scripts' g++ -g -O2 -o munge-texi.exe munge-texi.cc making arith.texi from arith.txi invalid doc file format make[3]: *** [arith.texi] Error 1 make[3]: Leaving directory `/cygdrive/c/.../Octave-2.1.60/doc/interpreter' make[2]: *** [interpreter] Error 2 make[2]: Leaving directory `/cygdrive/c/.../Octave-2.1.60/doc' make[1]: *** [doc] Error 2 make[1]: Leaving directory `/cygdrive/c/.../Octave-2.1.60' make: *** [all] Error 2 At that stage, I got: $ ls -al src/DOC* -rw-r--r-- 1 Fabian mkpasswd 234883 Sep 27 09:50 src/DOCSTRINGS $ ls -al scripts/DOC* -rw-r--r-- 1 Fabian mkpasswd 0 Sep 27 09:41 scripts/DOCSTRINGS $ ls -l doc/interpreter/arith.texi* -rwx------+ 1 Administ mkpasswd 31276 Sep 24 20:00 doc/interpreter/arith.texi -rw-r--r-- 1 Fabian mkpasswd 0 Sep 27 09:50 doc/interpreter/arith.texi.t I'm definitely shure, that 'scripts/DOCSTRINGS' has been initially a large file containing function But why is 'scripts/DOCSTRINGS' now empty at that stage And why is 'arith.texi.t' created as an empty file ? What's going on. ========================================== In addition, I also installed the newer Compiler Version gcc (GCC) 3.4.1 (cygming special) g++ (GCC) 3.4.1 (cygming special) and gave it a chance to Compile Octave V2.1.60 I didn't see much difference. GCC 3.4.1 did also failat the same point ('invalid doc file format') as GCC 3.3.3 did. How can I finish compilation ? Thanks, Rolf Fabian ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------