On 2006-10-18 08:46+0200 Werner Smekal wrote:

> Commenting out SUFFIX ".so" also doesn't work. This time a hpgl.dll is 
> produced, but get-drv-info can't open it - even if I give the whole path to 
> the module.

> [...] If you have any other ideas let me know.

Actually, I do have a lot of ideas.... :-)

Perhaps the Cygwin libltdl is just not any good.  I suggest you try building
your own libltdl in that environment using GNU versions of the source
tarballs to have complete control over the libltdl build with known good
(unpatched) source downloaded from http://ftp.gnu.org/gnu/autoconf/ etc.

The way you do that is put /your/special/autotools/install/prefix/bin
_first_ on your path (so you preferentially use what your build results
rather than some stale system version of autotools), download the latest
stable versions of autoconf, automake, and libtool, unpack them, and build
them in order for your Cygwin environment using ./configure
--prefix=/your/special/autotools/install/prefix; make; make install.

The result of the final make install for libtool is
/your/special/autotools/install/prefix/lib should have libltdl in it, and
you can use that library by manipulating the appropriate CBS-related
environment variables.

On my Linux system I have done the above procedure using the tarballs,
autoconf-2.59.tar.bz2, automake-1.9.6.tar.bz2, and libtool-1.5.22.tar.gz 
downloaded from http://ftp.gnu.org/gnu/autoconf/ etc., and built using the
special install prefix of /home/software/autotools/install.  I then set the
CBS-related environment variables as documented in the wiki to use this
particular version of libltdl for our CBS.

If the libltdl that you build for yourself this way from the unpatched GNU
autotools versions still cannot find hpgl.dll, then I suggest you try
temporarily switching to our ABS (using the above installed autotools) for
our CVS version of PLplot to verify that get-drv-info works in that case
using the hpgl.la file.  (Arjen reported it worked the last time our ABS was
tested on Cygwin so I don't expect any changes.) Then you may want to try
some experiments to see if it is possible under our ABS for get-drv-info to
work directly with the hpgl.dll file referenced in the hpgl.la file.  Note
for our ABS we build an internal libltdl library so it is a different
experiment than running get-drv-info built with our CBS. You should note
where that internal libltdl is built (the libldtl sub-directory of the ABS
build tree) and also try that version (by setting the appropriate
environment variables) for our CBS.  I also suggest you compare how
get-drv-info is linked under our ABS compared to how it is linked under our
CBS and how libltdl built from source is linked compared to the link method
used for our ABS internal build of libltdl.

It will take a lot of effort to keep all the various comparisons straight,
but its those comparisons which should ultimately help you to figure out why
get-drv-info works for our ABS (assuming you verify that old result) while
the version built for our CBS does not.

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
package (plplot.org); the Yorick front-end to PLplot (yplot.sf.net); the
Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__________________________

Linux-powered Science
__________________________

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to