Michael-Oppermann @michael-oppermann ?

active 13 years, 6 months ago
  • Michael-Oppermann posted a new activity comment:   13 years, 10 months ago · View

    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

    In reply to - Michael-Oppermann posted an update in the group Setup Support: 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 · View
  • Michael-Oppermann posted an update in the group Setup Support:   13 years, 10 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, 10 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, 10 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, 10 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

  • Michael-Oppermann posted a new activity comment:   13 years, 10 months ago · View

    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

    In reply to - Michael-Oppermann posted an update in the group Setup Support : 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 [...] · View
  • Michael-Oppermann posted a new activity comment:   13 years, 10 months ago · View

    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

    In reply to - Michael-Oppermann posted an update in the group Setup Support : 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. [...] · View
  • Michael-Oppermann posted a new activity comment:   13 years, 10 months ago · View

    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

    In reply to - Michael-Oppermann posted an update in the group Setup Support : 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. [...] · 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, 10 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, 10 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, 10 months ago

          I have the same problem. Any solutions?

          • Avatar Image
            Julen Maneros · 13 years, 10 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

  • Michael-Oppermann commented on the blog post iTETRIS platform will be available soon!   13 years, 11 months ago · View

    Please send me the download link.