Martin,
The fact that removing libjpeg and giflib and/or libungif fixes the
problem with launching help from Sparky doesn't make much sense to me.
The standalone application version of Sparky from their web site doesn't
have this problem. Why shouldn't it suffer the same breakage in the
presence of fink as the fink built one? The only difference I can see
is that the Sparky.app version uses the following script to launch
sparky...
#!/bin/sh
SPARKY_APP=`dirname "$0"`/../..
SPARKY=$SPARKY_APP/Contents/Resources
if [ ! "$DISPLAY" ]
then
DISPLAY=:0
export DISPLAY
fi
#
# Try connecting to X server. Show a warning dialog on failure.
#
XTEST=$SPARKY_APP/Contents/MacOS/xtest
if test -x "$XTEST" && ! "$XTEST"
then
exec osascript -e 'display dialog "Could not connect to the X server.\r
\rYou must start the X windowing system before starting Sparky. The Apple X ser
ver is found in the /Applications/Utilities folder, called X11. It is available
from\r\rhttp://www.apple.com/macosx/x11" buttons {"Ok"} with icon 2'
fi
# Increase stack limit. Default is 512Kb
ulimit -s 4096
#
# Mac OS makes the first command-line argument -psn_xxx where xxx is the
# process serial number when Sparky is started by clicking an icon.
# Don't pass this argument to Sparky.
#
if test "${1:0:4}" == "-psn"
then
exec "$SPARKY/bin/sparky" "${*:2}"
else
exec "$SPARKY/bin/sparky" "${*:1}"
fi
The only oddities I see in the fink build of sparky are the link warnings of
the form...
g++-3.3 -bundle -flat_namespace -undefined suppress -o spy.so python.o
assignguess.o assigncopy.o attacheddata.o atom.o axismap.o binaryIO.o
blockfile.o brukerfile.o color.o command.o condition.o contour.o contourplane.o
contourstream.o crosspeak.o dataregion.o felixfile.o format.o grid.o group.o
integrate.o label.o line.o linefit.o lusolve.o list.o memalloc.o memcache.o
model.o molecule.o notifier.o nmrdata.o num.o objectid.o ornament.o paths.o
peak.o peakgp.o peakpick.o print.o project.o rectangle.o region.o reporter.o
resonance.o savefile.o session.o simplex.o spectrum.o spectrumdata.o spoint.o
stringc.o subarray.o system-unix.o table.o ucsffile.o uiassign.o uiassigncopy.o
uicolor.o uicomponents.o uicontour.o uicscale.o uidatalocation.o uidialog.o
uidrawing.o uiepanel.o uifile.o uiguess.o uihelp.o uiintegrate.o uilabel.o
uimain.o uimenu.o uimidas.o uimode.o uinote.o uiornament.o uiornamentsize.o
uioverlay.o uipeak.o uipkpanel.o uipick.o uiplop.o uipredefined.o uipreferenc
e.o uiprint.o uiregion.o uirename.o uiresonances.o uirpanel.o uiscale.o
uishifts.o uislice.o uispectrum.o uisync.o uiview.o uiviewopt.o uiviewdepth.o
uiviewlist.o uiviewwin.o uiwait.o undo.o utility.o winsystem-unix.o -L/sw/lib
-L/sw/lib -ltk8.4 -ltcl8.4 -L/usr/X11R6/lib -lX11 -lm
ld: warning multiple definitions of symbol _tclIntPlatStubsPtr
/sw/lib/libtcl8.4.dylib(tclStubLib.o) definition of _tclIntPlatStubsPtr
/sw/lib/libtk8.4.dylib(tclStubLib.o) definition of _tclIntPlatStubsPtr
ld: warning multiple definitions of symbol _tclIntStubsPtr
/sw/lib/libtcl8.4.dylib(tclStubLib.o) definition of _tclIntStubsPtr
/sw/lib/libtk8.4.dylib(tclStubLib.o) definition of _tclIntStubsPtr
ld: warning multiple definitions of symbol _Tcl_InitStubs
/sw/lib/libtcl8.4.dylib(tclStubLib.o) definition of _Tcl_InitStubs
/sw/lib/libtk8.4.dylib(tclStubLib.o) definition of _Tcl_InitStubs
ld: warning multiple definitions of symbol _tclStubsPtr
/sw/lib/libtcl8.4.dylib(tclStubLib.o) definition of _tclStubsPtr
/sw/lib/libtk8.4.dylib(tclStubLib.o) definition of _tclStubsPtr
ld: warning multiple definitions of symbol _tclPlatStubsPtr
/sw/lib/libtcl8.4.dylib(tclStubLib.o) definition of _tclPlatStubsPtr
/sw/lib/libtk8.4.dylib(tclStubLib.o) definition of _tclPlatStubsPtr
Any advice on how to actually eliminate this problem in the sparky
build would be most appreciated.
Jack
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Fink-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-devel