cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1999/08/27/19:25:54

From: Maurice Lombardi <Maurice DOT Lombardi AT ujf-grenoble DOT fr>
Newsgroups: comp.os.msdos.djgpp
Subject: bug in ginstall under bash ?
Date: Fri, 27 Aug 1999 21:08:15 -0700
Organization: Universite Jospeh Fourier - Grenoble 1
Lines: 54
Message-ID: <37C760AF.CF2EAB6A@ujf-grenoble.fr>
NNTP-Posting-Host: knautie.ujf-grenoble.fr
Mime-Version: 1.0
X-Trace: zak.ujf-grenoble.fr 935781133 1176 193.54.234.27 (27 Aug 1999 19:12:13 GMT)
X-Complaints-To: abuse AT ujf-grenoble DOT fr
NNTP-Posting-Date: 27 Aug 1999 19:12:13 GMT
X-Mailer: Mozilla 4.08 [fr] (Win16; I)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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 -


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