<div dir="ltr">Hello, <div><br></div><div>I am trying to install xcrysden on Mavericks. Using the following Make.sys, and tcl/tk etc installed from macports, I was able to get everything compiled. However, at runtime, I get a seg fault with tk +xquartz. Thanks to David Strubbe, I installed +x11 version, but then the following error.</div>
<div><br></div><div>







<p class="">MAKE = /opt/local/bin/gmake</p>
<p class="">CC     = /opt/local/bin/gcc-mp-4.8</p>
<p class="">CFLAGS = -O2 -m64 -L/opt/local/lib  -DUSE_INTERP_RESULT -funroll-loops -fPIC -DTOGL_USE_FONTS -DHAVE_NO_GETLINE</p>
<p class="">MATH   = -lm</p>
<p class="">FC     = /opt/local/bin/gfortran-mp-4.8</p>
<p class="">FFLAGS = -O2 -m64 -L/opt/local/lib</p>
<p class="">X_LIB     = -L/opt/local/lib -lXmu -lX11 -lXext</p>
<p class="">X_INCDIR  = -I/opt/local/include</p>
<p class="">COMPILE_TCLTK = no</p>
<p class="">COMPILE_MESA  = no</p>
<p class="">TK_LIB      = -L/opt/local/lib -ltk8.6</p>
<p class="">TCL_LIB     = -L/opt/local/lib -ltcl8.6</p>
<p class="">GLU_LIB     = -L/opt/local/lib -lGLU</p>
<p class="">GL_LIB      = -L/opt/local/lib -lGL</p>
<p class="">MESCHACH_LIB = -L/opt/local/lib -lmeschach</p>
<p class="">FFTW3_LIB = -L/opt/local/lib -lfftw3</p>
<p class="">LDLIB = -L/opt/local/lib</p>
<p class=""># Include Directories</p>
<p class="">TCL_INCDIR  =</p>
<p class="">TK_INCDIR   =</p>
<p class="">GL_INCDIR   =</p>
<p class="">MESCHACH_INCDIR = -I/opt/local/include/meschach</p><p class="">FFTW3_INCDIR = -I/opt/local/include</p><p class=""><br></p><p class="">Error: </p><p class="">Running on platform : unix</p><p class="">   Operating system : Darwin</p>
<p class="">Package ImageMagick&#39;s convert: /usr/local/bin/convert</p><p class="">Package Ppmtompeg: /opt/local/bin/ppmtompeg</p><p class="">Package Xwd: /opt/X11/bin/xwd</p><p class="">Executing: /Users/oliverralbertini/xcrysden/xcrysden-1.5.53/bin/ftnunit</p>
<p class="">X Error of failed request:  BadWindow (invalid Window parameter)</p><p class="">  Major opcode of failed request:  3 (X_GetWindowAttributes)</p><p class="">  Resource id in failed request:  0xffffffff</p><p class="">
  Serial number of failed request:  560</p><p class="">

















</p><p class="">  Current serial number in output stream:  561</p><p class=""><br></p><p class="">Thanks, </p><p class=""><br></p><p class="">Oliver Albertini</p></div>
</div>