Re: Problem with installation (configure error)

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 &...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-20-2005
the-law@gmx.net
 
Posts: n/a
Default Re: Problem with installation (configure error)

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
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:46 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0