[clue] Fwd: building from src where AC_CHECK_HEADER fails

Mike Bean beandaemon at gmail.com
Fri May 31 10:35:50 MDT 2013


Wups, sorry guys, I've been staring at my CLI all morning and I didn't
notice my email - turns out we don't have to install it anyway: DOH!
Sorry to cry wolf.

Mike

---------- Forwarded message ----------
From: Mike Bean <beandaemon at gmail.com>
Date: Fri, May 31, 2013 at 10:31 AM
Subject: building from src where AC_CHECK_HEADER fails
To: CLUE's mailing list <clue at cluedenver.org>



OK, I've been working on this one for a while, maybe time I admit I'm in
over my head and ask for advice from the group.  (One of the things I like
about doing this is it forces me to at least try to organize my thoughts on
the issue)

We are trying to compile xmlcopyeditor on RHEL 6.3
It is failing because of

# grep error config.log
conftest.cpp:56:42: error: xercesc/util/PlatformUtils.hpp: No such file or
directory
conftest.cpp:23:42: error: xercesc/util/PlatformUtils.hpp: No such file or
directory
configure:15239: error: Xerces-C headers not found

Xerces C is installed, i'ts just in a custom directory:
/gpfs/cots_linux/xerces-c-2.7.0/include/xercesc/util

the file's there, it's not damaged, there's read access to it:
-rwxr-xr-x  1 root root 32803 May 31 15:35 PlatformUtils.hpp

I tried altering the system PATH variable so that a simple 'which' can find
it, and I tried adding XERCESCROOT; neither one of which helped.

As near as I can figure, conftest.cpp can't find, or can't parse the file,
but I'm not sure what to do about it:  I think this is the relevant section
from my configure file:

# Check xercesc is available
AC_LANG(C++)
AC_CHECK_HEADER(xercesc/util/PlatformUtils.hpp, ,
        AC_MSG_ERROR([Xerces-C headers not found]))

but I haven't figured out much so far about AC_CHECK_HEADER, beyond that
it's a GCC macro used to check if the locations in #include are correct.
Haven't found the include statements yet either.

As always, my thanks for time and input.

Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cluedenver.org/pipermail/clue/attachments/20130531/696e9ffc/attachment.html 


More information about the clue mailing list