All of lore.kernel.org
 help / color / mirror / Atom feed
From: Guido Winkelmann <guido-ceph@thisisnotatest.de>
To: ceph-devel@vger.kernel.org
Subject: Compile error in rgw/rgw_xml.h in 0.46
Date: Wed, 09 May 2012 15:46:13 +0200	[thread overview]
Message-ID: <3675148.h66agqk253@pc10> (raw)

Compiling Ceph 0.46 fails at rgw/rgw_dencoder.cc with the following errors:

In file included from rgw/rgw_dencoder.cc:7:
rgw/rgw_acl_s3.h:9:19: error: expat.h: No such file or directory
In file included from rgw/rgw_acl_s3.h:11,
                 from rgw/rgw_dencoder.cc:7:
rgw/rgw_xml.h:59: error: 'XML_Parser' does not name a type
make[3]: *** [ceph_dencoder-rgw_dencoder.o] Error 1
make[3]: Leaving directory `/root/ceph-0.46/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/ceph-0.46/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/ceph-0.46/src'
make: *** [all-recursive] Error 1

This is on CentOS 6.2.

I managed to get it to compile by installing expat-devel first. Maybe the 
configure script should check for the existence of the expat header files?

	Guido

             reply	other threads:[~2012-05-09 13:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-09 13:46 Guido Winkelmann [this message]
2012-05-10 21:58 ` Compile error in rgw/rgw_xml.h in 0.46 Tommi Virtanen
     [not found] ` <CAC-hyiGvV_ePBJL=AEzbaMO5gCoYWV9ggKuTbF0VUJCXiURg7A@mail.gmail.com>
2012-05-10 22:04   ` Yehuda Sadeh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3675148.h66agqk253@pc10 \
    --to=guido-ceph@thisisnotatest.de \
    --cc=ceph-devel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.