|
From: Geoffrey F. <fu...@ga...> - 2001-10-11 19:20:14
|
I'm having some problems with the source after a recent update.
1) The dynamic drivers don't work inside Java anymore. I traced this
down to a recent change in drivers.in which removed libplplot from the
driver linking step. The reason this was there was explained in
dyndrv.in, commit for version 1.3. Basically the issue is that there
are multiple ways dlopen can be used (this panoply of RTLD_* flags),
and the way we do it in libplplot when opening the drivers is more
lenient than how the JVM does it when loading libplplot. So, the
drivers need to be linked against libplplot. Maybe they don't have to
be linked against all the other libs, if libplplot is now free of
them, but the drivers still make some calls into the core of
libplplot, so they have to be linked against at least that. I'll take
care of this (again).
2) The Tk driver doesn't work other than in the tmp directory
anymore. I can't for example, get the /installed/ plrender to use the
Tk driver anymore. For example:
plplot/tmp> x01c -dev plmeta -o x1.plm
Plplot library version: 5.0.4
Opened x1.plm
plplot/tmp> ~/j2/bin/plrender x1.plm -dev tk
TCL command "
invalid command name "
Program aborted
Here I ran x01c in plplot/tmp, produced a .plm file, but then ran the
installed plrender from $prefix/bin, and it won't run the tk driver.
But I can run the tk driver from x01c directly (if LD_LIBRARY_PATH
includes both . and $prefix/lib).
But the local plrender won't correctly invoke the tk driver even then,
even though x01c will.
Does anyone else see this with a current checked out tree? I'm
guessing this comes from Joao's recent changes to cf stuff, but I'm
not sure. I know this stuff worked /before/ I updated... But I have
some other uncommitted changes right now, so I'm wondering if the tk
driver works in plrender for other developers at this point in time.
--
Geoffrey Furnish fu...@ga...
|