[Resolved] Run Mono apps without prefixing mono

Hi,
I haven't developed c# since I switched from Debian. Just the other day I decided to. One thing I noticed in the switch was under Debian I could simply run my program with ./program however with Arch I must prefix mono as in "mono ./program" if I do not I get the error "bash: ./program: cannot execute binary file".
How would one change this behaviour?
Thanks,
Dan
Last edited by Maskawanian (2009-03-25 09:07:41)

Unfortunately I don't have them still.
I'm thinking a trick like the following was used:
http://wiki.archlinux.org/index.php/Win … 2_binaries
Mind you I'm not using Wine, just Mono.
I am going to give this a look to see if I can modify the instructions for Mono.
Edit: Yes, this was it.
http://www.mono-project.com/Guide:Runni … ux_only.29
Edit 2: Updated Arch Wiki with information (pretty much a straight copy of the Wine instructions modified with the different values):
http://wiki.archlinux.org/index.php/Mon … the_Kernel
Last edited by Maskawanian (2009-03-25 09:15:39)

Similar Messages

  • [SOLVED] Running GTK apps without themes

    You will have to excuse me if this sounds wrong. But I wished to know if it's possible to run GTK themes without any GTK themes.
    Justr curious what the results may actually be and how to go about disabling GTK theme entirely.
    Last edited by wildfowl (2015-01-16 22:51:27)

    I deleted all the themes and Raleigh is still the fallback theme.
    Basically Windows 95.
    No go.

  • Running server app without timing out?

    Hello all,
    I have a server application running on a linux server and am timing out after about 15 minutes. I do not know how to make this server program run indefinately. It is an application that listens for clients and responds appropriately. Any ideas?
    Thanks,
    Jared

    Here is my code if it helps. If I should post this to a different forum would someone please tell me.
    NOTE: The app is running perfectly it just stops running after a time frame.
    CODE:
    public class MyServerApp{
    //...variable delaration etc.
    try{
    server = new ServerSocket(5252);//listen to the socket
    //tried without this, with it set to 0, and with this number
    //server.setSoTimeout(360000000);
    }catch(IOException e){
    System.exit(-1);
    while(true){
    MyConnectionThread w;//thread that handles communication
    try{
    w = new MyConnectionThread(server.accept());//receive new client
    Thread t = new Thread(w);//create new thread with our handler
    t.start();//start new thread
    } catch (IOException e) {
    System.exit(-1);
    //...clean up
    class MyConnectionThread implements Runnable{//communication handler
    public void run(){//when run
    //...variable declaration etc.
    try{
    //get streams from client socket
    in = new BufferedReader(new InputStreamReader(client.getInputStream()));
    out = new ObjectOutputStream(client.getOutputStream());
    } catch (IOException e) {...}
    while(true){
    try{
    line = in.readLine();//get data from client
    out.writeBoolean(true);//test to see if running
    out.flush();//flush information
    break;//break out of loop
    }catch(IOException e){break;}
    try{//clean up
    in.close();
    out.close();
    }catch(Exception e){...}
    //...other functions
    Hope you can help me from here. I am running it on a linux server.

  • Running windows apps without installing XP

    So we all know that virtual pc does not work on the intel macs.
    I'd rather not install windows xp as a secondary install as i don't have an SP2 disc.
    Are there any other solutions? All i want to do is run one or two simple apps that won't run on mac os.
    MacBook 2.0Ghz 2GB ram   Mac OS X (10.4.7)  

    You have quite a few options, actually:
    Parallels (http://www.parallels.com/)
    or...
    CrossOver (http://www.codeweavers.com/products/cxmac/)
    Parallels more or less provides the same functionality as Virtual PC, while CrossOver will actually allow you to run select Windows applications natively in OS X. Hope that helps.

  • Is it possible to run AIR apps without installing them?

    Hi there,
    Just have a sudden thought. Most Adobe AIR apps I have seen required installation before execution. Is it actually launch the application directly from the .air file without installatoin?
    You know, some users are quite reluntant to "install" software onto their machine, and moreover in some environment "installation" requires special priviliege. For some tiny utilities, (e.g. a simple calculator, you name it), it would be really handy for users to be able to exceute them directly after downloading the .air file, or even directly from web pages.
    Thanks,
    Kenneth

    I see. Thanks for your help.
    Really wish Adobe would consider adding direct execution feature to AIR.

  • Is it possible to run windows apps?

    ... Without running windows on my iBook G4? I would like to run 2 apps: Digidesigns D-Show and another very small app. I have searched and searched, and the only solution I can find is to emulate windows, but I don't have access to a version of windows. So is there any way to run windows apps without running windows OS?
    Rune
    12 iBook G4, 1,2 GHz   Mac OS X (10.4.8)  

    Rune:
    I needed to run a software package for business but did not want to buy a PC. So I installed Virtual PC (not the demo linked here) and run it on my Pismo. It is not super fast, but it does the job. It comes with Windowns XP Professional. A bit costly, though, unless you can pick up a copy like on eBay.
    Good luck.
    cornelius

  • After putting my iPad onto airplane mode it won't let me access apps without connecting to iTunes but it won't let me connect to iTunes how can I resolve this?

    After putting my iPad onto airplane mode it won't let me access apps without connecting to iTunes but it won't let me connect to iTunes how can I resolve this?

    Try "Pacifist"!
    Pacifist is an application for Mac OS X that opens up .pkg installer packages, .dmg disk images, .zip, .tar, .tar.gz, .tar.bz2, .pax, and .xar archives, and more, and lets you install individual files out of them. This is useful if you need to install just one file out of a package instead of the entire package

  • [AUTO-SOLVED] Run an app as privileged user

    Im preparing a package for an app that uses libpcap and requires administrative rights to run properly.
    Currently, the .desktop file for launching this app contains something like this:
    gksudo mono /foo/bar/app.exe
    But it looks like in the moment the app is going to make use of the libpcap library, the rights get lost and the app just force closes...
    I don't know if this is the best procedure for doing so, but certainly, if i run from a terminal:
    sudo mono /foo/bar/app.exe
    I get the expected results and behaviour....
    Can anyone help me?
    EDIT: Looks like I found the source of the issue.
    If i want to run this app from console, i first have to cd inside of the same dire the .exe is located... so, how to put this into a .desktop file?
    Thanks
    EDIT #2:
    Path=/foo/bar
    inside the .desktop file ...... this did the trick
    Thanks!!!
    Last edited by Xi0N (2011-12-13 23:12:53)

    Im preparing a package for an app that uses libpcap and requires administrative rights to run properly.
    Currently, the .desktop file for launching this app contains something like this:
    gksudo mono /foo/bar/app.exe
    But it looks like in the moment the app is going to make use of the libpcap library, the rights get lost and the app just force closes...
    I don't know if this is the best procedure for doing so, but certainly, if i run from a terminal:
    sudo mono /foo/bar/app.exe
    I get the expected results and behaviour....
    Can anyone help me?
    EDIT: Looks like I found the source of the issue.
    If i want to run this app from console, i first have to cd inside of the same dire the .exe is located... so, how to put this into a .desktop file?
    Thanks
    EDIT #2:
    Path=/foo/bar
    inside the .desktop file ...... this did the trick
    Thanks!!!
    Last edited by Xi0N (2011-12-13 23:12:53)

  • Error while running the APP-F110 & Dunning - F150

    HI Guru's,
    while running the APP,,,i got the message finally <b>posting orders"1 generated,1completed"</b>,,,,,,,But i am not getting the spool request and printout
    In the same way in dunning,,i did the entire procedure,but not getting the spool request...
    kindly help me
    Regards
    Sap Guru

    hi Sapguru,
    ok, Congrats for posting the Orders...haa
    Go to Tcode <b>SE38</b> and enter the program as <b>RFFOUS_C</b> and execute it.
    In that screen enter the <b>Identification and program run date</b> and enter all the required firelds and then again execute it....
    So that u can print the Check with the check lot number that u have created
    Please create the check lot number in <b>FCHI</b>.
    If u want to see the spool then go to <b>SP01 </b>and see there...
    Hpe this resolve our problem...
    assign the points if usefulll
    Ranjit
    null

  • Can no longer open photo album in photo editors get apps without crashing

    Hi
    Since last iOS update I am no longer able to open my photo album in photo editing apps like Snapseed etc.As soon as I open the photo album the app crashes. I have reinstalled iOS update through iTunes also changed various settings for photo app and reinstalled photo editing apps without success. I have run out of ideas. Please let me if you have any ideas or suggestion on how to fix this.
    thanks

    Run Repair Permissions in Disk Utility.
    Download and run the combo updater.
    Mac OS X 10.6.8 Update v.1.1 - 1.09 GB
    http://support.apple.com/kb/DL1399

  • How do I remove ALL Metro/Modern/Universal/Windows Apps without removing the Start Menu?

    So with three separate builds of WTP I've run the PowerShell command to remove Metro/Modern/Universal/Windows Apps. With each build, it also removes the Start Menu. In the thread below, an MS Support person mentioned that that command was only for Windows
    8.x and shouldn't be run on WTP. What? Then why is that command still available? And, why will it remove some Metro/Modern/Universal/Windows Apps, but not others? Are they marked as System required? Why isn't the Start Menu marked as System required? You'd
    think that the start menu would be pretty important.
    https://social.technet.microsoft.com/Forums/en-US/053f63bc-c174-44f1-8f6c-8ead1ad965fb/spartan-and-start-menu-on-10049?forum=WinPreview2014General
    So, with the start menu being an XAML app, how do I safely remove ALL Metro/Modern/Universal/Windows Apps without removing the Start Menu? I have no use for them and don't want them on my computer. Period. There has to be some command like the one we used
    in Windows 8.x that will allow use to remove ALL Metro/Modern/Universal/Windows Apps without removing the Start Menu.
    Don't give an answer like "just right-click and uninstall". That doesn't work for all of these things, and do you know how long it takes to do that for all of those silly things? Too long! That's also not practical for an Enterprise desktop. It's
    also not practical to leave all of that junk on the desktop, so don't suggest that either.
    Dan

    The problem with PowerShell and all of those scripts is that those particular scripts require a lot of typing, or copy and paste, or having to figure out where all of those apps are stored and then insert their convoluted names into the script. For
    me, scripting is like programming. I have no desire to be a programmer/developer.
    I just want an option in Programs and Features to be able to turn these "features" off. We were able to do it in previous versions of Windows. If we didn't want Internet Games, we uncheck the box. If we don't want our users to be able to print
    documents over the Internet, we uncheck the box. And so on down the line for any other "feature" we didn't want our enterprise users to have.
    Or, we could turn those features off using the System Image Manager. Now we have to write some convoluted script with even more convoluted commands for even more convoluted names for things we don't want.
    The easier script in Windows 8.x was just get-appxpackages -online | remove-appxpackages. That removed the majority of the apps for an individual user. The remove-appxprovisionedpackage command, with the convoluted name of the app, would remove them from
    the hard drive - one app at a time, but that doesn't work in Windows 10.
    So, they came up with a DISM command, but that doesn't work in Windows 10 either. I should say that with my limited developer skills I haven't found a way to make it work.
    Again, I have no desire to be a developer/scripter. They are the same thing in my book. I'm a systems engineer. I do operating systems, not write applications.
    Dan
    So, I guess there is no real answer to this question.

  • In the middle of downloading an update for garage band and lost the connection, now the app won't open or finish the download.  Can I reinstall the app without losing my music?

    In the middle of downloading an update for garage band and lost the connection, now the app won't open or finish the download.  Can I reinstall the app without losing my music?

    The obvious way to resolve this on a computer would be to uninstall the app, then reinstall it, however on an iOS device that would cause all the data assoicated with the app to be thrown away.
    Make sure your iTunes library has the latest updates for all your apps, then backup and restore the device. This should pull back a fresh copy of the app from your iTunes library and then give it the data from your device backup.
    tt2

  • Help needed with building Flex App without FlexBuilder

    Hi Guys,
    I was building my application on Struts framework with JSPs
    as the front end. I just got a new requirement to try and build my
    application's GUI with Flex (completely replacing JSPs). I cannot
    use FlexBuilder as my company won't buy it. I've been trying to dig
    through all articles and documentation to find out how to write
    MXML files and compile them without a FlexBuilder. I have learnt
    that I can write MXML files using plain notepad, but I am totally
    lost when it comes to understanding how to compile my MXML files
    with FlexBuilder. I know about the ant compiler and web compiler
    but How do I use them? I want to use the web compiler but how can I
    configure the Web Compiler to compile my MXML files when I run my
    app? Can someone kindly help me out.
    Thank You,
    TNJ

    You can use mxmlc to compile your mxml files into swfs.
    Google for mxmlc and there should be plenty information.

  • Error running J2EE App on Web AS 6.40

    Hi all experts,
    I'm triying to implement JSPWiki on Web As 6.40 SP17, I've followed the instructions this blog /people/pankaj.kumar32/blog/2005/09/10/wiki-wiki-world-and-portals
    This is what a did:
    1.- Downlowded the latest version of JSPWiki from http://jspwiki.org
    2.- Extracted the JSPWiki.war
    3.- Used deploytool to create a JSPWiki.ear and deployed on server
    4.- Started the appplication
    5.- Called url http://localhost:50000/JSPWiki/Install.jsp as suggested on jspwiki readme.txt
    6.- The first 2 pages were displayed without problen.
    But when I try to run the app the server drop this message:
    Details: javax.servlet.jsp.JspException: Tag failed, check logs: null
         at com.ecyrd.jspwiki.tags.WikiTagBase.doStartTag(WikiTagBase.java:90)
         at jsp_PageActions1169070742968._jspService(jsp_PageActions1169070742968.java:78)
         at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:537)
         at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:186)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:290)
         at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.include(RequestDispatcherImpl.java:440)
         at com.sap.engine.services.servlets_jsp.server.jsp.PageContextImpl.include(PageContextImpl.java:138)
         at com.ecyrd.jspwiki.tags.IncludeTag.doEndTag(IncludeTag.java:83)
         at jsp_Header1169070740546._jspx_method_wiki_Include_1(jsp_Header1169070740546.java:65535)
         at jsp_Header1169070740546._jspService(jsp_Header1169070740546.java:13)
         at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:537)
         at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:186)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:290)
         at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.include(RequestDispatcherImpl.java:440)
         at com.sap.engine.services.servlets_jsp.server.jsp.PageContextImpl.include(PageContextImpl.java:138)
         at com.ecyrd.jspwiki.tags.IncludeTag.doEndTag(IncludeTag.java:83)
         at jsp_ViewTemplate1169070738265._jspx_method_wiki_Include_1(jsp_ViewTemplate1169070738265.java:65535)
         at jsp_ViewTemplate1169070738265._jspService(jsp_ViewTemplate1169070738265.java:22)
         at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:537)
         at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:186)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:290)
         at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.include(RequestDispatcherImpl.java:440)
         at com.sap.engine.services.servlets_jsp.server.jsp.PageContextImpl.include(PageContextImpl.java:138)
         at com.ecyrd.jspwiki.tags.IncludeTag.doEndTag(IncludeTag.java:83)
         at jsp_LoginForm1169070737203._jspService(jsp_LoginForm1169070737203.java:41)
         at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:537)
         at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:186)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:290)
         at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.include(RequestDispatcherImpl.java:440)
         at com.sap.engine.services.servlets_jsp.server.jsp.PageContextImpl.include(PageContextImpl.java:178)
         at jsp_Login1169070735953._jspService(jsp_Login1169070735953.java:130)
         at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:537)
         at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:186)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:117)
         at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:62)
         at com.ecyrd.jspwiki.ui.WikiServletFilter.doFilter(WikiServletFilter.java:99)
         at com.ecyrd.jspwiki.ui.WikiJSPFilter.doFilter(WikiJSPFilter.java:71)
         at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:58)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:374)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:265)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:345)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:323)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:865)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:240)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
         at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)
    The wierd thing is that the two latest versionsof wiki gives me the same error, please if you have any clue that could help me I'll really appreciate it.
    Thanks in advance,
    RR.-

    Hi,
    Make sure that the directory C:\Program Files\sapinst_instdir\NW04SR1\WEBAS_ABAP_ORA_UC\DB exists and that it is accessible under the user you are logged in as.
    Also check the freespace available on the drive c:\
    Regards,
    Siddhesh

  • APP without payment Method specified.

    Hi Guys,
    I want to run the APP and I want the result to be just the payments made to the vendors. Later  we are going to take the print out of the payments from the payment run and send it to the bank via a print out of the same.
    Is it possible to run F110 without giving any payment method?
    I dont want my check lots affected. So i dont want to use method C or any other payment method.
    Does SAP just pay the vendors without taking the payment method?Can i run the F110 for just paying the vendors without any method?
    Thanks so much in advance..
    regards,
    Srikanth.

    If i am able to understand your question well, you want to make payments to vendors but not issue any check. Instead the bank will make the payment based on the print out from F110.
    This can be achieved using payment orders. With payment orders, vendors amount get tagged for payment, and the subledger is updated only when the bank statement reflecting the payment is processed in SAP. Thus payment document will get posted only after the bank has made the payment, and not when you process F110
    However you will need to create a seperate payment method for this.
    Regds
    Pooja

