[GiNaC-list] [marius@physics.aamu.edu: GiNaC 1.3.1 under Mac OS X 10.4]

Jens Vollinga vollinga at thep.physik.uni-mainz.de
Mon May 9 14:14:24 CEST 2005


----- Forwarded message from Marius Schamschula <marius at physics.aamu.edu> -----

Envelope-to: ginac-bugs at ginac.de
Delivery-date: Mon, 09 May 2005 03:26:17 +0200
To: ginac-bugs at ginac.de
From: Marius Schamschula <marius at physics.aamu.edu>
Subject: GiNaC 1.3.1 under Mac OS X 10.4
Date: Sun, 8 May 2005 20:25:37 -0500

Hi there,

I have build cln 1.1.9 and GiNaC 1.3.1 under Mac OS X 10.3 w/o any  
problems.

However, under Mac OS X 10.4 I have two problems.

1) /usr/bin/locale

This issue exisit both in cln 1.1.9 and GiNaC 1.3.1 (example from cln  
compile):

In file included from /usr/include/gcc/darwin/4.0/c++/fstream:47,
                 from ./base/cl_debugout.cc:15:
/usr/bin/locale:1: error: stray '\254' in program
/usr/bin/locale:1: error: stray '\237' in program
/usr/bin/locale:1: error: stray '\250' in program
/usr/bin/locale:1: error: stray '\206' in program
/usr/bin/locale:1: error: stray '\18' in program
/usr/bin/locale:1: error: stray '\2' in program
/usr/bin/locale:2: error: stray '\8' in program
/usr/bin/locale:2: error: stray '\184' in program
/usr/bin/locale:2: error: stray '\133' in program
/usr/bin/locale:2: error: stray '\1' in program
...
etc, many pages.

which I circumvented by commenting out references to #include  
<locale> in three files.

2) ginsh_parser.yy:

This currently is my show stopper.

if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./../ginac -I../ginac - 
DIN_GINAC  -I/usr/local/include  -g -O2 -MT ginsh_parser.o -MD -MP - 
MF ".deps/ginsh_parser.Tpo" -c -o ginsh_parser.o ginsh_parser.cc; \
then mv -f ".deps/ginsh_parser.Tpo" ".deps/ginsh_parser.Po"; else rm - 
f ".deps/ginsh_parser.Tpo"; exit 1; fi
ginsh_parser.yy:48:6: error: missing binary operator before token  
"wrapper"
ginsh_parser.yy:54:6: error: missing binary operator before token  
"wrapper"
ginsh_parser.yy:837:6: error: missing binary operator before token  
"wrapper"
ginsh_parser.yy:847:6: error: missing binary operator before token  
"wrapper"
ginsh_parser.yy:899:6: error: missing binary operator before token  
"wrapper"
ginsh_parser.yy: In function `char** fcn_completion(const char*, int,  
int)':
ginsh_parser.yy:836: error: invalid conversion from 'const char*' to  
'char*'
ginsh_parser.yy:846: error: invalid conversion from 'const char*' to  
'char*'
make: *** [ginsh_parser.o] Error 1

My configuration:

$ gcc --version
powerpc-apple-darwin8-gcc-4.0.0 (GCC) 4.0.0 20041026 (Apple Computer,  
Inc. build 4061)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There  
is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR  
PURPOSE.

$ gfortran --version
GNU Fortran 95 (GCC 4.0.0)
Copyright (C) 2005 Free Software Foundation, Inc.

GNU Fortran comes with NO WARRANTY, to the extent permitted by law.
You may redistribute copies of GNU Fortran
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING

$ bison --version
GNU Bison version 1.28

cln 1.1.9
readline 5.0 patchlevel 5
gmp 4.1.4

Marius
--
Marius Schamschula,  Alabama A & M University, Department of Physics

    The Center for Hydrology Soil Climatology and Remote Sensing
   http://optics.physics.aamu.edu/ - http://www.physics.aamu.edu/
          http://wx.aamu.edu/ - http://www.aamu.edu/hscars/


----- End forwarded message -----




More information about the GiNaC-list mailing list