[Fink-users] problem building ocrad in fink
Running fink under MacOS 10.11.6 (El Capitan), I get the error messages copied below (just what I take to be the relevant part of the full "fink install ocrad" output). This error persists after a successful "fink self-update", "fink update-all", and whether fink configuration is set to 1 or 2 simultaneous builds (mine is a 2-core cpu). I have no clue as towhat the "std::abs" problem is, Does anyone? Thanks, Bob Wohlhueter ** OK. Now you can run make. /usr/bin/make g++ -Wall -W -O2 -c -o common.o common.cc g++ -Wall -W -O2 -c -o mask.o mask.cc g++ -Wall -W -O2 -c -o rational.o rational.cc g++ -Wall -W -O2 -c -o rectangle.o rectangle.cc g++ -Wall -W -O2 -c -o track.o track.cc g++ -Wall -W -O2 -c -o ucs.o ucs.cc g++ -Wall -W -O2 -c -o page_image.o page_image.cc track.cc:46:21: error: no member named 'abs' in namespace 'std' 10 * std::abs( r1.bottom() - r2.bottom() ) <= mean_height ) ~^ track.cc:48:32: error: no member named 'abs' in namespace 'std' if( val > 1 && 10 * std::abs( r1.vcenter() - r2.vcenter() ) <= mean_height ) ~^ track.cc:51:30: error: no member named 'abs' in namespace 'std' if( val > 2 && 10 * std::abs( r1.vcenter() - r2.vcenter() ) <= mean_height ) ~^ 3 errors generated. make: *** [track.o] Error 1 make: *** Waiting for unfinished jobs ### execution of /usr/bin/make failed, exit code 2 ### execution of /tmp/fink.vEKPq failed, exit code 2 Removing runtime build-lock... Removing build-lock package... /sw/bin/dpkg-lockwait -r fink-buildlock-ocrad-0.21-1 (Reading database ... 299251 files and directories currently installed.) Removing fink-buildlock-ocrad-0.21-1 ... Failed: phase compiling: ocrad-0.21-1 failed -- Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today. http://sdm.link/xeonphi___ 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
Re: [Fink-users] problem building ocrad in fink
> On Oct 31, 2016, at 09:53, Robert Wohlhueter > wrote: > > Running fink under MacOS 10.11.6 (El Capitan), I get the error messages > copied below (just what I take to be the relevant part of the full "fink > install ocrad" output). This error persists after a successful "fink > self-update", "fink update-all", and whether fink configuration is set to 1 > or 2 simultaneous builds (mine is a 2-core cpu). > > I have no clue as towhat the "std::abs" problem is, Does anyone? > > Thanks, > > Bob Wohlhueter > > ** > > OK. Now you can run make. > /usr/bin/make > g++ -Wall -W -O2 -c -o common.o common.cc > g++ -Wall -W -O2 -c -o mask.o mask.cc > g++ -Wall -W -O2 -c -o rational.o rational.cc > g++ -Wall -W -O2 -c -o rectangle.o rectangle.cc > g++ -Wall -W -O2 -c -o track.o track.cc > > g++ -Wall -W -O2 -c -o ucs.o ucs.cc > g++ -Wall -W -O2 -c -o page_image.o page_image.cc > track.cc:46:21: error: no member named 'abs' in namespace 'std' > 10 * std::abs( r1.bottom() - r2.bottom() ) <= mean_height ) >~^ > track.cc:48:32: error: no member named 'abs' in namespace 'std' > if( val > 1 && 10 * std::abs( r1.vcenter() - r2.vcenter() ) <= > mean_height ) > ~^ > track.cc:51:30: error: no member named 'abs' in namespace 'std' > if( val > 2 && 10 * std::abs( r1.vcenter() - r2.vcenter() ) <= > mean_height ) > ~^ > 3 errors generated. > make: *** [track.o] Error 1 > make: *** Waiting for unfinished jobs > ### execution of /usr/bin/make failed, exit code 2 > ### execution of /tmp/fink.vEKPq failed, exit code 2 > Removing runtime build-lock... > Removing build-lock package... > /sw/bin/dpkg-lockwait -r fink-buildlock-ocrad-0.21-1 > (Reading database ... 299251 files and directories currently installed.) > Removing fink-buildlock-ocrad-0.21-1 ... > Failed: phase compiling: ocrad-0.21-1 failed As an additional bit of information: what command-line tools version are you on ('fink list -t xcode’ is an easy way to get that)? -- Alexander Hansen, Ph.D. Fink User Liaison -- Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today. http://sdm.link/xeonphi___ 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
[Fink-users] Failed: phase compiling: libgraphviz238-shlibs-2.38.0-5 failed
Hello all, After the recent security update, and the update to X11, I decided to rebuild my fink install from scratch. I'm running into the following error during the build phase of libgraphviz238-shlibs-2.38.0-5 in the process of satisfying a dependency for gimp2-svg. swig -ocaml -co swig.ml CXX libgv_guile_la-gv_guile.lo CXX libgv_java_la-gv_java.lo CXX libgv_lua_la-gv_lua.lo CXX libgv_ocaml_la-gv_ocaml.lo CXX libgv_php_la-gv_php.lo gv_ocaml.cpp:1039:51: error: use of undeclared identifier 'int64' swig_type_info *ty = (swig_type_info *)(long)SWIG_Int64_val(... ^ gv_ocaml.cpp:845:31: note: expanded from macro 'SWIG_Int64_val' #define SWIG_Int64_val(v) (*((int64 *) SWIG_Data_custom_val(v))) ^ [.] fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[4]: *** [libgv_ocaml_la-gv_ocaml.lo] Error 1 Let me know if I didn't include the relevant error text, and I'll send more. System info: Package manager version: 0.41.0 Distribution version: selfupdate-rsync Mon Oct 31 02:06:54 2016, 10.10, x86_64 Trees: local/main stable/main Xcode.app: 7.2.1 Xcode command-line tools: 7.2.0.0.1.1447826929 Max. Fink build jobs: 4 Thanks, Sean Lake -- Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today. http://sdm.link/xeonphi ___ 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
Re: [Fink-users] Failed: phase compiling: libgraphviz238-shlibs-2.38.0-5 failed
On 10/31/16 6:09 PM, Sean Lake wrote: > Hello all, > > After the recent security update, and the update to X11, I decided to rebuild > my fink install from scratch. I'm running into the following error during the > build phase of libgraphviz238-shlibs-2.38.0-5 in the process of satisfying a > dependency for gimp2-svg. > > > swig -ocaml -co swig.ml > CXX libgv_guile_la-gv_guile.lo > CXX libgv_java_la-gv_java.lo > CXX libgv_lua_la-gv_lua.lo > CXX libgv_ocaml_la-gv_ocaml.lo > CXX libgv_php_la-gv_php.lo > gv_ocaml.cpp:1039:51: error: use of undeclared identifier 'int64' > swig_type_info *ty = (swig_type_info *)(long)SWIG_Int64_val(... > ^ > gv_ocaml.cpp:845:31: note: expanded from macro 'SWIG_Int64_val' > #define SWIG_Int64_val(v) (*((int64 *) SWIG_Data_custom_val(v))) A fix was just checked into CVS. Hanspeter -- Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today. http://sdm.link/xeonphi ___ 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