santuario-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Helio Cola Rodrigues <helio.c...@gmail.com>
Subject Re: Issue building for Solaris
Date Fri, 09 Sep 2011 20:02:58 GMT
Thanks for the quick response Scott.

I'm using Sun cc & CC now:

> CC -V
CC: Sun C++ 5.9 SunOS_sparc Patch 124863-08 2008/10/16
> cc -V
cc: Sun C 5.9 SunOS_sparc Patch 124867-09 2008/11/25
usage: cc [ options] files.  Use 'cc -flags' for details

The versions I'm using are:
xml-security-c-1.6.1
xerces-c-3.1.1
openssl-1.0.0e

Is this set compatible?

I'm right now trying to troubleshoot another issue...

--> ./configure
   --prefix=/export/home/hrodrigu/dev/apache/santuario/xml-security-c-1.6.1

 --exec-prefix=/export/home/hrodrigu/dev/apache/santuario/xml-security-c-1.6.1
   CC=/usr/bin/cc CXX=/usr/bin/CC --without-xalan --without-nss
   --with-xerces=/export/home/hrodrigu/dev/xerces/xerces-c-3.1.1
   --with-openssl=/export/home/hrodrigu/dev/openssl/openssl-1.0.0e

checking xercesc/dom/DOM.hpp usability... yes
checking xercesc/dom/DOM.hpp presence... yes
checking for xercesc/dom/DOM.hpp... yes
checking Xerces version... OK
configure: error: unable to link with Xerces
se:hr_cmas_0494_wc:xml-security-c-1.6.1>


--> config.log
configure:16213: checking for xercesc/dom/DOM.hpp
configure:16213: result: yes
configure:16221: checking Xerces version
configure:16238: /usr/bin/CC -E
-I/export/home/hrodrigu/dev/xerces/xerces-c-3.1.
1/include  conftest.cpp
configure:16238: $? = 0
configure:16239: result: OK
configure:16259: /usr/bin/CC -o conftest -g -mt -D_REENTRANT
 -I/export/home/hro
drigu/dev/xerces/xerces-c-3.1.1/include
 -L/export/home/hrodrigu/dev/xerces/xerc
es-c-3.1.1/lib  conftest.cpp -lxerces-c -lsocket -lm  -lpthread >&5
Undefined                       first referenced
 symbol                             in file
void xercesc_3_1::XMLPlatformUtils::Initialize(const char*const,const
char*const
,xercesc_3_1::PanicHandler*const,xercesc_3_1::MemoryManager*const)
conftest.o
xercesc_3_1::XMLUni::fgXercescDefaultLocale conftest.o
[Hint: static member xercesc_3_1::XMLUni::fgXercescDefaultLocale must be
defined
 in the program]

ld: fatal: Symbol referencing errors. No output written to conftest




On Fri, Sep 9, 2011 at 3:28 PM, Cantor, Scott <cantor.2@osu.edu> wrote:

> On 9/9/11 2:12 PM, "Helio Cola Rodrigues" <helio.cola@gmail.com> wrote:
>
> >Hi,
> >I'm having some issues building Santuario for Solaris.
> >I'm following the instructions on santuario page for Unix and I'm having
> >error while running configure.
> >
> >My configure command is:
>
> I would note that gcc isn't supported officially, only Sun CC. Your
> command also doesn't really make sense, since this isn't C, it's C++.
> You'd need to set CXX to g++.
>
> >nss I have found the distribution only in
> >ftp://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/ and I
> >believe the issue may be here...
>
> Do you need NSS? Using both it and OpenSSL isn't typical.
>
> >In file included from
> >/export/home/hrodrigu/dev/nss/nss-3.9/include/nss3/nss.h:41,
> >                 from conftest.cpp:46:
> >/export/home/hrodrigu/dev/nss/nss-3.9/include/nss3/seccomon.h:47:21:
> >prtypes.h: No such file or directory
>
> That would suggest NSS itself doesn't support Solaris perhaps, or at least
> isn't fully portable there. Or there's a bug in the Santuario autoconf
> script. NSS is essentially untested, so if you need to make it work,
> you'll have to debug it and supply any patches.
>
> -- Scott
>
>

Mime
View raw message