Find the answer to your Linux question:
Results 1 to 5 of 5
Hello I am trying to install SIMCAN software which is a Distributed System Simulator, I also installed all its dependencies. the following files are in this software : build.sh build_inet.sh ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2010
    Posts
    11

    Unhappy a strange error while installing .sh files; im in hurry please help


    Hello
    I am trying to install SIMCAN software which is a Distributed System Simulator, I also installed all its dependencies.
    the following files are in this software :
    build.sh
    build_inet.sh
    build_lam.sh
    build_omnet
    build_simcan.sh
    enviroment.sh
    parse_var.awk
    SIMCAN_exe.sh

    and some other folders.
    when I type :
    sh ./*.sh
    or when I try this for any of the files I will get the following error :

    Usage : file_name.sh main_dir
    or
    Usage : file_name.sh main_dir [all | clean]

    what is main_dir ?

    besides that this software needs omnet software which is a kind of framework for SIMCAN, I also installed this.

    Thank you

  2. #2
    Linux Engineer rcgreen's Avatar
    Join Date
    May 2006
    Location
    the hills
    Posts
    1,134
    Usage : file_name.sh main_dir
    A usage message isn't really an error.
    It is an instruction telling you how to invoke the program.
    In this case, there is an argument you must supply when you
    run the sh file. This argument is "main_dir".
    It is probably a directory name you must name.

    Is there a README file somewhere with this software, telling
    you what to do?

  3. #3
    Just Joined!
    Join Date
    May 2010
    Posts
    11
    Quote Originally Posted by rcgreen View Post
    A usage message isn't really an error.
    It is an instruction telling you how to invoke the program.
    In this case, there is an argument you must supply when you
    run the sh file. This argument is "main_dir".
    It is probably a directory name you must name.

    Is there a README file somewhere with this software, telling
    you what to do?
    No unfortunately, SIMCAN software is produced this year and this is totally new. I also googled about this error but nothing.

  4. $spacer_open
    $spacer_close
  5. #4
    drl
    drl is offline
    Linux Engineer drl's Avatar
    Join Date
    Apr 2006
    Location
    Saint Paul, MN, USA / CentOS, Debian, Slackware, {Free, Open, Net}BSD, Solaris
    Posts
    1,303
    Hi.

    As rcgreen wrote, the message is coming from the top of the SIMCAN script, telling you that it wants 2 parameters. It might be useful to look over the script in detail to see what it might want those directories to be.

    It looks like SIMCAN is a wrapper around omnetpp-3.4b2. There are more than 100 README files under that directory.

    It would have been best if the person who staged the project to sourceforge had included some documentation on SIMCAN, but I didn't see any.

    I suggest looking over the those readme files to see how SIMCAN might be calling omnetpp.

    There is another web page at http://www.arcos.inf.uc3m.es/~simcan/index.html

    Best wishes ... cheers, drl
    Welcome - get the most out of the forum by reading forum basics and guidelines: click here.
    90% of questions can be answered by using man pages, Quick Search, Advanced Search, Google search, Wikipedia.
    We look forward to helping you with the challenge of the other 10%.
    ( Mn, 2.6.n, AMD-64 3000+, ASUS A8V Deluxe, 1 GB, SATA + IDE, Matrox G400 AGP )

  6. #5
    Just Joined!
    Join Date
    May 2010
    Posts
    11
    Thank you very much for your answer I followed that URL and I also downloaded SIMCAN again but there was no README file or any thing that might help us, and the same message reported .

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •