I am trying to make a simple version of the Linux make command. I am a beginner to OS. Where should I start from? Can you suggest any links that will explain to me how to do it? I am not even sure where to start.
Related
So, I'm trying to understand and having a hard time finding exactly what I'm looking for. Do I need to download Debian everytime I restart Parallels for Mac? So far, that's what is happening. I can't figure out a way to persist debian so I can save things in it. Is this not possible?
I'm trying to run cb_share_config from an xterm to import some color themes using:
"sudo cb_share_config"
which results in:
"Unable to initialize gtk, is DISPLAY set properly?"
This doesn't make sense to me since I'm running it locally, not through ssh or anything. I didn't think I needed to set the the display. Everything I've searched for is related to connecting to a server, which I'm not doing.
Code::Blocks version 16.01
OpenSUSE Leap version 42.3
Thanks in advance.
Ok so I've solved the problem or rather avoided it altogether by just running the tool directly from a file manager (Thunar). I'm still not entirely satisfied with Windows-like solution but it works. If anyone has any insights as to why I couldn't run it through a terminal I'd like to hear it but I suspect it might be a better question for a linux board.
In perl, how do you ssh from windows to a linux server? Not from a command line.
I'm writing a program that will ssh to a linux server from a windows machine.
I know this is a very small description, but I don't know any other way to describe what I'm asking. It's very simple.
UPDATE: If there is a language that is much simplier and/or easy to use, please let me know.
i have been using Shoes in windows from couple of months and it was working awesome, but now i am having Ubuntu set up on my machine and i am trying to run shoes in it but it seems like URL is not working .... i.e nothing happens when i click on it.
Have anybody observed this problem.
Any help on this?
thanks
Pradyumna
Looking at the source code, this would seem to to be the relevant bit:
shoes/native/gtk.c
shoes_browser_open(char *url)
{
VALUE browser = rb_str_new2("/etc/alternatives/x-www-browser '");
rb_str_cat2(browser, url);
rb_str_cat2(browser, "' 2>/dev/null &");
shoes_sys(RSTRING_PTR(browser), 1);
}
Not overly familiar with Ubuntu, but perhaps in your installation /etc/alternatives/x-www-browser isn't pointing to the right place? Either that, or Shoes shouldn't be using this path?
Sad to say that Shoes.url indeed seems broken on Linux, at least it was on Linux Mint (main edition, Ubuntu based) as well some time ago.
However I just tried it, now running Linux Mint Debian Edition, with the current shoes head and it worked beautifully. So either it's an Ubuntu specific problem or its fixed on the current Head. You could try to check out the current head
I have some windows command line applications, in binary form (I do not have the source code) which I use frequently. Sometimes I need to run them in Linux machines, and it works perfectly under wine (wine is not an emulator). The problem I'm facing now is that I need to work on a cluster which has not wine installed on it. I wonder if it is possible to create in another similar linux machine kind of a static executable or so, so i can run this windows program on the cluster
Thanks
This is an insane idea ;) Install wine on that cluster. What stops you? If you can execute programs there....
If this is some kind of serious software, it don't recommend to run it on non-native OS. Wine is not developed for running critical applications. It is still not Windows.
You can't compile a static exe; Windows is too complex for that. But you might be able to compile Wine to run on your cluster.
What you need is a way to compile code on the cluster. Wine itself can be installed anywhere but since I don't know if you have all the dependencies on the cluster, it might take some work.
So I suggest to get the Wine sources, run configure --prefix=$HOME/wine && make and then work through the errors.
(--prefix is the path under which Wine will be installed; it should be some path that is the same on the cluster and your build host. If all else fails, ln is your friend).
I've just spent a couple minutes looking for a reference to the knowledge in my head but it my googling isn't up to it.
Picasa for linux is bundled with Wine, so it may be possible but I couldn't find the article I read a couple months back.
Other than this, you can cross compile with gcc and winelib but as Cyper rightly said, no code no compilation.