[Xastir] Stupid question du jour

wes at johnston.net wes at johnston.net
Tue Sep 30 14:03:38 EDT 2003


I'm compiling xastir from CVS, got Curt's IM5.5.3 from his website and copied
the files into /usr as instructed.  xastir finds IM when running the
./configure, but not when it's time to display a GIF of JPG image.  I think
it's a path problem... but I've SET MAGICK_HOME=/usr ... My install in on
cygwin w/ winXP.  I've set magick_home in .profile , and in a bat file which I
can run from windows....

******************************************
@echo off
SET DISPLAY=127.0.0.1:0.0
SET MAGICK_HOME=/usr
SET CYGWIN_ROOT=\cygwin
SET PATH=.;%CYGWIN_ROOT%\bin;%CYGWIN_ROOT%\usr\X11R6\bin;%PATH%

if not exist %CYGWIN_ROOT%\tmp\.X11-unix\X0 goto CLEANUP-FINISH
attrib -s %CYGWIN_ROOT%\tmp\.X11-unix\X0
del %CYGWIN_ROOT%\tmp\.X11-unix\X0
:CLEANUP-FINISH
if exist %CYGWIN_ROOT%\tmp\.X11-unix rmdir %CYGWIN_ROOT%\tmp\.X11-unix

start XWin -multiwindow
run nasd -b
run /usr/local/bin/xastir xastir

***************************************

Anyway, it just dawned on me... Why is it that xastir can find image magick
when compiling, but not when running?  Why can't it locate IM the same way when
running which it does when configuring?  Maybe one of the first run tasks of
xastir should be to search for the IM files and locate absolute paths to them
each time it runs? or can't find?

Wes



More information about the Xastir mailing list