I am trying to learn programming pascal and want to use geany as IDE.
I created a simple hello world example, which I can compile. But when trying to run the program using F5 I get an error saying:
"Could not find terminal program "/bin/sh %c"
Does anyone know how I have to set up geany to run my program?
you should just install fpc (free pascal compiler)!
maybe sth like this!
sudo apt-get install fp-compiler-2.6.2
Related
Recently I try to use clever cloud on my terminal. Im on MacBook Pro.
I use oh my zsh on terminal
I install it with : brew install CleverCloud/homebrew-tap/clever-tools
it's a success
But after when I write : clever -v on my terminal I have no answer. Not event command not found...
Someone can help me ?
Thanks
While following the steps from this video https://www.youtube.com/watch?v=7vJJMU2gMn4 around 2:11, the video shows to run "make -j" in Ubuntu to start build. Since I'm using a Mac, I would like to know if there is any way that I can replace this commend. It seems "make" is a tool to install many packages in Ubuntu, which I think that can be replaced by "brew", but I'm not sure about the "-j" part.
Thank you for your time and help!
I have to start learning OCaml language.
In order to practice it at home we have to install some devices following the tutorial made by our University. Since we use Debian at school, it's a bit different when I have to use windows at home and here I come: I don't manage to run the tools properly.
We have to install OCaml via the official site. After doing it, I run "Cygwin64 Terminal" and had to type these commands:
$ opam update
$ opam install utop merlin ocp-indent
It has been done successfully. However when I try to run utop by its command I get this message:
"utop.exe: GetConsoleScreenBufferInfo: Bad file descriptor"
Where did I fail? What do I have to do?
I have the same error after installing ocaml for windows from http://fdopen.github.io/opam-repository-mingw/installation/ (graphic installer, 64 bits)
BUT the error happened ONLY after running opam install utop
Precisely, after running the graphic installer alone, I can launch ocaml (not utop) without error, either from a cygwin terminal or a windows shell (cmd.exe).
If I run opam install utop, I can no longer launch ocaml (cannot exec, segmentation fault) nor utop (GetConsoleScreenBufferInfo: Bad file descriptor)
If I uninstall utop and its dependencies, keeping only the base modules installed by the graphic installer, it is still impossible to launch ocaml.
Only solution found till now : completely remove ocaml and reinstall it ... but there's certainly a better way !
I have done multiple searches for installing SASS through my terminal on my Mac, when I write the command gem install sass, it tells me
-bash: $: command not found"
so I tried the alternative sudo install process. My result is
-bash: $: command not found".
Am I missing something here?
Sorry for the dumb question. I'm just a web designer/developer trying to learn SASS, I did get a response once telling me this "WARNING: Improper use of the sudo command could lead to data loss or the deletion of important system files. Please double-check your typing when using sudo. Type "man sudo" for more information. To proceed, enter your password, or type Ctrl-C to abort. Password:"(My typing was correct) so I type my PW. it then tells me it's the wrong PW. - I have one PW on this machine. What am I doing wrong?
I did get this error message after a third try " You don't have write permissions into the /Library/Ruby/Gems/1.8 directory.
Jasons-MacBook-Pro:~ JHess$ "
Do I not have the right permissions set up to perform the SASS install? I found a similar question on Stack regarding this issue - and it told me to install RVM. What exactly is RVM? Is it some type of bundled package?
Any help would be GREATLY appreciated. I just attended a web conference in VA, "ConvergeRVA" and just recently graduated college, I'm not a seasoned vet like most peeps on here. But I would love to start learning SASS.
Note: I am running Mac OS X Lion 10.7.5
In order to use Sass you need Ruby installed. The error messages shows you have an old version 1.8.7
Update to a current version using RVM.
RVM is a command-line tool which allows you to easily install, manage, and work with multiple ruby environments
Copy and paste this into your terminal.
\curl -sSL https://get.rvm.io | bash -s stable --ruby
look at http://screencasts.org/episodes/how-to-use-rvm to learn how to use it.
After this is done try gem install sass again
You haven't installed Mac OS X Command Line Tools. It can be found at:
Xcode > Preferences > Downloads > Command Line Tool
Download & Install it, and restart the Terminal.
I can't get the Ruby interpreter to run on either of my Macs (one MacBook and one MacBook Pro, both running Snow Leopard). When I run it, by typing ruby in Terminal, nothing happens. It just sits there. I can kill it by pressing Ctrl+C, but that's it. I know the Ruby process is running, since I can see it in Activity Monitor, and running ruby --version works fine.
I have tried the following, all to no avail:
I have some bash customizations, so I tried disabling them, but that didn't help.
I installed a new copy of Ruby 1.8.7 using MacPorts, but that one had the same problem.
I tried quitting and restarting the Terminal application.
Some other information that might be useful:
I'm trying to run the version of Ruby that comes with Snow Leopard.
I have installed Apple's developer tools.
Other interpreters (Python, Io, etc.) work fine.
I spent a while tonight searching for this problem online, but haven't found any discussion of it. I'm at a loss for what could be causing it, so any help anybody can provide would be greatly appreciated.
Ruby command itself will just behave the way you said, either provide it with script file or use the -e option:
ruby -e ' puts "hello world" '
However I suspect that you want the IRB(interactive ruby). Run irb in your shell.
What are you trying to do, exactly? The ruby command expects input, in most cases a file that contains Ruby code that you want it to run. In that case you have to specify the name of the file:
> ruby my_ruby_file.rb
If instead you want to run the interactive Ruby shell, i.e. the REPL console that you can type Ruby code into and have it executed each time you press enter, the command you want is irb.