Mail Archives: djgpp/1999/08/27/19:39:56
When porting to djgpp a unix package of the autoconf kind which uses install I
found something strange. The problem is displayed by the following minimum
makefile
----------------------------------------
SHELL = /bin/sh
all:
/bin/ginstall -c anyfile anydir ;
----------------------------------------
If I don't put the ; at the end of the last line make fails with a message:
/bin/ginstall -c anyfile anydir
make.exe: *** [all] Error -1
with the ; included it is ok.
Replacing /bin/ginstall simply by ginstall (it is in my path) make works without
the ;
Replacing it by the full path f:/djgpp/bin/ginstall it works also without the ;
I work in plain dos under bash1147(2) launched with the boot.bat which is
contained in the directory %djgpp%\gnu\bash1147\misc (adapted to my setup), which
sets
set SYSROOT=f:\djgpp
set PATH_EXPAND=y (n changes nothing)
This seems to have something to do with paths translations by bash, but I cannot
understand the logic.
The fix is easy, but understanding what was the error (in a rather longer
makefile) took time !
This is particularly annoying because the syntax
/bin/ginstall -c
came automatically by running first the djgpp port of autoconf (2.13) through the
instruction
AC_PROG_INSTALL
contained in configur.in, and running then
./configure --prefix=f:/djgpp
in the package base directory.
I think I have the last official version of djgpp.
Well the package now works !
But what ?
--
Maurice Lombardi
Laboratoire de Spectrometrie Physique,
Universite Joseph Fourier de Grenoble, BP87
38402 Saint Martin d'Heres Cedex FRANCE
Tel: 33 (0)4 76 51 47 51
Fax: 33 (0)4 76 51 45 44
mailto:Maurice DOT Lombardi AT ujf-grenoble DOT fr
- Raw text -