<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Yes, sounds like you got the code, and I need to go outside this group
to a Cygwin forum/NG or Linux under Win. Recently, I was working with a
fellow associated with this effort who knows Linux very well. He had
some slight difficulty with the Makefiles, but finally got it running
on my ancient (and recently resurreced in a very old Linux) machine. It
came down to a few lines of the Makefile.&nbsp; See my post about Cygwin 1.7
or 1.6. <br>
<br>
If you are further interested, for the moment anyway here's the
makefile we finally used. The g++ line was the big change.&nbsp; Also
attached. The attachment may not make it or possibly get hung up with
the moderator. <br>
<br>
CC = g++<br>
CFLAGS =&nbsp; -c<br>
BIN = wolf<br>
OBJ = wolf.o calstars.o fclasses.o global.o \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; novas.o novascon.o readeph0.o solarsys.o \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; swedate.o swejpl.o swemmoon.o swemplan.o \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sweph.o swephlib.o cgi-draw.o imatrix.o \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cnstl.o \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
<br>
wolf: $(OBJ)<br>
&nbsp;&nbsp;&nbsp; g++ -o wolf $(OBJ) -lm ./fits/cfitsio/libcfitsio.a # -lnsl -lsocket<br>
wolf.o: wolf.c<br>
&nbsp;&nbsp;&nbsp; $(CC) $(CFLAGS) wolf.c<br>
calstars.o: calstars.c<br>
&nbsp;&nbsp;&nbsp; $(CC) $(CFLAGS) calstars.c<br>
fclasses.o: fclasses.c<br>
&nbsp;&nbsp;&nbsp; $(CC) $(CFLAGS) fclasses.c<br>
global.o: global.c<br>
&nbsp;&nbsp;&nbsp; $(CC) $(CFLAGS) global.c<br>
imatrix.o: imatrix.c<br>
&nbsp;&nbsp;&nbsp; $(CC) $(CFLAGS) imatrix.c<br>
cnstl.o: cnstl.c<br>
&nbsp;&nbsp;&nbsp; $(CC) $(CFLAGS) cnstl.c<br>
cgi-draw.o: cgi-draw.c<br>
&nbsp;&nbsp;&nbsp; $(CC) $(CFLAGS) cgi-draw.c<br>
novas.o: novas.c<br>
&nbsp;&nbsp;&nbsp; $(CC) $(CFLAGS) novas.c<br>
novascon.o: novascon.c<br>
&nbsp;&nbsp;&nbsp; $(CC) $(CFLAGS) novascon.c<br>
readeph0.o: readeph0.c<br>
&nbsp;&nbsp;&nbsp; $(CC) $(CFLAGS) readeph0.c<br>
solarsys.o: solarsys.c<br>
&nbsp;&nbsp;&nbsp; $(CC) $(CFLAGS) solarsys.c<br>
swedate.o: swedate.c<br>
&nbsp;&nbsp;&nbsp; $(CC) $(CFLAGS) swedate.c<br>
swejpl.o: swejpl.c<br>
&nbsp;&nbsp;&nbsp; $(CC) $(CFLAGS) swejpl.c<br>
swemmoon.o: swemmoon.c<br>
&nbsp;&nbsp;&nbsp; $(CC) $(CFLAGS) swemmoon.c<br>
swemplan.o: swemplan.c<br>
&nbsp;&nbsp;&nbsp; $(CC) $(CFLAGS) swemplan.c<br>
sweph.o: sweph.c<br>
&nbsp;&nbsp;&nbsp; $(CC) $(CFLAGS) sweph.c<br>
swephlib.o: swephlib.c<br>
&nbsp;&nbsp;&nbsp; $(CC) $(CFLAGS) swephlib.c<br>
<br>
clean:<br>
&nbsp;&nbsp;&nbsp; rm -f wolf *.o core<br>
<br>
<br>
See my post to Marc about the header file and graphics use.<br>
<br>
greg whittier wrote:
<blockquote
 cite="mid:a250eacf0903201051v7ee7dde2s29e8776549c85bbc@mail.gmail.com"
 type="cite">On Fri, Mar 20, 2009 at 1:41 PM, Wayne Watson <span
 dir="ltr">&lt;<a moz-do-not-send="true"
 href="mailto:sierra_mtnview@sbcglobal.net">sierra_mtnview@sbcglobal.net</a>&gt;</span>
wrote:<br>
  <div class="gmail_quote">
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
    <div bgcolor="#ffffff" text="#000000">Yes, I'm sure I'll need help.
I just posted a message minutes before
yours mentioning I'm willing to try Cygwin. The C program, wolf, is the
public domain&nbsp; If trying to compile the program under Win is what you
had in mind, then I can send you all the necessary files in a zip file.
If not, then I'll be back to ask questions about what might be going
wrong either here or in some Cygwin newsgroup.&nbsp; I distantly recall
there is one. </div>
  </blockquote>
  <div><br>
I actually found the code <a moz-do-not-send="true"
 href="http://nightskylive.net/software/">http://nightskylive.net/software/</a>
from googling.&nbsp; A quick "make" under msys/mingw didn't complete as I'd
hoped, so you'll have to put in some work, but it doesn't look
insurmountable.&nbsp; I think this is pretty far afield from the
python-tutor group though.&nbsp; Maybe you could try the community that uses
WOLF or the cygwin group?<br>
  </div>
  </div>
  <br>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Tutor maillist  -  <a class="moz-txt-link-abbreviated" href="mailto:Tutor@python.org">Tutor@python.org</a>
<a class="moz-txt-link-freetext" href="http://mail.python.org/mailman/listinfo/tutor">http://mail.python.org/mailman/listinfo/tutor</a>
  </pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<meta content="text/html;" http-equiv="Content-Type">
<title>Signature.html</title>
<pre class="moz-signature" cols="76">           Wayne Watson (Watson Adventures, Prop., Nevada City, CA)

             (121.01 Deg. W, 39.26 Deg. N) GMT-8 hr std. time)<span
 style="font-weight: bold;"></span><b><b
 style="color: rgb(204, 51, 204);" class="b"><span
 style="color: rgb(255, 153, 255);"></span><span
 style="font-family: monospace;"></span></b></b>
<span style="color: rgb(102, 0, 204);"></span><span
 style="color: rgb(102, 0, 204);"></span>

<span style="color: rgb(102, 0, 204);">                </span><font
 class="sqq"><span style="color: rgb(102, 0, 204);">&#8220;</span><span
 class="sqq" style="color: rgb(102, 0, 204);">Life is one damn thing after another."
                     -- Mark Twain </span></font>
</pre>
</div>
</body>
</html>