I have a problem with Rhostudio, Mac OS X 10.7.3 Lion and Ecplise.
Rhostudio install as app as a plugin but it does not work.
If I create the project is blank. In the preferences tells me can not find the path of Rhodes.
On my Mac development in Ruby on Rails with Aptana Studio 3. It works perfectly and use Ruby 1.9.3 and RVM.
The gems are installed correctly.
What is my problem? What can I do?
I had the same issue on Mac OS X Lion 10.7.3; the project is blank because Rhostudio is not properly installed, the installation seems to had gone through but it failed.
I followed the instructions from here http://docs.rhomobile.com/rhostudio.tutorial#installing-rhostudio but when I ran the install gems script, a 'Please install building tools' message was coming out on the terminal. The script fails because it looks for the developer folder and does not find it, you can still run Rhostudio, but it doesn’t work properly. There are several things you could do, like installing a version of Xcode that would create the developer folder, but you don’t really need that.
This is what I did:
1. I cleaned all previous installations of Rhostudio.
I installed the latest Xcode, the latest version of Xcode does not create the developer folder, as you can see here: https://developer.apple.com/library/ios/#documentation/DeveloperTools/Conceptual/WhatsNewXcode/Articles/xcode_4_3.html#//apple_ref/doc/uid/1006-SW1
I then installed the Command-Line Tools; these are now optional and the instructions are on the same link of step two.
I repeated the basic installation steps from the tutorial and when it was time to run the install gems script I opened it with a text editor and ran every command manually from the command line, I skipped the validations that search for the developer folder and the Java installation. The developer folder doesn’t have to be there anymore but you must have Java installed.
Once I finished running every command the installation was complete. If you create a new project this time the folder should not be empty.
I configured Rhostudio according to the instructions and the framework I needed to work on and everything went smooth.
I hope that helps, and note that whenever you tried installing by running the Install Gems script the error was coming out to the terminal, based on that message you’ll find if something else is happening. The two initial validations can only output the error messages 'Please install building tools' or 'Please install java development kit'.
Related
I tried to install gcc 5.2 (already installed dependencies successfully) from source file on my computer one week ago, but it failed at make phase or make install phase because of missing some ****.h files, whatever, i can not remember clearly.
I searched the reason online, and looks like it is because i did not installed Command Line Tools for Xcode. But I already have Xcode 7.1.1 and i think it includes the Command Line Tool. I find it from File -> New -> project -> OS X Application -> Command Line Tool. I can also use gcc --version in the terminal.
So do i need to install Command Line Tools separately? If I need, and why?
did you try to download it like described in the attached images:
If you have installed Xcode you have installed command line tools too. Xcode installs command line tools automatically the first time you open it ("Installing additional components" is the message you see on the screen).
Actually xcode cannot function without the command line tools (build, git etc).
short answer: no, you don't.
this is the official description for the Command Line Tools for Xcode (from the https://developer.apple.com/download/all/):
This package enables UNIX-style development via Terminal by installing command line developer tools, as well as macOS SDK frameworks and headers. Many useful tools are included, such as the Apple LLVM compiler, linker, and Make. If you use Xcode, these tools are also embedded within the Xcode IDE.
long answer: it depends.
for example, if you're using homebrew package manager it requires CLT
(from homebrew member comment https://github.com/Homebrew/brew/issues/10714#issuecomment-786663987)
The reason we need the Command Line Tools rather than just Xcode.app is for a few reasons:
The CLT contains more SDKs than Xcode - Xcode usually only contains one SDK, and it may be newer than your OS, while the CLT always has a compatible SDK. Having a matching SDK is very important for some formulae.
The CLT is in a fixed location /Library/Developer/CommandLineTools while Xcode is not. This matters as some formulae (including Python) bake in paths into files at compile-time - if they pointed to Xcode then it will only work for people who have Xcode installed in the same place.
I download from tokumx website newest version. When I start mongod I have an error,
bash: ./mongod: cannot execute binary file
Any solution.
The only version available directly from the website is for linux, you'll need to contact them to get an OSX build.
The TokuMX Community Edition downloads featured on the Tokutek site are currently 64-bit Linux only. The system requirements also note that only 64-bit Linux is officially supported.
However, for OS X users there is a Homebrew TAP package available if you want to install binaries for development purposes.
Assuming you have have Homebrew installed, you should be able to install the tokumx-bin package by running the following from your shell prompt:
brew tap tokutek/tokumx
brew install tokumx-bin
Notes:
the package install will fail unless you enter some text when prompted for an email address (though any text including the default "email address" seems to work)
the tokumx-bin package conflicts with the mongodb package as both use the same names for binaries
TokuMX binaries and data files are not interchangeable with MongoDB
I'm trying to install a library on my mac and one of the requirements of this library that I should install MPICH and ensure that the system paths are configured to point to it instead of the default OpenMPI installation.
So I installed MPICH2 using macport and I want to make sure that the system is using that one, how can I do that?
You need to do it the same way you would with any other library/program. Set your LD_LIBRARY_PATH and PATH variables appropriately so that the MPICH path is in front of Open MPI.
However, I would point out that on Mavericks, I don't think Open MPI is still distributed as part of the operating system anymore.
You're also welcome to use Homebrew to install MPICH. The MPICH project has moved on from being called MPICH2 since it went to version 3.0. The latest version is 3.1.2. You can either download it and install it yourself at www.mpich.org/downloads or via Homebrew on Mac. I believe it's also in Macports but I don't know enough about that.
It should have given you directions on completion of the install. Use 'port notes mpich-default' (assuming mpich-default is what you installed) to see them again. They will be something like; 'sudo port select mpich mpich-default-fortran'.
Use 'mpicc -show' and make sure it looks correct after the above command to verify your PATH is correct.
I have recently installed the Aptana plugin for Eclipse as I wish to learn Ruby and Ruby on Rails, it doesn't seem to have changed anything. Usually when I install a plugin of the sort, there will be new project types under the "New Project" menu, but none appeared. I checked tutorials online and they suggest that there should be new project types as seen in the image below, taken from a tutorial.
Instead, I see the same options I did before.
I wondered if the plugin didn't install, but when I try to install it again, It says it's already installed. I am using Eclipse Juno Service Release 2 with a 64-bit Windows 7 operating system and the version of the plugin from the URL given on the Aptana website (http://download.aptana.com/studio3/plugin/install). Any help would be much appreciated.
I don't know why that's happening. Here's a suggestion for how to get around it.
You might be better off installing and running the standalone Aptana Studio product. It would be a separate installation on your desktop, and thus wouldn't have the same settings as any Eclipse installation you already had, and would be more space on your hard drive. But probably there isn't much you would share between Ruby/Rails development and other development, and it's not that much space.
I've done it both ways - installed Aptana into an Eclipse I've already got, and installed the standalone version - and now I would only do standalone.
I don't know what was wrong in the first place, but after I installed the Aptana plugin, I installed the PyDev plugin. I think this removed the Aptana plugin because of conflicting dependencies (I don't know why it wouldn't tell me, though). I tried installing the Aptana plugin again and it told me there was a conflicting dependency with the PyDev plugin, so I uninstalled it and reinstalled the Aptana plugin. It works now.
this is my first question to post.
I am working with python at the moment (on mac os 10.6.8), and have struggled for the lack of an ide. I have been using a version of emacs that offers syntax highlighting, but does not offer the ability to browse variable values without print statements. What I was looking for was the equivalent of eclipse, which basically died on my machine when I upgraded from 10.4.11 to 10.6.8. I've not been successful resurrecting it. Time to move on.
My graduate advisor suggested spyder, and last night I bit the bullet, installing macports and (apparently) spyder, successfully.
The problem I'm having is HOW do I start spyder once installed. Apparently, python spyder.py is not the approach to use. Elsewhere (not here) I saw a post that suggested that there was supposed to be a batch executable that I should be able to find by typing
which spyder
This yielded nothing.
The spyder documentation (located at http://packages.python.org/spyder/options.html) suggests that the command
python spyder.py
is the way to go. Here is the result:
Bobs-Machine:spyderlib robertlilly$ python spyder.py
Traceback (most recent call last):
File "spyder.py", line 31, in
from spyderlib import qt #analysis:ignore
ImportError: No module named spyderlib
Most of my searches here have just pointed out that one should use MacPorts for the install, nothing after that. The readme included the macports spyder install, I thought, didn't provide sufficient direction.
If anybody knows where to look, that would be great.
Regards,
Robert
For me, I installed the macports package py37-spyder. In /opt/local/bin there is the package there, spyder-3.7. Launching that works already. In order to make that the default, I have to run
sudo port select --set spyder spyder-37
Then I can run it directly as
spyder from Terminal. If you want to see which versions of spyder are available on your system, then
port select --list spyder
will tell you the versions you have.
Macports should install a spyder binary to /opt/local/bin/spyder, or thereabouts. If you already have /opt/local/bin/ in your PATH variable, then just run:
$ spyder &
Or more explicitly:
$ /opt/local/bin/spyder &
...if you don't have the PATH setup. Hope that helps.
I just recently installed spyder via MacPorts.
(the command I chose was sudo port install py27-spyder, which installed Spyder v.2.2.3 on Mac OS 10.7.5 & Python 2.7.5)
At the end of the Spyder installation, the terminal showed "use command spyder to launch" (or something to that effect)
So, for me, I simply had to type spyder into a terminal to launch it. Your error referring to missing spyderlib might mean that your spyder installation did not in fact complete properly. (I have found it's not uncommon to have to track down 2-3 weird bugs and dependencies for complex MacPorts installs).
If you find it did complete properly, then perhaps the MacPorts directory was not added to your PATH. It you open ~/.profile, you should seen that MacPorts added it's directory to the shell's search path. Here's what the MacPorts installer added to my .profile:
# MacPorts Installer addition on 2012-11-19_at_17:16:31: adding an appropriate PATH variable fo$
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
# Finished adapting your PATH environment variable for use with MacPorts.
To make a Mac OS-friendly icon to launch Spyder, I then made a new text file (I did it with Terminal.app>pico) containing the following text:
#!/bin/bash
spyder
and saved the file as spyder.command. This file is now double-clickable and will launch Spyder (and an alias to it can have a more normal name like "Launch Spyder"). Throw it into the /Applications folder & make an Icon for it via /Utilities/Icon Composer.app (grab the Spyder icon on the website) and it's like a Pythonic Matlab!