AF:
NF:0
PS:10
SRH:1
SFN:
DSR:
MID:<20080425192635.4998e43b@ripper.onstor.net>
CFG:
PT:0
S:andy.sharp@onstor.com
RQ:
SSV:onstor-exch02.onstor.net
NSV:
SSH:
R:<larry.scheer@onstor.com>,<schandra@onstor.com>,<jobi.ariyamannil@onstor.com>,<tim.gardner@onstor.com>
MAID:1
X-Sylpheed-Privacy-System:
X-Sylpheed-Sign:0
SCF:#mh/Mailbox/sent
RMID:#imap/andys@onstor.net@onstor-exch02.onstor.net/INBOX	0	BB375AF679D4A34E9CA8DFA650E2B04E056C9593@onstor-exch02.onstor.net
X-Sylpheed-End-Special-Headers: 1
Date: Fri, 25 Apr 2008 19:27:18 -0700
From: Andrew Sharp <andy.sharp@onstor.com>
To: "Larry Scheer" <larry.scheer@onstor.com>
Cc: "Svati Chandra" <schandra@onstor.com>, "Jobi Ariyamannil"
 <jobi.ariyamannil@onstor.com>, "Tim Gardner" <tim.gardner@onstor.com>
Subject: Re: sed error when doing a clean build
Message-ID: <20080425192718.10c880d2@ripper.onstor.net>
In-Reply-To: <BB375AF679D4A34E9CA8DFA650E2B04E056C9593@onstor-exch02.onstor.net>
References: <BB375AF679D4A34E9CA8DFA650E2B04E06B16E29@onstor-exch02.onstor.net>
	<BB375AF679D4A34E9CA8DFA650E2B04E056C9593@onstor-exch02.onstor.net>
Organization: Onstor
X-Mailer: Sylpheed-Claws 2.6.0 (GTK+ 2.8.20; x86_64-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

There exists another couple of options:  upgrade compile to similar
version of redhat as other systems; or get the source for sed and build
it on compile.

Cheers,

a


On Fri, 25 Apr 2008 18:22:03 -0700 "Larry Scheer"
<larry.scheer@onstor.com> wrote:

> Svati,
> 
>    The problem is with Linux host compile. The build rules for this
> file uses sed -i. Compile is Red Hat Linux release 8.0 (Psyche) which
> is older than nearly all of our Red-Hat boxes. The version of sed it
> uses does not support the '-i' option. I tried to update sed on this
> system with a newer sed rpm package that matches the other Red Hat
> systems we have. Unfortunately this sed package needs a version of
> glibc much newer than what is installed on compile. So looks like we
> are stuck unless we force the install of sed, or copy /bin/sed from a
> newer system. If I do that it still may or may not work if the rpm
> package was telling the truth about the dependency.
> 
>  
> 
> Again your options are to use another build server such as compile2,
> linux-compile, or use your Linux desktop as a build system.
> 
>  
> 
> Larry
> 
> ________________________________
> 
> From: Svati Chandra 
> Sent: Friday, April 25, 2008 5:19 PM
> To: Larry Scheer
> Cc: Jobi Ariyamannil
> Subject: sed error when doing a clean build
> 
>  
> 
>  
> 
> Hi Larry,
> 
>  
> 
> I just attempted a clean build of the dev tree (dbg, for bobcat) and
> obtain the fol. error.
> 
> I'm using "compile.onstor.net" as the build server. 
> 
>  
> 
> Was wondering if you've come across this and/or would be knowing how
> to resolve it.
> 
>  
> 
> Thanks,
> 
> Svati.
> 
>  
> 
>  
> 
>  
> 
> /usr/bin/install -o schandra -g software -m 0644
> agile-man/help_vsvr_stats.txt ../../Build/bc/dbg/man
> 
> /usr/bin/install -o schandra -g software -m 0644
> agile-man/help_vsvr.txt ../../Build/bc/dbg/man
> 
> /usr/bin/install -o schandra -g software -m 0644
> agile-man/bc/help_rcon.txt ../../Build/bc/dbg/man
> 
> sed 's+@@CONFIG-FILES@@+'"etc/hosts etc/hosts.user etc/hosts.org
> etc/passwd onstor/conf/cluster.conf onstor/conf/cluster.db.DB0
> onstor/conf/cluster.db.DBSYS1 etc/resolv.conf
> etc/ssh/ssh_host_dsa_key.pub etc/ssh/ssh_host_dsa_key
> etc/ssh/ssh_host_key.pub etc/ssh/ssh_host_key etc/ssh/ssh_host_rsa_key
> etc/ssh/ssh_host_rsa_key.pub etc/localtime etc/syslog.conf
> etc/ntp.conf etc/ntp/step-tickers onstor/etc/snmpd.conf
> onstor/conf/stand_cluster"+ \
> 
>         verify_install.in > ../../Build/bc/dbg/bin/verify_install.sh
> 
> sed -i 's+@@LINUX-CONFIG-FILES@@+'"etc/network/interfaces
> etc/network/if-up.d/addroutes etc/shadow etc/gshadow etc/hostname
> var/spool/cron/crontabs/root etc/mailname etc/timezone"+
> ../../Build/bc/dbg/bin/verify_install.sh
> 
> sed: invalid option -- i
> 
> Usage: sed [OPTION]... {script-only-if-no-other-script}
> [input-file]...
> 
>  
> 
>   -n, --quiet, --silent
> 
>                  suppress automatic printing of pattern space
> 
>   -e script, --expression=script
> 
>                  add the script to the commands to be executed
> 
>   -f script-file, --file=script-file
> 
>                  add the contents of script-file to the commands to be
> executed
> 
>       --help     display this help and exit
> 
>   -V, --version  output version information and exit
> 
>  
> 
> If no -e, --expression, -f, or --file option is given, then the first
> 
> non-option argument is taken as the sed script to interpret.  All
> 
> remaining arguments are names of input files; if no input files are
> 
> specified, then the standard input is read.
> 
>  
> 
> E-mail bug reports to: bug-gnu-utils@gnu.org .
> 
> Be sure to include the word ``sed'' somewhere in the ``Subject:''
> field.
> 
> make[2]: *** [../../Build/bc/dbg/bin/verify_install.sh] Error 4
> 
> make[2]: Leaving directory
> `/homes/schandra/p4-debug/dev/nfx-tree/code/ssc-nfxsh'
> 
> make[1]: *** [default] Error 1
> 
> make[1]: Leaving directory `/homes/schandra/p4-debug/dev/nfx-tree'
> 
> make: *** [ssc] Error 2
> 
>  
> 
> -bash-2.05b$ uname -a
> 
> Linux compile.onstor.net 2.4.18-14smp #1 SMP Wed Sep 4 12:34:47 EDT
> 2002 i686 i686 i386 GNU/Linux
> 
