delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/03/04/14:58:44

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Originating-IP: [162.129.38.105]
From: "Konstantinos Makrodimitris" <kmakr7 AT msn DOT com>
To: cygwin AT cygwin DOT com
Subject: 1.3.20-1 CYGWIN ; csh,bash and ./config
Date: Tue, 04 Mar 2003 19:56:58 +0000
Mime-Version: 1.0
Message-ID: <F13thJCqUVbYq5IyQSA00003f8b@hotmail.com>
X-OriginalArrivalTime: 04 Mar 2003 19:56:58.0636 (UTC) FILETIME=[3705ECC0:01C2E288]

Hi,

I am trying to run a configure file
./config  Cygwin-i686
in order then to :

cd Cygwin-i686
make

The file “config” is like:
_____________________________________________________________________
#!/bin/csh -f
goto begin
syntax:
  echo ''
  echo 'Usage: config [debug] [tcl] [fftw] [<build_dir>/]<arch>[.comment]'
  echo 'Environment variable NAMD_BUILD_BASE may point to scratch 
directory.'
  echo ''
  echo '<arch>: '
  ( cd arch ; ls -1 *.arch |sed -e 's/\.arch//' | egrep -v 'template' | pr 
-3 -t)
  echo ''
  exit 1

begin:
  if ($#argv < 1) goto syntax
  if ( $1 == debug ) then
    set use_debug = 1
    shift
  else
    set use_debug = 0
  endif
.. .
_____________________________________________________________________

I take:

bash: ./config: /bin/csh: bad interpreter: No such file or directory

Changing the first line of the “config” in sh mode
#!/bin/sh –f

I take:

$ sh ./config Cygwin-i686
goto: not found
syntax:: not found
Usage: config [debug] [tcl] [fftw] [<build_dir>/]<arch>[.comment]
Environment variable NAMD_BUILD_BASE may point to scratch directory.

Also
ln -s /bin/bash.exe /bin/sh.exe
didn’t work

Could you please give me your advice.

My Best,
Konstantinos Makrodimitris





_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE* 
http://join.msn.com/?page=features/junkmail


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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