gluster-devel
[Top][All Lists]
Advanced

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

RE: [Gluster-devel] what is NO_CONTENT_TYPE?


From: Kirby Zhou
Subject: RE: [Gluster-devel] what is NO_CONTENT_TYPE?
Date: Wed, 4 Feb 2009 19:50:49 +0800

Sorry, I have a stupid question.

How to get a diff/patch from a changeset with GNU Arch?

 

I know I can download the changeset by [tla get-chaneset glusterfs--mainline--3.0--patch-889].

But how to convert the changset directory to a simple patch file?

 

 

From: address@hidden [mailto:address@hidden On Behalf Of Raghavendra G
Sent: Wednesday, February 04, 2009 1:24 PM
To: Harshavardhana
Cc: Kirby Zhou; address@hidden
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 <address@hidden> 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 <address@hidden> 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 <address@hidden> 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 <address@hidden> wrote:

I use glusterfs.spec to build a rpm, and modified a litte

address@hidden 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

 

 

address@hidden 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

 

address@hidden 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: address@hidden [mailto:address@hidden] On Behalf Of Raghavendra G
Sent: Monday, February 02, 2009 12:59 PM
To: Kirby Zhou
Cc: address@hidden
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 <address@hidden> 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
address@hidden
http://lists.nongnu.org/mailman/listinfo/gluster-devel




--
Raghavendra G



--
Raghavendra G



--
Raghavendra G


_______________________________________________
Gluster-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/gluster-devel




--

Harshavardhana
[y4m4 on #address@hidden]
"Samudaya TantraShilpi"
Z Research Inc - http://www.zresearch.com




--
Raghavendra G


reply via email to

[Prev in Thread] Current Thread [Next in Thread]