From MAILER-DAEMON Sat Jan 17 13:37:08 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1AhvJk-0004C7-6d
	for mharc-bug-ocrad@gnu.org; Sat, 17 Jan 2004 13:37:08 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1AZFCf-0006go-Ic
	for bug-ocrad@gnu.org; Wed, 24 Dec 2003 15:01:57 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1AZFC8-0006Ps-WB
	for bug-ocrad@gnu.org; Wed, 24 Dec 2003 15:01:56 -0500
Received: from [128.110.198.2] (helo=sunshine.math.utah.edu)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.24) id 1AZFC8-0006P9-Fx
	for bug-ocrad@gnu.org; Wed, 24 Dec 2003 15:01:24 -0500
Received: from psi.math.utah.edu
	(IDENT:fVzRrWV1y+km9EsDx+hgqMl0bPy3cveR@psi.math.utah.edu
	[128.110.198.32])
	by sunshine.math.utah.edu (8.12.10/8.12.10) with ESMTP id
	hBOIxs4g018541; Wed, 24 Dec 2003 11:59:54 -0700 (MST)
Received: from psi.math.utah.edu
	(IDENT:+jmb7nutb3OkJyrzDI+ZPPBpaPsTwWjF@localhost [127.0.0.1])
	by psi.math.utah.edu (8.12.10/8.12.10) with ESMTP id hBOIxsCC023179;
	Wed, 24 Dec 2003 11:59:54 -0700 (MST)
Received: (from beebe@localhost)
	by psi.math.utah.edu (8.12.10/8.12.10/Submit) id hBOIxsoQ023177;
	Wed, 24 Dec 2003 11:59:54 -0700 (MST)
From: "Nelson H. F. Beebe" <beebe@math.utah.edu>
To: bug-ocrad@gnu.org
X-US-Mail: "Center for Scientific Computing, Department of Mathematics, 110
	LCB, University of Utah, 155 S 1400 E RM 233, Salt Lake City, UT
	84112-0090, USA"
X-Telephone: +1 801 581 5254
X-FAX: +1 801 585 1640, +1 801 581 4148
X-URL: http://www.math.utah.edu/~beebe
Message-ID: <CMM.0.92.0.1072292394.beebe@psi.math.utah.edu>
X-Mailman-Approved-At: Sat, 17 Jan 2004 13:37:05 -0500
Cc: beebe@math.utah.edu
Subject: [Bug-ocrad] ocrad-0.6 build feedback
X-BeenThere: bug-ocrad@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Bug reports for ocrad, the GNU OCR program.  <bug-ocrad.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-ocrad>,
	<mailto:bug-ocrad-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-ocrad>
List-Post: <mailto:bug-ocrad@gnu.org>
List-Help: <mailto:bug-ocrad-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-ocrad>,
	<mailto:bug-ocrad-request@gnu.org?subject=subscribe>
Date: Wed, 24 Dec 2003 20:01:58 -0000
X-Original-Date: Wed, 24 Dec 2003 11:59:54 -0700 (MST)
X-List-Received-Date: Wed, 24 Dec 2003 20:01:58 -0000

The ocrad-0.6 build failed on several systems:

============================================================
Machinetype:            Apple PowerMac G4 (2 1400 MHz PowerPC 7450 CPUs, 2GB RAM);   Darwin 6.5 (MacOS 10.2.5)
Remote gcc version:     gcc (GCC) 3.3.2
Remote g++ version:     g++ (GCC) 3.3.2
Configure environment:  CC=gcc CXX=g++ LDFLAGS="-R/usr/local/lib" 
g++ -Wall -W -O2 -c -o main.o main.cc
main.cc:30:20: getopt.h: No such file or directory
main.cc: In function `int main(int, char**)':
main.cc:220: error: `no_argument' undeclared (first use this function)
main.cc:220: error: (Each undeclared identifier is reported only once for each 
   function it appears in.)
main.cc:221: error: `required_argument' undeclared (first use this function)
main.cc:232: error: elements of array `option long_options[]' have incomplete 
   type
main.cc:232: error: storage size of `long_options' isn't known
main.cc:235: error: `getopt_long' undeclared (first use this function)
main.cc:245: error: `optarg' undeclared (first use this function)
main.cc:287: error: `optind' undeclared (first use this function)
main.cc:232: confused by earlier errors, bailing out
make: *** [main.o] Error 1

============================================================
Machinetype:            Intel Pentium II (2 CPUs, 450 MHz);       FreeBSD 4.4.0
Remote gcc version:     2.95.3
Remote g++ version:     2.95.3
Configure environment:  CC=gcc CXX=g++ LDFLAGS="-L/home/staff/computing/beebe/i386/local/lib -R/home/staff/computing/beebe/i386/local/lib -L/usr/X11R6/lib" CPPFLAGS=-I/usr/local/include 

