Re: Problem with installation (configure error)

[email protected]
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hello,

here is the code from line 15 to 25 from the ./configure file:

# 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

The error occurs in line 22, where the BASH_VERSION is checked (elif test
...).

Thanks in advance,
Klaus Gürtler


> --- Ursprüngliche Nachricht ---
> Von: Danny Milosavljevic <[email protected]>
> An: [email protected]
> Kopie: [email protected]
> Betreff: Re: Problem with installation (configure error)
> Datum: Mon, 19 Sep 2005 15:24:48 +0200
> 
> Hi,
> 
> [email protected] schrieb:
> 
> >Hello,
> >
> >when I try to run ./configure, I get the following error:
> >
> >linux:/net-snmp-5.2.1.2 # sh ./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
> >>    
> >>
> >
> >  
> >
> What are those lines in "configure" (around line number 22 and a few 
> lines before) ?
> 
> >What do I need to do to install the package?
> >
> >My system is:
> >SuSE Linux 9.1
> >gcc 3.3.3
> >bash 2.05b.0(1)-release
> >net-snmp-5.2.1.2
> >I'm logged in as root.
> >
> >Thanks in advance,
> >Klaus Gürtler
> >
> >  
> >
> cheers,
>    Danny
> 
> 

-- 
GMX DSL = Maximale Leistung zum minimalen Preis!
2000 MB nur 2,99, Flatrate ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. 
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
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.