List Info

Thread: Bugs on Configure script?




Bugs on Configure script?
user name
2007-06-06 23:47:51
I'm not quite sure if the bugs are in your code, my
system, or I'm just incompetent. You see, I'm an
amateur programmer who has never sat before any other
OS but DOS and Windows. I have several C++ compilers
on my machine but apparently none could as yet be of
much help on my desire to use GMP. So I installed
Cygwin, read some UNIX tutorials, and when I typed
'./configure' on GMP directory, this is what I got:

------------------------------------------------------------
--------------------
ECacer-b35562f4ab /cygdrive/d/GMP/gmp-4.2.1
$ ./configure
./configure: line 37: $'r': command not found
./configure: line 45: syntax error near unexpected
token `elif'
./configure: line 45: `elif test -n
"${BASH_VERSION+set}" && (set -o posix)
>/de
'/null 2>&1; then

ECacer-b35562f4ab /cygdrive/d/GMP/gmp-4.2.1
$
------------------------------------------------------------
---------------------
Lines 31 to 48 of the file 'configure' in this
directory look like this: (with line numbers added)

  31 # Copyright (C) 2003 Free Software Foundation,
Inc.
  32 # This configure script is free software; the
Free Software Foundation
  33 # gives unlimited permission to copy, distribute
and modify it.
  34 ## --------------------- ##
  35 ## M4sh Initialization.  ##
  36 ## --------------------- ##
  37
  38 # Be Bourne compatible
  39 if test -n "${ZSH_VERSION+set}" &&
(emulate sh)
>/dev/null 2>&1; then
  40   emulate sh
  41   NULLCMD=:
  42   # Zsh 3.x and 4.x performs word splitting on
${1+"$"}, which
  43   # is contrary to our usage.  Disable this
feature.
  44   alias -g '${1+"$"}'='"$"'
  45 elif test -n "${BASH_VERSION+set}" &&
(set -o
posix) >/dev/null 2>&1; then
  46   set -o posix
  47 fi
  48 DUALCASE=1; export DUALCASE # for MKS sh


I don't know any script language yet much less UNIX
scripts so may I ask what's wrong?

Thanks a lot.
Emmanuel Celiz


       
____________________________________________________________
________________________
Get the Yahoo! toolbar and be alerted to new email wherever
you're surfing.
http://new.toolbar.yahoo.com/toolbar/features/mail/i
ndex.php
_______________________________________________
gmp-bugs mailing list
gmp-bugsswox.com
http://swox
.com/mailman/listinfo/gmp-bugs

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )