osx-mavericks

Maven not found in Mac OSX mavericks

可紊 提交于 2019-12-03 01:27:06
问题 After upgrading my Mac OSX 10.8 to 10.9, Maven not found in the /usr/share path but its installed in 10.8. when I try this command: $ maven -version got this result -bash: mvn: command not found but it worked fine on 10.8? Any idea? 回答1: Maven is not installed any more by default on Mac OS X 10.9. You need to install it yourself, for example using Homebrew. 回答2: if you don't want to install homebrew (or any other package manager) just for installing maven, you can grab the binary from their

when trying to configure or rebuild node-gyp, getting errors: mac osx mavericks

依然范特西╮ 提交于 2019-12-03 01:07:41
I'm trying to run node-gyp configure , but am getting the following errors: gyp: binding.gyp not found (cwd: /usr/local/bin) gyp ERR! configure error gyp ERR! stack Error: `gyp` failed with exit code: 1 gyp ERR! stack at ChildProcess.onCpExit (/usr/local/lib/node_modules/node-gyp/lib/configure.js:337:16) gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17) gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:789:12) gyp ERR! System Darwin 13.0.0 gyp ERR! command "node" "/usr/local/bin/node-gyp" "configure" gyp ERR! cwd /usr/local/bin gyp ERR! node -v v0.10.20

XCode 4.6.3 crash everytime I open it on OS X 10.9.3

时光总嘲笑我的痴心妄想 提交于 2019-12-03 00:39:52
I updated Mavericks 10.9.2 to 10.9.3 and downloaded Xcode 6 beta. One of my project is still in Xcode 4.6.3. So now whenever I open this project Xcode crashes with the following pop up. It was working fine in OS X 10.9.2. Is it OS related issue? Please help Jayprakash Dubey I had similar issue. This can be fixed using `sudo mv /System/Library/PrivateFrameworks/MobileDevice.framework{,-saved}` This will ask for system component installation and then Xcode starts working. I recommend to use latest version of Xcode 6.x. Try this: sudo mv /System/Library/PrivateFrameworks/MobileDevice.framework{,

How to stop apache permanently on mac Mavericks?

橙三吉。 提交于 2019-12-03 00:25:31
问题 I'm trying to install zend server on mac and need to uninstall the apache server that is auto included with Mavericks so that the Apache server included with Zend is used instead. Can it be prevented from running on startup or permanently removed? 回答1: Try this: sudo launchctl unload -w /System/Library/LaunchDaemons/org.apache.httpd.plist This will stop a running instance of Apache, and record that it should not be restarted. It records your preference in /private/var/db/launchd.db/com.apple

docker can't connect to boot2docker because of tcp timeout

余生长醉 提交于 2019-12-03 00:16:59
问题 I'm running Mac OS 10.9.5, I've followed https://docs.docker.com/installation/mac/ to install docker. I get a timeout error message when I run docker even though the boot2docker VM is running in the background. nikhil@macbook ~> boot2docker status running nikhil@macbook ~> boot2docker ip The VM's Host only interface IP address is: 192.168.59.103 nikhil@macbook ~> docker run hello-world 2014/11/01 01:01:31 Post https://192.168.59.103:2376/v1.15/containers/create: dial tcp 192.168.59.103:2376:

Undefined symbols for x86_64 when compiling

跟風遠走 提交于 2019-12-02 22:57:28
问题 So I'm in an intro to Programming course in University and before anything else, let me say sorry for the poor formatting, I have no clue how to format this properly. But back to my questions, so we are primarily using c++ but I've been having some issues when I'm compiling my files. The compiler works for the most part and it will tell me when I have errors in my code but once I iron those out, it gives me a message saying that there are Undefined symbols for my x86_64 architecture. I tried

Using PacketFilter to transparently proxy packets in OS X

笑着哭i 提交于 2019-12-02 22:29:23
There is a cool utility out there called sshuttle . It has depended on ipfw to forward packets in the past. It appears that ipfw is mostly broken in Mavericks and the advice is to use PacketFilter for this now. I've spent most of the day looking at PacketFilter and it appears ipfw has a feature that PacketFilter does not support (hope I'm wrong about this). The following rule: ipfw -q add 12300 fwd 127.0.0.1,12300 tcp from any to any not ipttl 42 keep-state setup will forward all traffic to 127.0.0.1 (localhost) port 12300. It does not, however, change the destination IP or port in the TCP

Setting Java home enviroment variable in OSX Mavericks

℡╲_俬逩灬. 提交于 2019-12-02 20:33:28
问题 I am having issues with my Java path. I have installed the latest version of Java 1.7.0_51. When I open the Java control panel it tells me "Your system has the recommended version of Java." However when I go to terminal and type java -version I get java version "1.6.0_32" So after searching around I came across this SO Question which tells me that my Java home environment variable needs to be set. I then opened the bash_profile file and added the below line to the top of the file, above my

Using multiple keywords in xattr via _kMDItemUserTags or kMDItemOMUserTags

放肆的年华 提交于 2019-12-02 19:49:28
While reorganizing my images, in anticipation of OSX Mavericks I am writing a script to insert tags into the xattr fields of my image files, so I can search them with Spotlight. (I am also editing the EXIF just to be safe.) My questions are: Which attribute is the best to use? _kMDItemUserTags seems to be the OSX version, but kMDItemOMUserTags is already in use by OpenMeta. I would ideally like something that will be Linux and OSX forward compatible. How do I set multiple tags? Are the comma- or space-delimited or something else? As an example, using the python xattr module, I am issuing these

How to use NSVisualEffectView backwards-compatible with OSX < 10.10?

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-02 19:29:00
The upcoming OSX 10.10 ("Yosemite") offers a new type of view, NSVisualEffectView, which supports through-the-window or within-the-window translucency. I'm mostly interested in through-the-window translucency, so I'm going to focus on that in this question, but it applies to within-the-window translucency as well. Using through-the-window translucency in 10.10 is trivial. You just place an NSVisualEffectView somewhere in your view hierarchy and set it's blendingMode to NSVisualEffectBlendingModeBehindWindow . That's all it takes. Under 10.10 you can define NSVisualEffectView s in IB, set their