David Nicholls wrote:
Faisal Moledina wrote:
On Tue, Dec 29, 2009 at 7:47 AM, David Nicholls <[email protected]>
wrote:
OK, I installed plotutils+x11 which went well. I thought this might
help
the connection to the x11 system. Running the biggles test programs no
longer crashes Python, but now gives a new error:
Error: Unresolved inheritance operation
So I reinstalled py26-biggles, just in case it needed to be
reconnected to
the changed plotutils. It installed an updated help2man and also
xorg-libXt.
No change. Same message.
Hello, I tested this just now. Installing plotutils without the x11
variant results in the same error you saw in your other thread
libplot: ignoring request to create plotter of unknown type
Segmentation fault
I reinstalled plotutils, this time with +x11 (I did not reinstall
biggles). Then I ran the example at
http://biggles.sourceforge.net/?example=2 and successfully generated
an xplot window in x11.
Therefore, I think your X11 installation may have a problem (likely
that some files are linking to the wrong libraries). I think that
biggles is fine, but plotutils is where the problem begins. What is
the output of otool -L /opt/local/bin/plot ?
Faisal
Thanks,
Perhaps the problem is XQuartz 2.4.0
The otool results:
$ otool -L /opt/local/bin/plot
/opt/local/bin/plot:
/opt/local/lib/libplot.2.dylib (compatibility version 5.0.0, current
version 5.4.0)
/opt/local/lib/libXaw.7.dylib (compatibility version 8.0.0, current
version 8.0.0)
/opt/local/lib/libXmu.6.dylib (compatibility version 9.0.0, current
version 9.0.0)
/opt/local/lib/libXt.6.dylib (compatibility version 7.0.0, current
version 7.0.0)
/opt/local/lib/libSM.6.dylib (compatibility version 7.0.0, current
version 7.1.0)
/opt/local/lib/libICE.6.dylib (compatibility version 10.0.0, current
version 10.0.0)
/opt/local/lib/libXext.6.dylib (compatibility version 11.0.0,
current version 11.0.0)
/opt/local/lib/libX11.6.dylib (compatibility version 10.0.0, current
version 10.0.0)
/opt/local/lib/libXau.6.dylib (compatibility version 7.0.0, current
version 7.0.0)
/opt/local/lib/libXdmcp.6.dylib (compatibility version 7.0.0,
current version 7.0.0)
/opt/local/lib/libpng12.0.dylib (compatibility version 42.0.0,
current version 42.0.0)
/opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current
version 1.2.3)
/usr/lib/libmx.A.dylib (compatibility version 1.0.0, current version
292.4.0)
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current
version 1.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 111.1.4)
I might reinstall the Leopard 10.5.8 combo update again to overwrite the
XQuartz 2.4.0 files and see what happens.
DN
The problem was XQuartz 2.4.0. After reinstalling the default 10.5.8
combo update and thus the standard OSX X11 code, the test programs work.
The otool output after the change is:
/opt/local/bin/plot:
/opt/local/lib/libplot.2.dylib (compatibility version 5.0.0, current
version 5.4.0)
/opt/local/lib/libXaw.7.dylib (compatibility version 8.0.0, current
version 8.0.0)
/opt/local/lib/libXmu.6.dylib (compatibility version 9.0.0, current
version 9.0.0)
/opt/local/lib/libXt.6.dylib (compatibility version 7.0.0, current
version 7.0.0)
/opt/local/lib/libSM.6.dylib (compatibility version 7.0.0, current
version 7.1.0)
/opt/local/lib/libICE.6.dylib (compatibility version 10.0.0, current
version 10.0.0)
/opt/local/lib/libXext.6.dylib (compatibility version 11.0.0, current
version 11.0.0)
/opt/local/lib/libX11.6.dylib (compatibility version 10.0.0, current
version 10.0.0)
/opt/local/lib/libXau.6.dylib (compatibility version 7.0.0, current
version 7.0.0)
/opt/local/lib/libXdmcp.6.dylib (compatibility version 7.0.0, current
version 7.0.0)
/opt/local/lib/libpng12.0.dylib (compatibility version 42.0.0, current
version 42.0.0)
/opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current
version 1.2.3)
/usr/lib/libmx.A.dylib (compatibility version 1.0.0, current version
292.4.0)
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version
1.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 111.1.4)
It looks like there's no change, but obviously something changed somewhere.
DN
--
__________
ANU RSAA Mt Stromlo
_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users