Skip to Content.
Sympa Menu

shibboleth-dev - Re: Shibboleth 1.2 target build error

Subject: Shibboleth Developers

List archive

Re: Shibboleth 1.2 target build error


Chronological Thread 
  • From: Elliot Metsger <>
  • To: Jim Fox <>
  • Cc:
  • Subject: Re: Shibboleth 1.2 target build error
  • Date: Mon, 28 Jun 2004 22:53:21 -0400

Hi Jim,

I found the problem. In my installation, <shibtarget-install>/include/xercesc/util/Platforms/Linux/LinuxDefs.hpp defines LINUX to be nothing on line 104:
#define LINUX

Since the preprocessor searches <shibtarget-install>/include first, other expressions using LINUX fail, the first being the one in ap_config.h.

It doesn't seem to be a Shib or Apache thing. I'll review the process I used to build Xerces-C and see if I missed a step that led to the malformed #define.

Thanks,
Elliot


Jim Fox wrote:
>
> This looks like an apache build error. Does the ap_config.h really
> have a #if with no expression?
>
> Jim
>

On Mon, 28 Jun 2004, Elliot Metsger wrote:

Date: Mon, 28 Jun 2004 16:28:31 -0400
From: Elliot Metsger
<>
To:

Subject: Shibboleth 1.2 target build error

-MD -MP -MF .deps/mod_shib_13_la-mod_shib_13.TPlo -fPIC -DPIC -o .libs/mod_shib_13_la-mod_shib_13.o
In file included from /usr/local/apache/current/include/httpd.h:29,
from mod_apache.cpp:23,
from mod_shib_13.cpp:20:
/usr/local/apache/current/include/ap_config.h:423:11: #if with no expression

To get around it, I set -DLINUX=26 in my CPPFLAGS environment variable and the compile finished without error. I'm not sure if thats the correct, sustainable fix. Hopefully this info will help someone out down the line.







Archive powered by MHonArc 2.6.16.

Top of Page