Sun
2009-Aug-02 05:58 UTC
[Ocfs2-users] Q: ocfs2 install on SUSE LINUX Enterprise Server 9 (2.6.5-7.308-default)
Hello! everybody here! ??????????? From ocfs2 document, I know Novell's SUSE Linux Exterprise Server: OCFS2 1.2.9-1 packages for SLES9 SP4 and SLES10 SP1 are available . ????????????so I download ocfs2-1.2.9.tar.gz ??????????? uncompress ocfs2-1.2.9.tar.gz ??????????? cd ocfs2-1.2.9 ??????????? ./configure checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for gcc... gcc checking for C compiler default output file name... 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 how to run the C preprocessor... gcc -E checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking for egrep... grep -E checking for ANSI C header files... yes checking for an ANSI C-conforming const... yes checking for vendor... suse-kmp checking for vendor kernel... not supported checking for debugging... no checking for directory with kernel build tree... /lib/modules/2.6.5-7.308-default/build checking for kernel version... 2.6.5-7.308-default checking for directory with kernel sources... not found configure: error: Couldn't find kernel sources # ? reference : http://oss.oracle.com/pipermail/ocfs2-announce/2008-July/000026.html I have upgrade my os from> uname -aLinux SuSeLX2 2.6.5-7.97-default #1 Fri Jul 2 14:21:59 UTC 2004 i686 i686 i386 GNU/Linux>To # uname -a Linux SuSeLX1 2.6.5-7.308-default #1 Mon Dec 10 11:36:40 UTC 2007 i686 i686 i386 GNU/Linux ? Please tell me how to resolve above configure error, and can?give me some tips or document to help me make ocfs2?work normally on my?machine.? ? Thanks for any help! ----------------------------------------- About os and kernel info: # more /etc/SuSE-release SUSE LINUX Enterprise Server 9 (i586) VERSION = 9 PATCHLEVEL = 4 # uname -a Linux SuSeLX1 2.6.5-7.308-default #1 Mon Dec 10 11:36:40 UTC 2007 i686 i686 i386 GNU/Linux ?# ___________________________________________________________ ????????????????? http://card.mail.cn.yahoo.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://oss.oracle.com/pipermail/ocfs2-users/attachments/20090802/703a7a7f/attachment.html
Coly Li
2009-Aug-04 14:43 UTC
[Ocfs2-users] Q: ocfs2 install on SUSE LINUX Enterprise Server 9 (2.6.5-7.308-default)
Sun Wrote:> Hello! everybody here! > From ocfs2 document, I know > Novell's SUSE Linux Exterprise Server: OCFS2 1.2.9-1 packages for SLES9 SP4 and SLES10 SP1 are available . > so I download ocfs2-1.2.9.tar.gz > uncompress ocfs2-1.2.9.tar.gz > cd ocfs2-1.2.9 > ./configure > checking build system type... i686-pc-linux-gnu > checking host system type... i686-pc-linux-gnu > checking for gcc... gcc > checking for C compiler default output file name... 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 how to run the C preprocessor... gcc -E > checking for a BSD-compatible install... /usr/bin/install -c > checking whether ln -s works... yes > checking for egrep... grep -E > checking for ANSI C header files... yes > checking for an ANSI C-conforming const... yes > checking for vendor... suse-kmp > checking for vendor kernel... not supported > checking for debugging... no > checking for directory with kernel build tree... /lib/modules/2.6.5-7.308-default/build > checking for kernel version... 2.6.5-7.308-default > checking for directory with kernel sources... not found > configure: error: Couldn't find kernel sources > #OCFS2 1.2 in SLES10 is a little different from upstream OCFS2 1.2. I suspect the upstream OCFS2 code can be compiled and run correctly on SLES10. Anyway, if you do want to have a try, it seems kernel source code of 2.6.4-7.308-default is not installed and configured on your system. -- Coly Li SuSE Labs