From: Maurice Lombardi Newsgroups: comp.os.msdos.djgpp Subject: bug on ginstall under bash ? Date: Fri, 27 Aug 1999 21:01:25 -0700 Organization: Universite Jospeh Fourier - Grenoble 1 Lines: 54 Message-ID: <37C75F14.1209CDF1@ujf-grenoble.fr> References: <19990827133418 DOT 21058 DOT 00000529 AT ng-bg1 DOT aol DOT com> NNTP-Posting-Host: knautie.ujf-grenoble.fr Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: zak.ujf-grenoble.fr 935780724 1176 193.54.234.27 (27 Aug 1999 19:05:24 GMT) X-Complaints-To: abuse AT ujf-grenoble DOT fr NNTP-Posting-Date: 27 Aug 1999 19:05:24 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