[Gluster-devel] what is NO_CONTENT_TYPE?

Raghavendra G raghavendra at zresearch.com
Tue Feb 3 17:52:11 UTC 2009


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-devel/attachments/20090203/6e426c23/attachment-0003.html>


More information about the Gluster-devel mailing list