|
From: Maurice L. <mj...@ga...> - 2002-08-05 06:18:53
|
Maurice LeBrun writes:
> Maurice LeBrun writes:
> > I was also surprised to find the following dependencies with the tkwin stuff:
> >
> > gcc -fPIC -c -g -O -I. -I/home/mjl/gts/include -c plplotter.c -o
> > shared/plplotter.o
> > In file included from plplotter.c:276:
> > /home/mjl/gts/include/tkInt.h:27:20: tkPort.h: No such file or directory
> > /home/mjl/gts/include/tkInt.h:878:24: tkIntDecls.h: No such file or directory
> >
> > Ugh. More internal TK headers that I need to remember to install I see.
> > (I already have several non-standard ones installed, sigh.)
>
> After copying these two, now:
>
> In file included from /home/mjl/gts.tst/include/tkInt.h:27,
> from plplotter.c:276:
> /home/mjl/gts.tst/include/tkPort.h:32:39: ../unix/tkUnixPort.h: No such file or directory
> make[1]: *** [shared/plplotter.o] Error 1
>
> tkUnixPort.h? This is getting pretty gross. Does anyone have a complete list
> of all the tk headers one needs to install?
BTW just for future reference, the culprit in plplotter.c responsible for all
this nonsense is:
PlPlotterKeyEH(ClientData clientData, register XEvent *eventPtr)
{
...
string = TkpGetString((TkWindow*)tkwin,eventPtr,&ds);
where TkWindow is defined in tkInt.h.
So, is there really no workaround that goes through the public API?
--
Maurice LeBrun mj...@ga...
Research Organization for Information Science and Technology of Japan (RIST)
|