osx-lion

Problems installing rgeos and rgdal on Mac OS X Lion

纵饮孤独 提交于 2019-12-24 00:54:27
问题 I'm trying to install the rgeos package (and the rgdal) package. I have a macbook pro running os x 10.7.1 and I have the latest version of R, 2.13.1. I am following the instructions from this site: http://lostingeospace.blogspot.com/2011/08/rgeos-on-macos-x.html I have installed the latest GDAL complete framework 1.8 from http://www.kyngchaos.com/software:frameworks and have downloaded the source file rgeos_0.1-8.tar.gz from CRAN. In terminal, I input the following, as per the instructions:

Macports installing binutils

試著忘記壹切 提交于 2019-12-23 17:24:18
问题 I'm trying to install gnu ld, via macports, on Lion. I have already installed gcc 4.6 from macports. However I need to create elf binary form a binary file, which I posted as seperate question here I installed binutils from macports, it seems as though everything went fine, however I did get the following message at the end: Warning: binutils installs files outside the common directory structure. ---> Installing binutils @2.21_0 ---> Activating binutils @2.21_0 Having binutils installed will

brew link jpeg issues

若如初见. 提交于 2019-12-23 17:01:43
问题 I am trying to install opencv on Mac OSX Lion. brew install opencv I get the following error (and a few other similar ones) Error: The linking step did not complete successfully The formula built, but is not symlinked into /usr/local You can try again using `brew link jpeg' When I do brew link jpeg Linking /usr/local/Cellar/jpeg/8d... ln: wrjpgcom: File exists I do not understand what this means? What should I be doing? Thanks 回答1: Check for the following files in the /usr/local folder: bin

How do I access my Ubuntu 10.04 Virtualbox's localhost from my host machine (mac)?

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-23 16:53:41
问题 Disclaimer: I'm new to most of this I just downloaded virtualbox yesterday and installed ubuntu 10.04 on it today. My plan is to mirror the production/staging environments that I plan to deploy to. Anyway I just set up nginx and I want to make sure that the installation worked properly and I need to access the equivalent of what would be localhost on my ubuntu virtualbox installation. I'm running the latest version of Lion with the latest version of virtualbox. 回答1: You can access your guest

NSUserDefaults and sandboxing under Lion

风格不统一 提交于 2019-12-23 13:58:29
问题 Moving one of my projects to support sandboxing as per Apple's requirements. I use UserDefaults like so: [[NSUserDefaults standardUserDefaults] setObject:@(myNumber) forKey:myNumberKey]; [[NSUserDefaults standardUserDefaults] synchronize]; Everything works as expected until I enable sandboxing. If I have sandboxing enabled the app creates a lock file in it's sandbox directory ( .plist.lockfile) and doesn't create an actual .plist file. What am I doing wrong and how do I store my settings in

Upgrade to Lion, failed to build gem native extensions

◇◆丶佛笑我妖孽 提交于 2019-12-23 12:13:37
问题 Not sure if my problem is related to this thread (http://stackoverflow.com/questions/6589066/rmagick-and-os-x-lion), but I just upgraded to Lion; more specifically I purchased an new machine and migrated over my old profile. I am unable to launch rails 3 because it cannot find rmagick, and I am unable to install rmagick, because I get the following error. I tried uninstalling rmagick and imageMagick, but I still get the same error when attempting to bundle install. Any thoughts? Thank you

How can I stop my app from setting the “quarantine” bit?

不打扰是莪最后的温柔 提交于 2019-12-23 08:51:38
问题 Ever since OS X 10.7.3, my text editor is setting the "quarantine" bit on any file it touches. My text editor is designed for working with shell scripts, and if the quarantine bit is set then a shell script cannot be executed from the command line, until you double click it in Finder and go through a "This application was downloaded from the internet" alert (or remove the quarantine bit with xattr ). For example, I just created a "hello world" script in my app, it has been quarantined, and

SVN, OSX10.7: SSL handshake failed: SSL error code -1/1/336032856

蹲街弑〆低调 提交于 2019-12-23 08:03:31
问题 I'm having trouble accessing an svn repository due to an SSL handshake error. Here's the output I get $ svn ls https://example.edu:40657/folder svn: OPTIONS of 'https://example.edu:40657/folder': SSL handshake failed: SSL error code -1/1/336032856 (https://example.edu:40657) This started happening after the repository was moved to another server. A new security certificate was issued as well. I've seen the issue raised here (Handshake failure with "SSL error code -1/1/336032856" on OS X 10.7)

SVN, OSX10.7: SSL handshake failed: SSL error code -1/1/336032856

左心房为你撑大大i 提交于 2019-12-23 08:01:41
问题 I'm having trouble accessing an svn repository due to an SSL handshake error. Here's the output I get $ svn ls https://example.edu:40657/folder svn: OPTIONS of 'https://example.edu:40657/folder': SSL handshake failed: SSL error code -1/1/336032856 (https://example.edu:40657) This started happening after the repository was moved to another server. A new security certificate was issued as well. I've seen the issue raised here (Handshake failure with "SSL error code -1/1/336032856" on OS X 10.7)

Building Ruby 1.9.3 on Lion with Xcode 4.2 using ./configure --with-gcc=clang

元气小坏坏 提交于 2019-12-23 05:19:08
问题 My environment: Mac OS X v10.7.2 with Xcode 4.2.1 I am trying to build ruby 1.9.3 on Lion with Xcode 4.2.1. I understand there's an issue with the llvm-based gcc compiler that comes with Xcode 4.2.1. But I'm trying to work around it by following these instructions, http://goo.gl/Sc39g. I was able to get a little farther along, but then ran into these 2 problems: #error Please add -D_FILE_OFFSET_BITS=64 to your compile flags! fatal error: 'sys/statfs.h' file not found The complete configure