Maybe you are looking for

  • User EXIT, BADI for T-code ME21n, ME21

    Hi Guru's, I have rquirement where for some company codes user dont want GR and GR based invoicing if net price for PO is less than 100 GBP as it is very small quantity. To achive this we have to uncheck Goods receipt check bax from tab 'Delivery'  a

  • JSF tree component

    Hello, I am using JSF 1.1 + looking to add tree functionality to a couple of rows. I know that myfaces has it but would like to know if JSF 1.1 also have something similar to tree2 from myfaces. Thanks!

  • Perte des préférences de InDesign CS6 sur MAC

    Bonjour, lorsque je dois forcer InDesign à quitter parce qu'il plante (Commande + Option + Exit) je perd toutes les préférences (du logiciel et du texte) que j'ai ajustées. Plusieurs de mes étudiants rencontrent le même problème. Je n'avais pas ce pr

  • Error in IE on cisco WebEx 2.5 meeting scheduling

    Hi. We have updated our CWMS from 1.5 to 2.5 version. After that we get error in IE browser (any version, java and security settings) on meeting scheduling after clicking "Schedule it!" SCRIPT438: Object does not support property or method "trim" sch

  • Installation error -- PSE8 upgrade to PSE11 on Mac

    I purchased and downloaded the PSE11 upgrade to PSE8 for my Mac.  During installation I received an Exit Error, which instructed me to restart my system and reinstall.  I did that.  It errored a second time.  I restarted a second time and reinstalled