osx-mavericks

How to install command line tools on OSX Mavericks

限于喜欢 提交于 2019-11-27 11:33:51
I am running OSX Mavericks (10.9) and while trying to update a bundle in rails, I get the following error message: "You have to install development tools first." I have Xcode already installed and there seems to be no option to install the tools from within the Xcode 4.6. How can I download and install command line tools via terminal? Incase, while trying to update a bundle, you get an error "You have to install development tools first." on OSX Mavericks (OSX 10.9), but you already have Xcode installed, you can still manually install the dev tools via terminal: xcode-select --install Do that

Repairing postgresql after upgrade to OSX Mavericks

倖福魔咒の 提交于 2019-11-27 11:14:44
问题 A recent upgrade to OSX Mavericks has broken my database connection for my Rails app. When I try to fetch from the database the server returns the following error: PG::ConnectionBad (could not connect to server: Connection refused Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432? could not connect to server: Connection refused Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432? could not connect to

C++ linking error after upgrading to Mac OS X 10.9 / Xcode 5.0.1

血红的双手。 提交于 2019-11-27 11:08:24
After upgrading to Mac OS X 10.9 / Xcode 5.0.1, command lines to create a shared library (.dylib) failed with several undefined symbols. clang++ -dynamiclib -install_name test.dylib *.o -o test.dylib Undefined symbols for architecture x86_64: "std::allocator<char>::allocator()", referenced from: _main in test.o "std::allocator<char>::~allocator()", referenced from: _main in test.o "std::ostream::operator<<(std::ostream& (*)(std::ostream&))", referenced from: _main in test.o "std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char>

git error “unable to locate xcodebuild” after a fresh OS X Mavericks upgrade

早过忘川 提交于 2019-11-27 11:06:48
问题 When I try to run previously working git commands, I get this: dyld: Symbol not found: _sqlite3_intarray_bind Referenced from: /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData Expected in: /opt/local/lib/libsqlite3.dylib in /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData git: error: unable to locate xcodebuild, please make sure the path to the Xcode folder is set correctly! git: error: You can set the path to the Xcode folder using /usr/bin/xcode-select

Can't install python mysql library on Mac Mavericks

感情迁移 提交于 2019-11-27 10:58:31
问题 It was working like a charm before the update from Mountain Lion. After the update it is broken and I cannot get the environment up again. Does anybody know how to fix this? The error is bolded, below. fedorius@this:~$ pip install mysql-python Downloading/unpacking mysql-python Downloading MySQL-python-1.2.5.zip (108kB): 108kB downloaded Running setup.py (path:/private/var/folders/21/zjvwzn891jnf4rnp526y13200000gn/T/pip_build_fedorius/mysql-python/setup.py) egg_info for package mysql-python

Eclipse GDB MacOSX Mavericks [closed]

喜欢而已 提交于 2019-11-27 10:32:10
I have had terrible problems making an Application Debug using Eclipse C/C++ project with XCode 5.0 and I have finally made it. I have finally been able to successfully debug my application and that's why I decided to make this little tutorial hoping to save time to others. When trying to debug and application written in C/C++ on Eclipse on Mavericks OS it comes up with "Error gdb -- version". This is because Eclipse cannot find GDB debug on new Mac OSX because Apple discontinues GDB support in place of LLDB. To check if this is your case simply try to run from Terminal gdb and it will show up

App can't be opened because it is from an unidentified developer

混江龙づ霸主 提交于 2019-11-27 10:20:19
I installed Mac OS X Mavericks (10.9) yesterday and since then I am not able to start my Eclipse. I am attaching a screenshot of the message I see. Is there a workaround for this? I found a solution in Fix the “App can’t be opened because it is from an unidentified developer” Error in Mac OS X . It's because of the Security options. Go to System Preferences... > Security & Privacy and there should be a button saying Open Anyway , under the General tab. You can avoid doing this by changing the options under Allow apps downloaded from: , however I would recommend keeping it at the default Mac

Genymotion, “Unable to load VirtualBox engine.” on Mavericks. VBox is setup correctly

让人想犯罪 __ 提交于 2019-11-27 10:06:35
I keep getting the following error: I have reinstalled, deleted and tried about EVERYTHING to get Genymotion to work again. I do not have the device I need, but Genymotion was PERFECT for the job, until Mavericks update I have been fighting to get it to work again. MacBook Pro, Retina 13-inch, Early 2013. i5, 8gb. I'm running version 1.3.1 for os x. I do have Virtualbox 4.3 installed with Oracle_VM_VirtualBox_Extension_Pack-4.3.0-89960.vbox-extpack too. My Virtualbox starts up normally without ANY errors. I tried Environment variables putting vbox on my $PATH, all sorts of things. Nothing

Cannot install pg gem in Mavericks with Postgres.app

你说的曾经没有我的故事 提交于 2019-11-27 10:02:46
I am trying to install the pg gem for use with Postgres.app on my local machine. I am running Mavericks. Postgres.app is installed and running fine, but I cannot get the gem to work. I've done the following: Used the command 'env ARCHFLAGS="-arch x86_64" gem install pg -- --with-pg-config=/Applications/Postgres.app/Contents/MacOS/bin/pg_config' from the Postgres.app documentation Updated Homebrew and installed the Apple GCC 4.2 Installed the Xcode developer tools Updated my $PATH to reference both the Postgres.app bin and lib directories All with no success. Here is the specific error message

Installing libv8 gem on OS X 10.9+

自古美人都是妖i 提交于 2019-11-27 09:58:08
I'm trying to install libv8 3.16.14.3 but getting an error on OSX Mavericks using latest stable rvm and ruby-1.9.3-p125. This is the output of running the command 'gem install libv8': ~/src(branch:master) » gem install libv8 Fetching: libv8-3.16.14.3.gem (100%) Building native extensions. This could take a while... ERROR: Error installing therubyracer: ERROR: Failed to build gem native extension. /Users/me/.rvm/rubies/ruby-1.9.3-p125/bin/ruby extconf.rb creating Makefile Compiling v8 for x64 Using python 2.7.5 Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx