On Sun, Dec 02, 2007 at 08:15:20PM -0500, Hazen Babcock wrote:
> 
> On Nov 28, 2007, at 12:34 AM, Alan W. Irwin wrote:
> 
> > There is a real art to debugging build problems remotely, but you  
> > are lucky
> > here that you have a similar platform to Marius.  I suggest you try  
> > to mimic
> > Marius's exact build method (cmake options including an in-source  
> > build if
> > that is what he did) and tool chain (e.g., cmake version) as much as
> > possible. Get him to tell you his exact cmake options and give you the
> > cmake.out and make.out from a clean build, and compare it with  
> > yours.  Try
> > his exact cmake options yourself. Make sure you have the same  
> > version of the
> > libltdl library that he does, etc.  Get Marius to execute get-drv-info
> > in several different experimental ways, and you do the same.
> 
> We did have a different version of libtool but I switched to the same  
> version and I still do not see this problem. It looks to me like get- 
> drv-info is confused on Marius's platform and is looking for the  
> drivers in the install directory rather than in the build directory.  
> The source of the confusion seems to be plGetDrvDir() returning the  
> wrong directory, likely because (1) it is in turn misled by  
> plInBuildTree() or (2) the BUILD_DIR environment variable is set  
> incorrectly. This would be easier to sort out if there was a flag for  
> debugging output from pldebug() during the build. Is there such a thing?

Just a thought. Not sure if this is relevant on MacOS, but I have had
trouble on Linux when the build tree contains symlinks. getcwd returns
the absolute directory path, whereas cmake stores the directory path you
have cd'd to, which may contain symlinks.

Took me a while to track this one down.

Andrew

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to