shibboleth-dev - Shibboleth 1.2 target build error
Subject: Shibboleth Developers
List archive
- From: Elliot Metsger <>
- To:
- Subject: Shibboleth 1.2 target build error
- Date: Mon, 28 Jun 2004 16:28:31 -0400
Hey everyone,
I don't know if this is a bug or if others have come across this issue, so I wanted to share :)
When I built the Shibboleth 1.2 target, I got the following error:
make[2]: Entering directory `/home/rpmbuild/rpm/BUILD/shibboleth-1.2/apache'
source='mod_shib_13.cpp' object='mod_shib_13_la-mod_shib_13.lo'
<..snip..>
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/shibboleth-target-1.2/include -I/usr/local/shibboleth-target-1.2/include -I/usr/local/shibboleth-target-1.2/include -I/usr/local/shibboleth-target-1.2/include -I/usr/kerberos/include -I/usr/local/apache/current/include -pthread -O2 -g -pipe -march=i386 -mcpu=i686 -O2 -DNDEBUG -c mod_shib_13.cpp -MT mod_shib_13_la-mod_shib_13.lo -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.
Thanks!
Elliot
Here is the build environment:
[rpmbuild@anvil
rpmbuild]$ cat /etc/redhat-release
Fedora Core release 2 (Tettnang)
[rpmbuild@anvil
rpmbuild]$ uname -a
Linux anvil 2.6.5-1.358 #1 Sat May 8 09:04:50 EDT 2004 i686 i686 i386 GNU/Linux
[rpmbuild@anvil
rpmbuild]$ gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.3.3/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --disable-libunwind-exceptions --with-system-zlib --enable-__cxa_atexit --host=i386-redhat-linux
Thread model: posix
gcc version 3.3.3 20040412 (Red Hat Linux 3.3.3-7)
[rpmbuild@anvil
rpmbuild]$ /usr/local/apache/current/httpd -v
bash: /usr/local/apache/current/httpd: No such file or directory
[rpmbuild@anvil
rpmbuild]$ /usr/local/apache/current/bin/httpd -v
Server version: Apache/1.3.31 (Unix)
Server built: Jun 15 2004 07:08:24
[rpmbuild@anvil
rpmbuild]$
- Shibboleth 1.2 target build error, Elliot Metsger, 06/28/2004
- Re: Shibboleth 1.2 target build error, Jim Fox, 06/28/2004
- Re: Shibboleth 1.2 target build error, Elliot Metsger, 06/28/2004
- Re: Shibboleth 1.2 target build error, Alistair Young, 06/29/2004
- Re: Shibboleth 1.2 target build error, Elliot Metsger, 06/28/2004
- Re: Shibboleth 1.2 target build error, Jim Fox, 06/28/2004
Archive powered by MHonArc 2.6.16.