Problems with building bindings.

Member Site Forums PyRosetta PyRosetta – General Problems with building bindings.

Viewing 0 reply threads
  • Author
    Posts
    • #455
      Anonymous

        Hello, I’m having trouble running the bindings, I appear to be having some problems with the boost library. There are two copies of the boost library installed on the cluster that I work at; One for communal use and one I have installed for PyRosetta. I have followed the instructions, but the installation appears to be using files from the communal install, which is off limits. I would use these files, however, I cannot modify the preprocessor.hpp file as described. Here is my error message:

        [abworth@cactus bindings]$ ./BuildBindings.py -I/home/abworth/y/include/boost -I/home/abworth/y/include -L /home/abworth/y/lib/ -L .
        -I
        -L
        -1 []
        –BuildMiniLibs True
        –gccxml gccxml
        –boost_lib boost_python-xgcc40-mt-1_38
        –update False
        Building mini libraries…
        cd /home/abworth/Softwares/Rosetta3.1/rosetta_source && ./scons.py mode=release
        scons: Reading SConscript files …
        svn: ‘.’ is not a working copy
        scons: done reading SConscript files.
        scons: Building targets …
        scons: `numeric’ is up to date.
        scons: `utility’ is up to date.
        scons: `ObjexxFCL’ is up to date.
        scons: `core’ is up to date.
        scons: `protocols’ is up to date.
        scons: `devel’ is up to date.
        scons: done building targets.
        cp libs…
        cd /home/abworth/Softwares/Rosetta3.1/rosetta_source && cp build/src/release/linux/2.6/64/x86/gcc//lib* /home/abworth/Softwares/Rosetta3.1/rosetta_source/src/python/bindings/rosetta

        buildModules(…): ‘utility’,
        Directory: utility
        Processing utility
        Excluding new header: utility/FixedSizeLexicographicalIterator.hh
        Excluding new header: utility/FixedSizeLexicographicalIterator.tmpl.hh
        Excluding new header: utility/OrderedTuple.hh
        Excluding header: utility/all.hh
        Excluding header: utility/fix_boinc_read.hh
        Excluding new header: utility/fixedsizearray1.hh
        Excluding header: utility/random.functions.hh
        Excluding header: utility/sort_predicates.hh
        Excluding header: utility/vector0_bool.hh
        Excluding header: utility/vectorL.hh
        Excluding header: utility/vectorL_bool.hh

        Creating __init__.py file…
        INFO Parsing source file “utility/BitSet.hh” …
        INFO gccxml cmd: /home/abworth/y/bin/gccxml -I”.” -I”../src/platform/linux” -I”../external/include” -I”../external/boost_1_38_0″ “utility/BitSet.hh” -fxml=”/tmp/tmpsR4lte.xml”
        INFO GCCXML version – 0.9
        /home/abworth/y/lib/python2.5/site-packages/pygccxml/parser/scanner.py:337: UserWarning: unable to find out array size from expression “”
        warnings.warn( msg )
        Manual excluding: utility
        MAKING PACKAGE: utility
        set_default_call_policies

        INFO: file “_BitSet.cc” – updated( 0.000000 seconds )
        Adding by bindings writen by hand…
        Compiling…
        gcc /home/abworth/Softwares/Rosetta3.1/rosetta_source/src/python/bindings/rosetta/utility/_BitSet.cc -o /home/abworth/Softwares/Rosetta3.1/rosetta_source/src/python/bindings/rosetta/utility/_BitSet.o -c -ffloat-store -ffor-scope -fPIC -DBOOST_PYTHON_MAX_ARITY=20 -I../external/include -I/home/abworth/y/include/boost -I../src/platform/linux -I../src
        In file included from /usr/include/boost/python/detail/prefix.hpp:13,
        from /usr/include/boost/python/args.hpp:8,
        from /usr/include/boost/python.hpp:11,
        from /home/abworth/Softwares/Rosetta3.1/rosetta_source/src/python/bindings/rosetta/utility/_BitSet.cc:7:
        /usr/include/boost/python/detail/wrap_python.hpp:50:23: error: pyconfig.h: No such file or directory
        /usr/include/boost/python/detail/wrap_python.hpp:74:24: error: patchlevel.h: No such file or directory

        any thoughts?

    Viewing 0 reply threads
    • You must be logged in to reply to this topic.