Menu

Problem building on Redhat 7.2

Help
Anonymous
2002-09-17
2002-09-17
  • Anonymous

    Anonymous - 2002-09-17

    make on redhat 7.2 gives me the following - any ideas ???
    -------------------------------------------------------------------------------
                  Just parsing the OpenGL header file!
    -------------------------------------------------------------------------------
      Done!

    -------------------------------------------------------------------------------
                  Building libcrutil.so for Linux (DEBUG)     
    -------------------------------------------------------------------------------
      Done!

    -------------------------------------------------------------------------------
                  Building libcrmothership.so for Linux (DEBUG)     
    -------------------------------------------------------------------------------
      Done!

    -------------------------------------------------------------------------------
                  Building resetms for Linux (DEBUG)     
    -------------------------------------------------------------------------------
      Done!

    -------------------------------------------------------------------------------
                  Making your local configuration file
    -------------------------------------------------------------------------------
      Done!

    -------------------------------------------------------------------------------
                  Building libcrpacker.so for Linux (DEBUG)     
    -------------------------------------------------------------------------------
    Making the swapping version of pack_clipplane.c
      File "pack_swap.py", line 7
        print >> sys.stderr, "Usage: %s <filename>" % sys.argv[0]
               ^
    SyntaxError: invalid syntax
    gmake[1]: *** [pack_clipplane_swap.c] Error 1
    make: *** [packer.subdir] Error 2

     
    • Sean Ahern

      Sean Ahern - 2002-09-17

      Sounds like you have an outdated version of python.  Can you run "python -V' and see?  You need at least version 2.2.

       
    • Anonymous

      Anonymous - 2002-09-17

      Yes you are right. I had installed > 2.2, but the makefile was using old Python. I had to edit config/Linux.mk ; PYTHON = python2 rather than python.

      Thanks

       

Log in to post a comment.