|
From: <da...@ic...> - 2002-12-05 20:29:39
|
Thanks Beverly... it worked!! I set CPPFLAG & LDFLAG as you mentioned and it compiled without any errors... finally. (thats 2 days well spent.. :) dino ----- Original Message ----- From: Wallace, Beverly T Sent: 12/5/2002 12:37:38 PM To: da...@ic... Cc: vis...@ss... Subject: RE: Installing full tcl support > Dino, > > I recently installed vis5d+ 1.2.1 with tcl support on our SGI (IRIX 6.5). I > ran the following: > setenv CPPFLAGS "-I/usr/freeware/include" > setenv LDFLAGS "-L/usr/freeware/lib32" > ./config --with-memory=0 --disable-fortran > If "checking for Tcl_Eval in -ltcl..." still says no, look for an error > message in config.log. > > Next I noticed that the config.h file was empty except for two comment > lines. So I copied the "#define" section from config.log into config.h. > Copy config.h to a backup file, because running "make" may empty it again. > > - Bev Wallace > > > > -----Original Message----- > > From: Jim Edwards [SMTP:jed...@al...] > > Sent: Thursday, December 05, 2002 6:12 AM > > To: dw > > Cc: vis...@ss... > > Subject: Re: Installing full tcl support > > > > Dino, > > > > configure determines if a valid tcl is available by trying to link a > > fucntion called Tcl_Eval in libtcl if the library isn't in LIBPATH or the > > funciton isn't in the library it won't work. You might try building the > > standard distribution of tcl if sgi is distributing something that doesn't > > > > work. > > > > Jim > > > > dw writes: > > > > > Hello Jim, > > > > > > Thanks for your reply.. > > > > > > I tried reinstalling vis5d+, but it didn't recognize tcl installation. > > My "config.h" file has "HAVE_LIBTCL" commented out. > > > > > > I am running vis5d+ in Irix 6.5 (sgi octane2) workstation. I installed > > sgi-tcl 8.0 availiable from SGI freeware site. > > > > > > I tried going to through "Makefile" and "configure.in" files trying to > > find exactly what filenames the installtion script is looking for but I > > couldn't figure it out. > > > > > > The documentation says that sgi-tcl is a bit different from normal Tcl, > > i don't know if that is something I have to worry about? > > > > > > > > > Thanks > > > > > > > > > Dino > > > > > >>The configure script in 1.2.1 should find and include the tcl lib and > > >>include files automatically when you run it. It will define HAVE_LIBTCL > > in > > >>the toplevel config.h if it was found. In other words full tcl support > > is > > >>included when you run configure as long as the configure script could > > find > > >>tcl/tk. If you installed tcl/tk only after installing vis5d+. Just > > >>reinstall vis5d+. > > >> > > >>Jim > > >>> I am in the process of installing full tcl support for vis5d+. I was > > trying >to follow instructions in > > >>> > > >>> http://www.ssec.wisc.edu/~billh/script52.html > > >>> > > >>> My Makefile (for vis5d+ 1.2.1) seems to be different. I Couldn't find > > following lines of text, where I have to specify location of tcl.h and > > libtcl.a files. > > >>> > > >>> #TCL_INCLUDE > > >>> #TCL_LIB > > >>> > > > > > > > > > > > |