Re: [ROOT] strange pb in compiling TProofServ on MacOSX.3

From: Remi Mommsen (remigius.mommsen@cern.ch)
Date: Wed Nov 19 2003 - 19:30:50 MET


Hi,

That's a know problem with 10.3. It is fixed in the cvs version or you 
can apply the attached patch.

(Or you can install root via fink (http://fink.sf.net ) where the patch 
is applied automatically.)

HTH,
	Remi




On Wednesday, November 19, 2003, at 09:58 AM, buskulic@lapp.in2p3.fr wrote: > Hi, > > I'm trying to compile ROOT on Panther and had the following pb. Did > anybody > see this ? > > lapp-dh225:~/root buskulic$ g++ -g -pipe -W -Wall -fsigned-char > -fno-common > -I/usr/X11R6/include -Iinclude -I/sw/include -o > proof/src/TProofServ.o -c > proof/src/TProofServ.cxx > In file included from /usr/include/pthread.h:61, > from > /usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/gthr- > default.h:37, > from /usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/ > gthr.h:98, > from /usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/ > c++io.h:37, > from /usr/include/gcc/darwin/3.3/c++/bits/fpos.h:44, > from /usr/include/gcc/darwin/3.3/c++/iosfwd:49, > from > /usr/include/gcc/darwin/3.3/c++/bits/stl_algobase.h: > 70, > from > /usr/include/gcc/darwin/3.3/c++/bits/stl_tree.h:86, > from /usr/include/gcc/darwin/3.3/c++/map:66, > from include/TProof.h:43, > from proof/src/TProofServ.cxx:46: > /usr/include/unistd.h:215: error: parse error before `,' token > In file included from /usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/ > gthr.h:98, > from /usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/ > c++io.h:37, > from /usr/include/gcc/darwin/3.3/c++/bits/fpos.h:44, > from /usr/include/gcc/darwin/3.3/c++/iosfwd:49, > from > /usr/include/gcc/darwin/3.3/c++/bits/stl_algobase.h: > 70, > from > /usr/include/gcc/darwin/3.3/c++/bits/stl_tree.h:86, > from /usr/include/gcc/darwin/3.3/c++/map:66, > from include/TProof.h:43, > from proof/src/TProofServ.cxx:46: > /usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/gthr-default.h: In > function > ` > int flock(int, int)': > /usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/gthr-default.h:98: > error: > cannot > declare static function inside another function > /usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/gthr-default.h: In > function > ` > int __gthread_active_p()': > ... > ... > ... > > It is a fresh install of MacOSX 10.3, with last update (10.3.1) and > last > XCode tools > > Any hints ? > > Damir > > --------------------------------------------------------------------- Q: How many kinds of physicists are there? A: Three. Those who can count and those who can't. ********************************************************************* Remigius K. Mommsen e-mail: mommsen@slac.stanford.edu University of California, Irvine URL: http://cern.ch/mommsen c/o SLAC voice: ++1 (650) 926-3595 2575 Sand Hill Road #35 fax: ++1 (650) 926-3882 Menlo Park, CA 94025, US home: ++1 (650) 233-9041 *********************************************************************



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:16 MET