I can no longer build from the current SVN version. I _can_ build from a rather 
old (months--not sure how many months) SVN that I have saved. As far as I know 
the only two things that have changed are PLplot version and OS version--I 
updated OS X from 10.6.8 Snow Leopard to 10.7.x Lion recently. The only 
variable I have easy control of is PLplot version. I assume that reverting to 
Snow Leopard would be painful and of questionable use.

Here's the problem:



Linking C shared library libplplottcltkd.dylib
cd /usr/local/plplot_build_dir/bindings/tcl && "/Applications/CMake 
2.8-6.app/Contents/bin/cmake" -E cmake_link_script 
CMakeFiles/plplottcltkd.dir/link.txt --verbose=1
/usr/local/adacore-gnat-2011/bin/gcc   -dynamiclib 
-Wl,-headerpad_max_install_names -single_module -compatibility_version 9.0.0 
-current_version 9.2.0 -o libplplottcltkd.9.2.0.dylib -install_name 
/usr/local/plplot_build_dir/bindings/tcl/libplplottcltkd.9.dylib 
CMakeFiles/plplottcltkd.dir/tclAPI.c.o CMakeFiles/plplottcltkd.dir/tclMain.c.o 
CMakeFiles/plplottcltkd.dir/__/tk/Pltk_Init.c.o 
CMakeFiles/plplottcltkd.dir/__/tk/plframe.c.o 
CMakeFiles/plplottcltkd.dir/__/tk/plr.c.o 
CMakeFiles/plplottcltkd.dir/__/tk/tcpip.c.o 
CMakeFiles/plplottcltkd.dir/__/tk/tkMain.c.o libtclmatrixd.9.2.0.dylib 
../../src/libplplotd.11.0.0.dylib -framework tcl -framework tk 
../../lib/csa/libcsirocsa.0.0.1.dylib 
../../lib/qsastime/libqsastime.0.0.1.dylib 
Undefined symbols for architecture x86_64:
  "_XLookupString", referenced from:
      _PlFrameKeyEH in plframe.c.o
  "_XFlush", referenced from:
      _DisplayPlFrame in plframe.c.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make[2]: *** [bindings/tcl/libplplottcltkd.9.2.0.dylib] Error 1
make[1]: *** [bindings/tcl/CMakeFiles/plplottcltkd.dir/all] Error 2
make: *** [all] Error 2



I should add that there has been one other change but I don't think it's 
relevant--I have (once again!) installed MacPorts which is a shadow 
quasi-OS-and-more which purports to be completely independent of OS X, and 
installs in /opt/local. However, and I mention this only because I don't 
understand what is happening above but see some possible tcl issues, MacPorts 
does place this symlink

  /Library/Tcl/macports1.0

which points to

  /opt/local/share/macports/Tcl/macports1.0/macports_autoconf.tcl
  /opt/local/share/macports/Tcl/macports1.0/macports_dlist.tcl
  /opt/local/share/macports/Tcl/macports1.0/macports_fastload.tcl
  /opt/local/share/macports/Tcl/macports1.0/macports_index.tcl
  /opt/local/share/macports/Tcl/macports1.0/macports_util.tcl
  /opt/local/share/macports/Tcl/macports1.0/MacPorts.dylib
  /opt/local/share/macports/Tcl/macports1.0/macports.tcl
  /opt/local/share/macports/Tcl/macports1.0/pkgIndex.tcl

Jerry
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to