Thanks for the response RDB!
On 10.9.4, makepanda doesn’t seem to recognize that zlib is installed as I get this line when I run it:
WARNING: Could not locate thirdparty package zlib, excluding from build
I’ve installed zlib through homebrew, but it correctly points out that it’s already installed on my system. I haven’t had time to play around with makepanda to get it to recognize zlib using the supplied suggestion from homebrew:
This formula is keg-only, so it was not symlinked into /usr/local.
"Mac OS X already provides this software and installing another version in
parallel can cause all kinds of trouble.
Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you’ll need to add to your
build variables:
LDFLAGS: -L/usr/local/opt/zlib/lib
CPPFLAGS: -I/usr/local/opt/zlib/include"
I’ll try re-grabbing SVN tonight to see if your fixes work.
If you have any suggestions as to things to try to fix the python import problem I posted about, I’m all ears
Here’s the callstack as reported by Mac OS X:
Process: Python [2336]
Path: /usr/local/Cellar/python/2.7.7_2/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
Identifier: Python
Version: 2.7.7 (2.7.7)
Code Type: X86-64 (Native)
Parent Process: Python [2261]
Responsible: Terminal [327]
User ID: 501
Date/Time: 2014-07-08 21:47:11.198 -0700
OS Version: Mac OS X 10.9.4 (13E28)
Report Version: 11
Anonymous UUID: 9B6C9DF8-C423-C04F-9E39-9E92BF2D7F96
Sleep/Wake UUID: 8E89A8B2-AF9E-491F-A6DC-6C2CC5E8B1BD
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000
VM Regions Near 0:
–>
__TEXT 0000000103d81000-0000000103d83000 [ 8K] r-x/rwx SM=COW /usr/local/Cellar/python/2.7.7_2/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 org.python.python 0x00000001095ad764 PyInt_FromLong + 36
1 physics.so 0x000000010a9a05f0 Dtool_PyModuleClassInit_BaseParticleEmitter(_object*) + 352 (libp3particlesystem_igate.cxx:30787)
2 physics.so 0x000000010aa21e35 BuildInstants(object*) + 21 (libp3particlesystem_igate.cxx:32783)
3 libp3dtoolconfig.1.9.dylib 0x000000010947a6c7 Dtool_PyModuleInitHelper(LibraryDef**, char const*) + 1623 (py_panda.cxx:491)
4 physics.so 0x000000010a90a4bd initphysics + 61
5 org.python.python 0x0000000103e26e02 PyImport_LoadDynamicModule + 140
6 org.python.python 0x0000000103e26b0f import_submodule + 274
7 org.python.python 0x0000000103e266d9 load_next + 280
8 org.python.python 0x0000000103e246c8 PyImport_ImportModuleLevel + 645
9 org.python.python 0x0000000103e0a0dc builtin___import + 135
10 org.python.python 0x0000000103e10ac1 PyEval_EvalFrameEx + 7714
11 org.python.python 0x0000000103e15145 fast_function + 192
12 org.python.python 0x0000000103e11c5b PyEval_EvalFrameEx + 12220
13 org.python.python 0x0000000103e15145 fast_function + 192
14 org.python.python 0x0000000103e11c5b PyEval_EvalFrameEx + 12220
15 org.python.python 0x0000000103e0eb0e PyEval_EvalCodeEx + 1608
16 org.python.python 0x0000000103e0e4c0 PyEval_EvalCode + 54
17 org.python.python 0x0000000103e2e2ec run_mod + 53
18 org.python.python 0x0000000103e2e38f PyRun_FileExFlags + 133
19 org.python.python 0x0000000103e2df2c PyRun_SimpleFileExFlags + 769
20 org.python.python 0x0000000103e3f47a Py_Main + 2970
21 libdyld.dylib 0x00007fff860325fd start + 1
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x00000001097180e0 rbx: 0x0000000000000000 rcx: 0x000000010aaa6390 rdx: 0x0000000000000000
rdi: 0x0000000000000000 rsi: 0x00000001044e8030 rbp: 0x00007fff5be7d870 rsp: 0x00007fff5be7d860
r8: 0x00007f89b2d74bc0 r9: 0x0000000109724610 r10: 0x00000000409a961b r11: 0x00000001095d1fb0
r12: 0x00007f89b3800600 r13: 0x00007f89b3800600 r14: 0x000000010a90a480 r15: 0x0000000103eb6138
rip: 0x00000001095ad764 rfl: 0x0000000000010287 cr2: 0x0000000000000000
Logical CPU: 2
Error Code: 0x00000006
Trap Number: 14
I wouldn’t mind debugging it this weekend, but I don’t know of a good way to generate an Xcode project with your tools, unless I’m missing something?