I'm trying to compile 3.5.9 on an HP-UX 11i v1 machine but I can't get
past step one...
 
I unpacked the amalgamation, cd'd to the directory, and ran
'./configure' - that didn't work so I tried 'sh ./configure' like the
install instructions suggest. I got a syntax error right away.
 
~/sqlite/sqlite-amalgamation-3.5.9.tar/sqlite-amalgamation-3.5.9
lacpghp1> ./configure
interpreter "/bin/sh" not found
file link resolves to "/usr/bin/sh"
bash: ./configure: /bin/sh^M: bad interpreter: No such file or directory
 
~/sqlite/sqlite-amalgamation-3.5.9.tar/sqlite-amalgamation-3.5.9
lacpghp1> sh ./configure
./configure[14]: ^M:  not found.
' is not expected.yntax error at line 26 : `in
 
 
I haven't changed the configure file at all... the block in question is
:
 
15    # Be more Bourne compatible
16    DUALCASE=1; export DUALCASE # for MKS sh
17    if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1;
then
18      emulate sh
19      NULLCMD=:
20      # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21      # is contrary to our usage.  Disable this feature.
22      alias -g '${1+"$@"}'='"$@"'
23      setopt NO_GLOB_SUBST
24    else
25      case `(set -o) 2>/dev/null` in
26      *posix*) set -o posix ;;
27    esac
28    
29    fi
 
Any ideas on what could be wrong here? Thanks for any input!

_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to