Exact outputs are as follows:
[EMAIL PROTECTED] net-snmp-5.4]# sh -x ./configure
+ sh -x ./configure
+ $'\r'
: command not found4:
./configure: line 22: syntax error near unexpected token `elif'
'/configure: line 22: `elif test -n "${BASH_VERSION+set}" && (set -o
posix) >/dev/null 2>&1; then
++ echo -ne '\033]0;[EMAIL PROTECTED]:~/Net-SNMP/NetSNMP/net-snmp-5.4
\007'
[EMAIL PROTECTED] net-snmp-5.4]# bash --noprofile --norc ./configure
+ bash --noprofile --norc ./configure
: command not found4:
./configure: line 22: syntax error near unexpected token `elif'
'/configure: line 22: `elif test -n "${BASH_VERSION+set}" && (set -o
posix) >/dev/null 2>&1; then
++ echo -ne '\033]0;[EMAIL PROTECTED]:~/Net-SNMP/NetSNMP/net-snmp-5.4
\007'
[EMAIL PROTECTED] net-snmp-5.4]# head -2 ./configure | xxd
+ xxd
+ head -2 ./configure
0000000: 2321 202f 6269 6e2f 6261 7368 0d0a 2320 #! /bin/bash..#
0000010: 4672 6f6d 2063 6f6e 6669 6775 7265 2e69 From configure.i
0000020: 6e20 5265 7669 7369 6f6e 3a20 352e 3239 n Revision: 5.29
0000030: 3520 2e0d 0a 5 ...
++ echo -ne '\033]0;[EMAIL PROTECTED]:~/Net-SNMP/NetSNMP/net-snmp-5.4
\007'
Thanks,
Madan
On Tue, 2007-03-20 at 11:29 +0100, Thomas Anders wrote:
> Madan Mohan wrote:
> > Same error with the below command also.
>
> Can you please post the *exact* output (of "sh -x ./configure")?
>
> Some other things to check/try:
>
> - bash --noprofile --norc ./configure
> - head -2 ./configure | xxd
>
> Again, please post the *exact* output you get.
>
>
> +Thomas
>
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users