Dear "list",
I'm trying to configure jabberd2 prior to compiling it. Here's my
environment:
* OS: Solaris 10 (Solaris 10 1/06 s10s_u1wos_19a SPARC, if it
matters)
* C compiler: Sun Studio 12 (cc)
* Version of jabberd2: 2.2.4
I'm running configure with the following simple command line:
./configure --prefix=/usr/local
When it gets down to the expat part of the configure script, this is
what I see:
...
checking for syslog... yes
checking for vsyslog... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking if snprintf can handle NULL arguments... no
checking if vsnprintf can handle NULL arguments... no
checking for socklen_t... yes
checking for XML_ParserCreate in -lexpat... no
configure: error: Expat not found
#
I have 2 sets of expat libraries installed:
application SMCexpat expat
system SUNWlexpt libexpat - XML parser
library
The first is from Sunfreeware and the second (as you already know) is
Sun's Solaris expat library. The Sunfreeware version of the library is
2.0.1.
According to crle, it will find the Sun library before the Sunfreeware
version:
crle -c /var/ld/ld.config -l
/usr/local/lib:/lib:/usr/lib:/usr/sfw/lib:/opt/sfw/lib...
I don't know whether this is part of the issue. I've specified
"--libdir=/usr/local/lib" on the command once and there was no change in
behavior.
I do have libgcc installed (version 3.4.6), also from Sunfreeware.
I'm expecting you to suggest that I try to compile jabberd2 with gcc,
but I have requirements to do this with Sun's C compiler as it's
supposed to produce tighter code under Solaris.
Suggestions? Comments?
Thank you, in advance.
Bruce
--
Bruce W. Mohler Sr. System Engineer
Intuit IIT/OEI Services Back Office Semper Fi
858-215-7426 mailto:[email protected]
<mailto:[email protected]>
Of course my password is the same as my pet's name.
My dog's name is san7&rit, but I change it every 90 days.