g++ -Wall -W -O2 -c -o iso_8859_1.o iso_8859_1.cc
In file included from iso_8859_1.cc:20:
iso_8859_1.h:103: parse error before `!'
iso_8859_1.h:104: parse error before `!'
iso_8859_1.h:105: parse error before `!'
iso_8859_1.h:108: parse error before `!'
iso_8859_1.cc:129: parse error before `('
iso_8859_1.cc:135: parse error before `('
iso_8859_1.cc:141: parse error before `('
iso_8859_1.cc:144: ANSI C++ forbids declaration `ch' with no type
iso_8859_1.cc:144: implicit declaration of function `int base_letter(...)'
iso_8859_1.cc:145: parse error before `return'
iso_8859_1.cc: In function `static bool ISO_8859_1::islower_small(unsigned char)':
iso_8859_1.cc:151: parse error before `('
iso_8859_1.cc:159: confused by earlier errors, bailing out

============================================================
Machinetype:            Intel Pentium III (600 MHz);    FreeBSD 5.0
Remote gcc version:     gcc (GCC) 3.3.2
Remote g++ version:     g++ (GCC) 3.3.2
Configure environment:  CC=gcc CXX=g++ LDFLAGS=-Wl,-rpath,/usr/local/lib 

g++ -Wall -W -O2 -c -o main.o main.cc
In file included from main.cc:30:
/usr/local/include/getopt.h:115: error: declaration of C function `int getopt()
   ' conflicts with
/usr/local/lib/gcc-lib/i386-unknown-freebsd5.0/3.3.2/include/unistd.h:379: error: previous
   declaration `int getopt(int, char* const*, const char*)' here
============================================================
Machinetype:            DEC Alpha 4100-5/466 (4 CPUs, 466 MHz, 2GB RAM);          OSF/1 4.0F
Remote cc version:      DEC C V5.9-005 on Digital UNIX V4.0 (Rev. 1229)
Remote cxx version:     Compaq C++ V6.2-024 for Digital UNIX V4.0F (Rev. 1229)
Configure environment:  CC=cc CXX=cxx LDFLAGS=-Wl,-rpath,/usr/local/lib 

g++ -Wall -W -O2 -c -o main.o main.cc
main.cc: In function `int main(int, char**)':
main.cc:220: error: `no_argument' undeclared (first use this function)
main.cc:220: error: (Each undeclared identifier is reported only once for each 
   function it appears in.)
main.cc:221: error: `required_argument' undeclared (first use this function)
main.cc:232: error: elements of array `option long_options[]' have incomplete 
   type
main.cc:232: error: storage size of `long_options' isn't known
main.cc:235: error: `getopt_long' undeclared (first use this function)
main.cc:232: confused by earlier errors, bailing out
make: *** [main.o] Error 1
============================================================
Machinetype:            DEC Alpha 4100-5/466 (4 CPUs, 466 MHz, 2GB RAM);          OSF/1 4.0F
Remote gcc version:     gcc (GCC) 3.3.2
Remote g++ version:     g++ (GCC) 3.3.2
Configure environment:  CC=cxx CFLAGS="-x cxx" CXX=cxx LDFLAGS=-Wl,-rpath,/usr/local/lib 

g++ -Wall -W -O2 -c -o main.o main.cc
main.cc:220: error: `no_argument' undeclared (first use this function)
main.cc:220: error: (Each undeclared identifier is reported only once for each 
   function it appears in.)
main.cc:221: error: `required_argument' undeclared (first use this function)
main.cc:232: error: elements of array `option long_options[]' have incomplete 
   type
main.cc:232: error: storage size of `long_options' isn't known
main.cc:235: error: `getopt_long' undeclared (first use this function)
main.cc:232: confused by earlier errors, bailing out
make: *** [main.o] Error 1

============================================================
/usr/local/bin/.: Permission denied.
Machinetype:            Sun Ultra Enterprise 450/400 (4 CPUs, 400 MHz);  Solaris 2.7
Remote c89 version:     cc: WorkShop Compilers 5.0 98/12/15 C 5.0
Remote cc version:      cc: WorkShop Compilers 5.0 98/12/15 C 5.0
Remote CC version:      CC: WorkShop Compilers 5.0 98/12/15 C++ 5.0
Remote gcc version:     2.95.3
Remote g++ version:     2.95.3
Configure environment:  CC=cc CXX=CC LDFLAGS=-R/usr/local/lib 

g++ -Wall -W -O2 -c -o iso_8859_1.o iso_8859_1.cc
In file included from iso_8859_1.cc:20:
iso_8859_1.h:103: parse error before `+'
iso_8859_1.h:104: parse error before `+'
iso_8859_1.h:105: parse error before `+'
iso_8859_1.h:108: parse error before `+'
iso_8859_1.cc:129: parse error before `('
iso_8859_1.cc:135: parse error before `('
iso_8859_1.cc:141: parse error before `('
iso_8859_1.cc:144: ANSI C++ forbids declaration `ch' with no type
iso_8859_1.cc:144: implicit declaration of function `int base_letter(...)'
iso_8859_1.cc:145: parse error before `return'
iso_8859_1.cc: In function `static bool ISO_8859_1::islower_small(unsigned char)':
iso_8859_1.cc:151: parse error before `('
iso_8859_1.cc:159: confused by earlier errors, bailing out
make: *** [iso_8859_1.o] Error 1

This one exhibits a problem: the autoconfiguration and/or Makefile is
forcing the use of g++, instead of allowing CXX to be set at configure
time to a suitable C++ compiler.
============================================================
Machinetype:            Intel Pentium III (600 MHz);    OpenBSD 3.2 GENERIC#25 i386
Remote gcc version:     gcc (GCC) 3.3.2
Remote g++ version:     g++ (GCC) 3.3.2
Configure environment:  CC=gcc CXX=g++ LDFLAGS=-Wl,-rpath,/usr/local/lib 

g++ -Wall -W -O2 -c -o main.o main.cc
main.cc:30:20: getopt.h: No such file or directory
main.cc: In function `int main(int, char**)':
main.cc:220: error: `no_argument' undeclared (first use this function)
main.cc:220: error: (Each undeclared identifier is reported only once for each 
   function it appears in.)
main.cc:221: error: `required_argument' undeclared (first use this function)
main.cc:232: error: elements of array `option long_options[]' have incomplete 
   type
main.cc:232: error: storage size of `long_options' isn't known
main.cc:235: error: `getopt_long' undeclared (first use this function)
main.cc:232: confused by earlier errors, bailing out
make: *** [main.o] Error 1

Several other builds failed as well, but the causes were one of the
above.

-------------------------------------------------------------------------------
- Nelson H. F. Beebe                    Tel: +1 801 581 5254                  -
- Center for Scientific Computing       FAX: +1 801 581 4148                  -
- University of Utah                    Internet e-mail: beebe@math.utah.edu  -
- Department of Mathematics, 110 LCB        beebe@acm.org  beebe@computer.org -
- 155 S 1400 E RM 233                                                         -
- Salt Lake City, UT 84112-0090, USA    URL: http://www.math.utah.edu/~beebe  -
-------------------------------------------------------------------------------



From MAILER-DAEMON Sat Jan 17 16:58:19 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1AhySR-0006VE-6W
	for mharc-bug-ocrad@gnu.org; Sat, 17 Jan 2004 16:58:19 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1AhySJ-0006U3-Pj
	for bug-ocrad@gnu.org; Sat, 17 Jan 2004 16:58:11 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1AhyRl-0005n3-Sx
	for bug-ocrad@gnu.org; Sat, 17 Jan 2004 16:58:10 -0500
Received: from [213.4.129.129] (helo=tsmtp5.mail.isp)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1AhyRk-0005iF-LT
	for bug-ocrad@gnu.org; Sat, 17 Jan 2004 16:57:36 -0500
Received: from teleline.es ([62.83.163.69]) by tsmtp5.mail.isp
	(terra.es) with ESMTP id HRNEGH01.VV9; Sat, 17 Jan 2004 20:07:29 +0100 
Message-ID: <400987F5.2020209@teleline.es>
Date: Sat, 17 Jan 2004 20:07:33 +0100
From: Antonio Diaz <ant_diaz@teleline.es>
User-Agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.4) Gecko/20030811
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: "Nelson H. F. Beebe" <beebe@math.utah.edu>
References: <CMM.0.92.0.1072292394.beebe@psi.math.utah.edu>
In-Reply-To: <CMM.0.92.0.1072292394.beebe@psi.math.utah.edu>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: bug-ocrad@gnu.org
Subject: [Bug-ocrad] Re: ocrad-0.6 build feedback
X-BeenThere: bug-ocrad@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Bug reports for ocrad, the GNU OCR program.  <bug-ocrad.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-ocrad>,
	<mailto:bug-ocrad-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-ocrad>
List-Post: <mailto:bug-ocrad@gnu.org>
List-Help: <mailto:bug-ocrad-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-ocrad>,
	<mailto:bug-ocrad-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 17 Jan 2004 21:58:12 -0000

Thanks for your feedback.

Somehow I didn't received (or lost) your message and I have seen it now 
on mail.gnu.org. Sorry.

Ocrad won't compile with g++ 2.95. You need at least g++ 3.0. The older 
version I personally test is 3.2.3.

I'll tell you about the other failures.

Regards.
Antonio Diaz, GNU Ocrad author and maintainer.


Nelson H. F. Beebe wrote:
> The ocrad-0.6 build failed on several systems:
> 




