This is a discussion on Re: Problem with installation (configure error) within the SNMP Users forums, part of the Networking and Network Related category; Hello, here is the code from line 15 to 25 from the ./configure file: # Be Bourne compatible if test -n &...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 <danny.milosavljevic@fabalabs.org> > An: the-law@gmx.net > Kopie: net-snmp-users@lists.sourceforge.net > Betreff: Re: Problem with installation (configure error) > Datum: Mon, 19 Sep 2005 15:24:48 +0200 > > Hi, > > the-law@gmx.net 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 Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/...net-snmp-users |
![]() |
| Thread Tools | |
| Display Modes | |
|
|