osx-mavericks

Repairing postgresql after upgrade to OSX Mavericks

时光怂恿深爱的人放手 提交于 2019-11-28 18:20:36
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 server: Connection refused Is the server running on host "localhost" (fe80::1) and accepting TCP/IP

Failed to install command line tools on OSX Mavericks

删除回忆录丶 提交于 2019-11-28 18:10:11
I tried to install the command line tools on Mavericks following the steps in this very useful post > xcode-select --install but after a few short seconds I get the message This seems wrong. Does anyone know how to solve this problem? Whenever I navigate to the page that @Nikos M. is suggesting I get this message I followed @Rich's suggestion and I was able to download the package and install it which I wasn't able to do before, but I've found that I still don't have access to a lot of the commands that I should like arp or diskutil just to name two that I've encountered recently. Nikos M.

Installing pg gem; ERROR: Failed to build gem native extension

て烟熏妆下的殇ゞ 提交于 2019-11-28 17:17:26
After updating to OS X 10.9 Mavericks I tried to start a Rails 3 app, but the connection to the PG database was not working. Checking on PGAdmin III, the database is still there and it works fine. So I tried to reinstall the pg gem: gem uninstall pg gem install pg But the last command doesn't succeed, and gives the following error: Building native extensions. This could take a while... ERROR: Error installing pg: ERROR: Failed to build gem native extension. /Users/XXX/.rvm/rubies/ruby-1.9.3-p194/bin/ruby extconf.rb checking for pg_config... yes Using config values from /usr/local/bin/pg_config

Terminal issue with virtualenvwrapper after Mavericks Upgrade

断了今生、忘了曾经 提交于 2019-11-28 16:58:55
After upgrading to OSX Mavericks, I am getting this message in the terminal: /usr/bin/python: No module named virtualenvwrapper virtualenvwrapper.sh: There was a problem running the initialization hooks. If Python could not import the module virtualenvwrapper.hook_loader, check that virtualenv has been installed for VIRTUALENVWRAPPER_PYTHON=/usr/bin/python and that PATH is set properly. Try reinstalling pip and then reinstalling virtualenvwrapper (I had to go through these steps after upgrading to Mavericks): $ sudo easy_install pip $ sudo pip install --upgrade virtualenvwrapper Josh Antweiler

Can't phpize or configure an extension in OS X 10.9 Mavericks

自古美人都是妖i 提交于 2019-11-28 16:27:57
问题 I am trying to build the memcached extension on OS X 10.9 Mavericks for use with the built in PHP 5.4, initially I tried pecl install memcached but that threw the following. checking for zlib location... configure: error: memcached support requires ZLIB. Use --with-zlib-dir=<DIR> to specify the prefix where ZLIB headers and library are located ERROR: `/private/tmp/pear/install/memcached/configure' failed So I created a tmp directory and executed pecl download memcached , unzipped the code and

`Sudo pip install matplotlib` fails to find freetype headers. [OS X Mavericks / 10.9] [closed]

只谈情不闲聊 提交于 2019-11-28 16:05:06
I already have matplotlib-1.2.1 installed as well as numpy-1.8.0 . Note - I am using system python with homebrew installed - I have $PYTHONPATH set so Python loads from /Library/Python/x.y/site-packages (where pip installs to). Here is the code for installing matplotlib (the configurations) BUILDING MATPLOTLIB matplotlib: yes [1.3.1] python: yes [2.7.5 (default, Aug 25 2013, 00:04:04) [GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)]] platform: yes [darwin] REQUIRED DEPENDENCIES AND EXTENSIONS numpy: yes [version 1.8.0] dateutil: yes [using dateutil version 1.5] tornado: yes [tornado was

therubyracer - Gem::Ext::BuildError: ERROR: Failed to build gem native extension

一曲冷凌霜 提交于 2019-11-28 15:27:30
I'm trying to install the following gem versions on Mavericks libv8 (3.16.14.3) therubyracer (0.12.1) Obviously therubyracer gems depends on libv8. 1) Installing libv8 What is libv8? My bit of research seems to indicaite it's some sort of javascript library used by Google Chrome? I was having trouble installing it, but this great post had both my error and a well-explained answer on how to bypass it. So I installed libv8 with gem install libv8 -- --with-system-v8 It's my understanding that this installs the gem but uses my local system installation of the v8 library instead of... the version

Installing Elasticsearch on OSX Mavericks

柔情痞子 提交于 2019-11-28 15:15:50
I'm trying to install Elasticsearch 1.1.0 on OSX Mavericks but i got the following errors when i'm trying to start: :> ./elasticsearch Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize class org.elasticsearch.Version at org.elasticsearch.bootstrap.Bootstrap.buildErrorMessage(Bootstrap.java:252) at org.elasticsearch.bootstrap.Bootstrap.main(Bootstrap.java:236) at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:32) Also when i'm executing the same command with -v arg, i got this error: :> ./elasticsearch -v Exception in thread "main" java.lang

MySQL Connector/C++ OS X 10.9 Mavericks and XCODE 5.0.2

試著忘記壹切 提交于 2019-11-28 13:02:47
问题 I've upgraded to XCode 5.0.2 along with OS X 10.9 Mavericks and MYSQL 5.6.16 recently. Has anyone had any luck getting the MySQL Connector/C++ to compile and work properly with this setup? I've been linking with the distributed MySQL Connector/C++ library under Snow Leopard with no problem for a few years now, but when I shifted to the above mentioned setup, I have no luck. When I use the sql::Driver->connect I get EXC_BAD_ACCESS (code=EXC_I386_GPFLT) USING: XCode 5.0.2 Mavericks 10.9.2 MYSQL

Objective-C in Qt with Mavericks

谁说我不能喝 提交于 2019-11-28 11:32:41
I've been using Objective-C mixed with C++ in Qt without any issues; using .mm files where required. After upgrading my build machine to Mavericks, I initially noticed that the framework headers were missing, so installed the XCode command line tools, which fixed the issue. Now, I'm getting a problem compiling Objective-C files with errors complaining about code in the frameworks. For example: - System/Library/Frameworks/Foundation.framework/Versions/C/Headers/NSUserNotification.h:16:44: error: missing ',' between enumerators NSUserNotificationActivationTypeReplied NS_AVAILABLE(10_9, NA) = 3