Xin Wei @xwei ?

active 12 years, 1 month ago
  • Michael-Oppermann posted an update in the group Setup Support:   13 years, 9 months ago · View

    Hello,

    I would test my installation with the ITS Cooperative Demo Application but I can’t find it in the iTETRIS_Platform_0.1.0.zip. Where can I download this Application?

    Regards
    Michael

    • Avatar Image
      Julen Maneros · 13 years, 9 months ago

      Hello Michael,

      The app is now added to the source code.

      Now the libraries folder and the rest of the code is separated so you do not have to download the libraries again which is quite large.

      Thank you for using iTETRIS.

      Regards,

      Julen.

      • Avatar Image
        Michael-Oppermann · 13 years, 9 months ago

        Hello Julen,

        thank you for your answers. I tried to start the ITS Cooperative Demo Application (iCS -c itetris-config-file.xml) and get an error. The app is not able to connect the NS3 on port 1982.
        The error causes probably by a previous error on step 2 – setup phase.

        WELCOME TO iTETRIS
        ==================
        STEP 1 – SETUP PHASE
        iCS –> SUMO launched.
        iCS –> ns-3 launched.

        STEP 2 – SETUP PHASE
        main-inci5: error while loading shared libraries: libns3.so: cannot open shared object file: No such file or directory
        sh: demoapp: not found
        Loading configuration… done.

        STEP 3 – SETUP PHASE
        iCS –> Trying 0 to connect SUMO on port 5500…
        iCS –> Connected to SUMO
        O

        iCS –> Trying 0 to connect ns-3 on port 1982 and Host localhost…
        iCS –> No connection to ns-3; waiting…
        iCS –> Trying 1 to connect ns-3 on port 1982 and Host localhost…
        iCS –> No connection to ns-3; waiting…
        iCS –> Trying 2 to connect ns-3 on port 1982 and Host localhost…
        iCS –> No connection to ns-3; waiting…
        iCS –> Trying 3 to connect ns-3 on port 1982 and Host localhost…
        iCS –> No connection to ns-3; waiting…
        iCS –> Trying 4 to connect ns-3 on port 1982 and Host localhost…
        iCS –> No connection to ns-3; waiting…
        iCS –> Trying 5 to connect ns-3 on port 1982 and Host localhost…
        iCS –> No connection to ns-3; waiting…
        iCS –> Trying 6 to connect ns-3 on port 1982 and Host localhost…
        iCS –> No connection to ns-3; waiting…
        iCS –> Trying 7 to connect ns-3 on port 1982 and Host localhost…
        iCS –> No connection to ns-3; waiting…
        iCS –> Trying 8 to connect ns-3 on port 1982 and Host localhost…
        iCS –> No connection to ns-3; waiting…
        iCS –> Trying 9 to connect ns-3 on port 1982 and Host localhost…
        iCS –> No connection to ns-3; waiting…
        iCS –> Could not connect to Ns-3

        I tried to start the NS3 before the ITS Cooperative Demo Application with the main-inci5 app in the NS3 scratch folder and get an error during the start of the app (./waf –run scratch/main-inci5):

        No port or log file for ns-3 server introduced.
        Format is: main-inci3 [port-number] [fileGeneralParameters] [fileConfTechnologies] OPTIONAL [log-path]
        Exiting…

        Is it nessessary to start the NS3 before Demo Application or start the Demo Application the NS3 automaticly (like the SUMO)?

        I found the ”communicationsim” tag in the itetris-config-file.xml and I noticed the ”communication-general-params-file” tag.

        ”communicationsim”
        ”communication-executable value=”main-inci5”/”
        ”communication-host value=”localhost”/”
        ”communication-port value=”1982”/”
        ”communication-general-params-file value=”./ns-3_files/configGeneral.xml”/”
        ”communication-config-technologies-file value=”./ns-3_files/configTechnologies-ics.xml”/”
        ”/communicationsim”

        I replaced the brackets of the tags with ” because of your forum-editor hide all xml-tags :-)

        I have no configGeneral.xml in my ns-3_files folder!

        Regards

        Michael

        • Avatar Image
          Lukas-Worle · 13 years, 9 months ago

          Hey Michael,

          I had the same error at first, although the libns3.so was in /usr/local/lib. However, a symbolic link in the /usr/lib folder pointing at the libns3.so helped to eliminate this error. I suppose the demo application just searches the /usr/lib – folder.

          cd /usr/lib
          sudo ln -s /usr/local/lib/libns3.so libns3.so

          For the remaining errors I suppose, that some configuration files (the ones described in the documentation) are still missing.

          Julen, please correct me, if I’m wrong here :)

          Regards,
          Lukas

  • Lukas-Worle posted an update in the group Setup Support:   13 years, 9 months ago · View

    Hey Julen,

    thank you for the previous answers. It works fine now. I managed to install the iCS and the ns3.7 with the patch. Unfortunately, I have still some problems compiling the sumo. ’configure’ works fine, but I get an error when I try to run the ’make’ command, rather at the end, after the script entered the ../src/netgen directory. There are undefined references concerning the xerces-lib. I installed the one from the iTetris download and also the one required for the sumo-installation. Is there something else I need to consider?

    Regards,
    Lukas

    • Avatar Image
      Lukas-Worle · 13 years, 9 months ago

      It seems to be a problem between the xerces-c-3.0.1 (from the iTetris installation) and the one needed for sumo (libxerces-c2-dev). I guess, sumo accesses the xerces-c-3.0.1-headers during the build process. I try to find out more on that and post a solution, if I can find one.
      Have a nice weekend everyone!

      • Avatar Image
        Lukas-Worle · 13 years, 9 months ago

        It’s working now, but still not an optimal solution.
        I’ve removed the folder /usr/local/include/xercesc during installation of sumo 0.12.2 and moved it back afterwards. Maybe this could also be solved by simply telling the compiler the correct path to the libxerces 2.8 for sumo. I didn’t manage to do this, though. Hopefully this won’t cause any problems during run-time. Does anyone else has the same problem or am I the only one?

        Lukas

  • svaz joined the group Setup Support   13 years, 10 months ago · View

  • Michael-Oppermann posted an update in the group Setup Support:   13 years, 10 months ago · View

    I have a new problem, which is the right ns-3 version?
    I use the ns-3 Version 3.7 because of the paths in the iTetris-ns3_0.1.1.patch (for example ”diff -rupN ns-3.7/src/…”). Is it right?

    The patch failed with this output:

    Hunk #1 FAILED at 49.
    Hunk #2 FAILED at 176.
    Hunk #3 FAILED at 216.
    Hunk #4 FAILED at 1000.
    Hunk #5 FAILED at 1033.
    Hunk #6 FAILED at 1047.
    Hunk #7 FAILED at 1130.
    Hunk #8 FAILED at 1161.
    8 out of 8 hunks FAILED — saving rejects to file bindings/python/apidefs/gcc-ILP32/ns3_module_common.py.rej
    patching file bindings/python/apidefs/gcc-ILP32/ns3_module_core.py
    Hunk #1 FAILED at 93.
    Hunk #2 FAILED at 351.
    Hunk #3 FAILED at 1575.
    3 out of 3 hunks FAILED — saving rejects to file bindings/python/apidefs/gcc-ILP32/ns3_module_core.py.rej

    The next patch would delete the file scratch/simple.cc,
    which does not exist! Assume -R? [n]

    • Avatar Image
      svaz · 13 years, 10 months ago

      The right version of ns-3 is ns-3.7 as you stated. Can you write the command your are executing to apply the patch? Have you downloaded the ns-alllinone-3.7 version and applied the patch to the ns-3 folder located within it?

      BR,

      Sendoa

      • Avatar Image
        Michael-Oppermann · 13 years, 10 months ago

        I downloaded the ns-allinone-3.7 and applied the patch in the root directory of the ns-allinone-3.7.

        I used the command from the iTetris_Guidelines0.1.0.pdf:

        ./configure –enable-sumo –enable-ns3 –enable-applications -with-geographic=/usr/local –enable-log

        • Avatar Image
          svaz · 13 years, 10 months ago

          In order to apply the patch correctly enter the ns-allinone-3.7/ns-3.7 folder. Once you are there apply the patch. I guess the command you wrote is related to the other you have, have you checked you have installed all the necessary packages?

          • Avatar Image
            Michael-Oppermann · 13 years, 10 months ago

            Sorry I wrote the wrong command. I used this one for the patch:
            patch -p1 -i iTETRIS-ns3_0.1.1.patch

            It works fine if I apply the patch in the ns-allinone-3.7/ns-3.7 folder.

            Thanks

  • Michael-Oppermann posted an update in the group Setup Support:   13 years, 10 months ago · View

    I have the same problem.

    ”make -f Makefile.cvs” returns the same output and the configure command returns:


    config.status: creating src/ics/facilities/mapFacilities/Makefile
    config.status: creating src/ics/facilities/mapFacilities/road/Makefile
    config.status: creating src/ics/facilities/stationFacilities/Makefile
    config.status: creating src/ics/facilities/messageFacilities/Makefile
    config.status: error: cannot find input file: `Makefile.in

    Is a solution or a workaround avaliable?

    Thanks
    Micha

    • Avatar Image
      Julen Maneros · 13 years, 9 months ago

      Hi Michale. Thanks for using iTETRIS. Sorry about the error, there was one file missing that prevented the proper building. Please download the platform and try again.

      Regards,

      Julen.

      • Avatar Image
        Michael-Oppermann · 13 years, 9 months ago

        Hi Julen, thanks for the answer.

        I downloaded the new source and get a new Error during the make-command: make -f Makefile.cvs

        autoreconf -i
        libtoolize: putting auxiliary files in `.’.
        libtoolize: copying file `./config.guess’
        libtoolize: copying file `./config.sub’
        libtoolize: copying file `./install-sh’
        libtoolize: copying file `./ltmain.sh’
        libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])’ to configure.ac and
        libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
        libtoolize: Consider adding `-I m4’ to ACLOCAL_AMFLAGS in Makefile.am.
        libtoolize: `AC_PROG_RANLIB’ is rendered obsolete by `LT_INIT’
        configure.ac:10: installing `./missing’
        src/Makefile.am: installing `./depcomp’
        Makefile.am: installing `./INSTALL’
        Makefile.am: required file `./NEWS’ not found
        Makefile.am: required file `./README’ not found
        Makefile.am: required file `./AUTHORS’ not found
        Makefile.am: required file `./ChangeLog’ not found
        Makefile.am: installing `./COPYING’ using GNU General Public License v3 file
        Makefile.am: Consider adding the COPYING file to the version control system
        Makefile.am: for your code, to avoid questions about which license your project uses.
        autoreconf: automake failed with exit status: 1
        make: *** [all] Error 1

        And the configure-command failed too:
        ./configure –enable-sumo –enable-ns3 –enable-applications -with-geographic=/usr/local –enable-log

        configure: WARNING: you should use –build, –host, –target
        configure: WARNING: invalid host type: –enable-log
        checking build system type… Invalid configuration `–enable-log’: machine `–enable’ not recognized
        configure: error: /bin/bash ./config.sub –enable-log failed

        • Avatar Image
          Lukas-Worle · 13 years, 9 months ago

          I have the same problem. Any solutions?

          • Avatar Image
            Julen Maneros · 13 years, 9 months ago

            HI Lukas and Michael. Sorry for the errors. With the new upload should work now.

  • Michael-Oppermann joined the group Setup Support   13 years, 10 months ago · View

  • Lukas-Worle posted an update in the group Setup Support:   13 years, 10 months ago · View

    Unfortunately, I don’t get the iTetris installation working.
    I continuously get an error while trying to run the configure-command:

    ”config.status: error: cannot find input file: `Makefile.in’”

    ’make -f Makefile.cvs’ returns the following:

    ”libtoolize: putting auxiliary files in `.’.
    libtoolize: copying file `./config.guess’
    libtoolize: copying file `./config.sub’
    libtoolize: copying file `./install-sh’
    libtoolize: copying file `./ltmain.sh’
    libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])’ to configure.ac and
    libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
    libtoolize: Consider adding `-I m4’ to ACLOCAL_AMFLAGS in Makefile.am.
    libtoolize: `AC_PROG_RANLIB’ is rendered obsolete by `LT_INIT’
    configure.ac:10: installing `./missing’
    src/Makefile.am: installing `./depcomp’”

    Anything else I need to consider?

    Another question concerning the ns3-patch:
    It seems like it works onl with ns-3.7, is that right?
    I didn’t manage to apply it to my version (3.9).

    I would be glad, if you could help me with these problems.

    Kind regards,
    Lukas

    • Avatar Image
      Julen Maneros · 13 years, 9 months ago

      Hi Lukas. Thank you for using the iTETRIS platform. The first error is due to a missing file in the package. Please download and try to build again. Sorry for the inconvinience.

      Kind regards,
      Julen.

  • Julen Maneros started the forum topic Welcome to the forums! in the group Setup Support:   13 years, 10 months ago · View

    This is the inagural topic of the iTETRIS 10 10 10 Community! You can provide us with your feedback with this channel too.

    Thanks and enjoy iTETRIS!

  • Lukas-Worle joined the group Setup Support   13 years, 10 months ago · View

  • Yoann-Lopez joined the group Setup Support   13 years, 12 months ago · View

  • Julen Maneros created the group Setup Support   14 years, 1 month ago · View