Re: compilation errors.

Madan Mohan <[email protected]>
Newsgroups gmane.network.net-snmp.user
Organization Broadcom Corporation
Message-ID <[email protected]>
Dave,

Please ignore my previous mail. I am enclosing the information you asked
for inline with the questions.

Thanks,
Madan

On Tue, 2007-03-20 at 09:56 +0000, Dave Shield wrote:
> On 20/03/07, Madan Mohan <[email protected]> wrote:
> > > > I am running Linux with version 2.6.9-1.667.
> > > Which distribution?
> > [Madan] : It's FC3(Fedora)
> 
> Old, but not exactly obscure.
> 
> > > Same error?
> > [Madan] : I am getting the same error
> > [root@madan-cd2000 net-snmp-5.4]# bash ./configure
> > + bash ./configure
> > : command not found4:
> > ./configure: line 22: syntax error near unexpected token `elif'
>     <etc, etc>
> 
> Hmmmm...
> I'm somewhat supicious of this error.
> It almost feels as if this doesn't actually use the shell that
> you're asking for.
> 
> What does
>         sh --version
>                         display?

[Madan] : sh --version output is as follows:

[root@madan-cd2000 net-snmp-5.4]# sh --version
+ sh --version
GNU bash, version 3.00.14(1)-release (i386-redhat-linux-gnu)
Copyright (C) 2004 Free Software Foundation, Inc.
++ echo -ne '\033]0;root@madan-cd2000:~/Net-SNMP/NetSNMP/net-snmp-5.4
\007'
[root@madan-cd2000 net-snmp-5.4]#

> 
> Also - what does the top of the configure script look like?
> Try
>      head -30 configure  > configure.head
> 
> and append the file  'configure.head'

[Madan] : configure.head looked as follows:

#! /bin/sh
# From configure.in Revision: 5.295 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.59 for Net-SNMP 5.4.
#
# Report bugs to <[email protected]>.
#
# Copyright (C) 2003 Free Software Foundation, Inc.
# This configure script is free software; the Free Software Foundation
# gives unlimited permission to copy, distribute and modify it.
## --------------------- ##
## M4sh Initialization.  ##
## --------------------- ##

# Be Bourne compatible
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  emulate sh
  NULLCMD=:
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  # is contrary to our usage.  Disable this feature.
  alias -g '${1+"$@"}'='"$@"'
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1;
then
 set -o posix
fi
DUALCASE=1; export DUALCASE # for MKS sh

# Support unset when possible.
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  as_unset=unset
else

> 
> Dave
> 
> 


-------------------------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.