<@U017E7L119N> trying to get magic going on mac na...
# magic
t
@User trying to get magic going on mac native. Installed libx11, tcl, tk with macports..are you running the xserver from macports or the XQuartz one? still seeing Assertion failed: (pthreadret == 0), function _xcb_in_wake_up_next_reader, file xcb_in.c, line 926. fish: './bin/magic' terminated by signal SIGABRT (Abort)
u
magic should be automatically pulling X11 instead of XQuartz, if its not, it probably mean you gave the wrong libx11 during building
did you passed these to ./configure ?
Copy code
X features:
  --x-includes=DIR    X include files are in DIR
  --x-libraries=DIR   X library files are in DIR
t
it seems to be pulling the correct libX11 but still wants to run in the xquartz server...maybe I'll just remove xquartz entirely and see
u
dont do that
lets compare Makefiles first, I’ll push a gist
t
I'm upstairs in a vault right now so I don't have my laptop...should be back downstairs in about 45 minutes so I can check it against your gist then
sure, take your time
Some additional info:
Copy code
[Tue Aug 11 09:18:11 ronaldv@Ronalds-MBP16:~/Projects/repositories/magic ] $ otool -L /usr/local/lib/magic/tcl/magicexec
/usr/local/lib/magic/tcl/magicexec:
	/opt/local/lib/libtk8.6.dylib (compatibility version 8.6.0, current version 8.6.10)
	/opt/local/lib/libtcl8.6.dylib (compatibility version 8.6.0, current version 8.6.10)
	/opt/local/lib/libX11.6.dylib (compatibility version 10.0.0, current version 10.0.0)
	/opt/local/lib/libGL.1.dylib (compatibility version 4.0.0, current version 4.0.0)
	/opt/local/lib/libGLU.1.dylib (compatibility version 5.0.0, current version 5.1.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1281.100.1)
	/opt/local/lib/libcairo.2.dylib (compatibility version 11603.0.0, current version 11603.0.0)
	/opt/local/lib/libfontconfig.1.dylib (compatibility version 14.0.0, current version 14.0.0)
	/opt/local/lib/libfreetype.6.dylib (compatibility version 24.0.0, current version 24.2.0)
t
I believe I have it partly working now. There were some macports packages that still needed installing, it was pulling the wrong tclsh/wish locaion.
getting a GLX extension error with pbuffers (X_GLXCreatePbuffer). It's an older macbook pro but it should support pbuffers so I'll have to dig more later. At least I can run with the X11 painter
u
did you build with this? --enable-cairo-offscreen