[Ocfs2-users] Problems building ocfs2 rpm on Fedora 9
Tina Soles
tina.soles at strsoftware.com
Fri Jun 27 06:16:07 PDT 2008
Hello,
I'm brand new to RAC and ocfs2. I need to install ocfs2, but there is
no distribution for Fedora 9, for kernel 2.6.25-14.fc9.i686.
I have obtained the ocfs2-1.3.9-0.1.tar.gz source file, unzipped, it and
am following the instructions found here:
http://oss.oracle.com/projects/ocfs2/dist/documentation/ocfs2_faq.html#B
UILD
My .rpmmacros file looks like this: (the /usr/src/redhat and all
subdirectories exist)
%_topdir /usr/src/redhat
%_tmppath /usr/src/redhat/tmp
%_sourcedir /usr/src/redhat/SOURCES
%_specdir /usr/src/redhat/SPECS
%_srcrpmdir /usr/src/redhat/SRPMS
%_rpmdir /usr/src/redhat/RPMS
%_builddir /usr/src/redhat/BUILD
I'm logged in as root.
Here's a list of my kernel* packages installed:
kernel.i686 2.6.25-14.fc9
installed
kernel-PAE-devel.i686 2.6.25.6-55.fc9
installed
kernel-devel.i686 2.6.25-14.fc9
installed
kernel-devel.i586 2.6.25.6-55.fc9
installed
kernel-headers.i386 2.6.25.6-55.fc9
installed
kernel-xen-devel.i686 2.6.25.3-2.fc9
installed
kerneloops.i386 0.10-11.fc9
installed
Here's the contents of /usr/src/kernels:
drwxr-xr-x 19 root root 4096 2008-06-26 13:11 2.6.25-14.fc9.i686
drwxr-xr-x 19 root root 4096 2008-06-26 14:34 2.6.25.3-2.fc9.i686.xen
drwxr-xr-x 19 root root 4096 2008-06-26 14:37 2.6.25.6-55.fc9.i586
drwxr-xr-x 19 root root 4096 2008-06-26 14:33 2.6.25.6-55.fc9.i686.PAE
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!
I can run ./configure with no problem (see below), but when I attempt to
execute the make statement, I get "make: *** No rule to make target
'rhel5_2.6.25-14.fc9_rpm'. Stop." (see below).
Has anyone successfully built this on Fedora 9, or does anyone have any
suggestions?
#./configure --with-kernel=/usr/src/kernels/2.6.25-14.fc9.i686
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... not found
checking for vendor kernel... not supported
checking for debugging... no
checking for directory with kernel build tree...
/usr/src/kernels/2.6.25-14.fc9.i686
checking for kernel version... 2.6.25-14.fc9.i686
checking for directory with kernel sources...
/usr/src/kernels/2.6.25-14.fc9.i686
checking for kernel source version... 2.6.25-14.fc9.i686
checking for struct delayed_work in workqueue.h... yes
checking for uninitialized_var() in compiler-gcc4.h... yes
checking for zero_user_page() in highmem.h... no
checking for do_sync_mapping_range() in fs.h... yes
checking for fault() in struct vm_operations_struct in mm.h... yes
checking for f_path in fs.h... yes
checking for enum umh_wait in kmod.h... yes
checking for inc_nlink() in fs.h... yes
checking for drop_nlink() in fs.h... yes
checking for kmem_cache_create() with dtor arg in slab.h... no
checking for flag FS_RENAME_DOES_D_MOVE in fs.h... yes
checking for enum FS_OCFS2 in sysctl.h... yes
checking for configfs_depend_item() in configfs.h... no
checking for register_sysctl() with two args in sysctl.h... no
checking for su_mutex in struct configfs_subsystem in configfs.h... yes
checking for struct subsystem in kobject.h... no
checking for is_owner_or_cap() in fs.h... yes
checking for fallocate() in fs.h... yes
checking for struct splice_desc in splice.h... yes
checking for MNT_RELATIME in mount.h... yes
checking for should_remove_suid() in fs.h... no
checking for generic_segment_checks() in fs.h... no
checking for s_op declared as const in struct super_block in fs.h... yes
checking for i_op declared as const in struct inode in fs.h... yes
checking for f_op declared as const in struct file in fs.h... yes
checking for a_ops declared as const in struct address_space in fs.h...
yes
checking for aio_read() in struct file_operations using iovec in fs.h...
yes
checking for __splice_from_pipe() in splice.h... yes
checking for old bio_end_io_t in bio.h... no
checking for b_size is u32 struct buffer_head in buffer_head.h... no
checking for exportfs.h... yes
checking for linux/lockdep.h... yes
checking for mandatory_lock() in fs.h... yes
checking for range prefix in struct writeback_control... yes
checking for SYNC_FILE_RANGE flags... yes
checking for blkcnt_t in types.h... yes
checking for i_private in struct inode... yes
checking for page_mkwrite in struct vm_operations_struct... yes
checking for get_sb_bdev() with 5 arguments in fs.h... no
checking for read_mapping_page in pagemap.h... yes
checking for ino_t in filldir_t in fs.h... no
checking for invalidatepage returning int in fs.h... no
checking for get_blocks_t type... no
checking for linux/uaccess.h... yes
checking for system_utsname in utsname.h... no
checking for MS_LOOP_NO_AOPS flag defined... no
checking for fops->sendfile() in fs.h... no
checking for task_pid_nr in sched.h... yes
configure: creating ./config.status
config.status: creating Config.make
config.status: creating vendor/rhel5/ocfs2.spec-generic
config.status: creating vendor/suse-kmp/ocfs2.spec-generic
#make rhel5_2.6.25-14.fc9_rpm
make: *** No rule to make target `rhel5_2.6.25-14.fc9_rpm'. Stop.
My problem
Tina Soles
Senior Analyst
<http://www.strsoftware.com/>
11505 Allecingie Parkway
Richmond, VA 23235
email. tina.soles at strsoftware.com <mailto:troy.duval at strsoftware.com>
phone. 804.897.1600
fax. 804.897.1638
web. www.strsoftware.com <http://www.strsoftware.com/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://oss.oracle.com/pipermail/ocfs2-users/attachments/20080627/08c9c2b7/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 3308 bytes
Desc: image001.gif
Url : http://oss.oracle.com/pipermail/ocfs2-users/attachments/20080627/08c9c2b7/attachment-0001.gif
More information about the Ocfs2-users
mailing list