I think the solution here is to edit whatever script that is picking up
UTS_RELEASE (configure*) to do so correctly, since RedHat (as it looks
like you''re using) doesn''t do things the same way as a vanilla
kernel in
include/linux/version.h
If you define it as, say, "2.4.20-8" by hand rather than letting the
script sed for it, does it work?
Ken
Tad Lake wrote:
> when i compile my lustre,the result was:
>
>
> ./configure
> checking build system type... i686-redhat-linux-gnu
> checking host system type... i686-redhat-linux-gnu
> checking target system type... i686-redhat-linux-gnu
> checking for a BSD-compatible install...
> /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking for style of include used by make... GNU
> checking for gcc... gcc
> checking for C compiler default output... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler...
> yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ANSI C... none
> needed
> checking dependency style of gcc... gcc3
> checking how to run the C preprocessor... gcc -E
> checking for egrep... grep -E
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking for unsigned long long... yes
> checking size of unsigned long long... 8
> ---> size SIZEOF
> ---> size SIZEOF 8
> checking for ranlib... ranlib
> checking for gcc... (cached) gcc
> checking whether we are using the GNU C compiler...
> (cached) yes
> checking whether gcc accepts -g... (cached) yes
> checking for gcc option to accept ANSI C... (cached)
> none needed
> checking dependency style of gcc... (cached) gcc3
> checking for buggy compiler... no known problems
> Makefile for in kernel build:
> checking if you are running user mode linux for i686
> ...... no (asm-um missing)
> checking if you are running linux 2.5... no
> Makefiles for in linux 2.5 build:
> checking setting make flags system architecture: ...
> i686
> checking if make dep has been run in kernel source
> (host i686) ... yes
> checking if autoconf.h is in kernel source... yes
> checking for Linux release... 2.4.20-8smp
> 2.4.20-8BOOT
> 2.4.20-8bigmem
> 2.4.20-8
> checking lustre release... 2.4.20_8smp
> 2.4.20_8BOOT
> 2.4.20_8bigmem
> 2.4.20_8_200403181057
> checking for MODVERSIONS... yes
> checking if kernel has CPU affinity support... yes
> checking if kernel has zero-copy TCP support... no
> checking if quadrics kernel headers are present... no
> checking with-gm> checking if IB headers are present... no
> checking if ScaMAC headers are present... no
> checking for kernel version... redhat-2.4.20
> configure: creating ./config.status
> config.status: creating Makefile
> sed: file ./confstatGaLaH9/subs-3.sed line 6:
> Unterminated `s'' command
> config.status: creating lvfs/Makefile
> sed: file ./confstatGaLaH9/subs-3.sed line 6:
> Unterminated `s'' command
> config.status: creating portals/Makefile
> sed: file ./confstatGaLaH9/subs-3.sed line 6:
> Unterminated `s'' command
> config.status: creating portals/Kernelenv
> sed: file ./confstatGaLaH9/subs-3.sed line 6:
> Unterminated `s'' command
> config.status: creating portals/libcfs/Makefile
> sed: file ./confstatGaLaH9/subs-3.sed line 6:
> Unterminated `s'' command
> config.status: creating portals/portals/Makefile
> sed: file ./confstatGaLaH9/subs-3.sed line 6:
> Unterminated `s'' command
> config.status: creating portals/unals/Makefile
> sed: file ./confstatGaLaH9/subs-3.sed line 6:
> Unterminated `s'' command
> config.status: creating portals/knals/Makefile
> sed: file ./confstatGaLaH9/subs-3.sed line 6:
> Unterminated `s'' command
> config.status: creating portals/router/Makefile
> sed: file ./confstatGaLaH9/subs-3.sed line 6:
> Unterminated `s'' command
> config.status: creating portals/knals/socknal/Makefile
> sed: file ./confstatGaLaH9/subs-3.sed line 6:
> Unterminated `s'' command
> config.status: creating portals/knals/gmnal/Makefile
> sed: file ./confstatGaLaH9/subs-3.sed line 6:
> Unterminated `s'' command
> config.status: creating portals/knals/qswnal/Makefile
> sed: file ./confstatGaLaH9/subs-3.sed line 6:
> Unterminated `s'' command
> config.status: creating
> portals/knals/scimacnal/Makefile
> sed: file ./confstatGaLaH9/subs-3.sed line 6:
> Unterminated `s'' command
> config.status: creating portals/knals/toenal/Makefile
> sed: file ./confstatGaLaH9/subs-3.sed line 6:
> Unterminated `s'' command
> config.status: creating portals/knals/ibnal/Makefile
> sed: file ./confstatGaLaH9/subs-3.sed line 6:
> Unterminated `s'' command
> config.status: creating portals/utils/Makefile
> sed: file ./confstatGaLaH9/subs-3.sed line 6:
> Unterminated `s'' command
> config.status: creating portals/tests/Makefile
> sed: file ./confstatGaLaH9/subs-3.sed line 6:
> Unterminated `s'' command
> config.status: creating portals/doc/Makefile
> sed: file ./confstatGaLaH9/subs-3.sed line 6:
> Unterminated `s'' command
> config.status: creating obdecho/Makefile
> sed: file ./confstatGaLaH9/subs-3.sed line 6:
> Unterminated `s'' command
> config.status: creating ptlrpc/Makefile
> sed: file ./confstatGaLaH9/subs-3.sed line 6:
> Unterminated `s'' command
> config.status: creating liblustre/Makefile
> sed: file ./confstatGaLaH9/subs-3.sed line 6:
> Unterminated `s'' command
> config.status: creating lov/Makefile
> sed: file ./confstatGaLaH9/subs-3.sed line 6:
> Unterminated `s'' command
> config.status: creating osc/Makefile
> sed: file ./confstatGaLaH9/subs-3.sed line 6:
> Unterminated `s'' command
> config.status: creating mdc/Makefile
> sed: file ./confstatGaLaH9/subs-3.sed line 6:
> Unterminated `s'' command
> config.status: creating mds/Makefile
> sed: file ./confstatGaLaH9/subs-3.sed line 6:
> Unterminated `s'' command
> config.status: creating ost/Makefile
> sed: file ./confstatGaLaH9/subs-3.sed line 6:
> Unterminated `s'' command
> config.status: creating cobd/Makefile
> sed: file ./confstatGaLaH9/subs-3.sed line 6:
> Unterminated `s'' command
> config.status: creating ptlbd/Makefile
> sed: file ./confstatGaLaH9/subs-3.sed line 6:
> Unterminated `s'' command
> config.status: creating conf/Makefile
> sed: file ./confstatGaLaH9/subs-3.sed line 6:
> Unterminated `s'' command
> config.status: creating tests/Makefile
> sed: file ./confstatGaLaH9/subs-3.sed line 6:
> Unterminated `s'' command
> config.status: creating utils/Makefile
> sed: file ./confstatGaLaH9/subs-3.sed line 6:
> Unterminated `s'' command
> config.status: creating utils/Lustre/Makefile
> sed: file ./confstatGaLaH9/subs-3.sed line 6:
> Unterminated `s'' command
> config.status: creating obdfilter/Makefile
> sed: file ./confstatGaLaH9/subs-3.sed line 6:
> Unterminated `s'' command
> config.status: creating obdclass/Makefile
> sed: file ./confstatGaLaH9/subs-3.sed line 6:
> Unterminated `s'' command
> config.status: creating include/Makefile
> sed: file ./confstatGaLaH9/subs-3.sed line 6:
> Unterminated `s'' command
> config.status: creating include/linux/Makefile
> sed: file ./confstatGaLaH9/subs-3.sed line 6:
> Unterminated `s'' command
> config.status: creating llite/Makefile
> sed: file ./confstatGaLaH9/subs-3.sed line 6:
> Unterminated `s'' command
> config.status: creating doc/Makefile
> sed: file ./confstatGaLaH9/subs-3.sed line 6:
> Unterminated `s'' command
> config.status: creating scripts/Makefile
> sed: file ./confstatGaLaH9/subs-3.sed line 6:
> Unterminated `s'' command
> config.status: creating scripts/lustre.spec
> sed: file ./confstatGaLaH9/subs-3.sed line 6:
> Unterminated `s'' command
> config.status: creating portals/include/config.h
> config.status: portals/include/config.h is unchanged
> config.status: executing depfiles commands
>
>
>
>
>
>
>
> It seems that it has not finish it?Why this happen?
> I use Lustre 1.0.2.
> Your reply is appreciated.
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail - More reliable, more storage, less spam
> http://mail.yahoo.com
> _______________________________________________
> Lustre-discuss mailing list
> Lustre-discuss@lists.clusterfs.com
> https://lists.clusterfs.com/mailman/listinfo/lustre-discuss
--
Ken MacInnis - Grid Systems Engineer, PSC (www.psc.edu)
kcm at psc dot edu - +1 412 268 9833 (w), +1 412 268 5832 (f)
Pittsburgh Supercomputing Center / 4400 Fifth Ave / Pittsburgh, PA 15213