This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

1.3.20-1 CYGWIN ; csh,bash and ./config



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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]