Terminal Problem

Discussion in 'macOS' started by danman2, Jun 13, 2012.

  1. danman2 macrumors newbie

    Joined:
    Jun 13, 2012
    #1
    Hello!

    I have a UNIX executable file to execute via Terminal... however when trying to do so I have the following message :eek::

    apples-macbook-2:mcsim-5.4.0 apple$ convanal
    -bash: /usr/local/bin/convanal: cannot execute binary file

    Any ideas :confused:

    Thx
     
  2. dknightd macrumors 6502

    Joined:
    Mar 7, 2004
    #2
    Did you compile the binary yourself, or get it from the internet?
    It could be the binary was not compiled for your system.
     
  3. old-wiz macrumors G3

    Joined:
    Mar 26, 2008
    Location:
    West Suburban Boston Ma
  4. danman2 thread starter macrumors newbie

    Joined:
    Jun 13, 2012
    #4
    I thought it would be a compiling issue but as it's a UNIX file I hoped to be able to execute it as most probably I won't be able to get the source code for compiling it on my MAC.

    The file it's not from internet, it's from my ex-work and we used it on UNIX to do convergence analysis for MCMC chains
     
  5. dknightd macrumors 6502

    Joined:
    Mar 7, 2004
    #5
    If it is for a different unix platform it will not run on a mac.
     
  6. ScoobyMcDoo macrumors 65816

    Joined:
    Nov 26, 2007
    Location:
    Austin, TX
    #6
    Do you know specifically what flavor of unix? If so, and you can get a hold of that version, and it is intel based, you may be able to run it in a VM using VMWare or a similar product.
     
  7. danman2 thread starter macrumors newbie

    Joined:
    Jun 13, 2012
    #7
    Well not sure if it's the GNU Herd version as the softwares we use on unix are from the GNU organization.

    Anyway thx a lot, I'll try to see what y told me in these couple of days n come back with the result. If it doesn't work I'll probably switch to R to do the convergence analysis
     

Share This Page