Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-1010

FIWARE.Request.Tech.WebUI.Synchronization.CannotInstallFromSourceCodeUbuntu

    Details

    • Type: extRequest
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Fix Version/s: 2021
    • Component/s: FIWARE-TECH-HELP
    • Labels:
      None
    • HD-Chapter:
      WebUI
    • HD-Enabler:
      Synch - Tundra

      Description

      Responsible: fiware@ulpgc.es
      Tested GE(s):Synchronization GE

      Environment:

      • Filab Cloud
        Machine ID: 733f975e-cc41-43fa-8b53-55431c4ba8b0
        Region: Spain
        Test user: ulpgc-test-web-ui
        Image name: Ubuntu Server 14.04.1 (64 bits)
      • Local
        Operating System: Ubuntu 14.04.1 (64 bits)
        Virtualization software: VirtualBox 4.3.18
        Host Operating System: Windows 8 (64 bits)

      Installation guide:
      https://forge.fi-ware.org/plugins/mediawiki/wiki/fiware/index.php/Synchronization_-_Installation_and_Administration_Guide#Building_from_source
      Installation instructions for Ubuntu:
      https://github.com/realXtend/tundra/blob/tundra2/doc/dox/BuildOnUbuntu.dox

      Description:

      When we try to install from source following the steps of the Installation
      guide, the Cmake script halts and complains about not being able to delete
      a file named CMakeCache.txt. Due to this error, the installation cannot be
      finished and it’s not clear how to follow up.

      The error has been replicated in an Ubuntu Server 14.04 machine deployed on
      FiLab and locally in a virtualized Ubuntu Desktop 14.04.

      Console output:
      test@test-sync-14-04-source:~/naali/tools/Linux$ sudo ./build-deps.bash
      +++ readlink -f ./build-deps.bash
      ++ dirname /home/test/naali/tools/Linux/build-deps.bash
      + viewer=/home/test/naali/tools/Linux/../..
      + deps=/home/test/naali/tools/Linux/../../../naali-deps
      + mkdir -p /home/test/naali/tools/Linux/../../../naali-deps
      ++ cd /home/test/naali/tools/Linux/../../../naali-deps
      ++ pwd
      + deps=/home/test/naali-deps
      ++ cd /home/test/naali/tools/Linux/../..
      ++ pwd
      + viewer=/home/test/naali
      + prefix=/home/test/naali-deps/install
      + build=/home/test/naali-deps/build
      + tarballs=/home/test/naali-deps/tarballs
      + tags=/home/test/naali-deps/tags
      ++ grep -c '^processor' /proc/cpuinfo
      + nprocs=1
      + mkdir -p /home/test/naali-deps/tarballs /home/test/naali-deps/build
      /home/test/naali-deps/install/lib /home/test/naali-deps/install/share
      /home/test/naali-deps/install/etc /home/test/naali-deps/install/include
      /home/test/naali-deps/tags
      + export OGRE_HOME=/home/test/naali-deps/install
      + OGRE_HOME=/home/test/naali-deps/install
      + export
      PATH=/home/test/naali-deps/install/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
      +
      PATH=/home/test/naali-deps/install/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
      + export PKG_CONFIG_PATH=/home/test/naali-deps/install/lib/pkgconfig
      + PKG_CONFIG_PATH=/home/test/naali-deps/install/lib/pkgconfig
      + export NAALI_DEP_PATH=/home/test/naali-deps/install
      + NAALI_DEP_PATH=/home/test/naali-deps/install
      + export 'LDFLAGS=-L/home/test/naali-deps/install/lib -Wl,-rpath
      -Wl,/home/test/naali-deps/install/lib'
      + LDFLAGS='-L/home/test/naali-deps/install/lib -Wl,-rpath
      -Wl,/home/test/naali-deps/install/lib'
      + export LIBRARY_PATH=/home/test/naali-deps/install/lib
      + LIBRARY_PATH=/home/test/naali-deps/install/lib
      + export C_INCLUDE_PATH=/home/test/naali-deps/install/include
      + C_INCLUDE_PATH=/home/test/naali-deps/install/include
      + export CPLUS_INCLUDE_PATH=/home/test/naali-deps/install/include
      + CPLUS_INCLUDE_PATH=/home/test/naali-deps/install/include
      + export 'CC=ccache gcc'
      + CC='ccache gcc'
      + export 'CXX=ccache g++'
      + CXX='ccache g++'
      + export CCACHE_DIR=/home/test/naali-deps/ccache
      + CCACHE_DIR=/home/test/naali-deps/ccache
      + export TUNDRA_PYTHON_ENABLED=TRUE
      + TUNDRA_PYTHON_ENABLED=TRUE
      + export BOOSTUSE148=true
      + BOOSTUSE148=true
      + '[' true = true ']'
      + boostpackage=libboost1.48-all-dev
      + egrep -q
      'lucid|maverick|natty|oneiric|precise|maya|lisa|katya|julia|isadora|quantal|nadia|raring|olivia'
      + lsb_release -c
      + egrep -q -e 'Debian GNU/Linux'
      + lsb_release -d
      + echo 'Unknown Linux distribution, please update the build script for your
      distro and file a pull request, or file a bug report on the tracker.'
      Unknown Linux distribution, please update the build script for your distro
      and file a pull request, or file a bug report on the tracker.
      + what=qjson
      + test -f /home/test/naali-deps/tags/qjson-done
      + cd /home/test/naali-deps/build
      + '[' -d /home/test/naali-deps/build/qjson ']'
      + cd qjson
      + git pull
      Already up-to-date.
      + rm -r CMakeCache.txt
      rm: cannot remove ‘CMakeCache.txt’: No such file or directory

      _______________________________________________
      Fiware-tech-help mailing list
      Fiware-tech-help@lists.fi-ware.org
      https://lists.fi-ware.org/listinfo/fiware-tech-help

        Issue Links

          Activity

          Hide
          jonne.vaisanen Jonne Väisänen added a comment -

          I replicated the error and tracked that boost "libboost1.48-all-dev" should be replaced by "libboost-all-dev". Also "freetype2" folder in usr/includes needs to be dynamically linked as "freetype". After those two procedures I successfully build the Tundra server in Ubuntu 14.04 in VirtualBox.

          br,
          Jonne Väisänen

          Show
          jonne.vaisanen Jonne Väisänen added a comment - I replicated the error and tracked that boost "libboost1.48-all-dev" should be replaced by "libboost-all-dev". Also "freetype2" folder in usr/includes needs to be dynamically linked as "freetype". After those two procedures I successfully build the Tundra server in Ubuntu 14.04 in VirtualBox. br, Jonne Väisänen
          Hide
          jonne.vaisanen Jonne Väisänen added a comment -

          I'm now working on to fix the build script.

          Show
          jonne.vaisanen Jonne Väisänen added a comment - I'm now working on to fix the build script.
          Hide
          jonne.vaisanen Jonne Väisänen added a comment -

          Progress so far,
          I got the build script to compile the synchronization server, but math lib and bullet physics will print runtime errors and scene wont render correctly, I need to sort those errors before I can push the script to a repo and update the installation guide in wiki. Also I need to update some of the building dependencies that are linked to Google Code that will get shutdown on January 2016.

          Show
          jonne.vaisanen Jonne Väisänen added a comment - Progress so far, I got the build script to compile the synchronization server, but math lib and bullet physics will print runtime errors and scene wont render correctly, I need to sort those errors before I can push the script to a repo and update the installation guide in wiki. Also I need to update some of the building dependencies that are linked to Google Code that will get shutdown on January 2016.
          Hide
          jonne.vaisanen Jonne Väisänen added a comment -

          I have finally got the building script to work in Ubuntu 14.04. I Need to change some of the google.code repositories to use GitHub instead.

          At the moment the fixed script is in my own Git fork https://github.com/Joosua/tundra/blob/tundra2/tools/Linux/build-deps-ubuntu14_04.bash. I need to update the installation guide and push the script into official repo.

          Show
          jonne.vaisanen Jonne Väisänen added a comment - I have finally got the building script to work in Ubuntu 14.04. I Need to change some of the google.code repositories to use GitHub instead. At the moment the fixed script is in my own Git fork https://github.com/Joosua/tundra/blob/tundra2/tools/Linux/build-deps-ubuntu14_04.bash . I need to update the installation guide and push the script into official repo.
          Hide
          jonne.vaisanen Jonne Väisänen added a comment -

          I have now updated the Installation guide in https://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/Synchronization_-_Installation_and_Administration_Guide#Building_from_source
          and pushed the fixed build script to main tundra repo, that can be found at https://github.com/realXtend/tundra/blob/tundra2/tools/Linux/build-deps-ubuntu14_04.bash. I ran the build script multiple times in Ubuntu 14.04 64 bit in VirtualBox and got the tundra to build and run.

          br,
          Jonne

          Show
          jonne.vaisanen Jonne Väisänen added a comment - I have now updated the Installation guide in https://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/Synchronization_-_Installation_and_Administration_Guide#Building_from_source and pushed the fixed build script to main tundra repo, that can be found at https://github.com/realXtend/tundra/blob/tundra2/tools/Linux/build-deps-ubuntu14_04.bash . I ran the build script multiple times in Ubuntu 14.04 64 bit in VirtualBox and got the tundra to build and run. br, Jonne

            People

            • Assignee:
              jonne.vaisanen Jonne Väisänen
              Reporter:
              pablo.fernandez Pablo Fernandez Moniz
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: