[Gluster-devel] what is NO_CONTENT_TYPE?
Kirby Zhou
kirbyzhou at sohu-rd.com
Wed Feb 4 05:54:24 UTC 2009
Thanks, and [rpmbuild -ba glusterfs-2.spec --without modglfs] does not work.
The final messages are listed below. Maybe there are something wrong in the
spec files.
make[3]: Leaving directory `/opt/rpmbuild/BUILD/glusterfs-2.0.0rc1/doc'
make[2]: Leaving directory `/opt/rpmbuild/BUILD/glusterfs-2.0.0rc1/doc'
make[1]: Leaving directory `/opt/rpmbuild/BUILD/glusterfs-2.0.0rc1/doc'
Making install in extras
make[1]: Entering directory `/opt/rpmbuild/BUILD/glusterfs-2.0.0rc1/extras'
Making install in init.d
make[2]: Entering directory
`/opt/rpmbuild/BUILD/glusterfs-2.0.0rc1/extras/init.d'
make[3]: Entering directory
`/opt/rpmbuild/BUILD/glusterfs-2.0.0rc1/extras/init.d'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory
`/opt/rpmbuild/BUILD/glusterfs-2.0.0rc1/extras/init.d'
make[2]: Leaving directory
`/opt/rpmbuild/BUILD/glusterfs-2.0.0rc1/extras/init.d'
Making install in benchmarking
make[2]: Entering directory
`/opt/rpmbuild/BUILD/glusterfs-2.0.0rc1/extras/benchmarking'
make[3]: Entering directory
`/opt/rpmbuild/BUILD/glusterfs-2.0.0rc1/extras/benchmarking'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory
`/opt/rpmbuild/BUILD/glusterfs-2.0.0rc1/extras/benchmarking'
make[2]: Leaving directory
`/opt/rpmbuild/BUILD/glusterfs-2.0.0rc1/extras/benchmarking'
make[2]: Entering directory `/opt/rpmbuild/BUILD/glusterfs-2.0.0rc1/extras'
make[3]: Entering directory `/opt/rpmbuild/BUILD/glusterfs-2.0.0rc1/extras'
make[3]: Nothing to be done for `install-exec-am'.
test -z "/usr/share/doc/glusterfs//" || mkdir -p --
"/var/tmp/glusterfs-2.0.0rc1-1.el5-root/usr/share/doc/glusterfs//"
/usr/bin/install -c -m 644 'glusterfs-mode.el'
'/var/tmp/glusterfs-2.0.0rc1-1.el5-root/usr/share/doc/glusterfs///glusterfs-
mode.el'
make[3]: Leaving directory `/opt/rpmbuild/BUILD/glusterfs-2.0.0rc1/extras'
make[2]: Leaving directory `/opt/rpmbuild/BUILD/glusterfs-2.0.0rc1/extras'
make[1]: Leaving directory `/opt/rpmbuild/BUILD/glusterfs-2.0.0rc1/extras'
make[1]: Entering directory `/opt/rpmbuild/BUILD/glusterfs-2.0.0rc1'
make[2]: Entering directory `/opt/rpmbuild/BUILD/glusterfs-2.0.0rc1'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/opt/rpmbuild/BUILD/glusterfs-2.0.0rc1'
make[1]: Leaving directory `/opt/rpmbuild/BUILD/glusterfs-2.0.0rc1'
+ /bin/rm -rf /var/tmp/glusterfs-2.0.0rc1-1.el5-root/share/
+ /bin/mkdir -p /var/tmp/glusterfs-2.0.0rc1-1.el5-root/usr/include/glusterfs
+ /bin/mkdir -p /var/tmp/glusterfs-2.0.0rc1-1.el5-root/var/log/glusterfs
+ /bin/cp
/opt/rpmbuild/BUILD/glusterfs-2.0.0rc1/libglusterfs/src/authenticate.h
/opt/rpmbuild/BUILD/glusterfs-2.0.0rc1/libglusterfs/src/byte-order.h
/opt/rpmbuild/BUILD/glusterfs-2.0.0rc1/libglusterfs/src/call-stub.h
/opt/rpmbuild/BUILD/glusterfs-2.0.0rc1/libglusterfs/src/common-utils.h
/opt/rpmbuild/BUILD/glusterfs-2.0.0rc1/libglusterfs/src/compat-errno.h
/opt/rpmbuild/BUILD/glusterfs-2.0.0rc1/libglusterfs/src/compat.h
/opt/rpmbuild/BUILD/glusterfs-2.0.0rc1/libglusterfs/src/defaults.h
/opt/rpmbuild/BUILD/glusterfs-2.0.0rc1/libglusterfs/src/dict.h
/opt/rpmbuild/BUILD/glusterfs-2.0.0rc1/libglusterfs/src/event.h
/opt/rpmbuild/BUILD/glusterfs-2.0.0rc1/libglusterfs/src/fd.h
/opt/rpmbuild/BUILD/glusterfs-2.0.0rc1/libglusterfs/src/gf-dirent.h
/opt/rpmbuild/BUILD/glusterfs-2.0.0rc1/libglusterfs/src/glusterfs.h
/opt/rpmbuild/BUILD/glusterfs-2.0.0rc1/libglusterfs/src/hashfn.h
/opt/rpmbuild/BUILD/glusterfs-2.0.0rc1/libglusterfs/src/inode.h
/opt/rpmbuild/BUILD/glusterfs-2.0.0rc1/libglusterfs/src/list.h
/opt/rpmbuild/BUILD/glusterfs-2.0.0rc1/libglusterfs/src/locking.h
/opt/rpmbuild/BUILD/glusterfs-2.0.0rc1/libglusterfs/src/logging.h
/opt/rpmbuild/BUILD/glusterfs-2.0.0rc1/libglusterfs/src/mem-pool.h
/opt/rpmbuild/BUILD/glusterfs-2.0.0rc1/libglusterfs/src/protocol.h
/opt/rpmbuild/BUILD/glusterfs-2.0.0rc1/libglusterfs/src/revision.h
/opt/rpmbuild/BUILD/glusterfs-2.0.0rc1/libglusterfs/src/scheduler.h
/opt/rpmbuild/BUILD/glusterfs-2.0.0rc1/libglusterfs/src/stack.h
/opt/rpmbuild/BUILD/glusterfs-2.0.0rc1/libglusterfs/src/timer.h
/opt/rpmbuild/BUILD/glusterfs-2.0.0rc1/libglusterfs/src/transport.h
/opt/rpmbuild/BUILD/glusterfs-2.0.0rc1/libglusterfs/src/xlator.h
/opt/rpmbuild/BUILD/glusterfs-2.0.0rc1/libglusterfs/src/y.tab.h
/var/tmp/glusterfs-2.0.0rc1-1.el5-root/usr/include/glusterfs/
+ /usr/lib/rpm/find-debuginfo.sh /opt/rpmbuild/BUILD/glusterfs-2.0.0rc1
extracting debug info from
/var/tmp/glusterfs-2.0.0rc1-1.el5-root/usr/sbin/glusterfsd
extracting debug info from
/var/tmp/glusterfs-2.0.0rc1-1.el5-root/usr/lib64/glusterfs/glusterfs-booster
.so
extracting debug info from
/var/tmp/glusterfs-2.0.0rc1-1.el5-root/usr/lib64/glusterfs/2.0.0rc1/auth/log
in.so.0.0.0
extracting debug info from
/var/tmp/glusterfs-2.0.0rc1-1.el5-root/usr/lib64/glusterfs/2.0.0rc1/auth/add
r.so.0.0.0
extracting debug info from
/var/tmp/glusterfs-2.0.0rc1-1.el5-root/usr/lib64/glusterfs/2.0.0rc1/transpor
t/ib-verbs.so.0.0.0
extracting debug info from
/var/tmp/glusterfs-2.0.0rc1-1.el5-root/usr/lib64/glusterfs/2.0.0rc1/transpor
t/socket.so.0.0.0
extracting debug info from
/var/tmp/glusterfs-2.0.0rc1-1.el5-root/usr/lib64/glusterfs/2.0.0rc1/schedule
r/switch.so.0.0.0
extracting debug info from
/var/tmp/glusterfs-2.0.0rc1-1.el5-root/usr/lib64/glusterfs/2.0.0rc1/schedule
r/rr.so.0.0.0
extracting debug info from
/var/tmp/glusterfs-2.0.0rc1-1.el5-root/usr/lib64/glusterfs/2.0.0rc1/schedule
r/nufa.so.0.0.0
extracting debug info from
/var/tmp/glusterfs-2.0.0rc1-1.el5-root/usr/lib64/glusterfs/2.0.0rc1/schedule
r/random.so.0.0.0
extracting debug info from
/var/tmp/glusterfs-2.0.0rc1-1.el5-root/usr/lib64/glusterfs/2.0.0rc1/schedule
r/alu.so.0.0.0
extracting debug info from
/var/tmp/glusterfs-2.0.0rc1-1.el5-root/usr/lib64/glusterfs/2.0.0rc1/xlator/m
ount/fuse.so.0.0.0
extracting debug info from
/var/tmp/glusterfs-2.0.0rc1-1.el5-root/usr/lib64/glusterfs/2.0.0rc1/xlator/e
ncryption/rot-13.so.0.0.0
extracting debug info from
/var/tmp/glusterfs-2.0.0rc1-1.el5-root/usr/lib64/glusterfs/2.0.0rc1/xlator/f
eatures/quota.so.0.0.0
extracting debug info from
/var/tmp/glusterfs-2.0.0rc1-1.el5-root/usr/lib64/glusterfs/2.0.0rc1/xlator/f
eatures/filter.so.0.0.0
extracting debug info from
/var/tmp/glusterfs-2.0.0rc1-1.el5-root/usr/lib64/glusterfs/2.0.0rc1/xlator/f
eatures/path-converter.so.0.0.0
extracting debug info from
/var/tmp/glusterfs-2.0.0rc1-1.el5-root/usr/lib64/glusterfs/2.0.0rc1/xlator/f
eatures/trash.so.0.0.0
extracting debug info from
/var/tmp/glusterfs-2.0.0rc1-1.el5-root/usr/lib64/glusterfs/2.0.0rc1/xlator/f
eatures/locks.so.0.0.0
extracting debug info from
/var/tmp/glusterfs-2.0.0rc1-1.el5-root/usr/lib64/glusterfs/2.0.0rc1/xlator/d
ebug/error-gen.so.0.0.0
extracting debug info from
/var/tmp/glusterfs-2.0.0rc1-1.el5-root/usr/lib64/glusterfs/2.0.0rc1/xlator/d
ebug/trace.so.0.0.0
extracting debug info from
/var/tmp/glusterfs-2.0.0rc1-1.el5-root/usr/lib64/glusterfs/2.0.0rc1/xlator/p
erformance/symlink-cache.so.0.0.0
extracting debug info from
/var/tmp/glusterfs-2.0.0rc1-1.el5-root/usr/lib64/glusterfs/2.0.0rc1/xlator/p
erformance/io-cache.so.0.0.0
extracting debug info from
/var/tmp/glusterfs-2.0.0rc1-1.el5-root/usr/lib64/glusterfs/2.0.0rc1/xlator/p
erformance/io-threads.so.0.0.0
extracting debug info from
/var/tmp/glusterfs-2.0.0rc1-1.el5-root/usr/lib64/glusterfs/2.0.0rc1/xlator/p
erformance/read-ahead.so.0.0.0
extracting debug info from
/var/tmp/glusterfs-2.0.0rc1-1.el5-root/usr/lib64/glusterfs/2.0.0rc1/xlator/p
erformance/write-behind.so.0.0.0
extracting debug info from
/var/tmp/glusterfs-2.0.0rc1-1.el5-root/usr/lib64/glusterfs/2.0.0rc1/xlator/p
rotocol/server.so.0.0.0
extracting debug info from
/var/tmp/glusterfs-2.0.0rc1-1.el5-root/usr/lib64/glusterfs/2.0.0rc1/xlator/p
rotocol/client.so.0.0.0
extracting debug info from
/var/tmp/glusterfs-2.0.0rc1-1.el5-root/usr/lib64/glusterfs/2.0.0rc1/xlator/s
torage/bdb.so.0.0.0
extracting debug info from
/var/tmp/glusterfs-2.0.0rc1-1.el5-root/usr/lib64/glusterfs/2.0.0rc1/xlator/s
torage/posix.so.0.0.0
extracting debug info from
/var/tmp/glusterfs-2.0.0rc1-1.el5-root/usr/lib64/glusterfs/2.0.0rc1/xlator/c
luster/ha.so.0.0.0
extracting debug info from
/var/tmp/glusterfs-2.0.0rc1-1.el5-root/usr/lib64/glusterfs/2.0.0rc1/xlator/c
luster/nufa.so.0.0.0
extracting debug info from
/var/tmp/glusterfs-2.0.0rc1-1.el5-root/usr/lib64/glusterfs/2.0.0rc1/xlator/c
luster/dht.so.0.0.0
extracting debug info from
/var/tmp/glusterfs-2.0.0rc1-1.el5-root/usr/lib64/glusterfs/2.0.0rc1/xlator/c
luster/afr.so.0.0.0
extracting debug info from
/var/tmp/glusterfs-2.0.0rc1-1.el5-root/usr/lib64/glusterfs/2.0.0rc1/xlator/c
luster/stripe.so.0.0.0
extracting debug info from
/var/tmp/glusterfs-2.0.0rc1-1.el5-root/usr/lib64/glusterfs/2.0.0rc1/xlator/c
luster/unify.so.0.0.0
extracting debug info from
/var/tmp/glusterfs-2.0.0rc1-1.el5-root/usr/lib64/libglusterfsclient.so.0.0.0
extracting debug info from
/var/tmp/glusterfs-2.0.0rc1-1.el5-root/usr/lib64/libglusterfs.so.0.0.0
cpio: glusterfs-2.0.0rc1/booster/src/<built-in>: No such file or directory
cpio: glusterfs-2.0.0rc1/libglusterfs/src/<built-in>: No such file or
directory
5383 blocks
+ /usr/lib/rpm/redhat/brp-compress
+ /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump
+ /usr/lib/rpm/brp-python-bytecompile
+ /usr/lib/rpm/redhat/brp-java-repack-jars
error: Bad owner/group: /opt/rpmbuild/SPECS/glusterfs-2.spec
RPM build errors:
Bad owner/group: /opt/rpmbuild/SPECS/glusterfs-2.spec
From: raghavendra.hg at gmail.com [mailto:raghavendra.hg at gmail.com] On Behalf
Of Raghavendra G
Sent: Wednesday, February 04, 2009 1:24 PM
To: Harshavardhana
Cc: Kirby Zhou; gluster-devel at nongnu.org
Subject: Re: [Gluster-devel] what is NO_CONTENT_TYPE?
Hi Kirby,
fix committed in glusterfs--mainline--3.0--patch-889.
regards,
On Tue, Feb 3, 2009 at 11:34 PM, Harshavardhana <harsha at zresearch.com>
wrote:
not rpm -ivh
"rpmbuild --ta glusterfs-2.0.0rc1.tar.gz --without modglfs" with let you
compile glusterfs without mod_glusterfs.
Thanks
On Tue, Feb 3, 2009 at 11:55 PM, Raghavendra G <raghavendra at zresearch.com>
wrote:
Hi Kirby,
you can disable mod_glusterfs (since it is the one which is causing build
problem) using
rpm -ivh glusterfs<version>.rpm --without modglfs
But please keep us informed about the queries which I asked, since it will
help us to fix the problem in mod_glusterfs.
regards,
On Tue, Feb 3, 2009 at 9:52 PM, Raghavendra G <raghavendra at zresearch.com>
wrote:
Hi,
Macro NO_CONTENT_TYPE is defined in httpd.h (apache-2.2). Are there any
stale installations of httpd.h (may be apache-1.3)? If so, please make sure
to remove them. If the problem still persists, can you try to build from
source tarball? Also please mail the configuration summary.
regards,
On Mon, Feb 2, 2009 at 11:11 AM, Kirby Zhou <kirbyzhou at sohu-rd.com> wrote:
I use glusterfs.spec to build a rpm, and modified a litte
[@65.64 glusterfs-2.0.0rc1]# diff -u ../../SPECS/glusterfs-2.spec
glusterfs.spec
--- ../../SPECS/glusterfs-2.spec 2009-02-01 14:11:17.000000000 +0800
+++ glusterfs.spec 2009-02-01 14:11:43.000000000 +0800
@@ -1,7 +1,7 @@
# if you make changes, the it is advised to increment this number, and
provide
# a descriptive suffix to identify who owns or what the change represents
# e.g. release_version 2.MSW
-%define release_version 1%{dist}
+%define release_version 1
# if you wish to compile an rpm without ibverbs support, compile like
this...
# rpmbuild -ta glusterfs-2.0.0rc1.tar.gz --without ibverbs
@@ -56,8 +56,8 @@
# Module needs to be fixed.
%if %with_modglfs
%if %with_apxs_default
-BuildRequires: httpd-devel >= 1.3
-Requires: httpd >= 1.3
+BuildRequires: apache-devel >= 1.3
+Requires: apache >= 1.3
%endif
%endif
BuildRequires: libtool
@@ -66,7 +66,6 @@
BuildRequires: make
URL:
ftp://ftp.zresearch.com/pub/gluster/glusterfs/1.4-qa/glusterfs-2.0.0rc1.tar.
gz
Source: %name-%version.tar.gz
-NoSource: 0
%description
GlusterFS is a clustered file-system capable of scaling to several
[@65.64 noos.noarch]# yum list | fgrep httpd | fgrep installed
This system is not registered with RHN.
RHN support will be disabled.
httpd.x86_64 2.2.3-11.el5_2.4 installed
httpd-devel.i386 2.2.3-11.el5_2.4 installed
httpd-devel.x86_64 2.2.3-11.el5_2.4 installed
system-config-httpd.noarch 5:1.3.3.3-1.el5 installed
[@65.64 BUILD]# fgrep -r NO_CONTENT_TYPE /usr/include/
/usr/include/openssl/pkcs7.h:#define PKCS7_R_MIME_NO_CONTENT_TYPE
132
/usr/include/openssl/pkcs7.h:#define PKCS7_R_NO_CONTENT_TYPE
135
The attachement is config.log
From: raghavendra.hg at gmail.com [mailto:raghavendra.hg at gmail.com] On Behalf
Of Raghavendra G
Sent: Monday, February 02, 2009 12:59 PM
To: Kirby Zhou
Cc: gluster-devel at nongnu.org
Subject: Re: [Gluster-devel] what is NO_CONTENT_TYPE?
Hi,
Can you paste the summary of running configure script? what version of
apache is installed on your system? Do you've multiple installations of
apache?
regards,
On Mon, Feb 2, 2009 at 6:25 AM, Kirby Zhou <kirbyzhou at sohu-rd.com> wrote:
I can not build glusterfs-2.0.0rc1 under RHEL-5.2.It shows that below
make[5]: Entering directory
`/opt/rpmbuild/BUILD/glusterfs-2.0.0rc1/mod_glusterfs/apache/2.2/src'
ln -sf ../../../../mod_glusterfs/apache/2.2/src/mod_glusterfs.c
../../../../mod_glusterfs/apache/2.2/src/mod_glusterfs-build.c
apxs -c -o mod_glusterfs.la -Wc,-g3 -Wc,-O0 -DLINUX=2 -D_REENTRANT
-D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
-D__USE_FILE_OFFSET64 -I../../../../libglusterfsclient/src
-L../../../../libglusterfsclient/src/.libs/ -lglusterfsclient
mod_glusterfs-build.c
/usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -O2
-g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -DLINUX=2 -D_REENTRANT
-D_GNU_SOURCE -pthread -I/usr/include/httpd -I/usr/include/apr-1
-I/usr/include/apr-1 -g3 -O0 -I../../../../libglusterfsclient/src -DLINUX=2
-D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
-D__USE_FILE_OFFSET64 -c -o mod_glusterfs-build.lo mod_glusterfs-build.c &&
touch mod_glusterfs-build.slo
...
mod_glusterfs-build.c:1351: error: 'NO_CONTENT_TYPE' undeclared (first use
in this function)
...
_______________________________________________
Gluster-devel mailing list
Gluster-devel at nongnu.org
http://lists.nongnu.org/mailman/listinfo/gluster-devel
--
Raghavendra G
--
Raghavendra G
--
Raghavendra G
_______________________________________________
Gluster-devel mailing list
Gluster-devel at nongnu.org
http://lists.nongnu.org/mailman/listinfo/gluster-devel
--
Harshavardhana
[y4m4 on #gluster at irc.freenode.net]
"Samudaya TantraShilpi"
Z Research Inc - http://www.zresearch.com
--
Raghavendra G
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-devel/attachments/20090204/7832f89e/attachment-0003.html>
More information about the Gluster-devel
mailing list