[Bug 563318] Review Request: ceph - User space components of the CEPH file system

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

 



Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=563318

Neil Horman <nhorman@xxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nhorman@xxxxxxxxxx

--- Comment #18 from Neil Horman <nhorman@xxxxxxxxxx> 2010-04-27 21:12:40 EDT ---
Josef, I was setting up a ceph server here and had to figure this out. 
shockingly, java requires some hacks in the spec file to package it properly. 
You need this patch:

--- ceph.spec 2010-04-26 09:56:54.000000000 -0400
+++ ceph.spec.new 2010-04-27 21:03:37.116861651 -0400
@@ -10,7 +10,7 @@
 Patch0:        ceph-init-fix.patch
 BuildRequires: fuse-devel, libtool, libtool-ltdl-devel, boost-devel, 
 BuildRequires: libedit-devel, fuse-devel, git, perl, perl-devel, gdbm,
-BuildRequires: openssl-devel
+BuildRequires: openssl-devel, java-devel
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Requires(post): chkconfig
 Requires(preun): chkconfig
@@ -43,7 +43,10 @@

 %build
 ./autogen.sh
-%configure
+for i in -I/usr/lib/jvm/java/include{,/linux}; do
+ java_inc="$java_inc $i"
+done
+%configure CPPFLAGS="$java_inc"
 make CFLAGS="$RPM_OPT_FLAGS"

 %install


I derived it from here:
http://osdir.com/ml/fedora-packaging/2009-05/msg00061.html

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review

[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]