osx-mavericks

xcrun/lipo freezes with OS X Mavericks and XCode 4.x

一笑奈何 提交于 2019-11-27 18:32:53
Been trying to install psycopg2 with either easy_install or pip, and the terminal gets stuck in a loop between xcrun and lipo. sidwyn$ sudo easy_install psycopg2 Searching for psycopg2 Reading https://pypi.python.org/simple/psycopg2/ Reading http://initd.org/psycopg/ Reading http://initd.org/projects/psycopg2 Best match: psycopg2 2.5.1 Downloading https://pypi.python.org/packages/source/p/psycopg2/psycopg2-2.5.1.tar.gz#md5=1b433f83d50d1bc61e09026e906d84c7 Processing psycopg2-2.5.1.tar.gz Writing /tmp/easy_install-dTk7cd/psycopg2-2.5.1/setup.cfg Running psycopg2-2.5.1/setup.py -q bdist_egg -

Mac OS X 10.9 - setting permanent environment variables

≯℡__Kan透↙ 提交于 2019-11-27 18:27:28
How do I set a permanent environment variable (i.e. one that does not need exporting every time I start a new Terminal session) in Mac OS X 10.9? I've found a number of answers about modifying my .bash_profile and .profile , however neither of these options seem to work as permanent solutions - only temporary. The variable I'm trying to set is MULE_HOME . I have the following line in my bash profile: export MULE_HOME=$(/opt/mule-standalone-3.4.0) However, when I start Terminal I get the following line (not sure if this is normal behaviour?): -bash: /opt/mule-standalone-3.4.0: is a directory

lxml runtime error: Reason: Incompatible library version: etree.so requires version 12.0.0 or later, but libxml2.2.dylib provides version 10.0.0

你。 提交于 2019-11-27 17:50:14
I have a perplexing problem. I have used mac version 10.9, anaconda 3.4.1, python 2.7.6. Developing web application with python-amazon-product-api. i have overcome an obstacle about installing lxml, referencing clang error: unknown argument: '-mno-fused-madd' (python package installation failure) . but another runtime error happened. Here is the output from webbrowser. Exception Type: ImportError Exception Value: dlopen(/Users/User_Name/Documents/App_Name/lib/python2.7/site-packages/lxml/etree.so, 2): Library not loaded: libxml2.2.dylib Referenced from: /Users/User_Name/Documents/App_Name/lib

Ansible Installation -clang: error: unknown argument: '-mno-fused-madd'

大城市里の小女人 提交于 2019-11-27 17:37:51
So, I've found some other clang error's on here that appear to be somewhat similar, however, the fixes aren't applicable to my situation. I'm using OSX Mavericks and we're trying to get Ansible installed. I got pip to install correctly, but when I try to install Ansible, I get this clang error. We thought, at first, that it might be a version issue, so I re-installed gcc46 after having this same error with gcc49, but I'm still getting the error. Does anyone know how to fix this? My complete error report from the pip.log log file is as follows: cc -fno-strict-aliasing -fno-common -dynamic -arch

Shader can't be compiled

隐身守侯 提交于 2019-11-27 15:04:16
问题 I'm following book "OpenGL Programming Guide 8th Edition". I just want to run the first program introduced in the book on my Mac. It's Mavericks + Xcode 4.6.1 + Intel HD graphics 4000. So the problem is, the shader can't be compiled. Shader codes: #version 410 core layout(location = 0) in vec4 vPosition; void main() { gl_Position = vPosition; } And the error message is: Shader compilation failed: ERROR: 0:1: '' : version '410' is not supported ERROR: 0:1: '' : syntax error #version ERROR: 0:3

What are productive ways to debug Rcpp compiled code loaded in R (on OS X Mavericks)?

折月煮酒 提交于 2019-11-27 14:25:02
问题 What is the most productive and quickest way to debug shared objects that are loaded into R, in particular on OS X Mavericks? I'm primarily interested in debugging compiled Rcpp code. I have read the R externals on debugging compiled code (http://cran.r-project.org/doc/manuals/R-exts.html#Debugging-compiled-code) which favours using gdb, but gdb isn't officially supported on Mavericks. However, it seems that lldb is a viable alternative? I found the most useful resource for working out how to

OS X 10.9.2: checking whether the C compiler works… no

白昼怎懂夜的黑 提交于 2019-11-27 13:46:26
问题 I'm attempting to install texinfo 5.2, and I'm running into some issues during ./configure , which I believe are related to the C compiler. When I upgraded from Snow Leopard, I didn't perform a clean install, so perhaps that's part of the problem. Anyway, here's what I've got: ryansmacbook:texinfo-5.2 ryan$ sudo ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" CPP="gcc -E" CXXCPP="g++ -E" Password: checking for a BSD

Building C++ not working in OSX 10.9

依然范特西╮ 提交于 2019-11-27 13:03:28
问题 Update: I solved the problem in the end by reinstalling command line tools, as shown in this link. Sorry for the trouble! Initial question I have just upgraded to OSX Mavericks and I cannot make the compiler work anymore. I've been using gcc48 from macports with vim/sb2 and everything was working just fine. Now any library that I include gives tons of errors. I am not very experienced and I do not know what to do, or what to search for. I just want it to work like before. Here is what is says

Installing RMySQL in mavericks

那年仲夏 提交于 2019-11-27 12:34:52
问题 I am having trouble installing RMySQL. I am trying to install it from its source in the following way: install.packages("/path/to/package/RMySQL_0.9-3.tar.gz",repos = NULL,type="source") Then I get: Installing package into ‘/Users/Library/R/3.1/library’ (as ‘lib’ is unspecified) * installing *source* package ‘RMySQL’ ... ** package ‘RMySQL’ successfully unpacked and MD5 sums checked checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C

How do I install db2 Express-C 10.1 on OSX Mavericks

岁酱吖の 提交于 2019-11-27 12:31:52
I have attempted to install db2 Express-C 10.1 on OSX Mavericks, but I get the error listed here: db2 setup for Mac Here are the steps I did to install db2 express C on Mac OSX Mavericks. Note: I did all the commands logged into my own user; when I needed to run as a different user, I used sudo. Steps: Download DB2 express C from here: https://www14.software.ibm.com/webapp/iwm/web/reg/download.do?source=swg-db2expressc&S_PKG=dlmacosx&S_TACT=100KG31W&lang=en_US&cp=UTF-8&dlmethod=http Double click the downloaded file to untar and unzip it. Modify system parameters with this command: sudo vi /etc