Re: Problem in building Ceph on CentOS 6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[Re-added ceph-devel]  

Well I believe you've only been building the kernel client. Since that can't do anything without the userspace servers, building the kernel client doesn't generate config files. The userspace installs do provide such things. If you need help with that, you can dig through the (not always up-to-date) wiki (ceph.newdream.net/wik) and (currently incomplete) http://ceph.newdream.net/docs/latest/
-Greg


On Wednesday, March 21, 2012 at 6:44 PM, 胡瀚森 wrote:

> yeah I meant 'make install'.
> I was expecting to find at least some kind of sample config files.
>  
> On Thu, Mar 22, 2012 at 12:37 AM, Greg Farnum
> <gregory.farnum@xxxxxxxxxxxxx (mailto:gregory.farnum@xxxxxxxxxxxxx)> wrote:
> > I'm not sure what you mean here. Building software never installs config files unless you're doing an install as well...
> >  
> >  
> > On Tuesday, March 20, 2012 at 11:20 PM, 胡瀚森 wrote:
> >  
> > > I've successfully built ceph, but why can't I see config files?
> > > No files in /usr/local/etc/ceph, and no ceph folder under /etc either.
> > >  
> > > On Tue, Mar 20, 2012 at 3:52 PM, Greg Farnum
> > > <gregory.farnum@xxxxxxxxxxxxx (mailto:gregory.farnum@xxxxxxxxxxxxx)> wrote:
> > > > You should keep discussion on the list...I think you want to say yes to all of those, but I'm actually not sure! :)
> > > >  
> > > >  
> > > > On Tuesday, March 20, 2012 at 12:20 AM, 胡瀚森 wrote:
> > > >  
> > > > > Thank you Greg.
> > > > > Should I tick on the following options before compiling to enable
> > > > > ceph? Are there any other options should I enable?
> > > > >  
> > > > > Use in-kernel support for DNS lookup (CEPH_LIB_USE_DNS_RESOLVER)
> > > > > Ceph core library (EXPERIMENTAL) (CEPH_LIB)
> > > > > Include file:line in ceph debug output (CEPH_LIB_PRETTYDEBUG)
> > > > > Ceph distributed file system (EXPERIMENTAL) (CEPH_FS)
> > > > >  
> > > > >  
> > > > > On Tue, Mar 20, 2012 at 2:35 PM, Greg Farnum
> > > > > <gregory.farnum@xxxxxxxxxxxxx (mailto:gregory.farnum@xxxxxxxxxxxxx)> wrote:
> > > > > > On Monday, March 19, 2012 at 11:21 PM, 胡瀚森 wrote:
> > > > > > > Hello everyone.
> > > > > > >  
> > > > > > > I'm following the steps in
> > > > > > > http://ceph.newdream.net/wiki/Building_kernel_client?TPSecNotice&TPNotCheck
> > > > > > > to build ceph on my CentOS.
> > > > > > >  
> > > > > > > I've updated my kernel to version 3.2.12 without selecting any ceph
> > > > > > > related configuration options. Then I follow these steps until "$ make
> > > > > > > -C ceph".
> > > > > >  
> > > > > >  
> > > > > >  
> > > > > >  
> > > > > >  
> > > > > >  
> > > > > >  
> > > > > > If you're using such a new kernel version, why not just the built-in version of Ceph?
> > > > > >  
> > > > > > If you don't want to do that, what branch are you attempting to build from? What's the most recent patch?
> > > > > > The backports etc stuff isn't real well-maintained right now but this and the build error should let our kernel devs figure out what's going on.
> > > > > > -Greg
> > > > > >  
> > > > > > >  
> > > > > > > I get the following error message.
> > > > > > >  
> > > > > > >  
> > > > > > > > [deltamaster@localhost ceph-client-standalone]$ sudo make -C ceph
> > > > > > > > make: Entering directory `/home/deltamaster/ceph-client-standalone/ceph'
> > > > > > > > make -C /lib/modules/3.2.12/build M=/home/deltamaster/ceph-client-standalone/ceph CONFIG_CEPH_FS=m modules
> > > > > > > > make[1]: Entering directory `/usr/src/linux-3.2.12'
> > > > > > > > CC [M] /home/deltamaster/ceph-client-standalone/ceph/inode.o
> > > > > > > > /home/deltamaster/ceph-client-standalone/ceph/inode.c:95: warning: initialization from incompatible pointer type
> > > > > > > > /home/deltamaster/ceph-client-standalone/ceph/inode.c: In function ‘fill_inode’:
> > > > > > > > /home/deltamaster/ceph-client-standalone/ceph/inode.c:623: error: assignment of read-only member ‘i_nlink’
> > > > > > > > /home/deltamaster/ceph-client-standalone/ceph/inode.c: In function ‘ceph_permission’:
> > > > > > > > /home/deltamaster/ceph-client-standalone/ceph/inode.c:1810: error: ‘IPERM_FLAG_RCU’ undeclared (first use in this function)
> > > > > > > > /home/deltamaster/ceph-client-standalone/ceph/inode.c:1810: error: (Each undeclared identifier is reported only once
> > > > > > > > /home/deltamaster/ceph-client-standalone/ceph/inode.c:1810: error: for each function it appears in.)
> > > > > > > > /home/deltamaster/ceph-client-standalone/ceph/inode.c:1816: error: too many arguments to function ‘generic_permission’
> > > > > > > > make[2]: *** [/home/deltamaster/ceph-client-standalone/ceph/inode.o] Error 1
> > > > > > > > make[1]: *** [_module_/home/deltamaster/ceph-client-standalone/ceph] Error 2
> > > > > > > > make[1]: Leaving directory `/usr/src/linux-3.2.12'
> > > > > > > > make: *** [all] Error 2
> > > > > > > > make: Leaving directory `/home/deltamaster/ceph-client-standalone/ceph'
> > > > > > >  
> > > > > > >  
> > > > > > >  
> > > > > > >  
> > > > > > >  
> > > > > > >  
> > > > > > >  
> > > > > > >  
> > > > > > >  
> > > > > > > I've no idea how to solve this.
> > > > > > > --
> > > > > > > To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> > > > > > > the body of a message to majordomo@xxxxxxxxxxxxxxx (mailto:majordomo@xxxxxxxxxxxxxxx)
> > > > > > > More majordomo info at http://vger.kernel.org/majordomo-info.html
> > > > > >  
> > > > >  
> > > >  
> > >  
> >  
>  



--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux