Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!husc6!cmcl2!nrl-cmf!ames!ucbcad!ucbvax!hplabs!decwrl!labrea!russell!gandalf From: gandalf@russell.UUCP Newsgroups: comp.sources.bugs Subject: Re: Monthtool from comp.sources.unix Message-ID: <672@russell.STANFORD.EDU> Date: Thu, 12-Nov-87 02:51:45 EST Article-I.D.: russell.672 Posted: Thu Nov 12 02:51:45 1987 Date-Received: Sat, 14-Nov-87 14:14:51 EST References: <5419@jhunix.UUCP> <743@rocky.STANFORD.EDU> <2967@vdsvax.steinmetz.UUCP> Reply-To: gandalf@russell.UUCP (Juergen Wagner) Organization: Center for the Study of Language and Information, Stanford U. Lines: 25 Keywords: monthtool, Sun Monthtool definitively runs. I believe, the problems with the original distribution is the special font which has to be installed where monthtool expects it to be. Actually, I haven't got the original files around, and the files I am keeping have a number of changes, so I can't compare my version with the original one. Please, be sure that FONTDIR is set to the correct value. Personally, I don't like setting these variables inside a program, so my Makefile looks like LIBS = -lsuntool -lsunwindow -lpixrect monthtool: monthtool.o cc $(LDFLAGS) -o monthtool monthtool.o $(LIBS) monthtool.o: monthtool.c cc $(CFLAGS) -DSTANDALONE -DFONTDIR=\"${LIBDIR}/fonts/\" \ -c monthtool.c The font (monthtool.font) is installed in "${LIBDIR}/fonts/". (The trailing slash is important!! If you omit it you will get ^?, too!) The STANDALONE is needed if I wish to build a standalone program rather than merging the tool into my suntools. Good luck, Juergen Wagner gandalf@Russell.stanford.edu Center for the Study of Language and Information (CSLI), Stanford University