<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&nbsp;rpm(s) that I need for ocfs2 and ocfs2-tools?</FONT></DIV></DIV>
<DIV dir=ltr>&nbsp;</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>&gt;<BR>&gt; Hello,<BR>&gt;<BR>&gt; I&#8217;m brand new to RAC and ocfs2. I need to install ocfs2, but there is<BR>&gt; no distribution for Fedora 9, for kernel 2.6.25-14.fc9.i686.<BR>&gt;<BR>&gt; I have obtained the ocfs2-1.3.9-0.1.tar.gz source file, unzipped, it<BR>&gt; and am following the instructions found here:<BR>&gt; <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>&gt;<BR>&gt; My .rpmmacros file looks like this: (the /usr/src/redhat and all<BR>&gt; subdirectories exist)<BR>&gt;<BR>&gt; %_topdir /usr/src/redhat<BR>&gt;<BR>&gt; %_tmppath /usr/src/redhat/tmp<BR>&gt;<BR>&gt; %_sourcedir /usr/src/redhat/SOURCES<BR>&gt;<BR>&gt; %_specdir /usr/src/redhat/SPECS<BR>&gt;<BR>&gt; %_srcrpmdir /usr/src/redhat/SRPMS<BR>&gt;<BR>&gt; %_rpmdir /usr/src/redhat/RPMS<BR>&gt;<BR>&gt; %_builddir /usr/src/redhat/BUILD<BR>&gt;<BR>&gt; I&#8217;m logged in as root.<BR>&gt;<BR>&gt; Here&#8217;s a list of my kernel* packages installed:<BR>&gt;<BR>&gt; kernel.i686 2.6.25-14.fc9 installed<BR>&gt;<BR>&gt; kernel-PAE-devel.i686 2.6.25.6-55.fc9 installed<BR>&gt;<BR>&gt; kernel-devel.i686 2.6.25-14.fc9 installed<BR>&gt;<BR>&gt; kernel-devel.i586 2.6.25.6-55.fc9 installed<BR>&gt;<BR>&gt; kernel-headers.i386 2.6.25.6-55.fc9 installed<BR>&gt;<BR>&gt; kernel-xen-devel.i686 2.6.25.3-2.fc9 installed<BR>&gt;<BR>&gt; kerneloops.i386 0.10-11.fc9 installed<BR>&gt;<BR>&gt; Here&#8217;s the contents of /usr/src/kernels:<BR>&gt;<BR>&gt; drwxr-xr-x 19 root root 4096 2008-06-26 13:11 2.6.25-14.fc9.i686<BR>&gt;<BR>&gt; drwxr-xr-x 19 root root 4096 2008-06-26 14:34 2.6.25.3-2.fc9.i686.xen<BR>&gt;<BR>&gt; drwxr-xr-x 19 root root 4096 2008-06-26 14:37 2.6.25.6-55.fc9.i586<BR>&gt;<BR>&gt; drwxr-xr-x 19 root root 4096 2008-06-26 14:33 2.6.25.6-55.fc9.i686.PAE<BR>&gt;<BR>&gt; 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&#8217;m not sure what to do!<BR>&gt;<BR>&gt; I can run ./configure with no problem (see below), but when I attempt<BR>&gt; to execute the make statement, I get &#8220;make: *** No rule to make target<BR>&gt; &#8216;rhel5_2.6.25-14.fc9_rpm&#8217;. Stop.&#8221; (see below).<BR>&gt;<BR>&gt; Has anyone successfully built this on Fedora 9, or does anyone have<BR>&gt; any suggestions?<BR>&gt;<BR>&gt; #./configure --with-kernel=/usr/src/kernels/2.6.25-14.fc9.i686<BR>&gt;<BR>&gt; checking build system type... i686-pc-linux-gnu<BR>&gt;<BR>&gt; checking host system type... i686-pc-linux-gnu<BR>&gt;<BR>&gt; checking for gcc... gcc<BR>&gt;<BR>&gt; checking for C compiler default output file name... a.out<BR>&gt;<BR>&gt; checking whether the C compiler works... yes<BR>&gt;<BR>&gt; checking whether we are cross compiling... no<BR>&gt;<BR>&gt; checking for suffix of executables...<BR>&gt;<BR>&gt; checking for suffix of object files... o<BR>&gt;<BR>&gt; checking whether we are using the GNU C compiler... yes<BR>&gt;<BR>&gt; checking whether gcc accepts -g... yes<BR>&gt;<BR>&gt; checking for gcc option to accept ANSI C... none needed<BR>&gt;<BR>&gt; checking how to run the C preprocessor... gcc -E<BR>&gt;<BR>&gt; checking for a BSD-compatible install... /usr/bin/install -c<BR>&gt;<BR>&gt; checking whether ln -s works... yes<BR>&gt;<BR>&gt; checking for egrep... grep -E<BR>&gt;<BR>&gt; checking for ANSI C header files... yes<BR>&gt;<BR>&gt; checking for an ANSI C-conforming const... yes<BR>&gt;<BR>&gt; checking for vendor... not found<BR>&gt;<BR>&gt; checking for vendor kernel... not supported<BR>&gt;<BR>&gt; checking for debugging... no<BR>&gt;<BR>&gt; checking for directory with kernel build tree...<BR>&gt; /usr/src/kernels/2.6.25-14.fc9.i686<BR>&gt;<BR>&gt; checking for kernel version... 2.6.25-14.fc9.i686<BR>&gt;<BR>&gt; checking for directory with kernel sources...<BR>&gt; /usr/src/kernels/2.6.25-14.fc9.i686<BR>&gt;<BR>&gt; checking for kernel source version... 2.6.25-14.fc9.i686<BR>&gt;<BR>&gt; checking for struct delayed_work in workqueue.h... yes<BR>&gt;<BR>&gt; checking for uninitialized_var() in compiler-gcc4.h... yes<BR>&gt;<BR>&gt; checking for zero_user_page() in highmem.h... no<BR>&gt;<BR>&gt; checking for do_sync_mapping_range() in fs.h... yes<BR>&gt;<BR>&gt; checking for fault() in struct vm_operations_struct in mm.h... yes<BR>&gt;<BR>&gt; checking for f_path in fs.h... yes<BR>&gt;<BR>&gt; checking for enum umh_wait in kmod.h... yes<BR>&gt;<BR>&gt; checking for inc_nlink() in fs.h... yes<BR>&gt;<BR>&gt; checking for drop_nlink() in fs.h... yes<BR>&gt;<BR>&gt; checking for kmem_cache_create() with dtor arg in slab.h... no<BR>&gt;<BR>&gt; checking for flag FS_RENAME_DOES_D_MOVE in fs.h... yes<BR>&gt;<BR>&gt; checking for enum FS_OCFS2 in sysctl.h... yes<BR>&gt;<BR>&gt; checking for configfs_depend_item() in configfs.h... no<BR>&gt;<BR>&gt; checking for register_sysctl() with two args in sysctl.h... no<BR>&gt;<BR>&gt; checking for su_mutex in struct configfs_subsystem in configfs.h... yes<BR>&gt;<BR>&gt; checking for struct subsystem in kobject.h... no<BR>&gt;<BR>&gt; checking for is_owner_or_cap() in fs.h... yes<BR>&gt;<BR>&gt; checking for fallocate() in fs.h... yes<BR>&gt;<BR>&gt; checking for struct splice_desc in splice.h... yes<BR>&gt;<BR>&gt; checking for MNT_RELATIME in mount.h... yes<BR>&gt;<BR>&gt; checking for should_remove_suid() in fs.h... no<BR>&gt;<BR>&gt; checking for generic_segment_checks() in fs.h... no<BR>&gt;<BR>&gt; checking for s_op declared as const in struct super_block in fs.h... yes<BR>&gt;<BR>&gt; checking for i_op declared as const in struct inode in fs.h... yes<BR>&gt;<BR>&gt; checking for f_op declared as const in struct file in fs.h... yes<BR>&gt;<BR>&gt; checking for a_ops declared as const in struct address_space in<BR>&gt; fs.h... yes<BR>&gt;<BR>&gt; checking for aio_read() in struct file_operations using iovec in<BR>&gt; fs.h... yes<BR>&gt;<BR>&gt; checking for __splice_from_pipe() in splice.h... yes<BR>&gt;<BR>&gt; checking for old bio_end_io_t in bio.h... no<BR>&gt;<BR>&gt; checking for b_size is u32 struct buffer_head in buffer_head.h... no<BR>&gt;<BR>&gt; checking for exportfs.h... yes<BR>&gt;<BR>&gt; checking for linux/lockdep.h... yes<BR>&gt;<BR>&gt; checking for mandatory_lock() in fs.h... yes<BR>&gt;<BR>&gt; checking for range prefix in struct writeback_control... yes<BR>&gt;<BR>&gt; checking for SYNC_FILE_RANGE flags... yes<BR>&gt;<BR>&gt; checking for blkcnt_t in types.h... yes<BR>&gt;<BR>&gt; checking for i_private in struct inode... yes<BR>&gt;<BR>&gt; checking for page_mkwrite in struct vm_operations_struct... yes<BR>&gt;<BR>&gt; checking for get_sb_bdev() with 5 arguments in fs.h... no<BR>&gt;<BR>&gt; checking for read_mapping_page in pagemap.h... yes<BR>&gt;<BR>&gt; checking for ino_t in filldir_t in fs.h... no<BR>&gt;<BR>&gt; checking for invalidatepage returning int in fs.h... no<BR>&gt;<BR>&gt; checking for get_blocks_t type... no<BR>&gt;<BR>&gt; checking for linux/uaccess.h... yes<BR>&gt;<BR>&gt; checking for system_utsname in utsname.h... no<BR>&gt;<BR>&gt; checking for MS_LOOP_NO_AOPS flag defined... no<BR>&gt;<BR>&gt; checking for fops-&gt;sendfile() in fs.h... no<BR>&gt;<BR>&gt; checking for task_pid_nr in sched.h... yes<BR>&gt;<BR>&gt; configure: creating ./config.status<BR>&gt;<BR>&gt; config.status: creating Config.make<BR>&gt;<BR>&gt; config.status: creating vendor/rhel5/ocfs2.spec-generic<BR>&gt;<BR>&gt; config.status: creating vendor/suse-kmp/ocfs2.spec-generic<BR>&gt;<BR>&gt; #make rhel5_2.6.25-14.fc9_rpm<BR>&gt;<BR>&gt; make: *** No rule to make target `rhel5_2.6.25-14.fc9_rpm'. Stop.<BR>&gt;<BR>&gt; My problem<BR>&gt;<BR>&gt; Tina Soles<BR>&gt;<BR>&gt; Senior Analyst<BR>&gt;<BR>&gt; STR Software &lt;<A href="http://www.strsoftware.com/">http://www.strsoftware.com/</A>&gt;<BR>&gt;<BR>&gt; 11505 Allecingie Parkway<BR>&gt; Richmond, VA 23235<BR>&gt; email. tina.soles@strsoftware.com &lt;<A href="mailto:troy.duval@strsoftware.com">mailto:troy.duval@strsoftware.com</A>&gt;<BR>&gt;<BR>&gt; phone. 804.897.1600<BR>&gt; fax. 804.897.1638<BR>&gt;<BR>&gt; web. www.strsoftware.com &lt;<A href="http://www.strsoftware.com/">http://www.strsoftware.com/</A>&gt;<BR>&gt;<BR>&gt; ------------------------------------------------------------------------<BR>&gt;<BR>&gt; _______________________________________________<BR>&gt; Ocfs2-users mailing list<BR>&gt; Ocfs2-users@oss.oracle.com<BR>&gt; <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>