Your svn copy is somehow not updating properly then. Line 30 of Score.h is part of a comment in svn head. I'd "rm -rf" any directories that you haven't modified and do svn update again. Every once in a while svn gets confused.
On Oct 4, 2011, at 8:13 AM, Davide Baù wrote:
> Yes, the directory modules/kernel is present. > I have tried to compile the same version on a linux machine. It does not compile either, but with a different error: > >> g++ -o build/src/imp_misc_all.os -c -isystem /usr/src/imp/trunk -Wall -Wextra -Wno-deprecated -Winit-self -Wstrict-aliasing=2 -Wcast-align -fno-operator-names -Wmissing-declarations -Wundef -Woverloaded-virtual -O3 -fexpensive-optimizations -ffast-math -ftree-vectorize -ffinite-math-only -fstrict-aliasing -fno-trapping-math -fno-signaling-nans -fno-float-store -Wno-unused -funsafe-loop-optimizations -fno-signed-zeros -freciprocal-math -fassociative-math -fvisibility=hidden -fPIC -DBOOST_ALL_NO_LIB -DIMPMISC_EXPORTS -DGCC_VISIBILITY -Ibuild/include -Ibuild/src build/src/imp_misc_all.cpp >> scons: *** [build/src/imp_restrainer_all.os] Error 1 >> /usr/src/imp/trunk/build/include/IMP/saxs/Score.h:30: Warning(401): Nothing known about base class 'RefCounted'. Ignored. >> scons: building terminated because of errors. > > > > On Oct 4, 2011, at 4:48 PM, Daniel Russel wrote: > >> For some reason scons isn't finding most of the module source (at the bottom it thinks there are no modules it can build). Are you sure there is a directory modules/kernel? >> >> On Oct 4, 2011, at 4:48 AM, Davide Baù wrote: >> >>> Hi all, >>> >>> I have a problem trying to compile the latest IMP build (r11272) on a MBP updated to Lion. >>> >>> I got the latest version of IMP (svn co http://svn.salilab.org/imp/trunk) but I'm not able to compile it (Errors building: tools/imppy.sh). >>> >>> Does anyone knows if it depends on the IMP version I'm trying to compile? >>> Davide >>> >>>> scons: *** [tools/imppy.sh] KeyError : 'kernel' >>>> Traceback (most recent call last): >>>> File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/scons-2.0.1/SCons/Action.py", line 1046, in execute >>>> result = self.execfunction(target=target, source=rsources, env=env) >>>> File "/usr/src/imp/r11272/scons_tools/imppy.py", line 61, in builder_script_file >>>> if data.get(env).modules['kernel'].external: >>>> KeyError: 'kernel' >>>> scons: building terminated because of errors. >>>> >>>> >>>> IMP configuration: >>>> boost ='yes' >>>> boostlibs ='' >>>> boostversion ='104601' >>>> boostlibsuffix ='-mt' >>>> endian ='little' >>>> boost_programoptions='yes' >>>> boost_programoptionslibs='boost_program_options-mt' >>>> build ='fast' >>>> prefix ='/usr' >>>> local ='True' >>>> pythonpath ='/usr/src/imp/r11272' >>>> libpath ='/opt/local/lib' >>>> ldlibpath ='/usr/src/imp/r11272' >>>> swigpath ='/usr/src/imp/r11272' >>>> datapath ='/usr/src/imp/r11272' >>>> cxxcompiler ='g++' >>>> cxxflags='-isystem /opt/local/include -Os -fno-common -arch i386 -arch x86_64 -Wall -Wextra -Wno-deprecated -Winit-self -Wstrict-aliasing=2 -Wcast-align -fno-operator-names -Wmissing-prototypes -Wundef -Woverloaded-virtual -O3 -fexpensive-optimizations -ffast-math -ftree-vectorize -ffinite-math-only -fstrict-aliasing -fno-trapping-math -fno-signaling-nans -fno-float-store -Wno-unused -funsafe-loop-optimizations' >>>> pythoncxxflags ='-isystem /opt/local/include -Os -fno-common -arch i386 -arch x86_64 -Wno-deprecated -Winit-self -Wcast-align -fno-operator-names -Wundef -Woverloaded-virtual -fexpensive-optimizations -ffast-math -ftree-vectorize -ffinite-math-only -fstrict-aliasing -fno-trapping-math -fno-signaling-nans -fno-float-store -Wno-unused -funsafe-loop-optimizations' >>>> bincxxflags='-isystem /opt/local/include -Os -fno-common -arch i386 -arch x86_64 -Wall -Wextra -Wno-deprecated -Winit-self -Wstrict-aliasing=2 -Wcast-align -fno-operator-names -Wundef -Woverloaded-virtual -O3 -fexpensive-optimizations -ffast-math -ftree-vectorize -ffinite-math-only -fstrict-aliasing -fno-trapping-math -fno-signaling-nans -fno-float-store -Wno-unused -funsafe-loop-optimizations' >>>> shliblinkflags =' -dynamiclib -headerpad_max_install_names' >>>> arliblinkflags ='' >>>> binlinkflags ='-headerpad_max_install_names' >>>> pythonlinkflags =' -bundle -bundle -flat_namespace -undefined suppress -headerpad_max_install_names' >>>> rpath ='True' >>>> static ='False' >>>> pythonsosuffix ='.so' >>>> pkgconfig ='True' >>>> path ="/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/opt/local/bin:/usr/local/git/bin:/Users/dbau/Work/scripts:/Users/dbau/Work/scripts/ucsf:/Users/dbau/Work/scripts/tools:/Users/dbau/Work/scripts/IMP:/Users/dbau/Scripts:/opt/local/bin:/usr/bin:/bin:/usr/local/git/bin:/usr/src/android-sdk-mac_x86/platforms:/usr/src/android-sdk-mac_x86/tools:/usr/src/android-sdk-mac_x86/platform-tools" >>>> python ="python" >>>> >>>> >>>> Enabled dependencies: Boost, Boost.ProgramOptions >>>> >>>> Disabled modules: em, core, container, saxs, multifit, modules, example_system_local, rmf, atom, em2d >>>> >>>> Disabled applications: rmf_tools, ligand_score, saxs_tools, Groel, nup84, multifit, em_tools, example_system, rnapii, foxs >>>> >>>> Errors building: >>>> tools/imppy.sh >>> >>> _______________________________________________ >>> IMP-dev mailing list >>> IMP-dev@salilab.org >>> https://salilab.org/mailman/listinfo/imp-dev >> >> >> _______________________________________________ >> IMP-dev mailing list >> IMP-dev@salilab.org >> https://salilab.org/mailman/listinfo/imp-dev > > > _______________________________________________ > IMP-dev mailing list > IMP-dev@salilab.org > https://salilab.org/mailman/listinfo/imp-dev