osx-mavericks

Building a Boost.Python application on MacOS 10.9 (Mavericks)

吃可爱长大的小学妹 提交于 2019-12-07 06:43:20
问题 I upgraded to Mavericks, and am now unable to build my application after much troubleshooting. During linking, I receive the errors Undefined symbols for architecture x86_64: "boost::python::objects::function_object(boost::python::objects::py_function const&, std::pair<boost::python::detail::keyword const*, boost::python::detail::keyword const*> const&) . . . "boost::python::objects::register_dynamic_id_aux(boost::python::type_info, std::pair<void*, boost::python::type_info> (*)(void*))" I am

Installing mod_mono on Mac OSX 10.9 “Mavericks”

丶灬走出姿态 提交于 2019-12-07 06:08:59
问题 I'm trying to install mod_mono on mavericks, however, I'm getting an error. I have the most up-to-date mono version with Mavericks support. (v 3.2.3). When I ./configure --prefix=/usr in mod_mono version 2.10 I get this error: checking Apache version... configure: error: Apache 1.3 is no longer supported. mod_mono now requires at least Apache 2.0 But when i check my version of apache it says Server version: Apache/2.2.24 (Unix) Server built: Aug 24 2013 21:10:43 EDIT: Upgrading your mono

Java: What constitutes a “normal” file in the context of File.isFile()?

那年仲夏 提交于 2019-12-07 04:41:06
问题 I've run into a situation where file.isFile() returns false, which indicates the file is not "normal". However, I can't find a definition of what "normal" means. The docs link to Oracle state: A file is normal if it is not a directory and, in addition, satisfies other system-dependent criteria. The file is owned by _www:staff and has permissions -rw-r--r-- . The directory is also owned by _www:staff and has permissions drwxrw-r-- . The process that is accessing the file is owned by bob:staff

Qt 5 and OS X Mavericks issues

女生的网名这么多〃 提交于 2019-12-07 04:18:40
问题 I'm using Cmake to build a QT project on OS X 10.9. Since Mavericks, the location of the OpenGL headers seems to have changed. The folder /System/Library/Frameworks/OpenGL.framework/Headers is missing now, and cmake says CMake Error at /Applications/Qt/5.1.1/clang_64/lib/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake:8 (message): Failed to find "gl.h" in "/System/Library/Frameworks/OpenGL.framework/Headers" "/System/Library/Frameworks/AGL.framework/Headers""." and asks me to provide the correct path

How to iterate all mounted file systems on OSX

99封情书 提交于 2019-12-07 02:27:23
问题 I am interested in iterating all mounted file systems on OSX (currently running 10.9 Mavericks). I am looking for something similar to getmntent() or the output of the mount shell command (although I want to do it from objective C, so parsing the output of a shell command is obviously not optimal). I have been looking a bit at the disk arbitration framework, and it appears that I could be notified about mount and unmount events using this framework. I may be missing something there, but it

Psycopg2 install with pip works but cannot import module on OS X 10.9

╄→гoц情女王★ 提交于 2019-12-07 02:22:03
问题 I've installed psycopg2 with pip install psycopg2 and it worked just fine. The install output had a couple of warning along the lines of In file included from ./psycopg/psycopg.h:33: ./psycopg/config.h:71:13: warning: unused function 'Dprintf' [-Wunused-function] static void Dprintf(const char *fmt, ...) {} ^ 1 warning generated. but in the end it says Successfully installed psycopg2 and it also appears when I run pip list . Now when I try to import it in python I get an error: $ python

How do I create a bot in Xcode? Getting “Creating a bot requires a project that is under source control.”

一曲冷凌霜 提交于 2019-12-07 01:57:09
问题 I'm trying to get Continuous Integration setup in Mavericks using OS X Server for Mavericks. I have the Server installed and my source code is in a local directory using Git from assembla. I'm following the Apple Xcode Continuous Integration Guide, and I'm at the part where I'm adding a bot to the product in Xcode. I'm getting the error: Creating a bot requires a project that is under source control. This project appears to be in a local git repository. To be able to create a bot, the project

XCode 5.x + Maverick crashes on File operations

你说的曾经没有我的故事 提交于 2019-12-07 01:57:05
问题 after updating my OS to Maverick, Xcode 5.01 started to crash every time a "file operation" is attempted. With file operation I mean any operation that requires a file picker window to appear (e.g.: distribute an .ipa, add a file to the project, open a new project, etc) with a delay wich goes from seconds to split seconds. The error is always the same: Process: Xcode [2802] Path: /Applications/Xcode.app/Contents/MacOS/Xcode Identifier: com.apple.dt.Xcode Version: 5.0.1 (3335.23) Build Info:

package com.google.protobuf does not exist on OS X Maverick

江枫思渺然 提交于 2019-12-06 21:49:10
问题 I am on OS X Mavericks and starting learning about protobuf, i download the example from https://code.google.com/p/protobuf/downloads/list I am successfully able to create the .java file from the proto but while compiling the existing java code using make java, i am getting following error com/example/tutorial/AddressBookProtos.java:91: package com.google.protobuf does not exist com.google.protobuf.GeneratedMessage ^ com/example/tutorial/AddressBookProtos.java:12: package com.google.protobuf

Running Eclipse on Mac - JVM Version 1.7 or greater is required

余生颓废 提交于 2019-12-06 20:17:52
问题 I downloaded Eclipse (specifically that for C/C++ Programming) for Mac, running OSX Mavericks. When I try to start Eclipse, it gives me this message: "Version 1.6.0_65 of the JVM is not suitable for this product. Version 1.7 or greater is required", and it doesn't open. I installed Java version 7, but nothing changed. I don't know how else to update the JVM (I don't know much about Java in general). I downloaded the 64-bit version for my MacBook Air, if that matters. 回答1: Simply Install the