|
From: <hv...@i-...> - 2001-10-03 15:44:51
|
Hello. I am trying to install PLPlot on a fairly vanilla linux node
in a cluster but am having a problem I can't correctly interpret.
First, I have installed PLPlot successfully on other linux and unix
(SunOS) boxes without fault. On those machines, I had tcl/tk 8.3.3
but NO access to itcl.
On the problem machine, I am not allowed to install code 'in the normal
places' so I have to run everything out of my home directory. Let's say
that is directory foo, so foo/tcl8.3.3 and foo/tk8.3.3 and foo/plplot5.0.4
all live there.
Tcl and Tk installed just fine. If I invoke any code 'there' I run
8.3 code, and NOT 8.0.5 code that is also hosted in default paths
on said host.
When I ./configure in plplot directory, I hang up because the script
thinks that it is running on a machine with 8.0.5 code. So I took
a look in configure script under tcl and tk sections. There, I found
incdirs_default and libdirs_default variables. So I added:
/foo/tcl8.3.3/generic \
/foo/tcltk/include \
to top of list for incdirs_default and:
foo/tcltk/lib to top of
libdirs_default list. Now when configure runs, it plays nice and says it
finds 8.3.3 of tcl and tk. I have run configure with both (default)
and --disable-itcl, but in either case, the subsequent make runs fine
until I see this:
gcc pltcl.o -L. -lplplot -ltclmatrix -o pltcl \
-L/home/hcvidal/tcltk/lib -ltk8.3 -ltcl8.3 -L/usr/X11R6/lib -lX11
-ldl -lm -Wl,-rpath -Wl,/home/hcvidal/plplot-5.0.4/tmp no value given for
parameter "body" to "_%@fake_itcl_class"
invoked from within "_%@fake_itcl_class $args"
("eval" body line 1)
invoked from within "_%@eval _%@fake_itcl_class {$args}"
(procedure "itcl::class" line 1)
invoked from within "itcl::class Pltkwin {
inherit PLWin
constructor {args} {}
protected method plwin {} { return \$itk_interior.plwin }
public metho..."
invoked from within "$parser eval $contents"
(procedure "auto_mkindex_parser::mkindex" line 25)
invoked from within "auto_mkindex_parser::mkindex $file"
(procedure "auto_mkindex" line 21)
invoked from within "auto_mkindex . *.tcl *.itcl *.itk *.ith *.itm"
(file "/home/hcvidal/plplot-5.0.4/scripts/mktclIndex" line 23)
make[1]: *** [tclIndex] Error 1 make[1]: Leaving directory
`/home/hcvidal/plplot-5.0.4/tmp' make: *** [all] Error 2
this sure looks like itcl is being 'pulled in' but I still have not
figured out why, Yes, I see this happening from mktclIndex,
but just out of curiousity, why the hell is itcl being invoked if
I spec --disable-itcl?
btw, is there an easier way to spec that myu plplot build should
use a tcl and tk install 'over here' and not in default places,
maybe via command line? That would be a lot easier.
Any helpful thoughts or solutions to be suggested? Thanks.
hv
|