From: Axel Kohlmeyer (akohlmey_at_cmm.chem.upenn.edu)
Date: Sun Aug 12 2007 - 18:06:37 CDT

On Sun, 12 Aug 2007 AustinSmall_at_comcast.net wrote:

AS> Hi,
AS>
AS> I am running a Solaris 10 X86 machine and I am installing the plugin source code.
AS> I got TCL and TK installalled on my computer.
AS>
AS> When I run gmake TCLINC=$/export/home/tcl8.4.15/unix TCLLIB=$/export/home/tcl8.4.15/library SOLARISX86 I am getting:

is $/export/home/tcl8.4.15/unix really the path to your tcl include
directory? the one that has tcl.h, tclDecls.h tclPlatDecls.h and
the tcl-private/ directory? try removing the '$'.

axel.

AS>
AS> # gmake TCLINC=$/export/home/tcl8.4.15/unix TCLLIB=$/export/home/tcl8.4.15/library SOLARISX86
AS> Building Molecule File Reader plugins
AS> "src/largefiles.h", line 31: Warning (Anachronism): Attempt to redefine _LARGEFILE_SOURCE without using #undef.
AS> "src/largefiles.h", line 32: Warning (Anachronism): Attempt to redefine _FILE_OFFSET_BITS without using #undef.
AS> 2 Warning(s) detected.
AS> "src/webpdbplugin.c", line 18: cannot find include file: <tcl.h>
AS> "src/webpdbplugin.c", line 165: undefined symbol: Tcl_Interp
AS> "src/webpdbplugin.c", line 165: undefined symbol: interp
AS> "src/webpdbplugin.c", line 175: warning: implicit function declaration: Tcl_CreateInterp
AS> "src/webpdbplugin.c", line 180: warning: implicit function declaration: Tcl_Init
AS> "src/webpdbplugin.c", line 180: undefined symbol: TCL_OK
AS> "src/webpdbplugin.c", line 183: warning: implicit function declaration: Tcl_PkgRequire
AS> "src/webpdbplugin.c", line 185: warning: implicit function declaration: Tcl_DeleteInterp
AS> "src/webpdbplugin.c", line 204: warning: implicit function declaration: Tcl_Eval
AS> "src/webpdbplugin.c", line 204: undefined symbol: TCL_OK
AS> "src/webpdbplugin.c", line 205: undefined struct/union member: result
AS> "src/webpdbplugin.c", line 205: left operand of "->" must be pointer to struct/union
AS> "src/webpdbplugin.c", line 212: warning: implicit function declaration: Tcl_GetVar2
AS> "src/webpdbplugin.c", line 212: undefined symbol: TCL_GLOBAL_ONLY
AS> "src/webpdbplugin.c", line 212: warning: improper pointer/integer combination: op "="
AS> "src/webpdbplugin.c", line 214: undefined struct/union member: result
AS> "src/webpdbplugin.c", line 214: left operand of "->" must be pointer to struct/union
AS> cc: acomp failed for src/webpdbplugin.c
AS> gmake[2]: *** [../compile/lib_SOLARISX86/molfile/webpdbplugin.o] Error 2
AS> gmake[1]: *** [dynlibs] Error 1
AS> gmake: *** [SOLARISX86] Error 2
AS>
AS> I am not sure if the makefile cannot find tcl and tcl libraries.
AS>
AS> Thanks
AS>

-- 
=======================================================================
Axel Kohlmeyer   akohlmey_at_cmm.chem.upenn.edu   http://www.cmm.upenn.edu
   Center for Molecular Modeling   --   University of Pennsylvania
Department of Chemistry, 231 S.34th Street, Philadelphia, PA 19104-6323
tel: 1-215-898-1582,  fax: 1-215-573-6233,  office-tel: 1-215-898-5425
=======================================================================
If you make something idiot-proof, the universe creates a better idiot.