Mail Archives: djgpp/2002/02/07/21:00:20
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 -