Re: [Fink-users] Root5 udate error
Alexander Hansen said: > >> On Jan 22, 2017, at 03:06, Luigi Ernesto Zanotti >> wrote: >> >> since a week, when I run "update-all' I get the follwing sequence of >> errors while updating Root5. > > I see this, too. For a bit more context: > > g++ -O2 -m64 -pipe -W -Wall -Woverloaded-virtual -fsigned-char -fno-common > -Iinclude -DR__HAVE_CONFIG -I/sw/include -DG__REGEXP -DG__UNIX > -DG__SHAREDLIB -DG__ROOT -DG__REDIRECTIO -DG__OSFDLL -DG__STD_EXCEPTION > -DG__HAVE_CONFIG -DG__NOMAKEINFO -DG__CINTBODY > -I/sw/src/fink.build/root5-5.34.36-3/root/cint/cint/inc > -I/sw/src/fink.build/root5-5.34.36-3/root/cint/cint/src > -I/sw/src/fink.build/root5-5.34.36-3/root/cint/cint/src/dict -pthread > -Icint/cint/lib/gcc4strm -Wno-strict-aliasing -I. -o > cint/cint/src/dict/gcc4strm.o -c cint/cint/src/dict/gcc4strm.cxx > >> In file included from cint/cint/src/dict/gcc4strm.cxx:7: >> In file included from >> /sw/src/fink.build/root5-5.34.36-3/root/cint/cint/src/dict/gcc4strm.h:30: >> cint/cint/lib/gcc4strm/iostrm.h:85:17: error: no type named >> '__streambuf_type' in >> 'std::__1::basic_ostream' >> static ostream::__streambuf_type *G__store_cout; >>~^ > > > >> --- >> Distribution version: selfupdate-cvs Fri Jan 20 13:24:45 2017, 10.12, x86_64 >> Xcode.app: 8.2.1 >> Xcode command-line tools: 8.2.0.0.1.1480973914 > > Maybe something changed in Xcode such that this doesn’t work anymore? It just successfully built for for me on 10.11 (xcode.app 8.1, xcode CLI 8.2.0.0.1.1480973914). No gcc4strm objects were compiled, so maybe it's an xcode difference? Smells like c++ compatibility. dan -- Daniel Macks dm...@snetspace.org -- Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot ___ Fink-users mailing list Fink-users@lists.sourceforge.net List archive: https://sourceforge.net/p/fink/mailman/fink-users/ Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users
[Fink-users] xrootd4 4.5.0-1 build-fail (python detection)
On 10.11, if python27 is installed, it is detected by cmake: -- Found PythonLibs: /usr/lib/libpython2.7.dylib (found suitable version "2.7.10", minimum required is "2.4") -- Found PythonInterp: /sw/bin/python2.7 (found suitable version "2.7.13", minimum required is "2.4") [...] -- Python support:yes and then the build fails: Undefined symbols for architecture x86_64: "EnvInitializer::EnvInitializer()", referenced from: __GLOBAL__sub_I_PyXRootDCopyProcess.cc in PyXRootDCopyProcess.o "EnvInitializer::~EnvInitializer()", referenced from: __GLOBAL__sub_I_PyXRootDCopyProcess.cc in PyXRootDCopyProcess.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) error: command 'g++' failed with exit status 1 make[2]: *** [bindings/python/CMakeFiles/python_target.dir/build.make:62: bindings/python/python_bindings] Error 1 make[1]: *** [CMakeFiles/Makefile2:2493: bindings/python/CMakeFiles/python_target.dir/all] Error 2 If python27 is not installed, not detected, and the build process completes. There is no python dependency, so either the use of it needs to be disabled or the build with it detected needs to be fixed. For example, adding to the cmake invocation: -DENABLE_PYTHON=no \ disables it. It looks like there are python bindings built for external use (rather than internal python programming), so using python might require having python-version variants? dan -- Daniel Macks dma...@netspace.org -- Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot ___ Fink-users mailing list Fink-users@lists.sourceforge.net List archive: https://sourceforge.net/p/fink/mailman/fink-users/ Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users