g++: Internal error while compiling opensaml-c-2.5.1
Jörg Knappen
j.knappen at mx.uni-saarland.de
Wed Dec 12 05:23:48 EST 2012
Thanks, Scott,
it was indeed a memory problem. Using the full memory of 1G the compilation of
opensaml-c-2.5.1 went smoothly. Maybe the wiki page
https://wiki.shibboleth.net/confluence/display/SHIB2/NativeSPLinuxSourceBuild
(or the troubleshooting page) should have a small note on the memory
required to compile
opensaml-c-2.5.1.
For xml-security the configure option --with-xerces=/opt/shibboleth-sp
might be worth adding:
it is required when one chooses another prefix.
The reason for doing a build from source is that we do not use the
Apache httpd from SLES, but have
the newer Apache httpd 2.4.3 directly from apache.org. (OK, the
prerequisites do not depend on Apache httpd
and I could have installed them from the RPMs).
--Jörg Knappen
Zitat von "Cantor, Scott" <cantor.2 at osu.edu>:
> On 12/11/12 9:56 AM, "Jörg Knappen" <j.knappen at mx.uni-saarland.de> wrote:
>
>> Running make:
>>
>> /bin/sh ../libtool --silent --tag=CXX --mode=compile g++
>> -DHAVE_CONFIG_H -I. -I.. -I/usr/local/shibboleth-sp/include -pthread
>> -Wall -O2 -DNDEBUG -pthread -Wall -O2 -DNDEBUG -MT
>> MetadataImpl.lo -MD -MP -MF .deps/MetadataImpl.Tpo -c -o
>> MetadataImpl.lo `test -f 'saml2/metadata/impl/MetadataImpl.cpp' ||
>> echo './'`saml2/metadata/impl/MetadataImpl.cpp
>> g++: Internal error: Killed (program cc1plus)
>
> Given the file, that's probably an out of memory error.
>
>> Operation system:
>>
>> SLES 11 SP 2 on a VMware virtual machine (64bit)
>
> Those packages exist, the build service has them. So a) I don't now why
> you'd build them yourself, and b) that means it's your system, since they
> built fine.
>
> -- Scott
>
>
> --
> To unsubscribe from this list send an email to
> users-unsubscribe at shibboleth.net
More information about the users
mailing list