delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/08/22/01:57:00

Date: Tue, 22 Aug 2000 08:56:51 +0200
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: ST001906 AT HRZ1 DOT HRZ DOT TU-Darmstadt DOT De
Message-Id: <2110-Tue22Aug2000085651+0300-eliz@is.elta.co.il>
X-Mailer: Emacs 20.6 (via feedmail 8.2.emacs20_6 I) and Blat ver 1.8.5b
CC: djgpp-workers AT delorie DOT com, tr AT eth DOT net
In-reply-to: <D0DE2F9521F@HRZ1.hrz.tu-darmstadt.de>
(ST001906 AT HRZ1 DOT HRZ DOT TU-Darmstadt DOT De)
Subject: Re: Sh-utils 2.0j sources uploaded
References: <D0DE2F9521F AT HRZ1 DOT hrz DOT tu-darmstadt DOT de>
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> From: "Juan Manuel Guerrero" <ST001906 AT HRZ1 DOT HRZ DOT TU-Darmstadt DOT De>
> Date: Mon, 21 Aug 2000 23:48:47 +0200
> 
> 3) After the package has been configured, I tried to compile it.
>    The compilation breakes with the first file with the following
>    error message:
> 
> f:/bin/make.exe  all-recursive
> make.exe[1]: Entering directory `d:/0/gnu/sh-util2.0j'
> Making all in lib
> make.exe[2]: Entering directory `d:/0/gnu/sh-util2.0j/lib'
> source='getdate.c' object='getdate.o' libtool=no \
> depfile='.deps/getdate.Po' tmpdepfile='.deps/getdate.TPo' \
> depmode=gcc f:/bin/sh.exe ../depcomp \
> gcc -DLIBDIR=\"f:/lib\" -DHAVE_CONFIG_H -I.. -I. -I../intl    -g -O2 -c -o getdate.o `test -f getdate.c || echo './'`getdate.c
> depcomp: Variables source, object and depmode must be set
> make.exe[2]: *** [getdate.o] Error 1

I didn't see this problem with Bash 2.03 and the sources in
shl20js.zip.  I understand that Prashant modified the Makefile's to
avoid the problem one has with the original distribution.  The package
built for me both on DOS and Windows.

I wonder how come you saw this.

>    IMO there is not needed to include the *.orig files. This can be avoided
>    if code similar to this one is added to config.bat (please inspect the patch):
> 
> :ScriptEditing
> Rem DJGPP specific editing of test scripts.
> test -f %XSRC%/tests/stamp-test
> if not errorlevel 1 goto End
> call djgpp\edtests.bat
> goto End
> 
>    At the end of edtest.bat the following line must be added:
> 
> touch  ./tests/stamp-test
> 
>    Now config.bat will check every time it runs if tests/stamp-test
>    exists or not. If tests/stamp-test does not exist then edtest.bat
>    must be started. This would be the case when the user downloads
>    a GNU distribution. If tests/stamp-test exists then edtest.bat
>    will never be re-started because the tests directory has already
>    been modified. This is the case of a DJGPP distribution.

This setup loses if you want to modify the original files (e.g., to
correct some problem and then submit the changes to the Sh-utils
maintainer): unless you remember to run the edtest.bat batch file
manually, the test scripts will not be updated.

- Raw text -


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