On 1/18/13 6:48 AM, Dominique Dhumieres wrote: > Updating to gdl-0.9.3-1 failed on > > Package manager version: 0.34.4 > Distribution version: selfupdate-rsync Fri Jan 18 14:34:27 2013, 10.5, powerpc > Trees: local/main stable/main stable/crypto unstable/main unstable/crypto > Xcode.app: 3.1.4 > Xcode command-line tools: 3.1.4 > Max. Fink build jobs: 1 > > (gcc version 4.2.1) with > > ... > g++ -DHAVE_CONFIG_H -I. -I.. -I/sw/include -I/sw/include -I/sw -I/sw/include > -I/sw/include -I/sw/opt/netcdf7/include -I/sw/include -I/sw/include > -I/sw/include/hdf -I/sw/include/hdf5 -I/sw/include -I/sw/include > -I/usr/X11/include -I/sw/opt/netcdf7/include -I/sw/include -g -O2 -MT > gdl-convert2.o -MD -MP -MF .deps/gdl-convert2.Tpo -c -o gdl-convert2.o `test > -f 'convert2.cpp' || echo './'`convert2.cpp > mv -f .deps/gdl-convert2.Tpo .deps/gdl-convert2.Po > g++ -DHAVE_CONFIG_H -I. -I.. -I/sw/include -I/sw/include -I/sw -I/sw/include > -I/sw/include -I/sw/opt/netcdf7/include -I/sw/include -I/sw/include > -I/sw/include/hdf -I/sw/include/hdf5 -I/sw/include -I/sw/include > -I/usr/X11/include -I/sw/opt/netcdf7/include -I/sw/include -g -O2 -MT > gdl-datatypes.o -MD -MP -MF .deps/gdl-datatypes.Tpo -c -o gdl-datatypes.o > `test -f 'datatypes.cpp' || echo './'`datatypes.cpp > getas.cpp:77: error: template-id 'GetAs<>' for 'typename Data_< > <template-parameter-1-1> >::Ty Data_<SpDPtr>::GetAs(SizeT)' does not match > any template declaration > getas.cpp:77: error: invalid function declaration > getas.cpp:86: error: template-id 'GetAs<>' for 'typename Data_< > <template-parameter-1-1> >::Ty Data_<SpDObj>::GetAs(SizeT)' does not match > any template declaration > getas.cpp:86: error: invalid function declaration > datatypes.cpp: In member function 'int Data_< <template-parameter-1-1> > >::Scalar2index(SizeT&) const [with Sp = SpDByte]': > datatypes.cpp:5419: instantiated from here > datatypes.cpp:2067: warning: comparison is always false due to limited range > of data type > datatypes.cpp: In member function 'int Data_< <template-parameter-1-1> > >::Scalar2index(SizeT&) const [with Sp = SpDUInt]': > datatypes.cpp:5421: instantiated from here > datatypes.cpp:2067: warning: comparison is always false due to limited range > of data type > basic_op.cpp: In function 'T pow(T, T) [with T = unsigned char]': > basic_op.cpp:4549: instantiated from 'Data_<Sp2>* Data_< > <template-parameter-1-1> >::Pow(BaseGDL*) [with Sp = SpDByte]' > datatypes.cpp:5419: instantiated from here > basic_op.cpp:4514: warning: comparison is always false due to limited range > of data type > basic_op.cpp: In function 'T pow(T, T) [with T = short unsigned int]': > basic_op.cpp:4549: instantiated from 'Data_<Sp2>* Data_< > <template-parameter-1-1> >::Pow(BaseGDL*) [with Sp = SpDUInt]' > datatypes.cpp:5421: instantiated from here > basic_op.cpp:4514: warning: comparison is always false due to limited range > of data type > make[3]: *** [gdl-datatypes.o] Error 1 > make[3]: Leaving directory `/sw/src/fink.build/gdl-0.9.3-1/gdl-0.9.3/src' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory `/sw/src/fink.build/gdl-0.9.3-1/gdl-0.9.3/src' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/sw/src/fink.build/gdl-0.9.3-1/gdl-0.9.3' > make: *** [all] Error 2 > ### execution of make failed, exit code 2 > ### execution of /tmp/fink.GqMHw failed, exit code 2 > Removing runtime build-lock... > Removing build-lock package... > /sw/bin/dpkg-lockwait -r fink-buildlock-gdl-0.9.3-1 > (Reading database ... 560088 files and directories currently installed.) > Removing fink-buildlock-gdl-0.9.3-1 ... > Failed: phase compiling: gdl-0.9.3-1 failed > > TIA > > Dominique >
So you're saying that your "g++" corresponds to g++-4.2? That's not what I show: $ env PATH=`fink dumpinfo -ePATH gdl` g++ --version i686-apple-darwin9-g++-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5493) I get the same error, though. gdl may need to force gcc|g++-4.2 -- Alexander Hansen, Ph.D. Fink User Liaison My package updates: http://finkakh.wordpress.com/ ------------------------------------------------------------------------------ Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 _______________________________________________ Fink-users mailing list Fink-users@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users