<HTML dir=ltr><HEAD><TITLE>Re: [Ocfs2-users] Problems building ocfs2 rpm on Fedora 9</TITLE>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.6000.16681" name=GENERATOR></HEAD>
<BODY>
<DIV id=idOWAReplyText69925 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Thanks for the reply. Can you be more specific and give me the exact name of the native Fedora 9 rpm(s) that I need for ocfs2 and ocfs2-tools?</FONT></DIV></DIV>
<DIV dir=ltr> </DIV>
<DIV dir=ltr>Thanks.<BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Sunil Mushran [mailto:Sunil.Mushran@oracle.com]<BR><B>Sent:</B> Fri 6/27/2008 1:16 PM<BR><B>To:</B> Tina Soles<BR><B>Cc:</B> ocfs2-users@oss.oracle.com<BR><B>Subject:</B> Re: [Ocfs2-users] Problems building ocfs2 rpm on Fedora 9<BR></FONT><BR></DIV>
<DIV>
<P><FONT size=2>Fedora ships ocfs2 fs modules natively. You don't have to do all this.<BR>What is missing is the tools rpm.<BR><BR>But the good news is that that should be available any day now....<BR>literally speaking.<BR><BR>Tina Soles wrote:<BR>><BR>> Hello,<BR>><BR>> I’m brand new to RAC and ocfs2. I need to install ocfs2, but there is<BR>> no distribution for Fedora 9, for kernel 2.6.25-14.fc9.i686.<BR>><BR>> I have obtained the ocfs2-1.3.9-0.1.tar.gz source file, unzipped, it<BR>> and am following the instructions found here:<BR>> <A href="http://oss.oracle.com/projects/ocfs2/dist/documentation/ocfs2_faq.html#BUILD">http://oss.oracle.com/projects/ocfs2/dist/documentation/ocfs2_faq.html#BUILD</A><BR>><BR>> My .rpmmacros file looks like this: (the /usr/src/redhat and all<BR>> subdirectories exist)<BR>><BR>> %_topdir /usr/src/redhat<BR>><BR>> %_tmppath /usr/src/redhat/tmp<BR>><BR>> %_sourcedir /usr/src/redhat/SOURCES<BR>><BR>> %_specdir /usr/src/redhat/SPECS<BR>><BR>> %_srcrpmdir /usr/src/redhat/SRPMS<BR>><BR>> %_rpmdir /usr/src/redhat/RPMS<BR>><BR>> %_builddir /usr/src/redhat/BUILD<BR>><BR>> I’m logged in as root.<BR>><BR>> Here’s a list of my kernel* packages installed:<BR>><BR>> kernel.i686 2.6.25-14.fc9 installed<BR>><BR>> kernel-PAE-devel.i686 2.6.25.6-55.fc9 installed<BR>><BR>> kernel-devel.i686 2.6.25-14.fc9 installed<BR>><BR>> kernel-devel.i586 2.6.25.6-55.fc9 installed<BR>><BR>> kernel-headers.i386 2.6.25.6-55.fc9 installed<BR>><BR>> kernel-xen-devel.i686 2.6.25.3-2.fc9 installed<BR>><BR>> kerneloops.i386 0.10-11.fc9 installed<BR>><BR>> Here’s the contents of /usr/src/kernels:<BR>><BR>> drwxr-xr-x 19 root root 4096 2008-06-26 13:11 2.6.25-14.fc9.i686<BR>><BR>> drwxr-xr-x 19 root root 4096 2008-06-26 14:34 2.6.25.3-2.fc9.i686.xen<BR>><BR>> drwxr-xr-x 19 root root 4096 2008-06-26 14:37 2.6.25.6-55.fc9.i586<BR>><BR>> drwxr-xr-x 19 root root 4096 2008-06-26 14:33 2.6.25.6-55.fc9.i686.PAE<BR>><BR>> When I attempt to issue ./vendor/rhel5/kernel.guess targets, it returns me back to the # prompt with no output. I think this is indicative of my problem, but I’m not sure what to do!<BR>><BR>> I can run ./configure with no problem (see below), but when I attempt<BR>> to execute the make statement, I get “make: *** No rule to make target<BR>> ‘rhel5_2.6.25-14.fc9_rpm’. Stop.” (see below).<BR>><BR>> Has anyone successfully built this on Fedora 9, or does anyone have<BR>> any suggestions?<BR>><BR>> #./configure --with-kernel=/usr/src/kernels/2.6.25-14.fc9.i686<BR>><BR>> checking build system type... i686-pc-linux-gnu<BR>><BR>> checking host system type... i686-pc-linux-gnu<BR>><BR>> checking for gcc... gcc<BR>><BR>> checking for C compiler default output file name... a.out<BR>><BR>> checking whether the C compiler works... yes<BR>><BR>> checking whether we are cross compiling... no<BR>><BR>> checking for suffix of executables...<BR>><BR>> checking for suffix of object files... o<BR>><BR>> checking whether we are using the GNU C compiler... yes<BR>><BR>> checking whether gcc accepts -g... yes<BR>><BR>> checking for gcc option to accept ANSI C... none needed<BR>><BR>> checking how to run the C preprocessor... gcc -E<BR>><BR>> checking for a BSD-compatible install... /usr/bin/install -c<BR>><BR>> checking whether ln -s works... yes<BR>><BR>> checking for egrep... grep -E<BR>><BR>> checking for ANSI C header files... yes<BR>><BR>> checking for an ANSI C-conforming const... yes<BR>><BR>> checking for vendor... not found<BR>><BR>> checking for vendor kernel... not supported<BR>><BR>> checking for debugging... no<BR>><BR>> checking for directory with kernel build tree...<BR>> /usr/src/kernels/2.6.25-14.fc9.i686<BR>><BR>> checking for kernel version... 2.6.25-14.fc9.i686<BR>><BR>> checking for directory with kernel sources...<BR>> /usr/src/kernels/2.6.25-14.fc9.i686<BR>><BR>> checking for kernel source version... 2.6.25-14.fc9.i686<BR>><BR>> checking for struct delayed_work in workqueue.h... yes<BR>><BR>> checking for uninitialized_var() in compiler-gcc4.h... yes<BR>><BR>> checking for zero_user_page() in highmem.h... no<BR>><BR>> checking for do_sync_mapping_range() in fs.h... yes<BR>><BR>> checking for fault() in struct vm_operations_struct in mm.h... yes<BR>><BR>> checking for f_path in fs.h... yes<BR>><BR>> checking for enum umh_wait in kmod.h... yes<BR>><BR>> checking for inc_nlink() in fs.h... yes<BR>><BR>> checking for drop_nlink() in fs.h... yes<BR>><BR>> checking for kmem_cache_create() with dtor arg in slab.h... no<BR>><BR>> checking for flag FS_RENAME_DOES_D_MOVE in fs.h... yes<BR>><BR>> checking for enum FS_OCFS2 in sysctl.h... yes<BR>><BR>> checking for configfs_depend_item() in configfs.h... no<BR>><BR>> checking for register_sysctl() with two args in sysctl.h... no<BR>><BR>> checking for su_mutex in struct configfs_subsystem in configfs.h... yes<BR>><BR>> checking for struct subsystem in kobject.h... no<BR>><BR>> checking for is_owner_or_cap() in fs.h... yes<BR>><BR>> checking for fallocate() in fs.h... yes<BR>><BR>> checking for struct splice_desc in splice.h... yes<BR>><BR>> checking for MNT_RELATIME in mount.h... yes<BR>><BR>> checking for should_remove_suid() in fs.h... no<BR>><BR>> checking for generic_segment_checks() in fs.h... no<BR>><BR>> checking for s_op declared as const in struct super_block in fs.h... yes<BR>><BR>> checking for i_op declared as const in struct inode in fs.h... yes<BR>><BR>> checking for f_op declared as const in struct file in fs.h... yes<BR>><BR>> checking for a_ops declared as const in struct address_space in<BR>> fs.h... yes<BR>><BR>> checking for aio_read() in struct file_operations using iovec in<BR>> fs.h... yes<BR>><BR>> checking for __splice_from_pipe() in splice.h... yes<BR>><BR>> checking for old bio_end_io_t in bio.h... no<BR>><BR>> checking for b_size is u32 struct buffer_head in buffer_head.h... no<BR>><BR>> checking for exportfs.h... yes<BR>><BR>> checking for linux/lockdep.h... yes<BR>><BR>> checking for mandatory_lock() in fs.h... yes<BR>><BR>> checking for range prefix in struct writeback_control... yes<BR>><BR>> checking for SYNC_FILE_RANGE flags... yes<BR>><BR>> checking for blkcnt_t in types.h... yes<BR>><BR>> checking for i_private in struct inode... yes<BR>><BR>> checking for page_mkwrite in struct vm_operations_struct... yes<BR>><BR>> checking for get_sb_bdev() with 5 arguments in fs.h... no<BR>><BR>> checking for read_mapping_page in pagemap.h... yes<BR>><BR>> checking for ino_t in filldir_t in fs.h... no<BR>><BR>> checking for invalidatepage returning int in fs.h... no<BR>><BR>> checking for get_blocks_t type... no<BR>><BR>> checking for linux/uaccess.h... yes<BR>><BR>> checking for system_utsname in utsname.h... no<BR>><BR>> checking for MS_LOOP_NO_AOPS flag defined... no<BR>><BR>> checking for fops->sendfile() in fs.h... no<BR>><BR>> checking for task_pid_nr in sched.h... yes<BR>><BR>> configure: creating ./config.status<BR>><BR>> config.status: creating Config.make<BR>><BR>> config.status: creating vendor/rhel5/ocfs2.spec-generic<BR>><BR>> config.status: creating vendor/suse-kmp/ocfs2.spec-generic<BR>><BR>> #make rhel5_2.6.25-14.fc9_rpm<BR>><BR>> make: *** No rule to make target `rhel5_2.6.25-14.fc9_rpm'. Stop.<BR>><BR>> My problem<BR>><BR>> Tina Soles<BR>><BR>> Senior Analyst<BR>><BR>> STR Software <<A href="http://www.strsoftware.com/">http://www.strsoftware.com/</A>><BR>><BR>> 11505 Allecingie Parkway<BR>> Richmond, VA 23235<BR>> email. tina.soles@strsoftware.com <<A href="mailto:troy.duval@strsoftware.com">mailto:troy.duval@strsoftware.com</A>><BR>><BR>> phone. 804.897.1600<BR>> fax. 804.897.1638<BR>><BR>> web. www.strsoftware.com <<A href="http://www.strsoftware.com/">http://www.strsoftware.com/</A>><BR>><BR>> ------------------------------------------------------------------------<BR>><BR>> _______________________________________________<BR>> Ocfs2-users mailing list<BR>> Ocfs2-users@oss.oracle.com<BR>> <A href="http://oss.oracle.com/mailman/listinfo/ocfs2-users">http://oss.oracle.com/mailman/listinfo/ocfs2-users</A><BR><BR></FONT></P></DIV></BODY></HTML>