Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-37

Compilation broken on Ubuntu Lucid (twitter branch)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      The first problem is as follows:

      WAR [20111013-16:53:27.595] deploylib: /bin/sh: pushd: not found
      WAR [20111013-16:53:27.595] deploylib: python2.6: can't open file 'setup.py': [Errno 2] No such file or directory
      WAR [20111013-16:53:27.595] deploylib: /bin/sh: popd: not found
      WAR [20111013-16:53:27.595] deploylib: make[1]: *** [../lib/python/mesos.py] Error 127
      WAR [20111013-16:53:27.595] deploylib: make: *** [src] Error 2
      WAR [20111013-16:53:27.595] deploylib: install: cannot stat `./bin/killtree.sh': No such file or directory
      WAR [20111013-16:53:27.595] deploylib: make: *** [install] Error 1

      I was able to work around this issue by running "rm /bin/sh; ln -s /bin/bash /bin/sh". However then I ran into this issue:

      g++ -o ../../bin/tests/process_spawn process_spawn.cpp
      process_spawn.cpp: In function 'void dummywait()':
      process_spawn.cpp:16: error: 'getchar' was not declared in this scope
      process_spawn.cpp:16: error: 'EOF' was not declared in this scope
      process_spawn.cpp:17: error: 'INT_MAX' was not declared in this scope
      make[2]: *** [../../bin/tests/process_spawn] Error 1
      make[2]: Leaving directory `/home/ubuntu/mesos/src/tests'
      make[1]: *** [all] Error 2
      make[1]: Leaving directory `/home/ubuntu/mesos/src'
      make: *** [src] Error 2

      Attachments

        1. 0001-include-limits.h-in-process_spawn-to-fix-compilati.patch
          0.3 kB
          Andy Konwinski
        2. MESOS-37.patch
          0.3 kB
          Ed Kohlwey

        Issue Links

          Activity

            People

              ekohlwey Ed Kohlwey
              marmbrus Michael Armbrust
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: