www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/02/07/21:00:20

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
From: "A. Sinan Unur" <asu1 AT cornell DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Gcal for Win98
Date: 8 Feb 2002 01:51:07 GMT
Organization: Cornell University
Lines: 64
Sender: asu1 AT cornell DOT invalid (on pool-141-149-208-155.syr.east.verizon.net)
Message-ID: <Xns91AED41D84D61asu1cornelledu@132.236.56.8>
References: <5 DOT 1 DOT 0 DOT 14 DOT 0 DOT 20020207162331 DOT 00a044a0 AT imap DOT cs DOT com>
NNTP-Posting-Host: pool-141-149-208-155.syr.east.verizon.net
X-Trace: news01.cit.cornell.edu 1013133067 26725 141.149.208.155 (8 Feb 2002 01:51:07 GMT)
X-Complaints-To: usenet AT news01 DOT cit DOT cornell DOT edu
NNTP-Posting-Date: 8 Feb 2002 01:51:07 GMT
User-Agent: Xnews/L5
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Jerry Antosh <praga22 AT cs DOT com> wrote in
news:5 DOT 1 DOT 0 DOT 14 DOT 0 DOT 20020207162331 DOT 00a044a0 AT imap DOT cs DOT com: 

> Sinan,
> 
> Thanks for the reply. I followed the instructions from your message
> and here's what I got:
> 
> -----------------------------------------------------------------------
> --- make -f Makefile.djg
> 
> gcc -DDJG -c   -DUSE_HLS=1 -DUSE_PAGER=1 -DUSE_RC=1
> -DGCAL_USR_DATADIR="share/gcal"-DGCAL_SYS_DATADIR="/usr/local/share/gca
> l" -O -Wall file-io.c
> file-io.c:In function `file_open':
> file-io.c:385:`share' undeclared (first use this function)
> file-io.c:385:(Each undeclared identifier is declared only once
> file-io.c:385:for each function it appears in.)
> file-io.c:385:gcal undeclared (first use this function)
> file-io.c:420:parse error before `/'
> file-io.c:  In function `file_read_line':
> file-io.c:522:warning:implicit declaration of function `read'
> make.exe:***[file-io.o] Error 1
> -----------------------------------------------------------------------
> ----- 
> 
> I'm using DJGPP v.2.03
>            GCAL v.3.01

Hello,

First off, a request: please do not post HTML in newsgroups.

I finally have my DJGPP again!

I downloaded the gcal distribution, switched to bash, cd'ed to the top 
directory of the distribution, and ran configure:

./configure --with-included-regexp

(for this to work, you need the text, file, and shell utilities, as well 
as grep, awk and sed).

when the script finished, I ran make with no options, and everything went 
smoothly, and the executables were built. I like configure scripts when 
they are well written, and I prefer this method.

That said: Escaping the quotes on lines 92 and 97 of makefile.djg so they 
read:

92 GCAL_USR_DATADIR = \"share/gcal\"
97 GCAL_SYS_DATADIR = \"/usr/local/share/gcal\"

should ensure the build goes smoothly.

On the other hand, the current standard would presumably be to use:

92 GCAL_USR_DATADIR = \"/dev/env/DJDIR/share/gcal\"

Am I correct? 

Sinan.


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019